arXiv(opens in a new tab)cs.AIOct 2026Cited by 1 paper on PaperVantage

Manuscript Offprint

arXiv:2610.09115

From Uncertainty to Action: Learning to Steer LLM Agents

Hanwen Li, Jinhao Duan, Guanhua Zhu, Junchi Lu, Bo Shen, Chenxi Yuan, Kaidi Xu

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

ABSTRACT

Steering an LLM agent means deciding whether to correct it, at which step, and with which mechanism. Uncertainty is often used to decide when to correct an agent, but whether it can guide these decisions remains unclear. We steer agent trajectories separately at every non-terminal step with each of four mechanisms and run each continuation to completion. The resulting stepwise outcome table (SOT) holds about 82,000 counterfactual continuations of 1,864 trajectories from three benchmarks and two agents. It shows that uncertainty can identify failing trajectories, but that no single signal reliably locates the step at which steering helps. We therefore propose VoS (Value of Steering), a trajectory-level monitor, offline or online, that learns from SOT the value of steering at each step and decides where to steer by it. A harm-budgeted trigger decides whether to steer, limiting the fraction of successful trajectories that VoS disturbs. VoS improves on unmodified execution in all 12 settings of benchmark, agent, and offline or online use, by 7.8 points on average, and outperforms the strongest of five existing uncertainty-triggered methods in 11, by 2.9 points on average. Ablations show that training on measured outcomes and a tight harm budget are both essential.

1 INTRODUCTION

Uncertainty quantification (UQ) for large language models (LLMs) has often centered on answer correctness, hallucination detection, and confidence calibration (Kadavath et al., 2022; Lin et al., 2022; Kuhn et al., 2023; Manakul et al., 2023; Tian et al., 2023; Xiong et al., 2024; Farquhar et al., 2024; Geng et al., 2024), and is typically assessed through error detection, reliability ranking, or calibration metrics (Hendrycks & Gimpel, 2017; Guo et al., 2017; Malinin & Gales, 2021; Vashurin et al., 2025). As LLMs are increasingly deployed as agents that plan, use tools, and interact with environments to complete multi-step tasks (Yao et al., 2023; Schick et al., 2023; Wang et al., 2024c;a), uncertainty estimates should also help improve task execution, not only assess the reliability of model outputs.

Multi-step execution creates opportunities to correct an agent before a task fails, since early errors otherwise propagate through the remaining steps (Cemri et al., 2025; Zhang et al., 2025), and prior work offers mechanisms for doing so, from prompting an agent to reflect on its own progress to supplying external feedback and assistance (Shinn et al., 2023; Madaan et al., 2023; Kim et al., 2025; Gou et al., 2024; Chen et al., 2024; Zhao et al., 2024; Wang et al., 2025). We call a targeted modification of an agent's subsequent execution at a selected point of its trajectory steering. Steering at every step adds computation and may disrupt otherwise successful execution (Huang et al., 2024; Kamoi et al., 2024), so it should be used selectively, and uncertainty is a natural signal for this selection, as in selective prediction and deferral to an expert (El-Yaniv & Wiener, 2010; Geifman & El-Yaniv, 2017; Mozannar & Sontag, 2020).

This requires three decisions: whether to steer a trajectory, where, that is, at which step, and with which mechanism. These decisions depend on whether a particular correction would improve the outcome, which the predicted risk of failure alone cannot tell: a likely failure may not be recoverable,

∗^{*}Corresponding author: cy324@njit.edu

Figure

Figure 1: Overview. (a) An agent with step-level uncertainty. (b) SOT: every step steered with every mechanism and run to the end. (c) VoS: where to steer by a value function learned from SOT, whether by a threshold.

a correction to a successful trajectory can introduce new errors, and the most uncertain step need not offer the greatest benefit. We therefore ask: Can uncertainty guide effective steering of LLM agents?

Among uncertainty-triggered methods for agents, Agentic UQ (AUQ) (Zhang et al., 2026b) combines confidence-triggered reflection with memory, and ReDAct (Piatrashyn et al., 2026) defers uncertain actions to a stronger model. Their aggregate task gains, however, do not isolate the value of choosing the trajectory, the step, and the mechanism. DIAL (Li et al., 2026) and Zhang et al. (2026a) begin to address this with counterfactual comparisons, but only at the states that a trigger selects, whereas deciding where to steer requires comparing the outcomes of steering at different steps of the same trajectory. We therefore introduce a stepwise counterfactual evaluation that steers every step of each trajectory with each of four mechanisms and records the change in the final task score in a stepwise outcome table (SOT), including the choices that a given trigger would not have made. SOT captures both recovery on failed trajectories and harm to successful ones, and it lets us compare predictive metrics with steering gains as well as train and calibrate monitors.

Our results show that uncertainty helps identify failing trajectories but remains an imperfect guide to the value of correction. That accurate failure prediction need not yield effective intervention has been noted for agent oversight in general (Vasudev et al., 2026; Zhang et al., 2026a); our stepwise outcomes show how this gap arises for uncertainty signals: a higher failure-detection AUROC does not yield greater task improvements, and the order in which a signal ranks the steps of a trajectory barely matches their gain. The self-evaluation score P(True)P(\text{True}) (Kadavath et al., 2022), for example, is among the weakest failure detectors in our study, yet it is the signal most consistently aligned with where steering helps. The usefulness of a signal also depends on the mechanism: the four mechanisms agree moderately on which trajectories are recoverable but barely on which step to steer.

These findings shape our monitor, VoS (Value of Steering). Since uncertainty carries a useful but imperfect failure signal and steering a successful trajectory can only lower its score, whether to steer is decided by a harm-budgeted trigger, calibrated to limit the fraction of successful trajectories that are steered; since no single signal reliably locates the step at which steering helps, where to steer is decided by a value function learned from all signals, with the measured outcome of steering as the target. VoS runs offline, rolling back a completed execution before its result is accepted, or online, steering during execution; Figure 1 gives an overview.

Our contributions are:

• We present SOT, a stepwise table of about 82,000 counterfactual steering outcomes on 1,864 trajectories, which measures harm to successful trajectories as well as recovery on failed ones. With it, we show that uncertainty helps identify failing trajectories, but that no single signal reliably locates the step at which steering helps or tells which mechanism to use.

• We propose VoS, a trajectory-level, harm-budgeted steering monitor that works during execution or by rolling back afterwards and decides where to steer by the value of steering at each step, estimated from uncertainty signals.

• On three benchmarks with two agents, offline and online, VoS improves on unmodified execution in all 12 settings, by 7.8 points on average, and outperforms the strongest of five uncertainty-triggered methods from prior work in 11, by 2.9 points on average. Ablations show that measured outcomes are a better training target than failure, binary, or process-reward labels, that a tight harm budget beats steering more trajectories, and that no single family of our 14 estimators suffices across settings.

References (88)