betaFeedback

WorksComputer Science

Can an Agent Learn to Predict Its Own Failure? Outcome-Grounded Confidence Calibration in LLM Agents

Abstract

Controlling an acting LLM agent means deciding, at each step of a long-horizon task, whether to trust its next action, abstain, or hand off to a human. That decision needs a per-step confidence signal predicting whether the current rollout will eventually succeed. The agent's own self-reported verbalized confidence is the natural candidate, but existing reinforcement learning methods calibrate it against the correctness of a decision at the current step. We propose a method to calibrate it against the eventual outcome of a multi-step episode: under GRPO, the group of rollouts for a task supplies success labels, and a proper scoring rule scores each step's confidence against the realized outcome. In offline RL on recorded trajectories of a Qwen2.5-7B agent in ALFWorld, TextWorld, and WebShop environments, the AUROC of step confidence against episode outcome rises from near chance to 0.68-0.85, and the top-10% of steps the agent is most confident about succeed ~4.3x more often than average. In online RL on the live ALFWorld agent, four calibration rewards improve early-step AUROC, expected calibration error goes from 0.42 to below 0.12, and selective execution improves over both the untrained agent and a format-only RL control, without degrading task success. We also introduce an evaluation protocol that separates episode depth, task difficulty, and attempt-level foresight, which shows where the gain lies: the trained agent recognizes from its first step which tasks it will fail, while telling a succeeding attempt from a failing one at the same task is harder, with some early-window signal emerging on TextWorld.

Introduction

Acting LLM agents increasingly operate in long-horizon, partially observable environments ([20, 32, 4, 19, 11, 25, 17] (Zhou et al. 2024)), where a single episode spans dozens of actions under compounding uncertainty. Controlling such an agent at runtime requires an estimate of the probability that the current attempt will succeed, so that it can continue with the action, verify with observation, or escalate to a human ([13]). Such a probability estimate can work as a confidence signal that predicts whether the current rollout will ultimately reach the goal, not whether the current step is locally correct.

The natural candidate is a self-reported verbalized confidence of an agent. Without additional focused training, smaller LLMs are poorly calibrated and barely predictive (§ 6). Previous works on Reinforcement Learning (RL) for calibration ([5, 2, 26, 29] (Zhang et al. 2026)) focus on training confidence to predict either a single answer or step-level correctness. Such greedy optimization signals train the model to be locally predictive, promising no predictiveness for eventual outcome.

We propose a methodology to train a step-wise confidence signal that could predict the eventual outcome of the task. Under group-relative policy optimization (GRPO), the rollouts for a task supply success labels at no extra cost. We define the per-step reward as a proper scoring rule on the step confidence against the realized outcome, with other reward terms. We conduct offline & online RL training. Our evaluation protocol separates what the aggregate score mixes (§ 3.2).

Our approach reveals that outcome-grounded calibration can turn a weak agent’s confidence into a reliable early signal of eventual outcome, consistently across environments and training regimes. Our evaluation protocol then reveals precisely where this new ability comes from, and where it does not.

In summary, our contributions include: (i) Outcome-grounded calibration training under GRPO, (ii) an evaluation protocol for episodic confidence, and (iii) an empirical analysis of what an LLM learns during such a training process.

Related Work

Measuring and eliciting confidence. A broad line of work reads a confidence out of a model without additional training: verbalized probabilities [16, 22], self-consistency and self-evaluation [13], and elicitation strategies for black-box models [27]. A related line of work documents that post-hoc calibration of neural classifiers degrades with scale and training [8]. These works primarily target synchronous single-answer correctness, where confidence degrades on weak models, precisely the area we target.

Reinforcement learning for confidence. The most closely related work trains calibration. RLCR [5] optimizes a Brier reward for verbalized confidence, and related efforts tie confidence to reward shaping, uncertainty, or abstention in non-agentic settings [2, 28, 15, 30, 24] (Zhang et al. 2026; Li et al. 2026). All optimize the calibration of a single synchronous output; none targets the eventual success of an agent through a long-horizon task.

Positioning against concurrent agentic methods. Three concurrent methods are closest. CAR/M-SCR [29] and CAPO [26] train confidence in tool-use and reasoning settings, and RLCR [5] in single-answer QA; all optimize confidence against the synchronous correctness of the current answer or step, whereas we target the predictive success of the eventual rollout. They differ from us in how the signal is produced and rewarded: CAPO reads a perplexity-derived confidence and reshapes the advantage estimator through a consistency-and-regret construction, and MSCR uses a margin reward, while we train an explicit verbalized token under a lightweight per-completion calibration reward.

Selective prediction. Our governance mechanism is an instance of selective prediction: we evaluate it with risk-coverage curves [6, 14] and train the signal with classical proper scoring rules [3, 7]. Closest in spirit, belief-uncertainty agents such as Singh et al. [21] estimate an agent’s internal belief rather than its outcome-predictive confidence; we distinguish the two in § 4.

Problem Setup and Evaluation Protocol

We first state what a per-step confidence should predict (§ 3.1), then define the family of estimands that separates genuine foresight from the depth and difficulty confounds a pooled score mixes together (§ 3.2), and finally fix the calibration, selective-execution, and statistical conventions used throughout (§ 3.3).

Predictive Confidence Target

We model an acting agent as a partially observable decision process with policy πθ\pi_\theta. At step tt the policy observes history hth_t (the prompt, prior actions, and environment feedback) and emits an action together with an inline confidence, (at,ct)∼πθ(⋅∣ht)(a_t,c_t) \sim\pi_\theta(\cdot\mid h_t), where ct∈[0,1]c_t \in[0,1] is parsed from a <conf>NN</conf> tag (an integer 0–100 rescaled to [0,1][0,1]; a missing or malformed tag defaults to a neutral 0.5). A full rollout τ\tau terminates and receives a binary success label Y∈{0,1}Y \in\{0,1\} (Y=1Y=1 iff the task is solved).

We define the predictive-calibration target: ctc_t should track

ct ≈ P(Y=1∣ht),(1)c_t \ \approx\ P(Y=1 \mid h_t), \tag*{(1)}

the probability that this episode ultimately succeeds given the history so far. We target eventual success rather than the synchronous P(current step correct)P(\text{current step correct}) used by prior work. Long-horizon agentic tasks admit many valid solution paths, so multiple actions may be correct at each step; local correctness is thus ill-defined, and only the eventual outcome matters as a label.

Estimands

Task ss has attempts i=1,…,Gi=1,\ldots,G with outcomes Ys,iY_{s,i} and step confidences cs,i,tc_{s,i,t}, every step inheriting its attempt’s outcome. A step’s confidence can rank correctly for three unrelated reasons: (i) the task is easy, (ii) the attempt is going well, or (iii) the episode is near its end. A single pooled metric conflates all three, so we report four estimands, each an AUROC against episode success—the probability that a step of a succeeding attempt is higher than a step of a failing one—differing only in which steps may be compared. We evaluate over all steps, the early window (k≤2k \le2, steps 0–2), and step 0 alone. Pooled AUROC compares any success-step with any failure-step and holds none of the confounds fixed. Between-task AUROC collapses each task to its mean confidence, leaving only task difficulty (i). Within-task AUROC compares succeeding against failing attempts of the same task, cancelling difficulty to isolate attempt-level foresight (ii). Depth-matched within-task AUROC compares them only at the same step index, so neither difficulty nor depth contributes and only foresight survives (iii). Against each we report a depth-only model-free baseline scoring every step by −t-t: over all steps it can match or beat a real signal, but the early window and step 0 drive it to chance, so any gain there reflects foresight rather than position. At step 0 every attempt sees the same observation, so a gain can arise only from ranking tasks or from the first sampled action, before any environment feedback. All formal definitions appear in Appendix § 9.

Calibration & Selective Execution

We report two kinds of metrics. For calibration, how well confidence matches outcome frequency: Expected Calibration Error (ECE) with 10 equal-width bins [8], and the Brier score [3]. For selective execution, how useful confidence is for gating actions: the success rate among the top-q%q\% most confident steps in a window (q=10,25q = 10, 25), and task-level triage (the success rate when only the top 50% of tasks by mean early confidence are attempted). Online intervals are 95% task-level cluster bootstraps. Offline intervals are 95% bootstraps over steps; steps of one trajectory share a label, so these intervals under-state uncertainty. Paired deltas resample the tasks shared by both runs under comparison; within-task deltas use only the tasks that are mixed-outcome in both arms, a small subset, so these intervals rest on few clusters and are correspondingly wide. Table 4 and Table 5 and the appendix report ∼100\sim100 paired deltas.

ArmEpisode successPooled AUROC, k≤2k \le2 valuePooled AUROC, k≤2k \le2 Δ\DeltaECE (all steps)Brier (all steps)Top-10% success, k≤2k \le2 valueTop-10% success, k≤2k \le2 Δ\Delta
Untrained0.2010.689 [.640,.733]–0.419 [.398,.438]0.250 [.237,.264]0.493 [.323,.675]–
Format-only0.1880.708 [.660,.749]+0.019 [-.010,.051]0.429 [.408,.447]0.253 [.239,.267]0.465 [.296,.626]−0.024 [-.094,.037]
Brier+φ\varphi0.1940.761 [.716,.798]+0.072 [.026,.112]0.115 [.105,.124]0.052 [.045,.061]0.561 [.391,.748]+0.080 [-.000,.185]
Balanced Brier0.1970.765 [.721,.805]+0.076 [.038,.111]0.114 [.102,.125]0.054 [.046,.064]0.609 [.413,.765]+0.115 [.035,.193]
Brier+dispersion0.1890.790 [.742,.828]+0.101 [.069,.134]0.054 [.050,.059]0.044 [.034,.054]0.635 [.426,.804]+0.159 [.054,.224]
Balanced+dispersion0.2030.737 [.684,.783]+0.048 [.002,.086]0.053 [.049,.057]0.047 [.037,.059]0.657 [.448,.818]+0.167 [.068,.235]

Table 4. Online training results for Qwen2.5-7B-Instruct on ALFWorld. CIs are 95% task-level cluster bootstraps, Δ\Delta = (trained - base instruction tuned) on the shared tasks; early-window ECE, Brier, top-25% success, and the ECE and Brier deltas are in Appendix § 13.

