Back to AI Research

AI Research

Calibrating agent confidence against eventual task success

Key Takeaways

  • Outcome-grounded calibration trains step confidence against episode success, testing failure prediction beyond whether the next action looks correct.
  • An experimental calibration method asks whether the whole agent attempt will succeed, rather than whether one step looks correct.
  • The confidence-calibration study trains a Qwen2.5-7B agent to predict eventual episode success at each step.
  • Its scoring target is the whole rollout's outcome, rather than only whether the current action appears correct.
  • The outcome-grounded calibration paper trains an agent's per-step confidence to predict the eventual result of a multi-step attempt.

The confidence-calibration study trains a Qwen2.5-7B agent to predict eventual episode success at each step. Its scoring target is the whole rollout's outcome, rather than only whether the current action appears correct.

Which eventual outcome is the confidence score meant to predict?

The outcome-grounded calibration paper trains an agent's per-step confidence to predict the eventual result of a multi-step attempt. That differs from rewarding confidence for the correctness of the current action alone.
Under group-relative policy optimization, multiple rollouts for a task provide success labels. A proper scoring rule compares each step's stated confidence with the episode's realized outcome. The intended use is a signal that helps decide whether to continue, abstain or request assistance during a longer task.

What environments and training conditions bound the reported gains?

In offline experiments with recorded trajectories from a Qwen2.5-7B agent, the authors evaluate ALFWorld, TextWorld and WebShop. They report that the ability of step confidence to distinguish eventual success from failure, measured by AUROC, rose from near chance to 0.68–0.85.
Online reinforcement learning on ALFWorld also improved early-step discrimination. Expected calibration error fell from 0.42 to below 0.12, while selective execution improved over an untrained agent and a format-only training control without degrading task success in those experiments.
The evaluation separates episode depth, task difficulty and foresight about an individual attempt. The strongest finding is that the trained agent can recognize early which tasks it is likely to fail. Distinguishing a successful attempt from an unsuccessful attempt on the same task remains harder.

How should a handoff or abstention rule be tested?

Franklin analysis: a deployment trial should compare the actual consequences of its escalation threshold. Count successful completions, unnecessary handoffs and failures that the confidence signal allowed through.
Keep harder tasks separate from repeated attempts at the same task. Otherwise a system may appear to anticipate failure mainly because it recognizes difficult assignments. The paper offers evidence that training can make confidence more useful, while leaving a clear measurement question for any application that wants to act on it.

Comments