arXiv:2610.07739cs.LGOct 2026

Manuscript Offprint

arXiv:2610.07739

Cite What You Explore: Budget-Aware LLM Reasoning over Medical KGs with Verifiable Evidence

Chen Chen, Dongjie Wang, Mei Liu, Zijun Yao

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Abstract

Post-discharge risk prediction from electronic health records (EHRs) is difficult because many dependencies that link discharge-time observations to downstream complications, such as comorbidity cascades and drug-disease interactions, are absent from the record. External medical knowledge graphs (KGs) can supply these missing dependencies, but tracing them demands three properties: KG exploration must remain cost-bounded, retrieved evidence must be differentiated by source quality, and the resulting rationale must be citable for retrospective review. Large language models (LLMs) can plan and verify over structured evidence, making them natural candidates for KG reasoning, but existing LLM-based methods do not satisfy these three properties jointly. In this paper, we propose BAR, a Budget-Aware LLM Reasoning framework over medical KGs with three contributions. First, BAR refines the raw KG into disease-specific evidence graphs whose edges carry support scores and provenance records, turning the KG into a quality-annotated reasoning space rather than a static feature source. Second, an LLM then reasons over this graph through a plan-navigate-verify loop that decomposes the question into steps, retrieves evidence under a patient-specific budget, and revises when verification fails. Third, a reasoning policy is trained with a reward that compares predictions with and without acquired evidence, combined with acquisition cost and citation-integrity terms. Across 8 diseases and 3 prediction horizons on MIMIC-III and MIMIC-IV, BAR improves AUPRC by 3.4 points over the strongest baseline, raises citation precision from 59.8% to 77.9%, and consumes only 62-65% of the budget cap.

1 Introduction

Electronic health records (EHRs) have enabled a wide range of post-discharge risk prediction tasks [32, 14], where the goal is to assess at discharge whether a specific complication will first appear within a future time window. This task is challenging because the pathways that would connect discharge-time observations to downstream complications, including comorbidity cascades, drug-disease interactions, and disease progressions, are rarely captured in the record. External medical knowledge graphs (KGs) [4] can supply the relational structure needed to recover these dependencies, but tracing them typically requires multi-hop exploration [43], since a single retrieval rarely captures the chain of intermediate concepts linking a discharge-time observation to its downstream complication.

Existing methods do not yet exploit this structure effectively. EHR-only models [8, 12, 33] capture statistical associations but miss risk factors that emerge only through pathways whose intermediate

∗^{*}Corresponding author.

Preprint.

concepts the EHR does not record. Static KG methods [7, 25, 17, 37] add relational knowledge but extract embeddings once before prediction, with no mechanism to follow patient-specific pathways at inference time. What is missing is an agent that can decide which pathway to trace next and when the evidence is sufficient to stop for a given patient. Large language models (LLMs) are a natural fit [36, 22]: they can decompose a clinical scenario into hypothesis-driven steps and query the KG for supporting evidence at each step, conditioning each retrieval on what previous steps have revealed.

Recent Graph4LLM approaches [44, 29, 11, 5] advance in this direction by allowing iterative reasoning over KGs. However, three requirements for clinical deployment remain unmet. First, with no cost constraint, exploration continues well past the point of diminishing returns, even on patients whose discharge record alone already supports a confident prediction. Second, treating all retrieved edges uniformly, regardless of how well-supported they are by underlying evidence, leaves the LLM unable to prioritize the most reliable pathways. Third, the reasoning trace does not preserve a verifiable link between predictions and the provenance of supporting edges, so it cannot be audited retrospectively.

To address these three requirements, we adopt a complementary collaboration between the LLM and the KGs. The LLM generates and revises pathway hypotheses, while the KG constrains which pathways are structurally grounded and supplies the traceable evidence needed to verify them under bounded cost. We develop this idea in BAR (Figure 1), a framework for budget-aware LLM reasoning over medical KGs. Our contributions are threefold. 2{}^{2} First, we introduce evidence graphs that refine the raw KG into disease-specific subgraphs whose edges carry support scores, provenance records, and equivalence-group ids (for redundancy control), turning the KG into a quality-annotated reasoning space the LLM explores at inference time, rather than a feature source whose embeddings are extracted once before prediction. Second, we propose a budget-aware reasoning loop that allocates exploration in proportion to EHR-only prediction uncertainty, in which the LLM produces a clinical plan, navigates the evidence graph under this patient-adaptive budget, and verifies each step against both source support and the patient's evolving state, with revision when evidence falls short. Third, we design a training signal whose primary term is a paired gain comparing predictions with and without acquired evidence, with auxiliary terms for acquisition cost and citation integrity, so the policy learns to acquire external evidence only when it improves prediction beyond what the discharge record alone provides. Experiments on MIMIC-III [21] and MIMIC-IV [20] show that BAR outperforms all baselines on each disease-horizon settings (8 diseases × 3 horizons) while consuming substantially lower exploration cost, with relative gains that increase with prediction horizon as relevant pathways become less likely to appear in the discharge record.

References (42)