[Paper Review] KG-MTT-BERT: Knowledge Graph Enhanced BERT for Multi-Type Medical Text Classification
KG-MTT-BERT proposes a knowledge graph-augmented BERT model for multi-type medical text classification, specifically for Diagnosis-Related Group (DRG) prediction. By applying shared BERT encoders to diverse clinical text types (e.g., diagnoses, procedures, hospital course), using token-level encoding and global max pooling, and integrating a medical knowledge graph, the model achieves state-of-the-art performance with 91.79% accuracy and 93.10% AUC on DRG classification, significantly outperforming baseline models.
Medical text learning has recently emerged as a promising area to improve healthcare due to the wide adoption of electronic health record (EHR) systems. The complexity of the medical text such as diverse length, mixed text types, and full of medical jargon, poses a great challenge for developing effective deep learning models. BERT has presented state-of-the-art results in many NLP tasks, such as text classification and question answering. However, the standalone BERT model cannot deal with the complexity of the medical text, especially the lengthy clinical notes. Herein, we develop a new model called KG-MTT-BERT (Knowledge Graph Enhanced Multi-Type Text BERT) by extending the BERT model for long and multi-type text with the integration of the medical knowledge graph. Our model can outperform all baselines and other state-of-the-art models in diagnosis-related group (DRG) classification, which requires comprehensive medical text for accurate classification. We also demonstrated that our model can effectively handle multi-type text and the integration of medical knowledge graph can significantly improve the performance.
Motivation & Objective
- To address the challenge of classifying multi-type, long, and jargon-rich medical texts from electronic health records (EHR) into Diagnosis-Related Groups (DRG).
- To overcome BERT's limitations in handling long clinical notes, diverse text types, and domain-specific medical terminology.
- To improve DRG classification performance by integrating medical knowledge graphs into a BERT-based architecture.
- To develop a unified model that effectively encodes and fuses heterogeneous clinical text inputs with domain knowledge.
Proposed method
- Applies a shared BERT encoder to process each type of clinical text (e.g., diagnosis, procedure, hospital course) separately, preserving input modality specificity.
- Uses token-level encoding instead of text-level encoding to capture fine-grained semantic representations, improving performance by over 1.6% in F1.
- Employs global max pooling across token representations to emphasize salient medical terms critical for DRG assignment.
- Integrates a medical knowledge graph to inject domain-specific knowledge into the model, enhancing understanding of medical terminology and relationships.
- Concatenates pooled representations from different text types into a unified representation matrix for classification.
- Uses a final classification layer to predict DRG categories, trained end-to-end with cross-entropy loss.
Experimental results
Research questions
- RQ1Can a BERT-based model effectively classify multi-type medical texts from EHRs into DRG categories, despite varying lengths and semantic types?
- RQ2Does token-level encoding outperform text-level encoding in capturing relevant medical information for DRG classification?
- RQ3How does integrating a medical knowledge graph affect the performance of BERT in clinical text classification tasks?
- RQ4Which pooling strategy—global max, average, or attention-based—best summarizes heterogeneous clinical text representations for DRG prediction?
- RQ5To what extent does the inclusion of domain-specific knowledge improve generalization and accuracy in medical text classification?
Key findings
- KG-MTT-BERT achieves 91.79% accuracy, 89.61% F1, and 93.10% AUC on the DRG-A dataset, significantly outperforming all baselines and state-of-the-art models.
- Token-level encoding improves performance by more than 1.6 percentage points in F1 compared to text-level encoding, demonstrating the benefit of fine-grained representation.
- Global max pooling yields the best performance among all pooling strategies, with a 0.8741 AUC, outperforming average pooling and attention-based pooling.
- The integration of a medical knowledge graph improves accuracy by 4.76 percentage points (from 87.03% to 91.79%) and AUC by 5.69 points, proving its critical role in domain adaptation.
- Ablation studies confirm that the knowledge graph and token-level encoding are the most impactful components, with the knowledge graph contributing the largest performance gain.
- The model successfully identifies key medical terms (e.g., 'stoma', 'anorectal') via attention mechanisms, aligning with clinical relevance and supporting interpretability.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.