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

> Source: <https://aclanthology.org/2026.rocling-main.33/>
> Published: 2026-11-13 00:00:00+00:00

**Recommendation:** For domain intent classification, retrieve knowledge-graph triples for entities detected in the query and gate them with a visible matrix so irrelevant nodes don't add noise; the authors measured consistent gains across BERT, RoBERTa and MacBERT.
More in the playbook "Retrieval and RAG": <https://wpnews.pro/playbooks/rag-retrieval>

##### 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)](https://aclanthology.org/volumes/2026.rocling-main/)
- Month:
- November
- Year:
- 2026
- Address:
- National Tsing Hua University. Hsinchu, Taiwan.
- Editors:
- [Po-Chih Kuo](https://aclanthology.org/people/po-chih-kuo/unverified/) ,[Lung-Hao Lee](https://aclanthology.org/people/lung-hao-lee/) ,[An-Zi Yen](https://aclanthology.org/people/an-zi-yen/) ,[Fernando Henrique Calderon Alvarado](https://aclanthology.org/people/fernando-henrique-calderon-alvarado/unverified/) ,[Carlos Argueta](https://aclanthology.org/people/carlos-argueta/unverified/)
- Venue:
- [ROCLING](https://aclanthology.org/venues/rocling/)
- SIG:
- Publisher:
- Association for Computational Linguistics
- Note:
- Pages:
- 333–342
- Language:
- URL:
- [https://aclanthology.org/2026.rocling-main.33/](https://aclanthology.org/2026.rocling-main.33/)
- DOI:
- 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](https://aclanthology.org/2026.rocling-main.33/) . 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](https://aclanthology.org/2026.rocling-main.33/) (Chen et al., ROCLING 2026)
- PDF:
- [https://aclanthology.org/2026.rocling-main.33.pdf](https://aclanthology.org/2026.rocling-main.33.pdf)
