Enhancing medical coding efficiency through domain-specific fine-tuned large language models

Medical coding is essential for healthcare operations yet remains predominantly manual, error-prone (up to 20%), and costly (up to $18.2 billion annually). Although large language models (LLMs) have shown promise in natural language processing, their application to medical coding has produced limited accuracy. In this study, we evaluated whether fine-tuning LLMs with specialized ICD-10 knowledge can automate code generation across clinical documentation. We adopted a two-phase approach: initial fine-tuning using 74,260 ICD-10 code-description pairs, followed by enhanced training to address linguistic and lexical variations. Evaluations using a proprietary model (GPT-4o mini) on a cloud platform and an open-source model (Llama) on local GPUs demonstrated that initial fine-tuning increased exact matching from <1% to 97%, while enhanced fine-tuning further improved performance in complex scenarios, with real-world clinical notes achieving 69.20% exact match and 87.16% category match. These findings indicate that domain-specific fine-tuned LLMs can reduce manual burdens and improve reliability.

Authors

Institutions

Publication Details

Journal
npj Health Systems
Published
2025-05-01
DOI
https://doi.org/10.1038/s44401-025-00018-3
Citations
8
Primary Topic
Biomedical Text Mining and Ontologies
Type
article
Field-Weighted Citation Impact
6.45

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Enhancing medical coding efficiency through domain-specific fine-tuned large language models

Jiang Bian, Hao Liu, Xing He, Yan Zhuang et al.
8 citations
npj Health Systems
Biomedical Text Mining and Ontologies
6.45
article

Enhancing medical coding efficiency through domain-specific fine-tuned large language models

Jiang Bian, Hao Liu, Xing He, Yan Zhuang, Zhen Hou
article en
8 citations

Abstract

Medical coding is essential for healthcare operations yet remains predominantly manual, error-prone (up to 20%), and costly (up to $18.2 billion annually). Although large language models (LLMs) have shown promise in natural language processing, their application to medical coding has produced limited accuracy. In this study, we evaluated whether fine-tuning LLMs with specialized ICD-10 knowledge can automate code generation across clinical documentation. We adopted a two-phase approach: initial fine-tuning using 74,260 ICD-10 code-description pairs, followed by enhanced training to address linguistic and lexical variations. Evaluations using a proprietary model (GPT-4o mini) on a cloud platform and an open-source model (Llama) on local GPUs demonstrated that initial fine-tuning increased exact matching from <1% to 97%, while enhanced fine-tuning further improved performance in complex scenarios, with real-world clinical notes achieving 69.20% exact match and 87.16% category match. These findings indicate that domain-specific fine-tuned LLMs can reduce manual burdens and improve reliability.

npj Health SystemsVol. 2(1)
Indiana University Health (US), Regenstrief Institute (US), Montclair State University (US), Indiana University – Purdue University Indianapolis (US)
National Institute on Aging
Quality Education
Openalex Percentile: Top 3%
Biomedical Text Mining and Ontologies
6.45
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.