[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-273839-105":59,"doc-detail-273839-en":131,"doc-similar-273839":154},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":124,"head_meta":126,"extra_data":128,"updated_unix":130},105,"en","krel-automatic-medical-coding-via-knowledge-guided-reasoning-over-clinical-evidence-with-llms","KREL - Automatic Medical Coding via Knowledge-Guided Reasoning over Clinical Evidence with LLMs","","Automatic Medical Coding (AMC) assigns standardized ICD codes to clinical notes, supporting reimbursement, quality reporting, and clinical research. Pretrained language model approaches often treat AMC as extreme multi-label classification over a fixed code set, while newer LLM methods use generation or multi-step reasoning. Key obstacles include long note interpretation, a vast ICD label space, and rule complexity not captured by LLMs. KREL integrates structured coding relations as external knowledge to guide reasoning, reduce hallucinations, and enable rule-aware verification, improving benchmark performance over strong baselines.",{"@graph":69,"@context":123},[70,84,106],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/krel-automatic-medical-coding-via-knowledge-guided-reasoning-over-clinical-evidence-with-llms/273839/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/krel-automatic-medical-coding-via-knowledge-guided-reasoning-over-clinical-evidence-with-llms/273839.png","ImageObject",300,407,{"name":92,"@type":93},"Theodora","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-16","2026-09-15",true,{"@type":102,"interactionType":103,"userInteractionCount":105},"InteractionCounter",{"@type":104},"ViewAction",17,{"@type":107,"mainEntity":108},"FAQPage",[109,115,119],{"name":110,"@type":111,"acceptedAnswer":112},"What is the goal of KREL in automatic medical coding?","Question",{"text":113,"@type":114},"KREL aims to assign ICD codes to clinical notes by combining LLM reasoning with structured external knowledge, improving accuracy and rule compliance.","Answer",{"name":116,"@type":111,"acceptedAnswer":117},"How does KREL address the challenge of long and unstructured clinical notes?",{"text":118,"@type":114},"It uses a Query Extractor to convert code-relevant clinical descriptions into structured queries that help downstream retrieval and reasoning.",{"name":120,"@type":111,"acceptedAnswer":121},"How does KREL handle the large ICD label space and complex coding rules?",{"text":122,"@type":114},"A Candidate Selector retrieves candidate ICD codes with definitions and coding rules from the full taxonomy, and a Code Verifier checks the note against the retrieved evidence to produce final decisions.","https://schema.org",{"og:url":83,"og:type":125,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":127,"canonical":83},"index,follow",{"doc_id":129,"site_id":62},273839,1789472943,{"code":4,"msg":5,"data":132},{"doc_id":129,"user_id":133,"nickname":92,"user_avatar":134,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":105,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":105,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":130,"read_time":144,"preview_page_count":14,"preview_urls":145},687197207919,"https://ap-avatar.wpscdn.com/avatar/a000253d6f5f7c60be?x-image-process=image/resize,m_fixed,w_180,h_180&k=1779446848396160552","KREL: Automatic Medical Coding via Knowledge-Guided Reasoning over  \nClinical Evidence with LLMs  \nXubin Chen1 , Yipeng Zhou1 * , Wen Sun2 , Chengkai Huang3 ,  \nXiaoming Fu4 , Quan Z. Sheng5  \n1Macquarie University, 2Beijing Intelligent Decision Medical Technology Co. Ltd.,  \n3University of New South Wales, 4University of Göttingen,  \n5Beijing Normal-Hong Kong Baptist University  \n[xubin.chen@students.mq.edu.au](xubin.chen@students.mq.edu.au), [yipeng.zhou@mq.edu.au](yipeng.zhou@mq.edu.au), [sunwen@idmed.cn](sunwen@idmed.cn),  \n[chengkay.huang@gmail.com](chengkay.huang@gmail.com), [fu@cs.uni-goettingen.de](fu@cs.uni-goettingen.de), [michaelsheng@bnbu.edu.cn](michaelsheng@bnbu.edu.cn)  \narXiv : 2608 .20887v2 [cs .CL] 12 Sep 2026  \nAbstract  \nAutomatic 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 pretrained language model (PLM)-based methods typically formulate AMC as an extreme multilabel 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 selected structured coding relations as external knowledge. This design enables tight coupling between domain knowledge and LLM reasoning, reducing hallucinations and supporting rule-aware verification. Experiments on benchmark datasets show that KREL consistently outperforms strong PLM-based and state-of-theart LLM-based baselines. Our code is available here.  \n1 Introduction  \nMedical coding is the process of assigning relevant diagnosis codes to each clinical note, which is essential in public health and healthcare systems (Ji et al., 2024 ; Gao et al., 2024) . This task is generally performed by experienced human annotators who follow the World Health Organization’s ICD coding guidelines when assigning codes. This manual process is notoriously time-consuming and errorprone due to complex rules and the requirement of domain-specific knowledge (Yan et al., 2022 ; Motzfeldt et al., 2025) .  \n* Corresponding author.  \nFigure 1: The difference between our framework and existing approaches. Our method better leverages LLM reasoning capabilities by integrating external knowledge.  \nThe high cost of medical coding has motivated extensive research on AMC, which aims to automatically assign ICD codes to each clinical note. Existing methods can be broadly categorized into traditional machine learning-based and LLM-based approaches. The former formulates AMC as an extreme multi-label classification problem, where neural encoders or pre-trained language models (PLMs) directly map clinical notes to codes within a predefined label space (typically 50–100 labels, which is much smaller than the full ICD taxonomy of over 70K codes) (Huang et al., 2022 ; Liu et al., 2022 ; Edin et al., 2023) . Although these methods achieve strong performance on benchmark datasets, they are typically constrained to a predefined label set, making it difficult to scale to the full and evolving ICD taxonomy. More recent LLM-based approaches reformulate AMC as a generation or multi-step reasoning task, leveraging prompting, external tools, or coding guidelines to better emulate the workflow of human coders (Motzfeldt et al., 2025 ; Zheng et al., 2025 ; Yuan et al., 2025) .  \nDespite the superior performance of LLM-based approaches over traditional methods, LLMs alone  \nremain insufficient for AMC due to three key challenges. First, most foundation LLMs are not s","cbCaipn2kbAHBC65","https://ap.wps.com/l/cbCaipn2kbAHBC65","pdf",1188035,"English","# Introduction\n## Problem background and manual ICD coding\n## Existing AMC approaches: PLM-based vs LLM-based\n## Challenges for LLM-only AMC\n# KREL Framework\n## Query Extractor\n## Candidate Selector (KG-RAG retrieval)\n## Code Verifier (LLM rule-aware verification)\n# Contributions and comparison","[{\"question\":\"What is the goal of KREL in automatic medical coding?\",\"answer\":\"KREL aims to assign ICD codes to clinical notes by combining LLM reasoning with structured external knowledge, improving accuracy and rule compliance.\"},{\"question\":\"How does KREL address the challenge of long and unstructured clinical notes?\",\"answer\":\"It uses a Query Extractor to convert code-relevant clinical descriptions into structured queries that help downstream retrieval and reasoning.\"},{\"question\":\"How does KREL handle the large ICD label space and complex coding rules?\",\"answer\":\"A Candidate Selector retrieves candidate ICD codes with definitions and coding rules from the full taxonomy, and a Code Verifier checks the note against the retrieved evidence to produce final decisions.\"}]","KREL - Automatic Medical Coding via Knowledge-Guided Reasoning over Clinical Evidence with LLMs | PDF",43,[146,150],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/52fae11da9b3ff9171cd331403bb5d4c.webp",983,1390,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-08/8ff3c3417a440b3a23ce09045f264042.webp",982,1388,{"list":155,"token":66},[156,163,169,176,183,190,196,202,208,215],{"doc_id":157,"doc_title":158,"file_type":138,"home_preview_img_url":159,"slug":160,"view_count":161,"category_name":40,"create_tm":162},395411,"Bridging the Version Gap - Multi-version Training Improves ICD Code Prediction, Especially for Rare Codes","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229918643315/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=1Jsh1a0hobBQzZUwIjQUaXNdH7s%3D","bridging-the-version-gap-multi-version-training-improves-icd-code-prediction-especially-for-rare-codes",14,1790418942,{"doc_id":164,"doc_title":165,"file_type":138,"home_preview_img_url":166,"slug":167,"view_count":41,"category_name":40,"create_tm":168},83885,"Multi-Large Language Model Orchestrated Severity Assessment of Clinical Records (MOSAIC)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809111782/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=teUQYbaGmj5scEfVUGQ8NjaVn%2BA%3D","multi-large-language-model-orchestrated-severity-assessment-of-clinical-records-mosaic",1784191217,{"doc_id":170,"doc_title":171,"file_type":138,"home_preview_img_url":172,"slug":173,"view_count":174,"category_name":40,"create_tm":175},273656,"When Machines Speak - A Unified Generative Framework for Integrating Machine-Native Symbols into Pretrained Large Language Models","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899956642/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=avQ%2FOFQ3E8T3lsbdjlkY1ZF4Q2A%3D","when-machines-speak-a-unified-generative-framework-for-integrating-machine-native-symbols-into-pretrained-large-language-models",18,1789472384,{"doc_id":177,"doc_title":178,"file_type":138,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":40,"create_tm":182},585379,"From Flat to Structural - Enhancing Automated Short Answer Grading with GraphRAG","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229954433134/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=CM8KPKUwbzpyM22POl3ootSpZP8%3D","from-flat-to-structural-enhancing-automated-short-answer-grading-with-graphrag",11,1792054560,{"doc_id":184,"doc_title":185,"file_type":138,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":40,"create_tm":189},138792,"AnchorCoT - Anchors Pave the Way for Multi-hop Reasoning","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229863896686/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=OMalm2vUY%2B1LYL6RNOWesdIp%2FGc%3D","anchorcot-anchors-pave-the-way-for-multi-hop-reasoning",23,1787488350,{"doc_id":191,"doc_title":192,"file_type":138,"home_preview_img_url":193,"slug":194,"view_count":19,"category_name":40,"create_tm":195},701573,"SituationalLLM - Proactive language models with scene awareness for dynamic, contextual task guidance","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230012409354/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=qUj82lqEHCAliL5IjUDANZnKF4k%3D","situationalllm-proactive-language-models-with-scene-awareness-for-dynamic-contextual-task-guidance",1794533231,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":39,"category_name":40,"create_tm":201},273502,"Foundation Agents Meet Agentic Deep Research - Evidence-Grounded Clinical Code Forecasting","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229899942752/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=WfoN2XyPyT%2FEVuobOpPrhrxXY1w%3D","foundation-agents-meet-agentic-deep-research-evidence-grounded-clinical-code-forecasting",1789471736,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":24,"category_name":40,"create_tm":207},688383,"Deceptive Semantic Shortcuts on Reasoning Chains - How Far Can Models Go without Hallucination?","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230001277281/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=PMmMMlfZf%2FQXNuccvXvR7Vfixx0%3D","deceptive-semantic-shortcuts-on-reasoning-chains-how-far-can-models-go-without-hallucination-688383",1794088202,{"doc_id":209,"doc_title":210,"file_type":138,"home_preview_img_url":211,"slug":212,"view_count":213,"category_name":40,"create_tm":214},405747,"MetImputBERT - a pretrained BERT framework for missing value imputation in NMR metabolomics data","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229920632397/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=rp6o1R0f4BrnmJDWnmgm9gTOjOU%3D","metimputbert-a-pretrained-bert-framework-for-missing-value-imputation-in-nmr-metabolomics-data",12,1790561677,{"doc_id":216,"doc_title":217,"file_type":138,"home_preview_img_url":218,"slug":219,"view_count":220,"category_name":40,"create_tm":221},85082,"Game Theory Driven Multi-Agent Framework Mitigates Language Model Hallucination","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809289114/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796176439&Signature=ZYsYhy%2BJdBI5bINSv2RefCi86as%3D","game-theory-driven-multi-agent-framework-mitigates-language-model-hallucination",31,1784200938]