ArmPooled k=0k=0Between-task Δ\Delta, k≤2k \le2Within-task k≤2k \le2 (nn mixed)Within-task Δ\Delta, k≤2k \le2 (nn paired)Within-task Δ\Delta, all stepsWithin-task Δ\Delta depth-matched, all
Untrained0.562 [.530,.600]–0.606 (20) [.515,.696]–––
Format-only0.568 [.534,.602]+0.033 [-.004,.082]0.571 (15) [.484,.657]−0.054 (8) [-.118,.018]−0.077 [-.114,-.045]+0.013 [-.080,.133]
Brier+φ\varphi0.642 [.584,.691]+0.037 [-.017,.085]0.585 (20) [.483,.680]−0.059 (12) [-.184,.059]−0.013 [-.056,.029]+0.027 [-.059,.124]
Balanced Brier0.697 [.637,.744]+0.032 [-.019,.077]0.657 (19) [.582,.733]−0.026 (11) [-.128,.055]−0.038 [-.082,.005]+0.052 [-.034,.143]
Brier+dispersion0.700 [.634,.763]+0.072 [.029,.115]0.661 (15) [.568,.757]−0.092 (7) [-.262,.062]−0.050 [-.102,.004]+0.035 [-.060,.140]
Balanced+dispersion0.670 [.612,.722]+0.023 [-.038,.083]0.587 (20) [.486,.688]−0.031 (13) [-.120,.058]−0.072 [-.114,-.031]−0.026 [-.107,.062]

Table 5. Decomposition of the online training gain by estimand and step window on ALFWorld. Columns move left to right from no confound removed to difficulty and depth both removed; values are absolute AUROC except where marked Δ\Delta (trained minus untrained). Within-task columns use only tasks with both a succeeding and a failing attempt: the absolute cell averages per-task AUROC over that arm’s nn mixed-outcome tasks (nn mixed), and each Δ\Delta resamples the tasks mixed in both the trained and untrained arm (nn paired); depth-matched is concordance over same-task, same-step-index pairs across all steps. Bold = paired 95% CI excludes 0.

Methodology

Our method turns the rollouts that GRPO already samples into a training signal for confidence. The GG attempts at a task each end in an outcome that labels every one of their steps, so a step can be scored by how well its stated confidence matches the attempt outcome it belongs to. We assemble this into three pieces: a group-relative advantage that credits a step for both the eventual outcome

Figure 1. Outcome-grounded calibration under GRPO. The GG attempts at a task end in outcomes YY that label every one of their steps. Each step’s confidence cc is scored against that label by a proper scoring rule (Eq. (3)), and the group-relative advantage credits the step for both the outcome and the quality of its confidence before updating πθ\pi_\theta.

and the quality of its confidence (§ 4.1), a per-step reward built from a proper scoring rule that supplies the confidence term, and an optional spread term that keeps confidence away from the endpoints of the scale (§ 4.2). The same signal drives training on recorded offline trajectories and on the live agent alike (§ 4.3).

Group-Relative Training with Outcome

GRPO [18, 9] samples GG rollouts of one task and forms advantages relative to the group mean. In an episodic setting the realized outcomes YiY_i of the group are the labels of Eq. (1) at no extra cost. Online, the advantage of every step is

As,i,t=(Ys,i−Yˉs)+(rs,i,t−rˉs),(2)A_{s,i,t} = (Y_{s,i} - \bar{Y}_s) + (r_{s,i,t} - \bar{r}_s), \tag*{(2)}

where Yˉs=1G∑iYs,i\bar{Y}_s = \frac{1}{G}\sum_i Y_{s,i} is the group’s success rate, rˉs\bar{r}_s the group mean of the per-step rewards, and rs,i,tr_{s,i,t} is the per-step reward below. We also ablate two alternative optimization strategies against this GRPO objective (§ 6.1): RLOO [1], a leave-one-out variant that baselines each rollout against the mean of the others rather than the full group, and PPO with a learned value head, a non-group-relative control that replaces the group baseline with a learned critic.

Per-Step Reward

The per-step reward is

r=wcalcal⁡(c,Y)+wφφ(c)+wfmte,(3)r = w_{\mathrm{cal}} \operatorname{cal}(c,Y) + w_{\varphi}\varphi(c) + w_{\mathrm{fmt}}e, \tag*{(3)}

where e∈{0,1}e \in\{0,1\} is a format indicator that is 1 iff the step emits a well-formed <conf> tag (a missing or malformed tag sets e=0e=0 and defaults cc to 0.5; § 3.1), and wfmt=0.2w_{\mathrm{fmt}}=0.2 throughout. By default we instantiate the calibration term cal⁡(⋅)\operatorname{cal}(\cdot) of Eq. (3) with the Brier reward,

cal⁡(c,Y)=rB(c,Y)=1−(c−Y)2,(4)\operatorname{cal}(c,Y) = r_B(c,Y) = 1 - (c-Y)^2, \tag*{(4)}

which is strictly proper: with p=P(Y=1∣h)p=P(Y=1\mid h),

E[rB∣h]=1−Var⁡(Y∣h)−(c−p)2,\mathbb{E}[r_B\mid h] = 1-\operatorname{Var}(Y\mid h)-(c-p)^2,

maximized at c=pc=p ([3, 7]). Any strictly proper rule shares this optimum, so the form should not matter; § 6.1 tests this with other choices of cal⁡(⋅)\operatorname{cal}(\cdot): the logarithmic and spherical rules (proper), L1 (improper), a decision/selective reward, and a ranking surrogate. The ranking surrogate is a streaming soft-AUROC against moving averages of opposite-class confidence; it reads only the order of confidences (all forms are in Appendix § 16). Balanced Brier reweights wins and losses within a group so that both contribute equally, with weight 0.5/Yˉs0.5/\bar{Y}_s on wins and 0.5/(1−Yˉs)0.5/(1-\bar{Y}_s) on losses.

The spread term φ(c)=4c(1−c)\varphi(c)=4c(1-c) is concave, maximal at c=12c=\frac{1}{2}, and zero at the endpoints; with weight wφw_{\varphi} it is a regularizer that keeps confidence in the interior of the scale—preventing the calibration reward from collapsing it onto 0 or 1—at some cost in ranking quality (§ 6.2). The dispersion variant φdisp(c)=min⁡(1,4(c−cˉs)2)\varphi_{\mathrm{disp}}(c)=\min(1,4(c-\bar{c}_s)^2), with cˉs\bar{c}_s the group’s mean confidence, replaces φ\varphi and so rewards spread around the group mean rather than toward c=12c=\frac{1}{2}.

Training Strategies

We use the standard distinction between offline RL, which trains on a fixed dataset of recorded trajectories without interacting with the environment, and online RL, which trains the agent on the trajectories it generates in the live environment (on-policy).

Offline Training. The offline route runs GRPO on (prefix →\to action + <conf>) rows cut from one recorded untrained Qwen2.5-7B-Instruct ([31]) trajectory per game, each prefix labeled with that trajectory’s outcome. The per-step reward is the weighted composite

roff=0.5a+0.2e+wcalcal⁡(c,Y)+wφφ(c).(5)r^{\mathrm{off}} = 0.5a + 0.2e + w_{\mathrm{cal}}\operatorname{cal}(c,Y) + w_{\varphi}\varphi(c). \tag*{(5)}

where a∈{0,1}a\in\{0,1\} indicates that the sampled action matches the recorded one, ee and cal⁡(c,Y)\operatorname{cal}(c,Y) are the format and calibration terms of Eq. (3), wcal=0.3w_{\mathrm{cal}}=0.3 by default, and the spread weight wφw_{\varphi} is nonzero only when regularization is enabled (Appendix § 16). The policy never acts on its own outputs. Because all eight generations for a prefix share the recorded outcome as their label, the group supplies no label contrast, the action-match term rewards reproducing the recorded action, and trained confidence is scored on recorded prefixes of the untrained policy. The reward-form arms of Table 2 use wcal=1.0w_{\mathrm{cal}}=1.0 in place of the 0.3 default.

RewardTypeAUROC [95% CI]Format
Sphericalproper0.882 [.837,.921]1.00
Brierproper0.864 [.822,.903]1.00
Rankingorder0.845 [.791,.894]1.00
L1improper0.839 [.788,.887]1.00
Logarithmicproper0.828 [.770,.880]1.00
Decision–0.820 [.773,.863]1.00
None (task only)–0.559 [.479,.636]0.56
Untrained–0.502 [.465,.542]0.08

Table 2. Offline training results on WebShop environment across different Calibration reward forms. Pooled AUROC with 95% step-level bootstrap intervals; “Format" is the fraction of samples that correctly predicts the tagged confidence tokens.

Online Training. The online route instead trains the live agent on its own rollouts for 120 iterations under Eq. (2); each iteration samples a batch of 4 tasks from the training pool and performs 6 rollouts per task (the GRPO group, G=6G=6), with learning rate 10−610^{-6}, clip 0.2, and KL coefficient 10−310^{-3}. Because each offline rollout contributes a single trajectory, within-task estimands can be measured only on the online route.

Experimental Setup

Environments and models. We use ALFWorld, TextWorld, and WebShop, each with binary episode success, and Qwen2.5-7B-Instruct ([31]) trained with LoRA ([12]) at rank 32 and α=64\alpha=64. We also perform experiments on a different-sized model Qwen2.5-14B-Instruct, with the same training configurations. The prompt asks for one admissible action on the first line and, on the next line, the confidence that this episode will ultimately succeed as <conf>NN</conf> (details in Appendix § 16).

Data. Balanced training data hold ALFWorld 1,068 rows from 200 games, TextWorld 943 from 200, and WebShop 1,066 from 372. For comparison, we train the model on each environment independently for 150 steps.

Training ablations. We train a format-only baseline (wcal=wφ=0w_{\mathrm{cal}}=w_{\varphi}=0) to compare against four calibration experiments: Brier+φ\varphi (wcal=1w_{\mathrm{cal}}=1, wφ=0.10w_{\varphi}=0.10), balanced Brier, Brier+dispersion, and balanced+dispersion. Every calibration experiment carries a spread or dispersion term at wφ=0.10w_{\varphi}=0.10, so there is no pure-Brier online arm, and each online arm uses a single training seed. Three things were fixed in advance: (i) the estimand (within-task AUROC at k≤2k \le2), (ii) the checkpoint rule for the balanced, dispersion, and balanced+dispersion arms (validation argmax over checkpoints {40,80,120}\{40, 80, 120\}), and (iii) the evaluation criterion.

Baselines. We compare against untrained and a format reward-only trained model variants. We also compare against two white-box signals available offline: negative mean token entropy and sequence log-probability. Finally, we compare against a depth-only model-free baseline and a depth + length texture regression, which capture what episode position & output length alone predict.

Results

We first establish offline RL experiments, across all three environments, that outcome-grounded training makes verbalized confidence predictive of eventual episode success (§ 6.1); we then show that the effect carries over to the live agent trained online in ALFWorld, and transfers to a second live environment, TextWorld (§ 6.2). We then analyze the trained signal (§ 7).

Offline RL Training

Each offline training sample is a single recorded trajectory, so the within and between-task estimands of Section 3.2 cannot be formed; thus we report the pooled estimand with the depth-and-length controls it demands. Outcome-grounded training makes verbalized confidence predict eventual success in every environment (Table 1): pooled AUROC rises from 0.517, 0.578, and 0.462 to 0.681, 0.722, and 0.850, and success in the most-confident decile from 1.1–1.6× to about 4.3× the base rate (intervals and per-environment lifts in Appendix § 14).

