arXiv:2610.20292cs.CLOct 2026

Manuscript Offprint

arXiv:2610.20292

Taking the PULSE of Medical Reasoning: Step-Level Retrieval Timing for Knowledge-Grounded Inference

Danyang Zhao, Sendong Zhao, Yanrui Du, Haochun Wang, Ming Ma, Wenhao Li, Jingbo Wang, Jiatong Liu, Bing Qin

Abstract

Reliable medical reasoning requires LLMs to dynamically access external biomedical evidence to improve factual trustworthiness and reasoning accuracy. However, indiscriminate retrieval can introduce noise and latency, raising a critical retrieval-timing problem: at each reasoning step, the system must decide whether the model's internal knowledge is reliable or external evidence is needed. We propose PULSE, a lightweight probing method that uses the model's internal representations as intrinsic signals for step-level retrieval control. Our posterior trajectory analysis reveals that erroneous steps exhibit substantially higher inter-layer volatility than correct ones, suggesting unstable internal knowledge. Based on this finding, PULSE trains a compact probe on inter-layer geometric features to detect factual errors upon step completion, and uses it as an adaptive trigger for retrieval and step regeneration. Across four medical benchmarks, PULSE-timed retrieval matches exhaustive per-step retrieval in accuracy while reducing retrieval calls by 72%, and can transfer to an unseen legal domain, indicating potential domain-agnostic generality. Overall, our study provides an initial step toward shifting retrieval-trigger design from surface-level confidence estimates to internal activation dynamics for adaptive access.

1 Introduction

Reliable medical reasoning requires Large Language Models (LLMs) to access external biomedical evidence to support factual trustworthiness and reasoning accuracy, particularly when specialized or rapidly evolving knowledge is needed (Tu et al., 2025; Singhal et al., 2023; Bayat et al., 2023; Berger et al., 2025). Existing retrieval-augmented generation (RAG) research has devoted substantial attention to improving the relevance and quality of external evidence (Xiong et al., 2024). However,

Unmatched visualization

Figure

Factually correct

Factually erroneous

Complexity-matched visualization

Figure 1: Layer-wise PCA trajectories of hidden states. Bold lines: group means; faint lines: individual samples. (a) Unmatched. (b) Complexity-matched.

in multi-step medical reasoning, factual errors may arise at specific steps rather than throughout the entire reasoning chain (Wu et al., 2025; Sun et al., 2025), raising a question beyond evidence quality: how can retrieval timing be determined to achieve a better balance between reasoning accuracy and retrieval frequency than indiscriminate retrieval?

Existing retrieval-augmented methods differ mainly in the granularity at which retrieval is triggered. Question-level retrieval retrieves evidence before reasoning begins (Lewis et al., 2020; Lu et al., 2025), but is too coarse to address factual errors that emerge only in intermediate reasoning steps. Exhaustive step-level retrieval can provide targeted support, but requires frequent retrieval calls and may introduce unnecessary or distracting evidence (Huang and Huang, 2024). Token-level retrieval further refines the trigger granularity (Jiang et al., 2023; Su et al., 2024), yet it fails to preserve the semantic integrity of a complete reasoning step.

∗^{*}Corresponding author: sdzhao@ir.hit.edu.cn.

Step-level adaptive retrieval therefore offers a natural granularity (Yao et al., 2025), and its effectiveness hinges on a critical retrieval-timing problem: after each reasoning step, the system must decide whether the model's internal knowledge is reliable or external evidence is required.

A central challenge is how to obtain reliable trigger signals. Most existing approaches rely on output-level uncertainty signals, such as perplexity (Si et al., 2022), entropy (Kuhn et al., 2023), or maximum softmax probability, to estimate whether the model is likely to be wrong. While useful, these signals are derived from the final output distribution and may provide only a surface-level view of the model's reasoning state. Another line of work has shown that factual knowledge and reasoning-related information are encoded in the model's hidden representations (Meng et al., 2022; Geva et al., 2021; Azaria and Mitchell, 2023; Lu et al., 2026), and that probes over multi-layer representations can help assess reasoning quality (Ni et al., 2025). The key is to translate these representations into a signal for deciding when to retrieve. These findings suggest that layer-wise internal dynamics may contain richer trigger signals.

Motivated by this perspective, we investigate whether the layer-wise evolution of hidden states can serve as an intrinsic signal for step-level factual error detection. Our posterior trajectory analysis reveals that factually erroneous reasoning steps exhibit substantially higher inter-layer volatility than correct ones, even after controlling for reasoning complexity, as shown in Figure 1. This pattern suggests that when a model fails to ground a step in its internal knowledge, its representations undergo unstable transitions across layers. We term this phenomenon internal knowledge instability and build upon it to propose PULSE (Probing Ungrounded reasoning via Layer-wise State Evolution), a lightweight probing method for adaptive retrieval control. PULSE extracts compact geometric features from hidden-state trajectories and detects factual errors upon step completion. Rather than retrieve at every step, it selectively triggers biomedical retrieval and step regeneration when a potential factual error is detected, reducing unnecessary retrieval calls.

Our study evaluates PULSE on four medical QA benchmarks. PULSE-timed retrieval matches exhaustive per-step retrieval in downstream accuracy while reducing retrieval calls by 72%, achieving a favorable balance between accuracy and retrieval frequency. Moreover, the same trigger transfers zero-shot to an unseen legal domain, suggesting that layer-wise trajectory volatility may capture a domain-agnostic signal of factual grounding failure rather than dataset-specific artifacts. Overall, our contributions can be summarized as follows:

• Geometric Signal. We identify elevated interlayer volatility in hidden states as a geometric signature of step-level factual errors, providing an intrinsic basis for retrieval timing.

• Retrieval Trigger. We propose PULSE, a lightweight probe that determines retrieval timing from the geometric evolution of hidden states across layers.

• Retrieval Efficiency. We show that PULSE-timed retrieval matches exhaustive retrieval with 72% fewer calls and generalizes zero-shot across domains.

References (57)