Chinese Medical Question Intent Classification Based on Domain Encyclopedia Enhanced Language Models with Knowledge Graph Fine-tuning

Kuan-Chu Chen, Tsai-Chen Hsieh, Po-Han Chen, Lung-Hao Lee


Abstract
This study proposes EKG-Transformer for Chinese medical question intent classification, integrating domain-specific encyclopedic knowledge with relational knowledge from medical knowledge graphs to enhance the ability of pretrained language models to understand the intents of medical questions. Medical encyclopedias provide domain knowledge and attribute information concerning diseases, symptoms, examinations, and treatments; however, identifying the intent of a medical question often also requires understanding the semantic relationships among medical entities. To address this issue, during downstream classification, relevant medical knowledge triples are retrieved based on named entities identified in each question and are subsequently used to construct a Sentence Graph. Soft-position Embedding and a Visible Matrix are further employed to control information flow among knowledge nodes, thereby reducing semantic interference introduced by irrelevant knowledge. Experiments are conducted on the Chinese Medical Intent Dataset (CMID), which comprises classification tasks involving 4 coarse-grained categories and 36 fine-grained subcategories. The experimental results show that incorporating knowledge graph information during fine-tuning consistently improves the performance of BERT, RoBERTa, and MacBERT. In particular, the complete EKG-MacBERT model achieves Micro-F1 scores of 0.7450 and 0.5370 on the 4-category and 36-subcategory classification tasks, respectively. These results demonstrate the complementary benefits of medical encyclopedic knowledge and relational knowledge from knowledge graphs for improving Chinese medical question intent classification.
Anthology ID:
2026.rocling-main.33
Volume:
Proceedings of the 38th Conference on Computational Linguistics and Speech Processing (ROCLING 2026)
Month:
November
Year:
2026
Address:
National Tsing Hua University. Hsinchu, Taiwan.
Editors:
Po-Chih Kuo, Lung-Hao Lee, An-Zi Yen, Fernando Henrique Calderon Alvarado, Carlos Argueta
Venue:
ROCLING
SIG:
Publisher:
Association for Computational Linguistics
Note:
Pages:
333–342
Language:
URL:
https://aclanthology.org/2026.rocling-main.33/
DOI:
Bibkey:
Cite (ACL):
Kuan-Chu Chen, Tsai-Chen Hsieh, Po-Han Chen, and Lung-Hao Lee. 2026. Chinese Medical Question Intent Classification Based on Domain Encyclopedia Enhanced Language Models with Knowledge Graph Fine-tuning. In Proceedings of the 38th Conference on Computational Linguistics and Speech Processing (ROCLING 2026), pages 333–342, National Tsing Hua University. Hsinchu, Taiwan.. Association for Computational Linguistics.
Cite (Informal):
Chinese Medical Question Intent Classification Based on Domain Encyclopedia Enhanced Language Models with Knowledge Graph Fine-tuning (Chen et al., ROCLING 2026)
Copy Citation:
PDF:
https://aclanthology.org/2026.rocling-main.33.pdf