DRG-LLaMA : tuning LLaMA model to predict diagnosis-related group for hospitalized patients
Top Cited Papers
Open Access
- 22 January 2024
- journal article
- research article
- Published by Springer Nature in npj Digital Medicine
- Vol. 7 (1) , 1-9
Abstract
In the U.S. inpatient payment system, the Diagnosis-Related Group (DRG) is pivotal, but its assignment process is inefficient. The study introduces , an advanced large language model (LLM) fine-tuned on clinical notes to enhance DRGs assignment. Utilizing LLaMA as the foundational model and optimizing it through Low-Rank Adaptation (LoRA) on 236,192 MIMIC-IV discharge summaries, our -7B model exhibited a noteworthy macro-averaged F1 score of 0.327, a top-1 prediction accuracy of 52.0%, and a macro-averaged Area Under the Curve (AUC) of 0.986, with a maximum input token length of 512. This model surpassed the performance of prior leading models in DRG prediction, showing a relative improvement of 40.3% and 35.7% in macro-averaged F1 score compared to ClinicalBERT and CAML, respectively. Applied to base DRG and complication or comorbidity (CC)/major complication or comorbidity (MCC) prediction, achieved a top-1 prediction accuracy of 67.8% and 67.5%, respectively. Additionally, our findings indicate that ’s performance correlates with increased model parameters and input context lengths.Keywords
All Related Versions
Funding Information
- National Science Foundation (IIS-2034479)
- National Science Foundation (SCH-2014438)
This publication has 16 references indexed in Scilit:
- MIMIC-IV, a freely accessible electronic health record datasetScientific Data, 2023
- AI-based ICD coding and classification approaches using discharge summaries: A systematic literature reviewExpert Systems with Applications, 2022
- DeepDRG: Performance of Artificial Intelligence Model for Real-Time Prediction of Diagnosis-Related GroupsHealthcare, 2021
- Early prediction of diagnostic-related groups and estimation of hospital cost by processing clinical notesnpj Digital Medicine, 2021
- BioBERT: a pre-trained biomedical language representation model for biomedical text miningBioinformatics, 2019
- Publicly Available Clinical2019
- Explainable Prediction of Medical Codes from Clinical Text2018
- MIMIC-III, a freely accessible critical care databaseScientific Data, 2016
- Machine Learning Approaches for Early DRG Classification and Resource AllocationINFORMS Journal on Computing, 2015
- After the Revolution: DRGs at Age 30Annals of Internal Medicine, 2014