Before training, a free white-box signal is competitive. The untrained model’s negated mean token entropy predicts success more accurately than its verbalized confidence in all three environments, and retains most of this power after residualizing on step depth and output length (Appendix § 14). Training inverts the comparison. After calibration, the verbalized confidence exceeds the token entropy in every environment—most sharply on TextWorld (0.722 vs. 0.399) and WebShop (0.850 vs. 0.430)—because the mean content-token entropy falls roughly sixfold as the policy sharpens and the entropy predictor degrades, where the token distribution grows most confident on the steps that fail.

The pooled confidence AUROC is partly explained by trajectory depth. A predictor built from step depth and output length alone, with no access to the confidence token, reaches AUROC 0.787, 0.855, and 0.799, matching or exceeding the trained confidence AUROC on ALFWorld and TextWorld though not on WebShop (Appendix § 14). A depth-independent component of the confidence nonetheless does not replicate the same result: residualizing the confidence on depth and output length leaves AUROC 0.626, 0.677, and 0.811, whereas the same residualization reduces the untrained model’s confidence to 0.534, 0.479, and 0.509, near chance. The depth-independent signal is thus a product of training. Because the pooled estimand cannot separate confidence from depth, we evaluate the depth-matched and within-task estimands in the online setting, which supports them (§ 6.2).

The presence of a calibration term matters more than its functional form (Table 2). Six reward forms—spherical, Brier, ranking, L1, logarithmic, and decision—yield overlapping AUROC between 0.820 and 0.882, statistically indistinguishable, whereas training with the task reward alone reaches only 0.559, close to the untrained 0.502. The choice of advantage estimator, by contrast, is consequential (Table 3): under a matched ranking-plus-spread reward, RLOO attains 0.801 and 0.876 against 0.613 and 0.676 for GRPO, and PPO with a cold-start value critic fails to learn (0.500 across two seeds) parsable response format.

EstimatorSeed 0Seed 1
GRPO0.613 [.529,.696]0.676 [.598,.749]
RLOO0.801 [.739,.856]0.876 [.825,.922]
PPO, value critic0.5000.500

Table 3. Offline training results on WebShop environment across different advantage estimator under a matched ranking + spread reward (w=0.10w=0.10). Pooled AUROC with 95% step-level bootstrap intervals; PPO with a learned value critic fails to learn parsable response format across both seeds.

Online RL Training

All four calibration rewards raise pooled early-window AUROC on the live acting 7B agent (Table 4): +0.072 [0.026,0.112] for Brier+φ\varphi, +0.076 [0.038,0.111] for balanced Brier, +0.101 [0.069,0.134] for Brier+dispersion, and +0.048 [0.002,0.086] for balanced+dispersion. The format-only control gives +0.019 [-0.010,0.051]. Two deltas are marginal: balanced+dispersion’s Pooled AUROC (k≤2k \le2) +0.048 and Brier+φ\varphi’s top-10 success (k≤2k \le2) % +0.080 [-0.000,0.185].

Calibration. ECE over all steps (10 bins) goes from 0.419 to 0.053–0.115 and the Brier score from 0.250 to 0.044–0.054, all eight paired deltas with CIs above 0; format-only moves them by +0.010 and +0.003 respectively. Mean confidence falls from 0.475 to 0.082–0.163 against a step-level success rate of 0.057, so much of the ECE and Brier drop is the agent learning the base rate; AUROC and selective execution are the discrimination evidence (reliability diagrams in Figure 2). A constant prediction at the step-level base rate pp has ECE near zero and a Brier score of p(1−p)p(1-p), so these two columns do not by themselves show discrimination; in the early window, where the base rate is 0.201, ECE goes from 0.277 to 0.051–0.133 and Brier from 0.229 to 0.137–0.157 (Appendix § 13).

Figure 2. Comparison of reliability over all steps of untrained 7B agent against two online RL trained agents on live ALFWorld. Marker area ∝\propto bin mass; same setting as of Figure 3.

Selective execution. Success among the 10% most confident early steps rises from 0.493 untrained to 0.56–0.66 across the four calibration arms, three of four deltas with CIs above 0 (Table 4, Figure 3); among the top 25% it rises from 0.363 to 0.415–0.446, all four delta CIs above 0. The format-only control moves neither window (−0.024 and −0.012), so the gain comes from the calibration term rather than the RL format re ward: against that control, Brier+φ\varphi adds +0.053 [.016,.090] and Brier+dispersion +0.082 [.050,.114] in pooled early-window AUROC. None of this costs task success, which holds at 0.189–0.203 against 0.201 untrained, while the <conf>format parsing correctness rises from 0.978 to 1.000. The untrained agent already sorts all tasks well: its most confident quarter succeeds at 0.557 against a 0.201 base rate. Training adds little to whole-task triage here (top-50% 0.349–0.362 against 0.362 untrained, task-level AUROC deltas all include 0) and instead sharpens the finer step-level signal behind selective execution.

Figure 3. Comparison of Risk–Coverage of different live agents on ALFWorld: for the early window (k≤2k \le2, top) and all steps (bottom).

Transfer to a second environment. The online results above come from ALFWorld environment. To test applicability to another environment, we repeat the live, on-policy training in TextWorld with the Brier+φ\varphi reward. Episode success rises from 0.146 to 0.262 and format correctness stays near-saturated (0.971 → 0.979). Unlike ALFWorld, where attempt-level foresight did not detectably change, within-task discrimination here improves in the early window: the paired (trained - untrained) within-task AUROC is +0.265 [.107,.428] at step 0 and +0.070 [.010,.130] over the first three steps, both delta CIs above 0, and decays to zero over the full episode (Figure 4). Detailed experiment results appear in Appendix § 11.

Figure 4. Online training results on TextWorld environment: paired within-task AUROC gain (trained − untrained) by step window; 95% CIs over shared held-out tasks.

A larger model size. We also train the larger Qwen2.5-14B-Instruct agent online in ALFWorld with the Brier+φ\varphi reward under the same protocol. The pooled matched-emission AUROC rises from 0.697 to 0.729 (paired trained−untrained Δ\Delta of +0.032), a further improvement in the same direction as the 7B gain that suggests the effect carries over to a larger model size, though fewer held-out samples make the evaluation minimal & fluctuating; the full results are in Appendix § 12.

Analysis of the Trained Signal

Results in § 6 show that training improves confidence. As part of this section, we ask what it changes. We decompose the online gain by estimand to locate where the improvement comes from (§ 7.1), trace it back to the first step of each episode (§ 7.2), and benchmark it against depth and white-box signals (§ 7.3) before drawing out what it means for an agent controller (§ 7.4).

Decomposition

Training’s gain is specifically between-task: it sharpens which tasks the agent will succeed at, not how it reads individual attempts (Table 5; Appendix Figure 6). Between-task early-window AUROC rises for every calibration arm (0.825 to 0.848–0.897), and only Brier+dispersion’s +0.072+0.072 [.029,.115] is significant. The localization suggests: the within-task estimand does not move (0.606 untrained against 0.585–0.661; paired point estimates −0.026-0.026 to −0.092-0.092), so the measured improvement is concentrated in task ranking, and no experiment met the pre-registered within-task criterion of § 5. Consistent with this, the within-task all-step estimates match format-only experiment (format-only −0.077-0.077, balanced+dispersion −0.072-0.072) and similar to the depth-confounded estimand of § 3.2. Relative to the format-only control, the calibration term does incur gain on early-window within-task discrimination (+0.062+0.062 [-.034,.177] for Brier+φ\varphi, +0.127+0.127 [.062,.189] for Brier+dispersion), while the depth-matched within-task deltas are not significant (Appendix § 10).

Pooled and between-task early-window values move together under training (0.689/0.825 untrained to 0.761/0.862 for Brier+φ\varphi; details in Appendix § 10), while task-level AUROC, triage deltas, and within-task deltas show no significant gains. One reading consistent with all four estimands is that training sharpens and brings foresight forward to step 0, the task ranking the untrained agent already expresses in the early window (§ 7.2).

Foresight at Step 0

Training brings this task ranking forward to the very first step. Pooled step-0 AUROC rises from 0.562 [.530,.600] to 0.642–0.700 across the four calibration arms, even though the confidence is emitted after the sampled first action but before any environment feedback. The signal is task-level: within-task step-0 AUROC stays at chance (0.450–0.602, every CI spanning 0.5), so the agent is ranking which tasks it will solve rather than grading its first action. The untrained baseline confirms this is genuine improvement: at greedy decoding it emits exactly 0.50 at step 0 on every task of a 64-task probe (Appendix § 9.1), so its sampled 0.562 is noise around a near-constant value, and the task ranking it expresses (between-task 0.825) emerges only after the first feedback. The mechanism follows from Eq. (2): uniform-outcome groups, which still arise by sampling despite mixed-outcome task selection, carry no success/failure contrast, so their gradient moves a task’s confidence toward its shared outcome at every step, step 0 included.

Depth and White-Box Baselines

The depth-only baseline beats confidence on pooled all-step AUROC and matches or beats every trained experiment, yet collapses to 0.499–0.500 in the early window, whereas the early-window and depth-matched estimands are essential for a decent controller (Figure 5; per-size & per-experiment values in Appendix § 9.1, C). Token entropy is the strongest competitor for offline training; the online experiments comparison has no white-box competitor.

Figure 5. Qwen2.5-7B-Instruct on live ALFWorld: depth-only baseline, untrained agent, and the Brier+φ\varphi RL comparison. Bars are 95% task-level bootstrap intervals.

Confidence as a Triage Signal

Outcome-grounded RL makes verbalized confidence a calibrated early triage signal: the 10% most confident early steps succeed at 0.56–0.66 against 0.49 untrained and a base rate of 0.20, with ECE 0.05–0.12 (Figure 3). The gain is earlier recognition of which tasks the agent will fail (§ 7.2); attempt-level foresight does not improve on ALF-World, though it emerges in the early window on TextWorld (§ 6.2). Among the most confident steps (the top 10%), higher confidence does not reliably mean higher success (Figure 3), and over all steps the most-confident bin is overconfident (Figure 2), so a controller should rely on a band of high confidence rather than the very highest values alone. Finally, the within-task question needs training signals that contrast attempts at the same task.

Conclusion

We introduce a training method that calibrates a language agent’s verbalized confidence by rewarding it against eventual task outcomes under GRPO. On a live multi-turn agent it turns an unreliable confidence token into a usable early-triage signal without hurting task success, and a decomposition shows the gain is between tasks: the agent learns earlier which tasks it will fail, not which attempts.

Limitations

