cs.CLAug 21, 2026

KREL: Automatic Medical Coding via Knowledge-Guided Reasoning over Clinical Evidence with LLMs

Authors: Xubin Chen, Yipeng Zhou, Wen Sun, Chengkai Huang, Xiaoming Fu, Quan Z. Sheng

Organizations: Macquarie University · Beijing Intelligent Decision Medical Technology Co. Ltd. · University of New South Wales · University of Göttingen · 

Abstract

Automatic Medical Coding (AMC), which assigns standardized International Classification of Diseases (ICD) codes to clinical notes, is essential for medical reimbursement, quality reporting, and clinical research. Existing pre-trained language model (PLM)-based methods typically formulate AMC as an extreme multi-label classification problem over a predefined code set, while recent large language model (LLM)-based approaches instead frame it as generation or multi-step reasoning. However, key challenges remain, including the extreme length of clinical notes that hinders effective interpretation, the vast ICD label space, and complex coding rules that are not explicitly captured by LLMs. In this work, we propose Knowledge-Guided Reasoning over Clinical Evidence with LLMs (KREL), a framework that leverages LLMs for clinical text understanding and reasoning while integrating external ICD coding guidelines as structured knowledge. This design enables tight coupling between domain knowledge and LLM reasoning, reducing hallucinations and improving compliance with coding standards. Experiments on benchmark datasets show that KREL consistently outperforms strong PLM-based and state-of-the-art LLM-based baselines.

Figures & tables

Appendix figures & tables9 assets

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. Enhancing LLM Medical Coding with Structured External Knowledge

    Apr 9, 2026Yidong Gan, David D. Nguyen, Yang Lin +4Automated Medical CodingMedical LLMs

  2. CoLa-ICD: A Knowledge-Enhanced Framework for Long-Tail Automated Medical Coding

    Aug 31, 2026Yihang Cheng, Veronica Liesaputra, Andrew TrotmanLong-Tailed ClassificationMulti-Label Classification