Can Post-Training Turn LLMs into Good Medical Coders? An Empirical Study of Generative ICD Coding
Not on the map. Why?
Abstract (arXiv)
Automated International Classification of Diseases (ICD) coding is a core medical-coding task for billing, epidemiology, and clinical decision support. Generative large language models (LLMs) are often reported as weak medical coders, but this finding mainly comes from inference-time settings such as prompting, retrieval, reranking, or tool use, leaving the role of task-specific post-training underexplored. We present a controlled empirical study of post-training for generative ICD coding, comparing discriminative baselines with LLM coders across prompting, supervised fine-tuning, and reinforcement learning under a common protocol and metric set. To our knowledge, this is the first study to evaluate RL-based post-training for generative LLM coders in ICD coding. We further introduce PHI, a diagnostic curriculum that extends GRPO to refine missed-code cases. Our results show that prompting-only evaluation substantially underestimates the potential of LLMs for ICD coding. SFT provides the main capability jump, GRPO further improves code-set prediction beyond SFT, and PHI provides targeted gains on macro-level performance. These findings suggest that the main bottleneck is not the generative formulation alone, but how the model is adapted and optimized for full-taxonomy recall. We release our code, data splits, and checkpoints at https://github.com/AlexandreWANG915/LLM4ICD.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Builds on 17 of its 27 references that are in the map. First posted on arXiv 11 Jun 2026.
Builds on
17 of 27 references.
References · 17
- 2022Training language models to follow instructions with human feedbackcited by 15,971
- 2017Proximal Policy Optimization Algorithmscited by 15,215
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2020Domain-Specific Language Model Pretraining for Biomedical Natural Language Processingcited by 1,009
- 2019Publicly Available Clinical BERT Embeddingscited by 1,002
- 2015Sequence Level Training with Recurrent Neural Networkscited by 576
- 2018Explainable Prediction of Medical Codes from Clinical Textcited by 234
- 2019ICD Coding from Clinical Text Using Multi-Filter Residual Convolutional Neural Networkcited by 73
- 2023Automated Medical Coding on MIMIC-III and MIMIC-IV: A Critical Review and Replicability Studycited by 49
- 2020A Label Attention Model for ICD Coding from Clinical Textcited by 48
- 2020BERT-XML: Large Scale Automated ICD Coding Using BERT Pretrainingcited by 37
5 more
- 2022A Unified Review of Deep Learning for Automated Medical Codingcited by 26
- 2024MedCodER: A Generative AI Assistant for Medical Codingcited by 11
- 2024Large language models are good medical coders, if provided with toolscited by 8
- 2021Modeling Diagnostic Label Correlation for Automatic ICD Codingcited by 5
- 2025Evaluation and LLM-Guided Learning of ICD Coding Rationalescited by 1
Built on by
Citing papers per year: 2026: 1.
1 paper.
- 2026Beyond ICD Codes: Semantic IDs for Generative Medical Coding13 Oct 2026
Similar, not cited
Close in wording, no citation either way
- 2024Exploring LLM Multi-Agents for ICD Coding
- 2026Training a Large Language Model for Medical Coding Using Privacy-Preserving Synthetic Clinical Data
- 2026KREL: Automatic Medical Coding via Knowledge-Guided Reasoning over Clinical Evidence with LLMs
- 2025Evaluating Hierarchical Clinical Document Classification Using Reasoning-Based LLMs
- 2025Generalization of Medical Large Language Models through Cross-Domain Weak Supervision
- 2025Medical Reasoning in the Era of LLMs: A Systematic Review of Enhancement Techniques and Applications
- 2026Improving Medical Calculation of LLMs with Embedded Coding
- 2023From Beginner to Expert: Modeling Medical Knowledge into General LLMs