Our evidence is strongest as a between-task effect: on the live ALFWorld agent, training sharpens which tasks the agent will succeed at, and establishing the same signal at the attempt level more broadly is left to future work, as the within-task estimands move only in the early window on TextWorld and not yet on ALFWorld. Our positive live multi-turn results span two text-based environments (ALFWorld and TextWorld) at the 7B scale, and a larger 14B agent corroborates the pooled effect in Appendix § 12. Our live WebShop results are inconclusive: held-out success stays low for both arms, leaving too few informative held-out tasks to assess the signal (Appendix § 11); extending the live study to additional model families is left to future work.

Ethical considerations

We conducted experiments within the provisions of the ACL Ethics Policy and relevant research-integrity guidelines. There are, to the best of our knowledge, no remaining ethical risks that have not been addressed.

Estimand Definitions

This appendix gives the formal definitions of the four estimands and the depth-only baseline introduced in § 3.2. All five are the same AUROC statistic applied to different comparison sets and score transforms, so any difference between them is attributable to the confound each one cancels, not to a change of metric.

Notation. A task ss is attempted i=1,…,Gi = 1, \ldots, G times. Attempt (s,i)(s, i) has a binary episode outcome Ys,i∈{0,1}Y_{s,i} \in\{0, 1\} (success or failure) and emits a step confidence cs,i,t∈[0,1]c_{s,i,t} \in[0, 1] at each decision step t=0,1,…t = 0, 1, \ldots; every step inherits its attempt’s outcome, so step (s,i,t)(s, i, t) carries the label Ys,iY_{s,i}. A window W⊆Z≥0W \subseteq\mathbb{Z}_{\ge0} is a set of step indices that restricts which steps are compared; we report results for three, Wall=Z≥0={0,1,2,…}W_{\mathrm{all}} = \mathbb{Z}_{\ge0} = \{0, 1, 2, \ldots\} (all steps), Wk≤2={0,1,2}W_{k \le2} = \{0, 1, 2\} (the early window), and W0={0}W_0 = \{0\} (step 0 alone). Write SW={(s,i,t):t∈W,cs,i,t emitted}S_W = \{(s, i, t) : t \in W, c_{s,i,t}\text{ emitted}\} for the steps in play, and partition them by outcome into positives PW={(s,i,t)∈SW:Ys,i=1}P_W = \{(s, i, t) \in S_W : Y_{s,i} = 1\} and negatives NW={(s,i,t)∈SW:Ys,i=0}N_W = \{(s, i, t) \in S_W : Y_{s,i} = 0\}.

The AUROC statistic. Fix a set of items each carrying a real-valued score and a binary label. Thresholding the score at τ\tau calls an item positive when its score exceeds τ\tau; sweeping τ\tau traces the receiver operating characteristic (ROC) curve of the true-positive rate TPR⁡(τ)=P(score>τ∣label=1)\operatorname{TPR}(\tau) = P(\text{score} > \tau\mid\text{label} = 1) against the false-positive rate FPR⁡(τ)=P(score>τ∣label=0)\operatorname{FPR}(\tau) = P(\text{score} > \tau\mid\text{label} = 0). The area under this curve (AUROC) summarizes separation across all thresholds at once: it is 12\frac{1}{2} when scores are independent of the label and 1 when every positive outscores every negative. A standard identity turns the area into a pairwise statistic rather than an integral, namely the probability that a uniformly drawn positive outranks a uniformly drawn negative [10], which for a finite set of positive scores AA and negative scores BB, with ties split evenly, is

AUC⁡(A,B)=1∣A∣∣B∣∑a∈A∑b∈Bh(a,b),(6)\operatorname{AUC}(A, B) = \frac{1}{\lvert A\rvert\lvert B\rvert}\sum_{a\in A}\sum_{b\in B} h(a,b), \tag*{(6)}

where the pairwise kernel h(a,b)=1[a>b]+121[a=b]h(a,b) = \mathbf{1}[a > b] + \frac{1}{2}\mathbf{1}[a = b] scores a correctly ranked pair 1, a tie 12\frac{1}{2}, and a misranked pair 0. Each estimand below instantiates (6) with a particular score for every step and a particular partition into AA and BB. Pooled AUROC. Score each step by its raw confidence and compare every success-step against every failure-step in the window, holding none of the confounds fixed:

AUC⁡pool(W)=AUC⁡(c(PW),c(NW)).(7)\operatorname{AUC}_{\mathrm{pool}}(W) = \operatorname{AUC}\left(c(\mathcal{P}_W), c(\mathcal{N}_W)\right). \tag*{(7)}

This conflates task difficulty (i), attempt quality (ii), and depth (iii): a success-step may outrank a failure-step merely because its task is easy or its episode is nearly over.

Between-task AUROC. Collapse each task to a single number by replacing every step’s confidence with the mean confidence of its task over the window. Writing Ss,W={(i,t):(s,i,t)∈SW}\mathcal{S}_{s,W} = \{(i,t) : (s,i,t) \in\mathcal{S}_W\} for the steps task ss emits in the window,

cˉs(W)=1∣Ss,W∣∑(i,t)∈Ss,Wcs,i,t,(8)\bar{c}_s(W) = \frac{1}{\lvert\mathcal{S}_{s,W}\rvert}\sum_{(i,t)\in\mathcal{S}_{s,W}} c_{s,i,t}, \tag*{(8)}

and then apply (7) with cs,i,tc_{s,i,t} replaced by cˉs(W)\bar{c}_s(W). Because every step of a task now shares one score, all within-task comparisons tie and contribute exactly 12\frac{1}{2}; only cross-task comparisons carry signal, so the statistic measures whether easier (higher-mean-confidence) tasks succeed more often, i.e. difficulty alone.

Within-task AUROC. Fix the task and compare its succeeding attempts against its failing attempts, which cancels difficulty because both sides share the task. For a task ss with both outcomes present in the window (a mixed-outcome task, written s∈MWs \in\mathcal{M}_W), define the per-task score

as(W)=AUC⁡(c(PWs),c(NWs)),(9)a_s(W) = \operatorname{AUC}\left(c(\mathcal{P}_W^s), c(\mathcal{N}_W^s)\right), \tag*{(9)}

and average over the mixed-outcome tasks:

AUC⁡within(W)=1∣MW∣∑s∈MWas(W).(10)\operatorname{AUC}_{\mathrm{within}}(W) = \frac{1}{\lvert\mathcal{M}_W\rvert}\sum_{s\in\mathcal{M}_W} a_s(W). \tag*{(10)}

Only tasks that both succeed and fail in the window are estimable, so ∣MW∣\lvert\mathcal{M}_W\rvert (reported as the mixed count in Table 6) sets how many clusters the estimate rests on; it shrinks as the window narrows, which is why the step-0 and early-window within-task intervals are wide. The statistic still mixes attempt quality (ii) with depth (iii), since a succeeding attempt’s step may outrank a failing one simply by sitting later in the episode.

Estimand7B (128 tasks)14B (128 tasks)
Pooled, all steps0.740 [.704,.776]0.698 [.650,.746]
Depth-only baseline, all steps0.817 [.777,.857]0.755 [.722,.792]
Pooled, k≤2k \le20.689 [.640,.733]0.722 [.667,.774]
Depth-only baseline, k≤2k \le20.4990.500
Pooled, step 00.562 [.530,.600]0.599 [.532,.677]
Between-task, k≤2k \le20.825 [.758,.881]0.830 [.748,.896]
Between-task, all steps0.884 [.820,.937]0.741 [.650,.824]
Within-task, k≤2k \le2 (n mixed)0.606 [.515,.696] (20)0.456 [.395,.519] (22)
Within-task, all steps0.651 [.598,.704]0.653 [.599,.707]
Within-task, step 00.529 [.432,.620]0.400 [.309,.493]
Depth-matched within-task, all steps0.633 [.565,.715]0.616 [.572,.667]
Depth-only within-task, all steps0.7500.683
Attempt-level, pooled0.798 [.735,.852]0.787 [.714,.847]
Attempt-level, within-task0.658 [.509,.806]0.453 [.335,.571]

Table 6. Untrained Qwen2.5-7B-Instruct agents on live ALFWorld: AUROC of step confidence against eventual episode success under every estimand of § 3.2.

Untrained Estimand Ladder

Depth-matched within-task AUROC. Additionally fix the step index, so only confidences emitted at the same depth of the same task are ever compared. For each task ss and index tt with both outcomes present, let

as,t=AUC⁡(c(PWs,t),c(NWs,t)),(11)a_{s,t} = \operatorname{AUC}\left(c(\mathcal{P}_W^{s,t}), c(\mathcal{N}_W^{s,t})\right), \tag*{(11)}

and, writing CW={(s,t):t∈W, ∃i,i′ Ys,i=1, Ys,i′=0}\mathcal{C}_W = \{(s,t) : t \in W,\ \exists i,i'\ Y_{s,i} = 1,\ Y_{s,i'} = 0\} for the qualifying (mixed-outcome, same-step) cells, average over them:

AUC⁡dm(W)=1∣CW∣∑(s,t)∈CWas,t.(12)\operatorname{AUC}_{\mathrm{dm}}(W) = \frac{1}{\lvert\mathcal{C}_W\rvert}\sum_{(s,t)\in\mathcal{C}_W} a_{s,t}. \tag*{(12)}

Neither difficulty nor depth can contribute, so what survives is attempt-level foresight alone: among attempts of one task that have reached the identical step, does the one that will ultimately succeed state higher confidence.

Depth-only baseline. To quantify how much of any estimand a trivial positional signal could explain, we recompute it with each confidence replaced by the negated step index,

c~s,i,t=−t,(13)\tilde{c}_{s,i,t} = -t, \tag*{(13)}

feeding c~\tilde{c} in place of cc through the same estimand ((7), (8), (10), or (12)). This baseline ranks shallow steps above deep ones and knows nothing of the agent. Over all steps it can match or exceed a real signal, because succeeding and failing attempts differ systematically in length. In the step-0 window every c~=0\tilde{c}=0, so by (6) every comparison ties and the baseline is exactly 12\frac{1}{2}; in the early window the three admissible depths leave it near chance. A trained signal that beats the depth-only baseline in the early window or at step 0 therefore exhibits foresight that position cannot explain.

Untrained Estimand Ladder

Table 6 gives the untrained agents under every estimand of § 3.2, and Figure 5 shows the Qwen2.5-7B-Instruct agent before and after Brier+φ\varphi training against the depth-only baseline. Untrained episode success and format correctness are 20.1% / 97.8% at 7B and 36.9% / 100% at 14B. On a 64-task probe (one run per decoding mode; no interval), greedy decoding of the untrained 7B agent gives pooled all-step AUROC 0.784 against 0.793 at temperature 1.0, and at greedy the agent emits exactly 0.50 at step 0 on every task of the probe. On the 45-task training pool the untrained 7B agent has within-task AUROC 0.677 [.628,.721] at k≤2k \le2 and 0.763 [.739,.786] over all steps.

Detailed Results on Online RL Training

