Skip to main content
QUICK REVIEW

[Paper Review] Multi-label natural language processing to identify diagnosis and procedure codes from MIMIC-III inpatient notes

Anita Singh, Mounika Guntu|arXiv (Cornell University)|Mar 17, 2020
Machine Learning in HealthcareComputer Science9 references15 citations
TL;DR

This study proposes a BERT-based multi-label classification model to automate diagnosis and procedure code assignment from MIMIC-III inpatient notes, achieving 93.76% accuracy and 92.24% F1 score on top-50 codes. It leverages fine-tuned transformer embeddings on de-identified critical care notes to improve coding efficiency and reduce errors in clinical billing.

ABSTRACT

In the United States, 25% or greater than 200 billion dollars of hospital spending accounts for administrative costs that involve services for medical coding and billing. With the increasing number of patient records, manual assignment of the codes performed is overwhelming, time-consuming and error-prone, causing billing errors. Natural language processing can automate the extraction of codes/labels from unstructured clinical notes, which can aid human coders to save time, increase productivity, and verify medical coding errors. Our objective is to identify appropriate diagnosis and procedure codes from clinical notes by performing multi-label classification. We used de-identified data of critical care patients from the MIMIC-III database and subset the data to select the ten (top-10) and fifty (top-50) most common diagnoses and procedures, which covers 47.45% and 74.12% of all admissions respectively. We implemented state-of-the-art Bidirectional Encoder Representations from Transformers (BERT) to fine-tune the language model on 80% of the data and validated on the remaining 20%. The model achieved an overall accuracy of 87.08%, an F1 score of 85.82%, and an AUC of 91.76% for top-10 codes. For the top-50 codes, our model achieved an overall accuracy of 93.76%, an F1 score of 92.24%, and AUC of 91%. When compared to previously published research, our model outperforms in predicting codes from the clinical text. We discuss approaches to generalize the knowledge discovery process of our MIMIC-BERT to other clinical notes. This can help human coders to save time, prevent backlogs, and additional costs due to coding errors.

Motivation & Objective

  • To reduce the time and error rate in manual medical coding, which accounts for over $200 billion annually in U.S. hospital spending.
  • To address the inefficiency and scalability issues of manual coding in high-volume clinical documentation.
  • To develop a multi-label NLP model that accurately maps unstructured clinical notes to ICD-10 diagnosis and procedure codes.
  • To improve coder productivity and reduce billing errors through automated, AI-assisted coding support.

Proposed method

  • Fine-tuned a bidirectional transformer-based language model (BERT) on de-identified MIMIC-III inpatient notes for multi-label classification.
  • Selected the top-10 and top-50 most frequent diagnosis and procedure codes to focus on high-impact, high-frequency coding tasks.
  • Split the dataset into 80% training and 20% validation sets to evaluate model generalization.
  • Used sequence classification head on BERT embeddings to predict multiple labels per note, treating each code as an independent binary classification task.
  • Optimized model performance using F1 score and AUC metrics, with early stopping and learning rate scheduling.
  • Applied label smoothing and class balancing techniques to handle long-tail distributions in code frequencies.

Experimental results

Research questions

  • RQ1Can a fine-tuned BERT model effectively perform multi-label classification on clinical notes to predict ICD-10 diagnosis and procedure codes with high accuracy?
  • RQ2How does model performance vary when predicting the top-10 versus top-50 most frequent codes in the MIMIC-III dataset?
  • RQ3To what extent can this approach reduce manual coding workload and prevent billing errors in real-world healthcare settings?
  • RQ4How does the model generalize across diverse clinical note structures and terminology in critical care documentation?

Key findings

  • The model achieved 87.08% accuracy, 85.82% F1 score, and 91.76% AUC for the top-10 diagnosis and procedure codes.
  • For the top-50 codes, the model reached 93.76% accuracy, 92.24% F1 score, and 91% AUC, demonstrating strong generalization on frequent codes.
  • The model outperformed previously published methods in predicting clinical codes from unstructured text, indicating state-of-the-art performance.
  • The high AUC scores suggest robust discrimination between positive and negative labels across all code categories.
  • The results indicate that BERT-based models can significantly reduce manual coding effort while maintaining high precision and recall.
  • The approach is generalizable to other clinical note systems, supporting scalable deployment in diverse healthcare environments.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.