From Documents to Spans: Code-Centric Learning for LLM-based ICD Coding

Xu Zhang, Wenxin Ma, Chenxu Wu, Rongsheng Wang, Kun Zhang +1 more
3/16/2026
cs.CLcs.AI

No confident code implementation found for this paper. 5 possible matches can be shown below.

Abstract

ICD coding is a critical yet challenging task in healthcare. Recently, LLM-based methods demonstrate stronger generalization than discriminative methods in ICD coding. However, fine-tuning LLMs for ICD coding faces three major challenges. First, existing public ICD coding datasets provide limited coverage of the ICD code space, restricting a model's ability to generalize to unseen codes. Second, naive fine-tuning diminishes the interpretability of LLMs, as few public datasets contain explicit supporting evidence for assigned codes. Third, ICD coding typically involves long clinical documents, making fine-tuning LLMs computationally expensive. To address these issues, we propose Code-Centric Learning, a training framework that shifts supervision from full clinical documents to scalable, short evidence spans. The key idea of this framework is that span-level learning improves LLMs' ability to perform document-level ICD coding. Our proposed framework consists of a mixed training strategy and code-centric data expansion, which substantially reduces training cost, improves accuracy on unseen ICD codes and preserves interpretability. Under the same LLM backbone, our method substantially outperforms strong baselines. Notably, our method enables small-scale LLMs to achieve performance comparable to much larger proprietary models, demonstrating its effectiveness and potential for fully automated ICD coding.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 5 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{zhang2026from,
  title  = {From Documents to Spans: Code-Centric Learning for LLM-based ICD Coding},
  author = {Xu Zhang and Wenxin Ma and Chenxu Wu and Rongsheng Wang and Kun Zhang and S. Kevin Zhou},
  year   = {2026},
  eprint = {2603.15270},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2603.15270v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2603.15270.svg)](https://codeofpaper.com/paper/2603.15270)

Discussion