arXiv:2610.35500cs.AIOct 2026

Manuscript Offprint

arXiv:2610.35500

Test-Time Confidence Adaptation under RL-Induced Trajectory Shift

Zhenzhen Ren, Xiaoqing Zhang, GuoBiao Li, Bowen Fang, Yanxi Wang, Xinpeng Zhang, Ke Han

ABSTRACT

Trajectory-based confidence estimation has shown promising performance for large language models (LLMs) by leveraging rich signals from their reasoning processes. However, we find that such confidence estimators can degrade substantially after agentic reinforcement learning (Agentic RL) as it induces substantial shifts in the reasoning trajectories. More importantly, despite these shifts, we uncover a reliability structure that is largely preserved across Base and RL models: more stable trajectories remain more likely to produce correct answers. This preserved relationship provides a transferable, label-free reliability signal for post-RL confidence adaptation. Building on this finding, we propose StaR-TTA, a stability-guided framework for label-free test-time confidence adaptation. StaR-TTA jointly learns from correctness supervision and stability-derived reliability supervision on labeled Base trajectories, establishing the connection between trajectory stability and answer reliability. At test time, it reuses stability-induced reliability rankings from unlabeled RL trajectories to adapt confidence scores to the shifted trajectory distribution, without requiring target correctness labels. Across four QA benchmarks, StaR-TTA achieves an average AUROC of 0.721, with consistent improvements across unseen datasets, model families and scales, and different Agentic RL algorithms.

(a) RL shifts trajectories & degrades UQ

Figure

(b) Stability-correctness ordering is robust

(c) Test-time adaptation (TTA) restores UQ

Figure 1: (a) Agentic RL shifts reasoning trajectories and degrades uncertainty quantification (UQ). (b) Stability-correctness ordering remains highly positive after RL. (c) Stability-guided test-time adaptation restores reliable confidence estimation. Using unlabeled RL trajectories, we exploit trajectory stability to construct pairwise ordering and adapt a confidence estimator at test time with a ranking loss, leading to more reliable confidence estimates.

1 INTRODUCTION

Reliable confidence estimation is essential for deploying large language models (LLMs) in real-world applications, particularly for reasoning tasks where plausible outputs can still be incorrect.

(Xiao et al., 2025; de Oliveira et al., 2025; Tian et al., 2023; Turpin et al., 2023; Guan et al., 2026; Xiao et al., 2026). Recent approaches increasingly estimate confidence from reasoning trajectories, which reveal how a model arrives at its answer (Khanmohammadi et al., 2025; Subramani et al., 2025). Meanwhile, LLMs are increasingly optimized through agentic reinforcement learning (Agentic RL), which can substantially reshape their reasoning and tool-use behavior (Cui et al., 2026; Wei et al., 2026; Jin et al., 2025c; Singh et al., 2025; Matsutani et al., 2026). This raises a critical question: do confidence estimators learned from a base model remain reliable after Agentic RL?

We find that they often do not. Confidence estimators that perform well on Base-model trajectories can degrade substantially when directly transferred to their RL-trained counterparts. Through controlled analysis, we identify post-RL trajectory shift as an important source of this degradation: even with tool results and final answers controlled, replacing RL trajectories with their Base counterparts recovers a substantial portion of the lost confidence-ranking performance. Retraining requires post-RL correctness labels, while direct transfer suffers from trajectory shift. We therefore ask: can a confidence estimator adapt to post-RL trajectory shift without target correctness labels?

Our key observation is that, although Agentic RL shifts trajectories, it does not destroy all reliability structure. Across both Base and RL models, trajectory stability remains positively associated with answer correctness: answers that remain more stable under repeated sampling are consistently more likely to be correct. Crucially, unlike correctness labels, trajectory stability can be obtained directly from model outputs without human annotation. This creates a useful supervision bridge across the RL shift: correctness labels can ground the stability-reliability relationship on the source model, while stability remains available as a label-free reliability signal after RL.

Building on this insight, we propose StaR-TTA, a label-free test-time confidence adaptation framework via Stability Ranking. During source training, StaR-TTA jointly learns from correctness supervision and stability-derived reliability supervision, explicitly aligning confidence scores with the reliability ordering induced by trajectory stability. At test time, correctness labels are unavailable, but the preserved stability–correctness relationship provides a transferable supervisory signal. StaR-TTA extracts stability from unlabeled RL trajectories, constructs reliability rankings, and uses them to adapt the confidence scorer to the shifted trajectory distribution while preserving the source-learned confidence scale. The adapted scores are then mapped to correctness probabilities by a frozen confidence calibrator. In this way, the same stability-based reliability structure learned alongside correctness on the source model becomes the supervision for label-free adaptation after RL.

Extensive experiments on four QA benchmarks show that StaR-TTA consistently improves post-RL confidence estimation, achieving an average AUROC of 0.721. Its gains persist across unseen datasets, different model families and scales, and different Agentic RL algorithms, demonstrating the strong generalization of our method.

Our contributions are summarized as follows:

• We reveal that confidence estimation can degrade substantially after Agentic RL, and identify post-RL trajectory shift as an important contributor to the failure of trajectory-based confidence estimators.

• We uncover a transferable reliability structure under RL-induced trajectory shift: despite substantial changes in reasoning trajectories, the relationship between trajectory stability and answer correctness is largely preserved across Base and RL models.

• We propose StaR-TTA, a label-free test-time confidence adaptation framework that learns stability-based reliability from source correctness supervision and reuses the preserved reliability ordering to adapt confidence estimation to unlabeled post-RL trajectories.

• Extensive experiments show that StaR-TTA consistently improves post-RL confidence estimation and generalizes effectively across models, datasets, and Agentic RL algorithms.

References (34)