Multimodal Machine Learning for Automated ICD Coding

Keyang Xu, Mike Lam, Jingzhi Pang, Xin Gao, Charlotte Band, Piyush Mathur, Frank Papay, Ashish K. Khanna, Jacek B. Cywinski, Kamal Maheshwari, Pengtao Xie, Eric P. Xing

Abstract: This study presents a multimodal machine learning model to predict ICD-10 diagnostic codes. We developed separate machine learning models that can handle data from different modalities, including unstructured clinical notes, semi-structured diagnosis descriptions, and structured tabular data. By integrating these models into an ensemble framework and incorporating human domain knowledge from clinical guidelines, we achieve state-of-the-art performance on the MIMIC-III dataset while providing interpretable evidence for clinical decision support.

Introduction

Assigning International Classification of Diseases (ICD) codes is a critical yet labor-intensive component of modern healthcare administration. These codes are essential for billing, insurance reimbursement, and clinical research. Currently, clinical coders must manually review extensive Electronic Medical Records (EMRs) to identify appropriate codes—a process that is slow, expensive, and prone to errors that lead to claim denials.

The primary technical challenge lies in the "multimodal" nature of EMR data. A single patient encounter generates diverse data types: free-text clinical notes, semi-structured symptom lists, and structured tables containing vital signs and laboratory results. While previous automated systems primarily focused on text, they often ignored the rich context provided by tabular data and the complex hierarchical relationships between medical concepts.

The Multimodal Ensemble Framework

To address these challenges, the researchers developed an ensemble-based framework that integrates three specialized models tailored to different data modalities.

Figure 1: Overview of the multimodal ensemble framework for ICD prediction.

1. Unstructured Text Processing

The framework utilizes a Convolutional Neural Network (CNN) to process unstructured clinical notes. A key innovation in this branch is the injection of human domain expertise. The authors extracted keywords from official clinical guidelines and incorporated them as TF-IDF features into the model's final layer. This approach ensures the model "attends" to medically significant terminology, mimicking the workflow of professional coders.

Figure 2: Architecture of the Text-CNN model featuring the integration of TF-IDF features from clinical guidelines.

2. Semi-structured Diagnosis Descriptions

To handle short, often abbreviated physician descriptions (e.g., "HTN" for Hypertension), the system employs a "Triplet Loss" architecture. This model maps both clinical descriptions and official ICD code synonyms into a shared vector space, allowing the system to rank codes based on semantic similarity rather than simple keyword matching.

3. Structured Tabular Data

Structured data—including laboratory events (LAB), prescriptions (MED), microbiology (BIO), and chart events (vitals)—are processed using Decision Trees. These models handle binary features derived from the EMR tables, providing a complementary signal to the text-based models.

To mitigate the issue of "data imbalance," where common diseases appear much more frequently than rare ones, the researchers implemented Label Smoothing Regularization (LSR). This technique prevents the model from becoming overconfident in common codes and improves its ability to generalize to minority classes.

Experimental Setup and Datasets

The study utilized the MIMIC-III (Medical Information Mart for Intensive Care III) dataset, encompassing approximately 58,000 hospital admissions. The researchers focused on 32 high-frequency ICD-10 codes representative of common hospital diagnoses. As the original dataset used ICD-9, the codes were mapped to the modern ICD-10 standard to ensure clinical relevance.

Key Results and Insights

The multimodal ensemble significantly outperformed standard baselines, achieving a micro-F1 score of 0.7633 and a micro-AUC of 0.9541. This represents a substantial improvement over a vanilla Text-CNN (F1: 0.6569) and traditional TF-IDF methods (F1: 0.6721).

Several key insights emerged from the study:

  • Multimodality as a Buffer: Multimodal data is particularly beneficial for rare diseases. When text data is sparse, structured signals like specific lab results or medications can provide the necessary evidence for a correct prediction.
  • The Value of Guidelines: Explicitly incorporating TF-IDF features from clinical guidelines significantly boosted performance, confirming that domain-specific knowledge is vital for complex medical NLP tasks.
  • Explainability: The model provides "evidence" for its predictions using influence scores for text and the LIME method for tabular data. While the model's evidence overlapped with physician annotations, it frequently identified additional informative features that human experts missed, suggesting potential for discovering subtle clinical correlations.

Conclusion and Future Work

While the framework demonstrates state-of-the-art performance, limitations remain regarding scalability. Future work will focus on expanding the model to handle the thousands of rare codes encountered in real-world practice. Additionally, the researchers aim to refine tabular data processing through dimensionality reduction and explore deeper integration of complex medical ontologies to better capture the hierarchical relationships between diseases.

Summary updated

BibTeX
@inproceedings{xu2019multimodal,
  author = {Keyang Xu and Mike Lam and Jingzhi Pang and Xin Gao and Charlotte Band and Piyush Mathur and Frank Papay and Ashish K. Khanna and Jacek B. Cywinski and Kamal Maheshwari and Pengtao Xie and Eric P. Xing},
  title = {{Multimodal Machine Learning for Automated ICD Coding}},
  booktitle = {MLHC},
  year = {2019},
  url = {https://openreview.net/forum?id=olTxXQrik51},
}
Figure