Abstract
Automated assignment of International Classification of Diseases (ICD) codes to clinical discharge summaries is a critical yet challenging task due to the high variability and complexity of medical language. This paper introduces MultiResCNN, a deep learning architecture that leverages multi-scale convolutional filters and residual learning to capture medical patterns of varying lengths and expand the model's receptive field. Evaluated on the benchmark MIMIC-III dataset, MultiResCNN achieves state-of-the-art performance, demonstrating a robust approach to handling the linguistic diversity of clinical notes.
Introduction
Assigning ICD codes to patient visits is essential for billing, epidemiology, and health records management. However, manual coding is labor-intensive, expensive, and prone to error. The primary challenge in automating this task is the nature of clinical text. ICD-related evidence in a doctor's note can range from a single word (e.g., "anemia") to complex, multi-word descriptions (e.g., "mild aortic stenosis with an aortic valve area of 1.9 cm squared").
Previous state-of-the-art models, like CAML (Convolutional Attention for Multi-Label classification), relied on a single convolutional layer with a fixed filter size. Such "flat" architectures are often too rigid to capture the diverse granularities of medical concepts and lack the receptive field necessary for complex cases.
The MultiResCNN Architecture
The authors propose the Multi-Filter Residual Convolutional Neural Network (MultiResCNN) to address these limitations. The architecture consists of four primary components:
- Input Layer: Clinical tokens are represented using pre-trained Word2Vec embeddings trained on raw MIMIC text.
- Multi-Filter Convolutional Layer: Instead of a single kernel size, this layer employs multiple kernels (ranging from sizes 3 to 25). This allows the model to capture n-grams of various lengths simultaneously, effectively acting as a set of different-sized magnifying glasses for medical patterns.
- Residual Convolutional Layer: Inspired by ResNet, this layer utilizes residual blocks with skip connections to deepen the network. This architecture helps the model learn more complex representations and enlarges the receptive field without the vanishing gradient problems typical of deep networks.
- Per-Label Attention Layer: Following the CAML approach, an attention mechanism allows each specific ICD code to "attend" to the most relevant parts of the document representation generated by the preceding layers.
Experimental Evaluation
The model was evaluated on two gold-standard datasets:
- MIMIC-III: The primary benchmark, including a "Full" set (8,921 codes) and a "Top-50" frequent code subset.
- MIMIC-II: An older version of the dataset used for comparison against earlier baseline models.
Standard preprocessing included lowercasing, removing non-alphabetic characters, and truncating notes to a maximum of 2,500 tokens.
Results and Discussion
MultiResCNN set new performance benchmarks across several metrics. On the MIMIC-III (Full) dataset, it achieved a Macro-AUC of 0.910 and a Micro-F1 of 0.552, outperforming the previous state-of-the-art, DR-CAML.
Key Insights
- Granularity is Key: The performance gain from a single-filter CNN to a multi-filter CNN suggests that medical concepts are inherently multi-scale. Effective models must capture both short keywords and long descriptive phrases.
- Receptive Field Expansion: While residual blocks deepen the network, their primary benefit here is expanding the receptive field. This allows the model to synthesize information across longer spans of text before the attention layer makes a final decision.
- Complexity Trade-off: The authors found that while more filters improved performance, adding too many residual blocks (increasing $p$ beyond 1) led to degradation, likely due to overfitting on relatively sparse clinical data.
Conclusion
MultiResCNN offers a significant advancement in automated medical coding by effectively managing the linguistic diversity of clinical notes. While the model is computationally more intensive than its predecessors, its faster convergence makes total training time comparable. Future work may involve exploring hierarchical Transformers or more automated architecture searches to further optimize performance.
Summary updated