Table 7 gives absolute values for all six experiments under all estimands, and Table 8 the paired deltas; Figure 6 plots the early-window absolute values and Figure 7 the pooled and within-task early-window deltas. Format correctness is 0.978 untrained and 1.000 for every trained experiment, and the depth-only baseline on each experiment’s rows gives pooled all-step AUROC 0.817 / 0.853 / 0.844 / 0.845 / 0.827 / 0.833 in row order and 0.499–0.500 at k≤2k \le2. Its within-task all-step trajectory is non-monotone (untrained 0.651 →\to checkpoint 40 0.677 →\to 80 0.745 →\to 120 0.673), as

Figure 6. Pooled, between-task, and within-task AUROC in the early window (k≤2k \le2) for the untrained Qwen2.5-7B-Instruct agent and four calibration experiments (same setting as Table 4). Bars are 95% task-level bootstrap intervals.

Figure 7. Paired deltas of AUROC (trained - untrained) in the early window (k≤2k \le2), pooled (squares) and within-task (circles), with 95% task-level bootstrap intervals.

is its within-task early-window trajectory (0.606 →\to 0.603 →\to 0.649 →\to 0.585). Training dynamics for Brier+φ\varphi (one training seed; no interval): mean confidence 0.71 at iteration 0, 0.54 at 28, 0.29 at 60, 0.20 at 86, and about 0.15 at the end; KL to the reference policy 0.00 →\to 0.32. Attempt-level scores (mean confidence over steps ≤2\le2 per attempt, one score per attempt) agree with the step-level estimands: pooled deltas are +0.051 [-.004,.105], +0.099 [.057,.141], and +0.066 [.017,.111] for Brier+φ\varphi, Brier+dispersion, and balanced Brier, and within-task deltas are −0.163 [-.376,.054], −0.246 [-.489,-.021] (7 tasks), and −0.036 [-.205,.118]. Calibration-reward-minus-format-only contrasts: Brier+φ\varphi minus format, within all +0.068 [.025,.107] (8), within k≤2k \le2 +0.062 [-.034,.177] (8), pooled k≤2k \le2 +0.053 [.016,.090]; Brier+dispersion minus format, within k≤2k \le2 +0.127 [.062,.189] (5), within all +0.036 [.005,.068] (5), pooled k≤2k \le2 +0.082 [.050,.114].

ArmPooled allPooled k≤2k \le2Between k≤2k \le2Within all (nn)Within k≤2k \le2 (nn)Depth-matched
Format-only+0.014<br>[-.019,.054]+0.019<br>[-.010,.051]+0.033<br>[-.004,.082]−0.077 (8)<br>[−.114,−.045]−0.054 (8)<br>[−.118,.018]+0.013<br>[−.080,.133]
Brier+φ\varphi+0.058<br>[.014,.103]+0.072<br>[.026,.112]+0.037<br>[−.017,.085]−0.013 (12)<br>[−.056,.029]−0.059 (12)<br>[−.184,.059]+0.027<br>[−.059,.124]
Balanced Brier+0.041<br>[−.008,.084]+0.076<br>[.038,.111]+0.032<br>[−.019,.077]−0.038 (11)<br>[−.082,.005]−0.026 (11)<br>[−.128,.055]+0.052<br>[−.034,.143]
Brier+dispersion+0.037<br>[−.007,.084]+0.101<br>[.069,.134]+0.072<br>[.029,.115]−0.050 (7)<br>[−.102,.004]−0.092 (7)<br>[−.262,.062]+0.035<br>[−.060,.140]
Balanced+dispersion+0.002<br>[−.044,.047]+0.048<br>[.002,.086]+0.023<br>[−.038,.083]−0.072 (13)<br>[−.114,−.031]−0.031 (13)<br>[−.120,.058]−0.026<br>[−.107,.062]

Table 8. Paired deltas (trained - untrained) for every online RL Qwen2.5-7B-Instruct experiment; same setting as Table 7. Pooled and between-task deltas resample the shared evaluation tasks; within-task deltas resample the nn tasks mixed in both arms.

Detailed results on Other Environments

§ 6.2 reports the live, on-policy TextWorld transfer in brief. Table 9 gives the win and emission rates and the within-task AUROC by window. Beyond the early-window gain of Figure 4, the paired trained-minus-untrained within-task AUROC is +0.017 [-.050,.082] by five steps and −0.029 [-.087,.029] over all steps, and the all-step within-task

ArmWin rateEmit rateWithin-task AUROC k≤2k \le2Within-task AUROC all steps
Untrained0.1460.9710.476 [.433,.526]0.697 [.668,.727]
Brier+φ\varphi0.2620.9790.506 [.464,.548]0.668 [.633,.703]
Format-only0.1720.7440.517 [.488,.545]0.684 [.647,.720]

Table 9. Online RL training results on TextWorld: win and emission rates over held-out tasks, and within-task AUROC by window. The paired early-window gain is in Figure 4.

AUROC is unchanged (0.697 → 0.668), so discrimination is concentrated in the early window, as in ALFWorld.

The early-window improvement might instead reflect de-censoring, where training raises the fraction of early steps that emit a confidence tag, rather than the calibration term in isolation. We probe this with a format-only control but cannot cleanly separate the two. Pooled over all emitting steps the three-way comparison is null (base 0.723, full 0.702; flip full−base = −0.021 [-.052,.011]), so the pooled signal is not a censoring artifact. For the early-window gain we evaluate the control at an emission-matched checkpoint (tag rate 0.967, within 0.012 of both the base and full arms): neither the de-censoring component (format − base, +0.006 [-.020,.034]) nor the calibration component (full − format, −0.027 [−.055,.000]) is individually resolvable. By the trained endpoint the control’s own format correctness rate falls to 0.744, which confounds a like-for-like comparison. We therefore report the early-window transfer gain (within-task AUROC +0.265 [.107,.428] at step 0 and +0.070 [.010,.130] over steps 0–2) without attributing it to de-censoring or calibration in isolation.

WebShop. On a live, on-policy WebShop run with the binary won reward, held-out episode success stays near the floor for both arms (0.9% untrained, 1.6% Brier+φ\varphi), leaving too little success variation to estimate a within-task early-window gain: only two to three held-out tasks contain both a successful and a failed seed, so the within-task AUROC is not meaningfully identified. Step-level pooled discrimination is 0.825 [.785,.889] untrained and 0.877 [.784,.951] trained, with overlapping intervals due to insufficient held-out samples.

Across Model Size

We repeat the online ALFWorld comparison on Qwen2.5-14B-Instruct, evaluating the untrained agent and a Brier+φ\varphi checkpoint under the same held-out protocol as the 7B experiments. Episode success is 36.9% untrained and 38.1% trained, with format parsing rate of 1.000 in both experiments. The pooled matched-emission AUROC is 0.697 [.615,.781] untrained and 0.729 [.635,.818] trained; the paired (trained-untrained) Δ\Delta over the shared held-out tasks is +0.032 [−.016,.073], directionally consistent with the 7B pooled gain. The within-task early-window estimand is not identifiable here, as only six untrained and seven trained held-out tasks contain both a successful and a failed seed, too few for a reliable paired within-task delta. At 14B the trained agent still beats its untrained counterpart on both episode success and pooled AUROC, in the same direction as the 7B gain, so the pooled effect does not vanish with scale. Resolving the within-task estimand at this scale would require more held-out tasks across additional sizes and model families.

Calibration and Selective Execution

Tables 10 and 11 give the calibration and selective-execution metrics for all experiments with paired deltas, and Table 12 gives the untrained block at two model sizes. Full-coverage step-level success is 0.046–0.057 over all steps and 0.186–0.203 at k≤2k \le2, and task-level triage (success if only the top 50% of tasks by mean early confidence are attempted) is 0.362 / 0.354 / 0.352 / 0.349 / 0.354 / 0.362 in row order.

Qwen2.5-7B-InstructQwen2.5-14B-Instruct
Mean conf, all / k≤2k \le20.475 / 0.4770.534 / 0.646
Step success, all / k≤2k \le20.057 / 0.2010.112 / 0.289
ECE, all0.419 [.398,.438]0.425 [.388,.458]
ECE, k≤2k \le20.277 [.217,.330]0.357 [.296,.417]
Brier, all0.250 [.237,.264]0.303 [.281,.328]
Brier, k≤2k \le20.229 [.212,.248]0.310 [.283,.336]
Top-10% succ., k≤2k \le20.493 [.323,.675]0.717 [.556,.839]
Top-25% succ., k≤2k \le20.363 [.241,.475]0.571 [.406,.724]
Top-10% succ., all0.241 [.151,.327]0.275 [.192,.375]
Triage, top-50% tasks0.362 [.245,.497]0.464 [.328,.591]
Triage, top-25% tasks0.557 [.375,.714]0.755 [.521,.964]
Task-level AUROC0.680 [.578,.787]0.756 [.663,.842]
Tasks solved at least once38/12851/128

Table 12. Calibration and selective execution of the untrained Qwen2.5-7B-Instruct and Qwen2.5-14B-Instruct agents on the held-out set. Intervals are 95% task-level cluster bootstraps.

The task-level triage deltas (format-only −0.008, calibration arms −0.013 to 0.000) and the task-level AUROC deltas (−0.008 to +0.098) all have CIs including 0.

Details on Offline RL Training

Pooled AUROC intervals. The 95% step-level bootstrap intervals for Table 1, untrained vs. trained, are: ALFWorld 0.517 [.496,.538] vs. 0.681 [.662,.699] at step 300 (0.689 [.671,.706] at step 150); TextWorld 0.578 [.547,.611] vs. 0.722 [.692,.753]; WebShop 0.462 [.396,.550] vs. 0.850 [.773,.910] (18–23 successes, hence the wide interval). Untrained-to-trained top-10% tail success lift is 1.55×→4.33× (ALFWorld; 2.73× at step 150), 1.57×→4.35× (TextWorld), and 1.11×→4.35× (WebShop).

EnvironmentPooled AUROC: UntrainedPooled AUROC: TrainedTail success lift: UntrainedTail success lift: Trained
ALFWorld0.5170.6811.55×4.33×
TextWorld0.5780.7221.57×4.35×
WebShop0.4620.8501.11×4.35×

Table 1. Offline training results comparing base instruction tuned vs RL trained Qwen2.5-7B-Instruct model on held-out single-trajectory Qwen2.5-7B-Instruct recordings: pooled step-level AUROC, and the tail success lift (success rate in the top-10% confident samples vs base success rate). Bootstrap CIs in Appendix § 14.

