[Paper Review] Classifying medical notes into standard disease codes using Machine Learning
This paper proposes a deep learning approach using Convolutional Neural Networks (CNNs) with self-attention mechanisms to automatically classify clinical discharge notes into standard ICD-9 disease codes. The method outperforms prior models, achieving a 79.7% F1-score on Level 1 ICD-9 codes using the full MIMIC-III dataset, demonstrating that CNNs with attention are more effective than LSTMs or hierarchical models for this task.
We investigate the automatic classification of patient discharge notes into standard disease labels. We find that Convolutional Neural Networks with Attention outperform previous algorithms used in this task, and suggest further areas for improvement.
Motivation & Objective
- To improve automatic classification of clinical discharge notes into standard ICD-9 disease codes using deep learning.
- To evaluate whether attention mechanisms and CNNs outperform traditional models like LSTMs and hierarchical classifiers in this task.
- To investigate the impact of label hierarchy, data size, and embedding strategies on model performance.
- To explore the feasibility of combining simplified and full ICD coding approaches through modified training metrics.
- To assess the utility of pre-trained embeddings in clinical text classification.
Proposed method
- The study uses a multi-label, multi-class classification framework on 52,696 discharge notes from the MIMIC-III database.
- It applies a CNN model with and without self-attention to capture local and long-range dependencies in clinical text.
- The model employs trainable word embeddings, with additional experiments using WikiGloVe and custom pre-trained embeddings on MIMIC notes.
- Labels are reduced to 17 Level 1 ICD-9 codes using the hierarchical structure to improve training stability and performance.
- A hierarchical model based on sentence-level LSTM is also implemented for comparison, using sentence segmentation to model temporal progression.
- The training objective includes F1-score optimization, with ablation studies on attention, embeddings, and label reduction.
Experimental results
Research questions
- RQ1Does a CNN with self-attention outperform standard CNNs, LSTMs, and hierarchical models in classifying clinical notes into ICD-9 codes?
- RQ2How does reducing the number of ICD-9 codes to Level 1 hierarchy affect classification performance and model generalization?
- RQ3To what extent do pre-trained embeddings improve performance on clinical note classification tasks?
- RQ4Can attention mechanisms mitigate the limitations of fixed sentence segmentation in modeling clinical narratives?
- RQ5Is it feasible to unify simplified and full ICD coding by adapting the training metric to account for hierarchical label proximity?
Key findings
- The CNN with attention model achieved the highest F1-score (78.2%) on the 5K validation set, but underperformed on the full dataset due to overfitting.
- The standard CNN model achieved a 79.7% F1-score on the full dataset when classifying into 17 Level 1 ICD-9 codes, outperforming all prior methods reported in the literature.
- The hierarchical LSTM model performed worse than both CNN variants, suggesting limited benefit from modeling sentence-level temporal structure in this context.
- Pre-trained embeddings from WikiGloVe slightly reduced performance, while custom MIMIC-based embeddings yielded a 0.01% improvement, indicating domain-specific pre-training is more effective.
- The model’s performance was significantly improved by using a larger, less imbalanced label set (17 Level 1 codes) compared to rare Level 5 codes.
- The study found that CNNs implicitly learn document-level abstractions through convolutional filters, which may explain their superior performance over models relying on explicit sentence segmentation.
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.