Abstract
The experimental results indicate that FCNBLA yields superior performance compared with several state-of-the-art methods. The attention mechanisms and combination representations are also confirmed to be helpful for improving FCNBLA's prediction performance. Our method is helpful for assisting doctors in diagnosing diseases in patients.
Introduction: The Challenge of Electronic Medical Records
Electronic Medical Records (EMRs) are a goldmine of clinical data, but they are notoriously difficult to process. They are often unstructured, "multistructured," and filled with jargon. While doctors can quickly spot critical phrases in a sea of text, automated systems struggle to balance two things: local clinical patterns (like specific symptoms appearing together) and global context (the overall narrative of the patient’s history).
Previous models typically picked one or the other. CNNs are great at spotting local "n-grams" (phrases) but miss the long-term flow. RNNs (like LSTMs) capture the flow but can lose the "signal" of specific, high-impact words. Furthermore, most models treat all words as equally important, whereas in medicine, a single word like "gout" or "arrhythmia" carries far more weight than "patient" or "history."
Methods: The FCNBLA Architecture
The authors propose a hybrid architecture called FCNBLA (Fusion of CNN and BiLSTM with Attention), which consists of three main branches designed to capture both local and global features.
- The Local Branch (CNN): This module uses convolutional filters of varying heights to capture representations of adjacent words (phrases). It excels at identifying specific clinical descriptors.
- The Context Branch (BiLSTM): A bidirectional Long Short-Term Memory network processes the entire word sequence forward and backward, capturing the "story" and dependencies across the whole record.
- The Attention & Fusion Module: This is the paper's core innovation. The authors implement dual-level attention:
- Phrase-level attention is applied to the CNN output to highlight the most discriminative medical phrases.
- Word-level attention is applied to the BiLSTM output to highlight key individual terms.
- An MLP-based integration module then fuses these "enhanced" representations into a final feature vector for disease classification.
Datasets and Evaluation
The model was trained and evaluated on a real-world dataset of 18,601 Chinese EMRs collected from Huangshi Central Hospital.
- Scope: The dataset covers the 10 most common diseases in that facility, including diabetes, hypertension, COPD, and gastritis.
- Structure: Each EMR contains 18 items (e.g., chief complaint, medical history, vital signs).
- Challenge: The dataset is highly imbalanced; for example, diabetes accounts for ~30% of the records, while urinary tract infections (UTI) account for only 1.6%.
Key Results and Insights
FCNBLA outperformed all baselines, including SVM-TFIDF, standard CNNs, and RCNNs, achieving an overall accuracy of 92.78% and a macro F-score of 91.29%.
- Attention is a Multi-Scale Problem: Weighting phrases (via the CNN branch) provides a complementary signal to word-level weighting that improves diagnostic accuracy.
- Fusion Beats Specialization: Ablation studies showed that the hybrid model performed better than either architecture alone. Removing the attention mechanisms dropped the F-score by over 2%.
- Small Class Performance: Notably, the model showed significant improvements in diseases with fewer data points, like UTI and gastritis, suggesting the dual-attention mechanism helps the model learn more efficiently from limited samples.
Limitations and Future Work
While FCNBLA won on most counts, it struggled with exceptionally long records (>500 words), where competing RCNN models sometimes performed better. Future work will explore more complex ways to integrate local and global information to handle extremely long texts and improve clinical explainability to build greater trust with medical professionals.
Summary updated