Additional signals on the untrained rows. Negative mean token entropy gives AUROC 0.741 [.722,.762] (ALFWorld), 0.667 [.630,.703] (TextWorld), and 0.806 [.724,.881] (WebShop), with top-10% multipliers 4.22×, 2.97×, and 3.34×. Sequence log-probability gives AUROC 0.706 [.685,.726] (ALFWorld), 0.593 [.560,.627] (TextWorld), and 0.762 [.653,.858] (WebShop), with top-10% multipliers 3.10×, 1.91×, and 3.34×. Negative last-token entropy gives 0.531, 0.493, and 0.401, with multipliers 0.81×, 1.06×, and 0.0×. Untrained confidence on emitted steps only gives 0.610 [.579,.639] and 1.93× in ALFWorld (6,184 steps / 410 successes) and 0.619 [.586,.652] and 1.61× in TextWorld (2,383 / 180); the WebShop emitted subset (265 steps, 2 successes) is not estimable.

Texture control. The AUROC of the OLS prediction of success from step depth and log(1 + content tokens) alone is 0.769 / 0.849 / 0.858 on the untrained rows and 0.787 / 0.855 / 0.799 on the trained rows (ALFWorld / TextWorld / WebShop). Residualized untrained confidence gives 0.534 [.510,.557] / 0.479 [.440,.516] / 0.509 [.386,.632]; residualized untrained token entropy 0.707 [.687,.727] / 0.586 [.549,.623] / 0.810 [.729,.882]; residualized trained confidence 0.626 [.603,.649] / 0.677 [.638,.715] / 0.811 [.712,.887].

White-box signals on the trained rows. On the trained models’ rows, ALFWorld (step 150) token entropy gives 0.660 and sequence log-probability 0.654 against trained confidence 0.689; TextWorld entropy 0.399 against 0.722; WebShop entropy

ArmMean conf all / k≤2k \le2ECE allECE k≤2k \le2Brier allBrier k≤2k \le2Top-10% k≤2k \le2Top-25% k≤2k \le2Top-10% allTop-5% all
Untrained0.475 / 0.477<br>[.398,.438]0.419<br>[.217,.330]0.277<br>[.237,.264]0.250<br>[.212,.248]0.229<br>[.323,.675]0.493<br>[.241,.475]0.363<br>[.151,.327]0.241<br>[.151,.333]0.241
Format-only0.474 / 0.476<br>[.408,.447]0.429<br>[.236,.347]0.290<br>[.239,.267]0.253<br>[.212,.248]0.229<br>[.296,.626]0.465<br>[.220,.464]0.363<br>[.117,.272]0.193<br>[.114,.275]0.182
Brier+φ\varphi0.161 / 0.189<br>[.105,.124]0.115<br>[.041,.084]0.051<br>[.045,.061]0.052<br>[.107,.168]0.137<br>[.391,.748]0.561<br>[.299,.599]0.444<br>[.192,.428]0.303<br>[.326,.655]0.491
Balanced Brier0.163 / 0.183<br>[.102,.125]0.114<br>[.042,.097]0.054<br>[.046,.064]0.054<br>[.108,.173]0.139<br>[.413,.765]0.609<br>[.293,.590]0.444<br>[.182,.417]0.290<br>[.303,.626]0.469
Brier+dispersion0.085 / 0.110<br>[.050,.059]0.054<br>[.066,.164]0.116<br>[.034,.054]0.044<br>[.101,.178]0.140<br>[.426,.804]0.635<br>[.307,.585]0.446<br>[.167,.395]0.272<br>[.295,.652]0.480
Balanced+dispersion0.082 / 0.100<br>[.049,.057]0.053<br>[.085,.186]0.133<br>[.037,.059]0.047<br>[.118,.199]0.157<br>[.448,.818]0.657<br>[.281,.557]0.415<br>[.173,.398]0.273<br>[.308,.673]0.490

caption: Calibration and selective execution for every online training on Qwen2.5-7B-Instruct experiment; same setting as Table 7. ECE uses 10 equal-width bins, top-qq% is the success rate among the qq% most confident steps in the window, and intervals are 95% task-level cluster bootstraps.

ArmSucc.Pooled allPooled k≤2k \le2Pooled t=0t=0Between k≤2k \le2Within all (nn)Within k≤2k \le2 (nn)Within t=0t=0Depth-matched
Untrained0.2010.740<br>[.704,.776]0.689<br>[.640,.733]0.562<br>[.530,.600]0.825<br>[.758,.881]0.651 (20)<br>[.598,.704]0.606 (20)<br>[.515,.696]0.529<br>[.432,.620]0.633<br>[.565,.715]
Format-only0.1880.754<br>[.712,.792]0.708<br>[.660,.749]0.568<br>[.534,.602]0.858<br>[.792,.911]0.665 (15)<br>[.601,.727]0.571 (15)<br>[.484,.657]0.507<br>[.393,.610]0.646<br>[.575,.739]
Brier+φ\varphi0.1940.799<br>[.753,.838]0.761<br>[.716,.798]0.642<br>[.584,.691]0.862<br>[.798,.911]0.673 (20)<br>[.615,.733]0.585 (20)<br>[.483,.680]0.500<br>[.378,.626]0.659<br>[.607,.719]
Balanced Brier0.1970.782<br>[.730,.829]0.765<br>[.721,.805]0.697<br>[.637,.744]0.856<br>[.791,.907]0.683 (19)<br>[.621,.753]0.657 (19)<br>[.582,.733]0.592<br>[.453,.725]0.685<br>[.630,.752]
Brier+dispersion0.1890.777<br>[.734,.817]0.790<br>[.742,.828]0.700<br>[.634,.763]0.897<br>[.847,.944]0.686 (15)<br>[.627,.746]0.661 (15)<br>[.568,.757]0.602<br>[.483,.712]0.667<br>[.607,.744]
Balanced+dispersion0.2030.742<br>[.696,.784]0.737<br>[.684,.783]0.670<br>[.612,.722]0.848<br>[.769,.911]0.612 (20)<br>[.564,.660]0.587 (20)<br>[.486,.688]0.450<br>[.340,.566]0.607<br>[.552,.665]

Table 7. Absolute values for every online RL for Qwen2.5-7B-Instruct experiment. Succ. = episode success rate; intervals are 95% task-level cluster bootstraps

:::

ArmECE allECE k≤2k \le2Brier allBrier k≤2k \le2Top-10% k≤2k \le2Top-25% k≤2k \le2Top-10% allTriage top-50%Task AUROC
Format-only+0.010<br>[-.001,.021]+0.013<br>[-.005,.030]+0.003<br>[-.005,.010]−0.001<br>[-.008,.006]−0.024<br>[-.094,.037]−0.012<br>[-.050,.036]−0.047<br>[-.084,-.012]−0.008<br>[-.034,.018]+0.076<br>[-.013,.176]
Brier+φ\varphi−0.304<br>[-.318,-.286]−0.226<br>[-.271,-.147]−0.198<br>[-.213,-.180]−0.093<br>[-.126,-.057]+0.080<br>[-.000,.185]+0.081<br>[.038,.160]+0.061<br>[.018,.128]−0.010<br>[-.026,.008]−0.008<br>[-.127,.111]
Balanced Brier−0.305<br>[-.319,-.288]−0.224<br>[-.273,-.126]−0.196<br>[-.213,-.180]−0.090<br>[-.125,-.054]+0.115<br>[.035,.193]+0.076<br>[.042,.155]+0.050<br>[.007,.111]−0.013<br>[-.034,.010]+0.015<br>[-.092,.124]
Brier+dispersion−0.364<br>[-.382,-.346]−0.162<br>[-.270,-.057]−0.206<br>[-.225,-.187]−0.089<br>[-.131,-.049]+0.159<br>[.054,.224]+0.092<br>[.041,.143]+0.035<br>[-.012,.095]−0.008<br>[-.031,.016]+0.098<br>[-.006,.210]
Balanced+dispersion−0.366<br>[-.384,-.346]−0.144<br>[-.239,-.033]−0.203<br>[-.221,-.184]−0.072<br>[-.114,-.025]+0.167<br>[.068,.235]+0.095<br>[.019,.119]+0.033<br>[-.013,.105]0.000<br>[-.023,.018]+0.047<br>[-.064,.155]

caption: Paired deltas (trained - untrained) of the calibration and selective-execution metrics; same setting as Table 7. Task AUROC = AUROC of mean early confidence against “task solved at least once”.

:::

0.430 against 0.850. Mean content-token entropy on ALFWorld falls from 0.145 to 0.025.

ALFWorld checkpoint curve. On the same held-out rows, pooled AUROC raw → residualized is 0.517 → 0.534 untrained; 0.690 → 0.634 at step 100; 0.689 → 0.626 at 150; 0.659 → 0.534 at 200; 0.677 → 0.612 at 250; 0.681 → 0.633 at 300. Success among the top 5% of steps goes from 0.137 untrained to 0.310 at step 300, and among the top 20% from 0.109 to 0.181; at step 150, success among the top 25% is 0.165 against 0.096 untrained.

Separate held-out probes. A second set of WebShop and TextWorld probes uses a different held-out split and counts WebShop wins differently (96 of 1,303 steps), so its values are not comparable to Table 1. On that split: WebShop untrained AUROC 0.518 [.485,.554] with ECE 0.452; ranking reward at 150 steps 0.728 [.676,.778], ECE 0.185, top-10% success 0.162 (2.2× of 0.074); ranking at spread ww = 0.10 at 150 steps 0.795 [.738,.844], ECE 0.146, top-10% 0.369 (5.0×). TextWorld untrained 0.522 [.438,.610] with ECE 0.586; ranking at 150 steps 0.775 [.690,.853], ECE 0.100, top-10% 0.333 (5.4× of 0.062), on 600 steps with 37 successes.

Ablations

Learning rate and probe temperature. The Brier arm’s held-out WebShop AUROC rises steeply near a learning rate of 2×10−62 \times10^{-6} and plateaus by 5×10−65 \times10^{-6} at about 0.86 (one seed; no interval). Reading its confidence greedily rather than at T=0.8T = 0.8 barely moves it: 0.863 [.819,.901] greedy against 0.846 [.795,.892] at T=0.8T = 0.8 (emitted steps, n=217n = 217 and 219), and 0.864 under the pooled convention of Table 2 (missing tag scored 0.5) for the same checkpoint.

Table 13 gives the spread-weight sweep. The second greedy w=0.10w = 0.10 value is the run reported as GRPO seed 1 in Table 3, and a third run of that configuration gives 0.613 (GRPO seed 0 there); the same sweep on ALFWorld offline (checkpoint 150, 176 held-out prefixes / 58 successes, 3 seeds, 15 cells) gives 0.760–0.822 with overlapping intervals. Reliability by bin for that sweep (K=8K = 8 sampled decodes at T=1.0T = 1.0, emitted decodes only). At w=0w = 0: confidences ≥0.8\ge0.8 hold 0.39 of the mass with mean 0.86 and success 0.33; 0.2<c<0.80.2 < c < 0.8 holds 0.60 with mean 0.61 and success 0.20; c<0.2c < 0.2 holds 0.01. At w=0.10w = 0.10: 0.29 / 0.86 / 0.37; 0.70 / 0.59 / 0.22; 0.01. The untrained model at T=1.0T = 1.0 emits a tag on 17% of decodes (300 of 1,760), with c≥0.8c \ge0.8 holding 0.47 of the emitted mass at success 0.31. Emission is 42% at w=0w = 0 and 50% at w=0.10w = 0.10.

