Study compares AI models for classifying Chinese medical questions

Kuan-Chu Chen and colleagues reported EKG-Transformer, a method for classifying what Chinese-language medical questions ask about, in the November proceedings of ROCLING 2026. They combined a language model with a medical encyclopaedia and a knowledge graph of relationships between terms, and evaluated the method on a dataset of 12,254 Chinese questions.
Classifying questions on conditions, medicines and treatments
The team used an existing dataset of questions from several Chinese-language medical Q&A sites, with categories assigned by human annotators. It treated four broad categories—conditions and symptoms, medicines, treatments and other—and 36 finer categories as separate tasks. It used five-fold cross-validation, rotating which portion of the data was held out for evaluation. The method retrieves related information from a knowledge graph based on terms in each question and is designed to reduce the influence of less relevant information.
Classification scores improve for three models
Adding both the encyclopaedia and knowledge graph raised micro-F1 scores on both tasks for BERT, RoBERTa and MacBERT compared with the original models. MacBERT went from 0.7184 to 0.7450 on the four-category task and from 0.5146 to 0.5370 on the 36-category task. The fine-tuned Llama3.1-8B-Instruct model reported in the paper scored 0.7456 and 0.5650 respectively.