arXiv:2605.27377cs.CLcs.AI2026-05

用结构化外部知识提升大模型医疗编码准确率

Enhancing LLM Medical Coding with Structured External Knowledge

论文配图:Enhancing LLM Medical Coding with Structured External Knowledge
图 1 · 摘自论文原文
  • 将编码指南转为代码专属摘要,表格转为关系图谱增强模型理解
  • 在MDACE数据集上比最优基线高3-13%的微平均F1,召回率提升11%
  • 无需训练即可适配新版编码标准,适合医疗系统开发者使用

精准医疗编码需参考权威资源如ICD表列和编码指南。现有基于大模型的自动方法主要依赖模型内部知识,易产生幻觉且无法跟上指南更新。本文提出RAG-Coding,一种无需训练的代理式方法,通过将表列编码为知识图谱(捕捉代码层级与指令关系),并将指南提炼为简洁的代码专属摘要,而非直接检索原文。为支持研究,我们还构建了MDACE-2025,即基于2025年ICD-10-CM/PCS指南对MDACE数据集进行专家重新标注,新增代码排序与理由注释。在MDACE上,RAG-Coding在五个大模型基础上均比最佳基线高出3–13%的微平均F1,达到与监督式最先进方法相当的微/宏平均F1,召回率提升11%,但精度下降6%。在MDACE-2025上,其性能超越所有基线,证明对更新指南具有良好泛化能力。消融实验表明逐步增益,凸显结构化外部知识整合的重要性。

原文摘要 · Abstract (English)

Accurate medical coding requires consulting authoritative resources such as the ICD tabular list and coding guidelines. Existing LLM-based automated methods largely rely on LLMs' internal 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: the tabular list is encoded as a knowledge graph capturing hierarchical and instructional code relationships, and the guidelines are distilled into concise, code-specific summaries rather than retrieved as raw text. To enable our study, we also introduce MDACE-2025, expert re-annotations of the MDACE dataset under the 2025 ICD-10-CM/PCS guidelines, adding code sequencing and justification comments. On MDACE, RAG-Coding outperforms the best LLM-based baseline by 3--13\% in micro-F1 across five LLM backbones, and achieves comparable micro- and macro-F1 to the supervised state-of-the-art, with higher recall ($+$11\%) at the cost of precision ($-$6\%). On MDACE-2025, RAG-Coding outperforms all baselines, demonstrating effective generalisation to updated guidelines. Ablations confirm stepwise gains, highlighting the importance of integrating structured external knowledge for LLM-based medical coding.

医疗编码大模型知识增强RAG

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。