wwAUROC, sampled (per seed)Mass in [0.2, 0.8]Mass ≥0.8\ge0.8AUROC, greedy (2 seeds)
0.000.746 (0.717, 0.775)0.640.340.720 / 0.762
0.050.678 (0.679, 0.676)0.760.230.690 / 0.698
0.100.675 (0.675)0.740.250.663 / 0.676
0.150.584 (0.594, 0.574)0.880.120.593 / 0.597
0.300.556 (0.587, 0.525)0.930.080.568 / 0.520

Table 13. Spread-weight sweep, WebShop offline RL training, ranking reward, evaluated on the held-out prefixes of Table 2; sampled columns use K=8K = 8 decodes per prefix at temperature T=1.0T = 1.0, top-pp 0.95, seed-averaged (w=0.10w = 0.10 has one sampled seed), and the interior mass column is the closed interval [0.2, 0.8] (so c=0.8c = 0.8 is counted in both mass columns).

Hyperparameters, Prompt & Rewards

Prompt (used in both training & evaluation).

You are an agent solving a household task in a text world. Each turn you are given the task, a log of what you have already done this episode, what you currently observe, and the list of admissible actions. Choose exactly ONE admissible action that best progresses toward the task. Do not repeat actions that did not help. First output the chosen action text on its own line, copied verbatim from the admissible list, with no explanation. Then on the NEXT line output your confidence that THIS EPISODE will ultimately succeed, as an integer 0-100 wrapped exactly as <conf>NN</conf>. Output nothing else.

Models. Qwen2.5-7B-Instruct and Qwen2.5-14B-Instruct; LoRA rank 32, α=64\alpha= 64 for all training.

Online training. 120 iterations ×\times 4 tasks ×\times 6 attempts (the group); advantage per step as in

(2); reward as in (3); learning rate 10−610^{-6}; PPO-style clip 0.2; KL-to-reference coefficient 10−310^{-3}; gradient-norm clip 1.0; micro-batch 1; checkpoints every 20 iterations; sampling temperature 1.0; up to 30 steps and 48 new tokens per step. Arms: format-only (wcal=0w_{\mathrm{cal}} = 0, wφ=0w_{\varphi} = 0); Brier+φ\varphi (wcal=1w_{\mathrm{cal}} = 1, φ=4c(1−c)\varphi= 4c(1-c), wφ=0.10w_{\varphi} = 0.10); balanced Brier (wcal=1w_{\mathrm{cal}} = 1, Brier reweighted with 0.5/YˉS0.5/\bar{Y}_S on wins and 0.5/(1−YˉS)0.5/(1-\bar{Y}_S) on losses, φ=4c(1−c)\varphi= 4c(1-c), wφ=0.10w_{\varphi} = 0.10); Brier+dispersion (wcal=1w_{\mathrm{cal}} = 1, φ\varphi replaced by min⁡(1,4(c−cˉS)2)\min(1, 4(c-\bar{c}_S)^2), wφ=0.10w_{\varphi} = 0.10); balanced+dispersion (both). Training tasks: 45 mixed-outcome tasks from seeds 18–245 (7B). Validation seeds 500–563; test seeds 1000–1127. All disjoint.

Offline training. GRPO on one recorded trajectory per game from the untrained 7B policy, cut into (prefix →\rightarrow recorded action, outcome) rows; balanced parquets ALFWorld 1,068 rows / 200 games, TextWorld 943 / 200, WebShop 1,066 / 372 (won rate 0.35 after balancing; raw WebShop 5,191 rows / 400 games / 7.2% won); no game has mixed outcomes. 8 generations per prefix; temperature 0.8; maximum completion 256 tokens; AdamW with a linear schedule; learning rate 5×10−65 \times10^{-6} (10−610^{-6} was too cold and produced artefacts); batch 8; KL coefficient 10−310^{-3}; 600 steps for the WebShop ablations (checkpoint 600) and 150 for the multi-environment checkpoints. Reward = 0.5 action-match + 0.2 format + 0.3 calibration, plus wφφ(c)w_{\varphi}\varphi(c) in the spread sweep; the reward-form arms of Table 2 use wcal=1.0w_{\mathrm{cal}} = 1.0 in place of the 0.3 default. Held-out probes decode greedily (temperature 0, 64 new tokens) unless stated; the spread sweep and its reliability analysis use K=8K = 8 sampled decodes at T=1.0T = 1.0, top-pp 0.95. Calibration reward forms. With cc the parsed confidence and YY the outcome (ϵ\epsilon, the sigmoid gain 10, the abstain utility 0.5, and the EMA decay 0.99 are implementation constants of the reward code; τ=0.1\tau= 0.1): Brier 1−(c−Y)21 - (c - Y)^2; logarithmic, normalized to [0,1][0,1], 1+[Ylog⁡c+(1−Y)log⁡(1−c)]/(−log⁡ϵ)1 + [Y \log c + (1 - Y) \log(1-c)]/(-\log\epsilon) with cc clipped to [ϵ,1−ϵ][\epsilon,1-\epsilon] and ϵ=10−3\epsilon= 10^{-3}; spherical qY/c2+(1−c)2q_Y/\sqrt{c^2 + (1-c)^2} with qY=cq_Y = c if Y=1Y = 1 and 1−c1-c otherwise; L1 1−∣c−Y∣1 - |c-Y|; decision/selective gY+(1−g)⋅0.5gY + (1-g)\cdot0.5 with g=σ(10(c−0.5))g = \sigma(10(c-0.5)), so the optimum commits when P(Y=1∣h)>0.5P(Y = 1 \mid h) > 0.5; ranking surrogate σ((c−μlose)/τ)\sigma((c-\mu_{\mathrm{lose}})/\tau) for a winning completion and σ((μwin−c)/τ)\sigma((\mu_{\mathrm{win}}-c)/\tau) for a losing one, where μwin\mu_{\mathrm{win}} and μlose\mu_{\mathrm{lose}} are exponential moving averages (decay 0.99) of the confidence of the opposite class and τ=0.1\tau= 0.1.

Reward-form and estimator details (Table 2 and Table 3). Across seeds the proper forms overlap—Brier spans 0.823–0.864 and spherical 0.852–0.882, of the same order as the between-form spread—so the six forms are indistinguishable at this seed count; the paired Brier-minus-ranking gap is +0.019 [-.024,.064] on seed 0, where the top-25% step-success gap is +0.018 [-.145,.073]. Task reward only gives 0.559 and 0.555 at format rates 0.56 and 0.59 over two seeds, against untrained 0.502 at 0.08. Table 3 carries the spread term at w=0.10w = 0.10 and so is not comparable to the ranking run of Table 2 (0.845); the spread sweep of the same reward gives 0.663/0.676 at that weight (Appendix § 15). PPO’s three 0.500 runs (seed 2 at a 10× value-head learning rate) reflect a cold-start value head: large, noisy advantages for roughly the first 15 updates, tag emission collapsing to a constant, and zero within-group reward variance.

Computational Budget and Reproducibility

Models and parameters. All training uses Qwen2.5-Instruct backbones at 7B and 14B parameters [31], adapted with LoRA [12] at rank 32 and α=64\alpha= 64 (Appendix § 16); only the adapter parameters are updated.

Hardware and compute budget. All models were trained on a single node with 8×8 \times NVIDIA H200 GPUs. Each run is a single-GPU LoRA job (adapters only), with experiments scheduled concurrently across the eight GPUs. Representative single-GPU wall-clock is about 8 h for a 7B online ALFWorld experiment, 12 h for the 14B experiment, 5 h for a TextWorld experiment, 2 h for WebShop, and roughly 10 min for an offline GRPO reward-form computation. By category: the offline GRPO reward-form and estimator sweeps total ≈2\approx2 GPU-hours; the online 7B ALFWorld arms (six reward forms plus four additional-seed runs) ≈79\approx79 GPU-hours; the TextWorld and WebShop online runs ≈18\approx18 GPU-hours; and the cross-size experiments ≈49\approx49 GPU-hours. Including preliminary and failed runs, total training compute is approximately 200 GPU-hours.

Software. PyTorch 2.13.0 (CUDA 13.0), Transformers 5.17.0, TRL 1.14.0, PEFT 0.21.0, Accelerate 1.15.0, Datasets 5.0.1, and NumPy 2.5.3. Offline training uses TRL GRPO; the online route uses the in-house on-policy learner (Appendix § 16).

Runs and statistical reporting. Each online training experiment uses a single training seed (§ 5); the offline reward-form and estimator comparisons use the seed counts stated in Appendix § 16 and Table 13. All reported intervals are 95% task-level cluster bootstraps over held-out tasks. Training, validation, and test seeds are disjoint (Appendix § 16); held-out evaluation seeds never appear in training.

Reproducibility. Every ingredient needed to reproduce our results is specified in the paper: the on-policy learner configuration and full hyperparameters, the agent prompt template with the inline <conf>NN</conf> format, and the exact per-arm reward definitions (Appendix § 16); the pre-registered estimand (within-task AUROC at k≤2k \le2), the checkpoint-selection rule, and the disjoint train/validation/test seed ranges (§ 5); and the 95% task-level cluster-bootstrap procedure used for all reported intervals. We provide anonymized training and evaluation code, configurations, and prompts in the supplementary material to reproduce every experiment.

Scientific Artifacts and Licenses

Our experiments build on three agentic environments and the Qwen2.5-Instruct model family [31], adapted with LoRA [12] using the TRL library [23] for training. ALFWorld [20], TextWorld [4], and WebShop [32] are released under the MIT License, and TRL under the Apache-2.0 License. Among the models, Qwen2.5-7B-Instruct and Qwen2.5-14B-Instruct are released under the Apache-2.0 License. We use each artifact solely for research, consistent with its intended use as an environment or model for studying language agents, and within the terms of its license. The three environments are standard, publicly available English-language task suites (household and text-adventure navigation and simulated web shopping) that carry no personally identifying information and no offensive content.

Human Subjects

Our study involves no human annotators, participants, or user-generated data.

Use of AI Assistants

We used the AI-based coding and writing assistant Claude Code with the Claude-4.8-Opus model for routine code implementation and language editing for the paper.

