SyncAI.news, a Varaisys broadcasting
Enhancing LLM Medical Coding with Structured External Knowledge
YG

Yidong Gan, David D. Nguyen, Yang Lin, Peter Zhong, Thanh Vu, Long Duong, Yuan-Fang Li

· 1 min read

ResearcharXiv cs.CL

Enhancing LLM Medical Coding with Structured External Knowledge

arXiv:2605.27377v3 Announce Type: replace Abstract: Accurate medical coding requires consulting authoritative resources such as the ICD tabular list and coding guidelines. Existing LLM-based automated methods largely rely on internal model knowledge, which is prone to hallucination and cannot keep pace with guideline updates. We introduce RAG-Coding, an agentic, training-free method that augments LLMs with structured external knowledge. Specifically, we encode the tabular list as a knowledge graph capturing hierarchical and instructional code relationships, and distil the guidelines into concise, code-specific summaries rather than retrieving raw text. On the MDACE dataset, RAG-Coding outperforms the strongest LLM-based baseline by 3--13\% in micro-F1 and 1--8\% in macro-F1 across five LLM backbones; compared to the supervised state-of-the-art, PLM-ICD, RAG-Coding achieves 11\% higher recall at the cost of 6\% lower precision. We also release MDACE-2025, an expert re-annotation of the MDACE test set under the contemporary 2025 ICD-10-CM/PCS guidelines. On MDACE-2025, RAG-Coding also outperforms all baselines notably in micro- and macro-F1, demonstrating effective generalisation to guideline updates. Ablation studies show stepwise gains, confirming the value of structured external knowledge for LLM-based medical coding.

Original source

This story was published by arXiv cs.CL and written by Yidong Gan, David D. Nguyen, Yang Lin, Peter Zhong, Thanh Vu, Long Duong, Yuan-Fang Li. SyncAI.news shows a preview; the complete article is on the publisher's site.

Read the full story on arxiv.org

Similar News