References

  1. [1]Arash Ahmadian, Chris Cremer, Matthias Gallé, Marzieh Fadaee, Julia Kreutzer, Olivier Pietquin, Ahmet Üstün, and Sara Hooker. 2024. Back to basics: Revisiting REINFORCE-style optimization for learning from human feedback in LLMs. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 12248–12267, Bangkok, Thailand. Association for Computational Linguistics.arxiv.org/abs/2402.14740
  2. [2]David Bani-Harouni, Chantal Pellegrini, Paul Stangel, Ege Özsoy, Kamilia Zaripova, Nassir Navab, and Matthias Keicher. 2026. Rewarding doubt: A reinforcement learning approach to calibrated confidence expression of large language models. In The Fourteenth International Conference on Learning Representations.
  3. [3]GLENN W. BRIER. 1950. Verification of forecasts expressed in terms of probability. Monthly Weather Review, 78(1):1 – 3.doi.org/10.1175/1520-0493(1950)078<0001:vofeit>2.0.co;2
  4. [4]Marc-Alexandre Côté, Ákos Kádár, Xingdi Yuan, Ben Kybartas, Tavian Barnes, Emery Fine, James Moore, Matthew Hausknecht, Layla El Asri, Mahmoud Adada, Wendy Tay, and Adam Trischler. 2019. Textworld: A learning environment for text-based games. In Computer Games, pages 41–75, Cham. Springer International Publishing.arxiv.org/abs/1806.11532
  5. [5]Mehul Damani, Isha Puri, Stewart Slocum, Idan Shenfeld, Leshem Choshen, Yoon Kim, and Jacob Andreas. 2025. Beyond binary rewards: Training lms to reason about their uncertainty. arXiv preprint arXiv:2507.16806.arxiv.org/abs/2507.16806
  6. [6]Yonatan Geifman and Ran El-Yaniv. 2017. Selective classification for deep neural networks. In Proceedings of the 31st International Conference on Neural Information Processing Systems, NIPS’17, page 4885–4894, Red Hook, NY, USA. Curran Associates Inc.arxiv.org/abs/1705.08500
  7. [7]Tilmann Gneiting and Adrian E. Raftery. 2007. Strictly proper scoring rules, prediction, and estimation. Journal of the American Statistical Association, 102:359 – 378.
  8. [8]Chuan Guo, Geoff Pleiss, Yu Sun, and Kilian Q. Weinberger. 2017. On calibration of modern neural networks. In Proceedings of the 34th International Conference on Machine Learning - Volume 70, ICML’17, page 1321–1330. JMLR.org.arxiv.org/abs/1706.04599
  9. [9]Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, Peiyi Wang, Qihao Zhu, Runxin Xu, Ruoyu Zhang, Shirong Ma, Xiao Bi, Xiaokang Zhang, Xingkai Yu, Yu Wu, Z. F. Wu, Zhibin Gou, Zhihong Shao, Zhuoshu Li, Ziyi Gao, Aixin Liu, and 175 others. 2025. Deepseek-r1 incentivizes reasoning in llms through reinforcement learning. volume 645, pages 633–638.DOI
  10. [10]J A Hanley and B J McNeil. 1982. The meaning and use of the area under a receiver operating characteristic (ROC) curve. Radiology, 143(1):29–36.pubmed.ncbi.nlm.nih.gov/7063747
  11. [11]Matthew Hausknecht, Prithviraj Ammanabrolu, Marc-Alexandre Côté, and Xingdi Yuan. 2020. Interactive fiction games: A colossal adventure. Preprint, arXiv:1909.05398.arxiv.org/abs/1909.05398
  12. [12]Edward J Hu, yelong shen, Phillip Wallis, Zeyuan Allen-Zhu, Yuhanzi Li, Shean Wang, Lu Wang, and Weizhu Chen. 2022. LoRA: Low-rank adaptation of large language models. In International Conference on Learning Representations.arxiv.org/abs/2106.09685
  13. [13]Saurav Kadavath, Tom Conerly, Amanda Askell, Tom Henighan, Dawn Drain, Ethan Perez, Nicholas Schiefer, Zac Hatfield-Dodds, Nova DasSarma, Eli Tran-Johnson, Scott Johnston, Sheer El-Showk, Andy Jones, Nelson Elhage, Tristan Hume, Anna Chen, Yuntao Bai, Sam Bowman, Stanislav Fort, and 17 others. 2022. Language models (mostly) know what they know. Preprint, arXiv:2207.05221.arxiv.org/abs/2207.05221
  14. [14]Amita Kamath, Robin Jia, and Percy Liang. 2020. Selective question answering under domain shift. In Proceedings of the 58th Annual Meeting of the Association for Computational Linguistics, pages 5684–5696, Online. Association for Computational Linguistics.arxiv.org/abs/2006.09462
  15. [15]Jixuan Leng, Chengsong Huang, Banghua Zhu, and Jiaxin Huang. 2025. Taming overconfidence in LLMs: Reward calibration in RLHF. In The Thirteenth International Conference on Learning Representations. Chen Li, Xiaoling Hu, Songzhu Zheng, Jiawei Zhou, and Chao Chen. 2026. Orce: Order-aware alignment of verbalized confidence in large language models. Preprint, arXiv:2605.12446.
  16. [16]Stephanie Lin, Jacob Hilton, and Owain Evans. 2022. Teaching models to express their uncertainty in words. Transactions on Machine Learning Research.arxiv.org/abs/2205.14334
  17. [17]Xiao Liu, Hao Yu, Hanchen Zhang, Yifan Xu, Xuanyu Lei, Hanyu Lai, Yu Gu, Hangliang Ding, Kaiwen Men, Kejun Yang, Shudan Zhang, Xiang Deng, Ao-han Zeng, Zhengxiao Du, Chenhui Zhang, Sheng Shen, Tianjun Zhang, Yu Su, Huan Sun, and 3 others. 2024. Agentbench: Evaluating LLMs as agents. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2308.03688
  18. [18]Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, Junxiao Song, Xiao Bi, Haowei Zhang, Mingchuan Zhang, Y. K. Li, Y. Wu, and Daya Guo. 2024. Deepseekmath: Pushing the limits of mathematical reasoning in open language models. Preprint, arXiv:2402.03300.arxiv.org/abs/2402.03300
  19. [19]Mohit Shridhar, Jesse Thomason, Daniel Gordon, Yonatan Bisk, Winson Han, Roozbeh Mottaghi, Luke Zettlemoyer, and Dieter Fox. 2020. Alfred: A bench-mark for interpreting grounded instructions for everyday tasks. In 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR), pages 10737–10746.
  20. [20]Mohit Shridhar, Xingdi Yuan, Marc-Alexandre Cote, Yonatan Bisk, Adam Trischler, and Matthew Hausknecht. 2021. {ALFW}orld: Aligning text and embodied environments for interactive learning. In International Conference on Learning Representations.arxiv.org/abs/2010.03768
  21. [21]Joykirat Singh, Zaid Khan, Archiki Prasad, Justin Chih-Yao Chen, Akshay Nambi, Hyunjin Lee, Elias Stengel-Eskin, and Mohit Bansal. 2026. Agent-brace: Decoupling beliefs from actions in long-horizon tasks via verbalized state uncertainty. Preprint, arXiv:2605.11436.arxiv.org/abs/2605.11436
  22. [22]Katherine Tian, Eric Mitchell, Allan Zhou, Archit Sharma, Rafael Rafailov, Huaxiu Yao, Chelsea Finn, and Christopher Manning. 2023. Just ask for calibration: Strategies for eliciting calibrated confidence scores from language models fine-tuned with human feedback. In Proceedings of the 2023 Conference on Empirical Methods in Natural Language Processing, pages 5433–5442, Singapore. Association for Computational Linguistics.
  23. [23]Leandro von Werra, Younes Belkada, Lewis Tunstall, Edward Beeching, Tristan Thrush, Nathan Lambert, Shengyi Huang, Kashif Rasul, and Quentin Gallouédec. 2020. TRL: Transformers Reinforcement Learning.
  24. [24]Liaoyaqi Wang, Chunsheng Zuo, William Jurayj, Benjamin Van Durme, and Anqi Liu. 2026a. Process supervision of confidence margin for calibrated LLM reasoning. In Third Conference on Language Modeling.arxiv.org/abs/2604.23333
  25. [25]Ruoyao Wang, Peter Jansen, Marc-Alexandre Côté, and Prithviraj Ammanabrolu. 2022. ScienceWorld: Is your agent smarter than a 5th grader? In Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing, pages 11279–11298, Abu Dhabi, United Arab Emirates. Association for Computational Linguistics.arxiv.org/abs/2203.07540
  26. [26]Ziqi Wang, Xingzhou Lou, Meiqi Wu, Zhengqi Wen, and Junge Zhang. 2026b. Calibration-aware policy optimization for reasoning LLMs. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 18375–18390, San Diego, California, United States. Association for Computational Linguistics.
  27. [27]Miao Xiong, Zhiyuan Hu, Xinyang Lu, YIFEI LI, Jie Fu, Junxian He, and Bryan Hooi. 2024. Can LLMs express their uncertainty? an empirical evaluation of confidence elicitation in LLMs. In The Twelfth International Conference on Learning Representations.arxiv.org/abs/2306.13063
  28. [28]Tianyang Xu, Shujin Wu, Shizhe Diao, Xiaoze Liu, Xingyang Wang, Yangyi Chen, and Jing Gao. 2024. SaySelf: Teaching LLMs to express confidence with self-reflective rationales. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 5985–5998, Miami, Florida, USA. Association for Computational Linguistics.arxiv.org/abs/2405.20974
  29. [29]Weihao Xuan, Qingcheng Zeng, Heli Qi, Yunze Xiao, Junjue Wang, and Naoto Yokoya. 2026. The confidence dichotomy: Analyzing and mitigating miscalibration in tool-use agents. In Proceedings of the 64th Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pages 11325–11349, San Diego, California, United States. Association for Computational Linguistics.
  30. [30]Duygu Nur Yaldiz, Evangelia Spiliopoulou, Zheng Qi, Siddharth Varia, Srikanth Doss, and Nikolaos Pappas. 2026. Balancing classification and calibration performance in decision-making LLMs via calibration aware reinforcement learning. In Findings of the Association for Computational Linguistics: ACL 2026, pages 12537–12553, San Diego, California, United States. Association for Computational Linguistics.
  31. [31]An Yang, Baosong Yang, Binyuan Hui, Bo Zheng, Bowen Yu, Chang Zhou, Chengpeng Li, Chengyuan Li, Dayiheng Liu, Fei Huang, Guanting Dong, Hao-ran Wei, Huan Lin, Jialong Tang, Jialin Wang, Jian Yang, Jianhong Tu, Jianwei Zhang, Jianxin Ma, and 40 others. 2024. Qwen2 technical report. arXiv preprint arXiv:2407.10671.arxiv.org/abs/2407.10671
  32. [32]Shunyu Yao, Howard Chen, John Yang, and Karthik R Narasimhan. 2022. Webshop: Towards scalable real-world web interaction with grounded language agents. In Advances in Neural Information Processing Systems.arxiv.org/abs/2207.01206

Paper details

vlnc:W_w7ke7stv
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY-SA 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Claude Code

View statement
Looking for related papers…
Contents