PAIR: Prefix-Aware Internal Reward Model for Multi-Turn Agent Optimization
Wonjoong Kim, Yeonjun In, Sangwu Park, Dongha Lee, Chanyoung Park
NeurIPS 2026
Abstract. A significant hurdle for current LLMs is the execution of complex, multi-stage tasks. Group Relative Policy Optimization (GRPO) has been emerging as a leading choice, but its reliance on sparse outcome rewards severely limits credit assignment across intermediate steps. Existing remedies—running full rollouts to assign step-level advantages, calling external LLM judges at each step, or computing intrinsic rewards that require ground-truth answers at every evaluation—introduce significant costs or practical constraints. We hypothesize that internal correctness probing over LLM hidden states can be repurposed as a step-level reward signal, potentially addressing all of these limitations at once. However, existing probing research assumes clean inputs, and we first show that this assumption breaks down in multi-step settings: hidden-state probes degrade severely under prefix contamination—tracking coherence with the (possibly corrupted) prefix rather than grounded correctness—while attention-based features remain robust to contamination but underperform on clean prefixes. Building on this complementary relationship, we propose the Prefix-Aware Internal Reward (PAIR)—a two-stage model with a frozen hidden-state probe estimating belief-consistency and a lightweight attention-based head correcting it toward grounded correctness. Experimental results show that PAIR achieves the highest AUROC on contaminated trajectories while operating at negligible inference cost, enabling dense step-level reward signals for GRPO training without external model calls, ground-truth dependencies, or full-trajectory rollouts.
Are you an author? Claim this paper to see who's reading it, with views and other statistics, and to write about it here.
Claim this paperedit · history
NeurIPS 2026
Accept (poster) · 3 reviews · OpenReview
Updated 25 Nov 2026, 03:42 UTC.
- Decision
- Accept (poster)
Read decision
Meta-review
This paper proposes a prefix-aware internal reward model named PAIR for dense credit assignment in multi-turn LLM-agent RL. Specifically PAIR uses a two-stage model: a frozen hidden-state probe and a lightweight attention-based correction head. The performance of PAIR is evaluated via epxeriments on GTA and ToolBench. Reviewers pointed out several strengths as well as some weakness/limitations of the paper. On one hand, this paper targets an important bottleneck in multi-turn agent optimization, and the proposed clean-versus-contaminated matched-pair construction provides a useful diagnostic for isolating the effect of erroneous prefixes. In addition, the two-stage architecture provides an intuitive mechanism for protecting performance on clean prefixes. Reviewers also found the empirical analysis and downstream RL evaluation generally substantial. On the other hand, some weakness or concerns must be addressed during the rebuttal.
First, reviewers pointed out that the contamination examples appear to be generated using GPT-4o-mini and a fixed set of predefined error types. Can the authors explain how closely these errors resemble failures produced naturally by the Qwen policy during on-policy exploration? Based on our understanding, we believe that the most informative evidence would be evaluation on organically occurring failed, corrected, or self-repaired turns mined from policy rollouts. If the authors cannot provide such evaluation results or these results are not available, some statistics or qualitative comparisons between the synthetic and on-policy error distributions are expected, and with that being said, the claims should be modified accordingly. In addition, the rebuttal should also clarify whether contamination types were separated between training and testing, and whether PAIR generalizes to unseen error mechanisms rather than memorizing the injected patterns.
Second, reviewers report that the probe-based rewards saturate rapidly at larger learning rates and that the main experiments use a small learning rate over a 500-step horizon. This observation raises the possiblity that the policy learns to exploit PAIR without improving task performance. Therefore, can the authors report or explain what happens under longer training, larger learning rates, or repeated policy updates? In particular, it is useful to distinguish genuine task improvement from increases in the internal reward, and clarify whether success eventually plateaus or declines while the PAIR score continues to rise. It is important for the authors to provide any evidence that involve periodic refitting, held-out probes, frozen-policy evaluation, just to name a few. On the other hand, if the method currently presented in the paper is only intended for a limited training horizon, the authors should. clearly state this limitation in the paper.
Third, in the paper, it argues that PAIR encourages agents to recover from earlier mistakes. However, this claim is not comprehensively supported in this paper as the current downstream evidence appears to focus primarily on final success rates. Therefore, in the rebuttal, can the authors provide a direct behavioral analysis, e.g., can you measure how often PAIR-trained agents identify, override, or repair a prior erroneous step compared with baseline-trained agents? Such evidence would help establish that the gains arise from improved prefix-aware credit assignment rather than generic reward shaping, and hence improve the paper accordingly.
Fourth, accrdoing to the reviewers, some metrics are not well defined, e.g., can you clearly define the metric reported in Section 4 and Table 3 and explain how it is computed? Note that several differences between PAIR and the strongest alternatives are small relative to the reported variation. In the rebuttal, can the authors strengthen the main comparisons by providing paired tests, confidence intervals or per-seed results? These comparisons should be especially for PAIR versus LLM-as-a-judge on GTA and for PAIR versus the strongest probe baselines in Table 2. Note that we understand and do not expect the authors to establish superiority on every individual benchmark in the rebuttal. However, the claims should distinguish statistically supported improvements from broadly competitive performance.
Fifth, some method details and ablations are missing. For example, can the authors explain why the combined Hidden+Attention probe may underperform the Attention-only probe in Figure 2? How the chance level in that figure is defined? How the Stage-2 correction head is trained and calibrated? In the rebuttal, the authors should also clarify the additional training-time and memory overhead of extracting attention features and evaluating PAIR at each step, rather than reporting inference cost alone. Existing ablations should establish whether freezing the hidden-state probe, using logit-space correction, and training on mixed clean and contaminated data are individually necessary.
Lastly, some secondary issues were pointed by the reviewers for the authors' consideration in the rebuttal and the revision of the paper.
Final justification
I have carefully read the authors’ response and the subsequent reviewer discussion. The rebuttal substantially addressed the main concerns raised in my initial meta-review. In particular, the authors added evaluations on organic on-policy errors and unseen contamination types, a direct repair-behavior analysis, clearer statistical interpretation of the GTA/ToolBench results, and additional ablations and efficiency measurements. The reviewers responded positively: MzKB and gqro raised their ratings to Accept, while p91C raised the rating to Borderline Accept.
I therefore maintain my recommendation of acceptance. PAIR addresses an important credit-assignment problem in multi-turn agent RL with a simple and efficient internal reward model, and the additional evidence strengthens the case that its prefix-aware correction generalizes beyond synthetic contamination. The main remaining limitation is that robustness to reward hacking under substantially longer or more aggressive training was not fully evaluated. The authors should clearly state the demonstrated training regime and this limitation in the final version.
Read meta-review
Meta-review
This paper proposes a prefix-aware internal reward model named PAIR for dense credit assignment in multi-turn LLM-agent RL. Specifically PAIR uses a two-stage model: a frozen hidden-state probe and a lightweight attention-based correction head. The performance of PAIR is evaluated via epxeriments on GTA and ToolBench. Reviewers pointed out several strengths as well as some weakness/limitations of the paper. On one hand, this paper targets an important bottleneck in multi-turn agent optimization, and the proposed clean-versus-contaminated matched-pair construction provides a useful diagnostic for isolating the effect of erroneous prefixes. In addition, the two-stage architecture provides an intuitive mechanism for protecting performance on clean prefixes. Reviewers also found the empirical analysis and downstream RL evaluation generally substantial. On the other hand, some weakness or concerns must be addressed during the rebuttal.
First, reviewers pointed out that the contamination examples appear to be generated using GPT-4o-mini and a fixed set of predefined error types. Can the authors explain how closely these errors resemble failures produced naturally by the Qwen policy during on-policy exploration? Based on our understanding, we believe that the most informative evidence would be evaluation on organically occurring failed, corrected, or self-repaired turns mined from policy rollouts. If the authors cannot provide such evaluation results or these results are not available, some statistics or qualitative comparisons between the synthetic and on-policy error distributions are expected, and with that being said, the claims should be modified accordingly. In addition, the rebuttal should also clarify whether contamination types were separated between training and testing, and whether PAIR generalizes to unseen error mechanisms rather than memorizing the injected patterns.
Second, reviewers report that the probe-based rewards saturate rapidly at larger learning rates and that the main experiments use a small learning rate over a 500-step horizon. This observation raises the possiblity that the policy learns to exploit PAIR without improving task performance. Therefore, can the authors report or explain what happens under longer training, larger learning rates, or repeated policy updates? In particular, it is useful to distinguish genuine task improvement from increases in the internal reward, and clarify whether success eventually plateaus or declines while the PAIR score continues to rise. It is important for the authors to provide any evidence that involve periodic refitting, held-out probes, frozen-policy evaluation, just to name a few. On the other hand, if the method currently presented in the paper is only intended for a limited training horizon, the authors should. clearly state this limitation in the paper.
Third, in the paper, it argues that PAIR encourages agents to recover from earlier mistakes. However, this claim is not comprehensively supported in this paper as the current downstream evidence appears to focus primarily on final success rates. Therefore, in the rebuttal, can the authors provide a direct behavioral analysis, e.g., can you measure how often PAIR-trained agents identify, override, or repair a prior erroneous step compared with baseline-trained agents? Such evidence would help establish that the gains arise from improved prefix-aware credit assignment rather than generic reward shaping, and hence improve the paper accordingly.
Fourth, accrdoing to the reviewers, some metrics are not well defined, e.g., can you clearly define the metric reported in Section 4 and Table 3 and explain how it is computed? Note that several differences between PAIR and the strongest alternatives are small relative to the reported variation. In the rebuttal, can the authors strengthen the main comparisons by providing paired tests, confidence intervals or per-seed results? These comparisons should be especially for PAIR versus LLM-as-a-judge on GTA and for PAIR versus the strongest probe baselines in Table 2. Note that we understand and do not expect the authors to establish superiority on every individual benchmark in the rebuttal. However, the claims should distinguish statistically supported improvements from broadly competitive performance.
Fifth, some method details and ablations are missing. For example, can the authors explain why the combined Hidden+Attention probe may underperform the Attention-only probe in Figure 2? How the chance level in that figure is defined? How the Stage-2 correction head is trained and calibrated? In the rebuttal, the authors should also clarify the additional training-time and memory overhead of extracting attention features and evaluating PAIR at each step, rather than reporting inference cost alone. Existing ablations should establish whether freezing the hidden-state probe, using logit-space correction, and training on mixed clean and contaminated data are individually necessary.
Lastly, some secondary issues were pointed by the reviewers for the authors' consideration in the rebuttal and the revision of the paper.
Final justification
I have carefully read the authors’ response and the subsequent reviewer discussion. The rebuttal substantially addressed the main concerns raised in my initial meta-review. In particular, the authors added evaluations on organic on-policy errors and unseen contamination types, a direct repair-behavior analysis, clearer statistical interpretation of the GTA/ToolBench results, and additional ablations and efficiency measurements. The reviewers responded positively: MzKB and gqro raised their ratings to Accept, while p91C raised the rating to Borderline Accept.
I therefore maintain my recommendation of acceptance. PAIR addresses an important credit-assignment problem in multi-turn agent RL with a simple and efficient internal reward model, and the additional evidence strengthens the case that its prefix-aware correction generalizes beyond synthetic contamination. The main remaining limitation is that robustness to reward hacking under substantially longer or more aggressive training was not fully evaluated. The authors should clearly state the demonstrated training regime and this limitation in the final version.
1 comment
- Rating
- 4/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 2/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper, called PAIR, studies how to provide dense step-level rewards for multi-turn agent RL without relying on external judges, ground-truth answers at runtime, or costly full rollouts. PAIR conducts enough observations and findings to show that hidden-state probes fail under prefix contamination because they track belief consistency rather than grounded correctness, while attention features are more robust in contaminated settings. Experiments on GTA and ToolBench show that PAIR gives competitive overall downstream RL performance among the compared methods while keeping inference cost very low.
Strengths and weaknesses
Strengths:
- Enough findings and motivation.
- Good figures and results analysis.
- Meets some needs of a real-world application.
Weakness:
- Would using step-level rewards introduce extra time overhead during training?
- Since the attention-based correction head is trained on a mixture of clean and contaminated data, could it work better for the specific contamination types seen during training, but struggle to generalize to unseen ones?
- How is the chance line in Figure 2 defined?
- In Figure 2, why does the Hidden+Attention probe perform worse than the Attention-only probe?
- Besides Qwen2.5-7B-Instruct, did the authors try any other backbone models?
- Could Table 3 be improved a bit? Right now the method comparison has to be read across line breaks, which makes it less visually clean.
- You can design an overview figure to present the overall framework and make the method easier to follow.
Questions
See the weaknesss.
Limitations
- The paper only validates the method on a single backbone, Qwen2.5-7B-Instruct, so it is still unclear whether PAIR generalize across model families, scales, and attention architectures.
- The correction head is trained on a synthetic mixture of clean and contaminated trajectories built from four predefined contamination types.
Final justification
The authors have adequately addressed my main concerns and added several meaningful experiments. In particular, they clarify that PAIR requires no additional model forward pass and introduces only about 8% training-time overhead over outcome-only GRPO, supporting its efficiency claim. Therefore, I raise my rating from 3 to 4.
Formatting concerns
- Table 3 could be presented more clearly. The current layout requires readers to compare methods across multiple wrapped lines, which makes the table harder to follow than necessary.
- The paper would also benefit from an overview figure summarizing the full framework. At present, readers need to piece together the method from the text, and a single high-level figure could make the overall pipeline much easier to understand.
3 comments
Rebuttal
We would like to express our sincere gratitude to the reviewer for insightful feedback to improve the quality of our manuscript. We have carefully addressed each of the weaknesses and limitations identified by the reviewer.
W1.
PAIR adds no additional model forward pass. The hidden states and attention statistics it uses are byproducts of the policy's own generation forward pass (output_hidden_states=True and output_attentions=True), as stated in Appendix F, so no extra forward pass is added. On GTA (Qwen2.5-7B, identical rollout config) we measured per-step wall-clock and peak GPU memory across four reward sources, summarized in the table below.
Reward computation cost. This is the reviewer's core question, and it is where PAIR is efficient. The latency of the reward function itself, the two logistic-regression passes over cached features, is about 0.2 ms per invocation, which is in Table 6 and gives the roughly 2,500x per-call advantage over a single LLM-judge API call. The end-to-end cost per training step, which additionally includes computing the attention summary statistics across all turns in the step, is about 1.9 s for PAIR against about 6.1 s for the LLM judge, since the judge aggregates about 8.3 GPT-4o-mini calls per step. On this end-to-end basis PAIR is about 3x cheaper, entirely GPU-internal, with no external API calls, no rate limits, and no per-token cost. We will revise Appendix F and Table 6 to report both the per-invocation reward-function latency and this end-to-end per-step cost, so the two numbers are not read as inconsistent.
Total training wall-clock. When the reward methods are timed on the same GPU under matched conditions, so that fluctuations in background GPU load do not distort the comparison, both dense-reward methods add only a small per-step overhead over sparse outcome-only GRPO. PAIR adds about +8% and the LLM judge about +10%, against about +77% for tree-search reward (Tree-GRPO), whose figure is a lower bound measured under a 64-token generation cap while the other methods use 256. The reason is categorical. Dense-reward methods leave the rollout unchanged and only add scoring, whereas tree-search replicates the rollout several times per prompt (four nodes here) and enlarges the policy update. PAIR's only rollout-side cost is the attention capture, isolated at about +9.5% in the matched-condition run. The one-time probe fitting performed before training takes under a minute on a single CPU (about 30 to 40 seconds, consistent with Appendix F), negligible within the multi-hour training process, about 0.1% of a 500-step run.
Peak GPU memory. Reward choice does not create a memory bottleneck. Peak memory stays in the same band across all methods, outcome-only 36.4 GB, PAIR and the LLM judge both 31.3 GB, and Tree-GRPO 33.5 GB, and every run fits comfortably on a single 48 GB GPU. PAIR's internal-state capture (output_attentions plus hidden states) does not inflate the footprint. At this scale the peak is governed by the longest generated sequence rather than by the reward type, so PAIR obtains its dense signal with no additional peak-memory cost.
| Reward | Peak GPU memory | Wall-clock / step |
|---|---|---|
| Outcome-only | 36.4 GB | 57.4s (+0%) |
| PAIR | 31.3 GB | 61.9s (+8%) |
| LLM-as-a-Judge | 31.3 GB | 63.4s (+10%) |
| Tree-GRPO | 33.5 GB | 101s (+77%) |
W2. & L2.
The correction head uses attention routing statistics (prefix_ratio, self_ratio; Appendix D) that capture where the model attends, so it is designed to generalize across error types. As evidence, (i) PAIR transfers to HotpotQA with no adaptation (Fig. 4), and (ii) it serves as an effective reward on organic GRPO errors (Table 3), neither of which is drawn from the four synthetic types.
We also add leave-one-contamination-type-out study to test unseen-type generalization directly. For each of the four contamination types, we train Stage 2 on the other three and evaluate AUROC on the held-out type. Across all four holdouts, the held-out AUROC stays close to the full PAIR reference trained with that type included (table below). PAIR therefore continues to generalize to contamination types it never saw during training, rather than overfitting to the predefined set, which is consistent with the correction head keying on structural attention patterns rather than type-specific content.
| Held-out type | N held-out neg | Held-out AUROC | Full PAIR ref | Gap |
|---|---|---|---|---|
| reasoning_error | 54 | 0.9056 | 0.9259 | +0.020 |
| observation_misinterpretation | 52 | 0.9238 | 0.9311 | +0.007 |
| tool_misuse | 22 | 0.8508 | 0.8754 | +0.025 |
| stale_memory | 10 | 0.8742 | 0.8921 | +0.018 |
We additionally run a stronger stress test in which two contamination types are removed from training and PAIR is evaluated on the held-out pair, leaving only two types available for fitting the correction head. As shown below, the held-out AUROC again remains close to the full reference across all six pairs, confirming that PAIR's generalization does not rely on having seen the specific error mechanisms during training.
| Held-out pair | N held-out neg | Held-out AUROC | Full PAIR ref | Gap |
|---|---|---|---|---|
| reasoning + observation | 106 | 0.9001 | 0.9285 | +0.028 |
| reasoning + tool_misuse | 76 | 0.8841 | 0.9113 | +0.027 |
| reasoning + stale_memory | 64 | 0.9025 | 0.9206 | +0.018 |
| observation + tool_misuse | 74 | 0.8860 | 0.9145 | +0.028 |
| observation + stale_memory | 62 | 0.9132 | 0.9248 | +0.012 |
| tool_misuse + stale_memory | 32 | 0.8484 | 0.8806 | +0.032 |
Furthermore, to measure transfer directly, we sample 100 turns from on-policy rollouts (from Qwen), label their correctness with the same tool-execution/answer oracle used for evaluation (human-labeled, not the LLM judge, to avoid circularity), and report PAIR's AUROC on this organic set and compare it against its synthetic-set performance.
On this organic set, PAIR retains essentially the same discriminative performance it shows on the synthetic matched-pair test set: AUROC 0.9133 on GTA and 0.7870 on ToolBench (table below), within about 0.01 to 0.03 of the 0.9217 and 0.8129 reported in Table 2. Because these are real errors the policy produces during on-policy exploration, and their correctness is set by the evaluation oracle rather than the contamination generator, this demonstrates that the probe generalizes to unseen errors.
| Dataset | Synthetic test AUROC (Table 2) | Organic on-policy AUROC |
|---|---|---|
| GTA | 0.9217±0.009 | 0.9133±0.004 |
| ToolBench | 0.8129±0.006 | 0.7870±0.006 |
W3.
The task is binary correctness ranking, so the chance line is AUROC = 0.5 (a random-scoring probe). We will state this in the caption.
W4.
This failure is exactly what motivates PAIR's architecture. On the adversarial set the hidden-state component is below chance (0.32–0.48), so naive concatenation lets the actively-misleading hidden features cancel the reliable attention signal, pulling the joint linear probe toward chance (0.41). PAIR avoids this by placing the hidden probe in a frozen residual base and letting attention apply an additive correction in logit space, rather than co-training both in one linear layer. We will make this connection explicit at the Fig. 2 discussion.
W5. & L1
Beyond Qwen2.5-7B-Instruct, we replicated the probing study on Gemma-2-9B, which is not only a different model family but also a fundamentally different attention architecture. It interleaves local (sliding-window) and global attention across layers and applies tanh soft-capping to the attention logits, which reshapes the attention distributions themselves. Since PAIR's correction head reads attention-distribution statistics, this is a stringent test of whether our findings depend on a specific attention formulation.
The results (table below) show that PAIR generalizes to other backbone. On Gemma-2-9B, PAIR attains the highest AUROC on both GTA (0.9187) and ToolBench (0.8175), reproducing the pattern reported for Qwen2.5-7B in the main paper. PAIR exceeds the hidden-state probe (Multi-Layer) by a clear margin on both benchmarks and also leads the strongest attention-based and unsupervised baselines. Its ECE is competitive and well below that of the hidden-state probes, consistent with the calibration behavior we report for Qwen.
Together with our Qwen2.5-7B results, this indicates that the belief-consistency degradation we identify and the advantage of PAIR's two-stage design are not specific to a single backbone. They hold across model families and, importantly, across distinct attention architectures.
GTA
| Method | AUROC | ECE |
|---|---|---|
| PAIR | 0.9187±0.0032 | 0.0926±0.0011 |
| Multi-Layer-Attn | 0.9110±0.0024 | 0.0845±0.0090 |
| Multi-Layer | 0.8890±0.0039 | 0.1139±0.0070 |
| Last-Token | 0.8974±0.0022 | 0.1101±0.0104 |
| Mean-Pooled | 0.9126±0.0010 | 0.0996±0.0041 |
| Raw-Attention | 0.8513±0.0028 | 0.1283±0.0053 |
| Hidden+Attn | 0.9019±0.0018 | 0.1190±0.0110 |
| Head-Entropy | 0.9143±0.0018 | 0.0836±0.0118 |
| Lookback-Ratio | 0.8693±0.0052 | 0.1056±0.0044 |
ToolBench
| Method | AUROC | ECE |
|---|---|---|
| PAIR (ours) | 0.8175±0.0043 | 0.1807±0.0030 |
| Multi-Layer-Attn | 0.8009±0.0048 | 0.1630±0.0036 |
| Multi-Layer | 0.7463±0.0025 | 0.2393±0.0023 |
| Last-Token | 0.7548±0.0029 | 0.2069±0.0009 |
| Mean-Pooled | 0.7724±0.0030 | 0.1948±0.0015 |
| Raw-Attention | 0.7309±0.0003 | 0.2098±0.0015 |
| Hidden+Attn | 0.7639±0.0028 | 0.2036±0.0026 |
| Head-Entropy | 0.8124±0.0021 | 0.1748±0.0016 |
| Lookback-Ratio | 0.7538±0.0014 | 0.2070±0.0009 |
W6.
We will restructure Table 3 into a single vertical table with one method per row and GTA/ToolBench as columns, sorted by performance with PAIR highlighted, so the comparison reads without line breaks.
W7.
We will add an overview figure illustrating the full PAIR pipeline (Stage-1 frozen hidden-state probe → Stage-2 attention-based correction in logit space → per-step reward fed into GRPO) to make the method easier to follow.
Thank you for the detailed rebuttal. My questions have been addressed. I therefore raised my rating from 3 to 4.
Thank you very much for your thoughtful reassessment and for updating your score! We sincerely appreciate your careful review, and your feedback has been very helpful in improving the clarity and rigor of our manuscript.
- Rating
- 5/6
- Confidence
- 3/5
- Quality
- 3/4
- Clarity
- 4/4
- Significance
- 4/4
- Originality
- 4/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
This paper proposes an approach to enable dense step-level rewards in multi-step settings. They propose a a two-stage model with a frozen hidden-state probe estimating belief-consistency and a lightweight attention-based head correcting it toward grounded correctness. Experimental and ablation results demonstrate the proposed approach enables achieving high AUROC and low ECE values on erroneous trajectories with low inference costs.
Strengths and weaknesses
Strengths -> The considered problem setting is timely for learning in multi-step trajectories under sparse rewards. Removal of the need to provide ground truth or (expensive) LLM supervision would be a significant asset to the research community. -> The diagnostic and investigative experiments added in method section are very much appreciated. -> The extensive experimental evaluation and downstream RL experiments are very much appreciated and add to the clarity of the paper.
Weaknesses -> The authors have not mentioned which metric is being used to evaluate results of section 4 and table 3. While their approach PAIR outperforms other approaches, it is impossible to compare relative performance of the best and second best approaches (with a difference of only 0.01 and 0.02) without a description of which metric is being used. -> In Table 2, PAIR and the second best approach's AUROC and ECE are not that significantly far apart in value. The reported delta for AUROC of PAIR (0.9217) and Multi-layer (0.9082) is 0.0135, which lies within the deviation (0.019), rendering the result inconclusive. I would argue that the reported metrics alone do not establish whether PAIR outperforms the second best method.
Questions
-> Please provide description of the metric being used to evaluate results of section 4 and table 3. -> Please provide a more convincing analysis between the PAIR approach and the second best approaches for GTA and ToolBench datasets and Section 3.3
Limitations
Please include a discussion of the limitations of your approach.
Final justification
My concerns regarding evaluation metric and gap between proposed approach and SOTA have been sufficiently addressed. Therefore, I raise my score.
Formatting concerns
None
1 comment
Rebuttal
We are deeply grateful to the reviewer for their thorough review and valuable feedback. In the following, we provide detailed responses to the specific points raised by the reviewer.
W1. & Q1.
Section 4 and Table 3 report success_rate_at_0.5, the fraction of held-out episodes whose per-episode score is ≥ 0.5, averaged over 3 seed. Per-episode scores use each benchmark's official scorer (Appendix H). On GTA, the upstream evaluate_answer matcher (whitelist/blacklist substring match, else max cosine similarity), giving a score in {0, 1}. On ToolBench, a single GPT-4o-mini judge compares the final answer to the gold answer's key facts and returns yes (1.0) / partial (0.5) / no (0.0). The judging prompt is fixed and applied identically to all 16 methods and seeds.
ToolBench's gold answers are verbatim ToolLLaMA outputs, so exact-substring scoring returns ≤ 0.03 for every method we tested (including AT$^2$PO, CoE-C, and LLM-as-a-judge), erasing all discriminative power. Graded LLM-judge scoring is not an idiosyncratic choice. It is the paradigm of ToolBench's own evaluation (ToolEval reports GPT-judged Pass Rate / Win Rate [1]) and of subsequent ToolBench-style benchmarks (StableToolBench's GPT-judged Solvable Pass Rate [2]), and thresholding a graded score into a task-success rate is standard in agent evaluation (e.g., -bench's reward-based success / pass^k [3]). Our three-level rubric is a conventional instantiation of this practice.
We will state both metrics explicitly in the table captions and in Section 4 and Table 3.
[1] Qin, Yujia, et al. "Toolllm: Facilitating large language models to master 16000+ real-world apis." The twelfth international conference on learning representations. 2023.
[2] Guo, Zhicheng, et al. "Stabletoolbench: Towards stable large-scale benchmarking on tool learning of large language models." Findings of the Association for Computational Linguistics: ACL 2024. 2024.
[3] Yao, Shunyu, et al. "$\tau $-bench: A Benchmark for Tool-Agent-User Interaction in Real-World Domains." arXiv preprint arXiv:2406.12045 (2024).
W2. & Q2.
First, the near-tie between PAIR and Multi-layer is confined to the GTA aggregate on the Qwen2.5-7B backbone, and is not a property of the method. On ToolBench, PAIR already separates from Multi-layer on Qwen itself (0.8129 versus 0.7821, a gap of 0.031 that exceeds the reported deviations).
On GTA, the tie disappears once the backbone is varied. We replicated the Table 2 probing comparison on two additional backbones, each over 5 seeds (more than the 3 seeds used for the main tables), and results are shown in Table below. On Llama-3-8B, PAIR reaches 0.9248 ± 0.0039 versus Multi-layer's 0.9033 ± 0.0050, a gap of 0.021 that is more than 4x the reported deviation. On Gemma-2-9B, PAIR reaches 0.9187 ± 0.0032 versus 0.8890 ± 0.0039, a gap of 0.030 that is more than 7x the deviation. By the reviewer's own criterion (the delta relative to the deviation), both gaps are conclusive and lie well outside any per-seed variation, so PAIR's advantage on GTA holds clearly once the backbone is varied.
| PAIR | Multi-layer | |
|---|---|---|
| Llama-3-8B | 0.9248 ± 0.0039 | 0.9033 ± 0.0050 |
| Gemma-2-9B | 0.9187 ± 0.0032 | 0.8890 ± 0.0039 |
Second, and more importantly, the aggregate AUROC in Table 2 understates the difference between PAIR and Multi-layer, because it averages over clean prefixes, where PAIR is designed to reduce to the hidden-state probe ( ≈ ) and the two nearly tie, and contaminated prefixes, where they diverge sharply. On the adversarial belief-versus-correctness diagnostic (Fig. 2), Multi-layer scores 0.318, far below chance: used as a reward it would systematically reward error-perpetuating turns and penalize repair turns, that is, an inverted signal. PAIR stays above chance. The two probes are therefore not interchangeable despite a small aggregate gap, and this is exactly what the downstream RL results (Table 3) reflect.
Third, a small gap in correctness prediction does not remain small once it is used as a reward. In GRPO the probe scores every step of every rollout, so a systematic ranking error is applied repeatedly and in a consistent direction. Because Multi-layer's errors are not random but concentrated on repair turns (Fig. 2), using it as a reward biases the policy gradient the same way at every such step, whereas PAIR does not. This is why a modest aggregate AUROC difference in Table 2 maps to a substantially larger difference in downstream task success in Table 3.
L1.
We have discussed limitations, in Appendix J (Limitation and Future Work), and flag them in the NeurIPS checklist (item 2). Appendix J currently covers three: (i) backbone scope (which is addressed in the rebuttal phase), (ii) binary correctness labels, and (iii) broader impact of cheaper agent-RL training.
- Rating
- 5/6
- Confidence
- 4/5
- Quality
- 3/4
- Clarity
- 3/4
- Significance
- 3/4
- Originality
- 3/4
- Contribution type
- general
- Ethical concerns
- NO or VERY MINOR ethics concerns only
Read review
Summary
The paper addresses credit assignment in reinforcement learning for multi-turn LLM agents, in which internal correctness probes break under prefix contamination: earlier steps in a trajectory contain errors, hidden-state probes track belief-consistency rather than grounded correctness. Motivated by this, the paper proposes PAIR, a two-stage logistic-regression model, where the first stage is a frozen hidden-state probe producing a belief-consistency score, and the second stage is an attention-based head that takes the attention features plus the belief-consistency score and outputs a corrected score, learning to leave the belief-consistency score alone on clean prefixes and correct it on contaminated ones. The paper reports that PAIR achieves the best step-level AUROC on GTA and ToolBench. Moreover, when it's used as a GRPO reward, it yields the best downstream success rate on both benchmarks and the best cross-domain transfer to HotpotQA.
Strengths and weaknesses
Strengths:
- The clean/contaminated matched-pair design isolates the prefix effect, so any AUROC gap can be attributed to the prefix alone.
- The adversarial diagnostic confirms the belief-consistency hypothesis in which hidden-state probes fall below chance, and attention stays above it.
- Freezing the hidden-state probe and adding an attention correction in logit space structurally protects clean-prefix performance.
Weaknesses:
- The prefix contamination the probe is trained and evaluated on is synthetic. Errors are injected by GPT-4o-mini, not generated by the policy itself, so it is unproven that the probe transfers to organic RL exploration errors.
- With larger learning rates, the probe-based reward quickly saturates within about 100 steps, after which the GRPO advantage collapses. The authors' fix is a very small constant learning rate chosen so that the policy does not learn to fool the probe within the 500-step training budget. This suggests the probe can be easily gamed, making reward hacking a major concern if training is extended or made more aggressive.
- The link from AUROC to RL gains is asserted, not shown. I see no evidence that PAIR-trained policies actually do more repairs. What is missing is a measurement on the trained agents themselves. The natural test is to take trajectories from a PAIR-trained policy and from baseline-trained policies, then count how often each policy detects and overrides a prior error.
- The GTA gain is not statistically separated. PAIR 0.2489±0.042 vs. LLM-as-judge 0.2387±0.042 (Table 3), with only 3 seeds and 53 episodes, and no significance test is reported.
Questions
-
Can you provide evidence that the GPT-4o-mini-injected error distribution matches the errors the Qwen2.5-7B policy actually generates during GRPO exploration? Evaluating PAIR on real failed/repaired turns mined from on-policy rollouts would test this directly.
-
What happens to PAIR's reward and success rate past 500 steps, or at a higher learning rate? Please report whether the policy eventually fools the probe without real progress, and whether periodic Stage-2 re-fitting mitigates it.
-
Can you measure repair behavior on the trained policies by counting how often a PAIR-trained policy versus baseline-trained policies detects and overrides a prior error, rather than reporting only the success rate?
-
Can you report a paired significance test (or more seeds) for PAIR vs. LLM-as-a-judge on the benchmarks, given that the GTA intervals overlap?
Limitations
The authors acknowledge several limitations of their work; however, some key limitations that directly affect the paper’s claims still require further attention. These concerns have been outlined in the previous section of this review.
Final justification
Here is my assessment of each point in my review:
-
W1/Q1 (synthetic vs. organic contamination): Resolved. The on-policy transfer experiment plus the leave-one-type-out and leave-two-types-out generalization studies directly address my concern and go beyond what I asked. This was my most serious worry about the paper's premise, and it now has solid empirical backing.
-
W2/Q2 (reward hacking): I appreciate the transparency. The temperature-clip and momentum design rationale is reasonable, and the point that periodic re-fitting is uniquely cheap for PAIR versus judges/PRMs is well taken. However, the decisive extended-training diagnostic was not provided, so the core question of whether PAIR degrades under longer or more aggressive training remains open. I'd ask that the stated 500-step operating regime be made an explicit limitation in the camera-ready, and that the extended-run results be included if they finish.
-
W3/Q3 (repair behavior): Addressed, with an appropriate caveat. The human-labeled repair-detection and successful-repair measurements on trained policies are exactly the missing link between AUROC and RL outcomes, and PAIR leads on both metrics. I agree this is directional given the single seed, but it meaningfully strengthens the mechanistic claim beyond what was shown at submission.
-
W4/Q4 (GTA significance): I accept that PAIR's value proposition on GTA is parity at a much lower operating cost rather than a win, and I'd ask that this framing be reflected accurately in the abstract/conclusion rather than implying PAIR is best on both benchmarks.
Overall: The rebuttal substantially improves my confidence in the paper, particularly on the contamination-transfer question. I'm raising my score from 4 to 5 to reflect this, conditional on the camera-ready incorporating the organic-transfer results, the repair-behavior study, and an honest statement of the training-budget limitation for W2.
Formatting concerns
N/A
3 comments
Rebuttal
We greatly appreciate the reviewer for the thoughtful assessment and constructive comments on our work. We are happy to address each of the weaknesses that the reviewer raised.
W1. & Q1.
To measure transfer directly, we first sample 100 turns from on-policy rollouts, label their correctness with the same tool-execution/answer oracle used for evaluation (human-labeled, not the LLM judge, to avoid circularity), and report PAIR's AUROC on this organic set and compare it against its synthetic-set performance.
On this organic set, PAIR retains essentially the same discriminative performance it shows on the synthetic matched-pair test set: AUROC 0.9133 on GTA and 0.7870 on ToolBench (table below), within about 0.01 to 0.03 of the 0.9217 and 0.8129 reported in Table 2. Because these are real errors the policy produces during on-policy exploration, and their correctness is set by the evaluation oracle rather than the contamination generator, this demonstrates that the probe transfers to the errors the policy actually makes rather than overfitting to the GPT-4o-mini-injected contamination it was trained on.
| Dataset | Synthetic test AUROC (Table 2) | Organic on-policy AUROC |
|---|---|---|
| GTA | 0.9217±0.009 | 0.9133±0.004 |
| ToolBench | 0.8129±0.006 | 0.7870±0.006 |
We also add leave-one-contamination-type-out study to test unseen-type generalization directly. For each of the four contamination types, we train Stage 2 on the other three and evaluate AUROC on the held-out type. Across all four holdouts, the held-out AUROC stays close to the full PAIR reference trained with that type included (table below). PAIR therefore continues to generalize to contamination types it never saw during training, rather than overfitting to the predefined set, which is consistent with the correction head keying on structural attention patterns rather than type-specific content.
| Held-out type | N held-out neg | Held-out AUROC | Full PAIR ref | Gap |
|---|---|---|---|---|
| reasoning_error | 54 | 0.9056 | 0.9259 | +0.020 |
| observation_misinterpretation | 52 | 0.9238 | 0.9311 | +0.007 |
| tool_misuse | 22 | 0.8508 | 0.8754 | +0.025 |
| stale_memory | 10 | 0.8742 | 0.8921 | +0.018 |
We additionally run a stronger stress test in which two contamination types are removed from training and PAIR is evaluated on the held-out pair, leaving only two types available for fitting the correction head. As shown below, the held-out AUROC again remains close to the full reference across all six pairs, confirming that PAIR's generalization does not rely on having seen the specific error mechanisms during training.
| Held-out pair | N held-out neg | Held-out AUROC | Full PAIR ref | Gap |
|---|---|---|---|---|
| reasoning + observation | 106 | 0.9001 | 0.9285 | +0.028 |
| reasoning + tool_misuse | 76 | 0.8841 | 0.9113 | +0.027 |
| reasoning + stale_memory | 64 | 0.9025 | 0.9206 | +0.018 |
| observation + tool_misuse | 74 | 0.8860 | 0.9145 | +0.028 |
| observation + stale_memory | 62 | 0.9132 | 0.9248 | +0.012 |
| tool_misuse + stale_memory | 32 | 0.8484 | 0.8806 | +0.032 |
Furthermore, Our downstream RL results are themselves an on-policy transfer test. During GRPO, PAIR scores turns produced by the Qwen2.5-7B policy's own exploration, which is organic errors, not GPT-4o-mini injections. That PAIR still yields the best downstream success on both benchmarks (Table 3) is direct evidence that the offline-trained probe transfers to organic errors; a probe that only fit the synthetic distribution could not have served as a useful on-policy reward. The synthetic matched pairs are used only to isolate the prefix effect in the diagnostic analysis (Section 3.1), which is impossible with organic errors as they lack a matched clean counterpart of the same turn.
W2. & Q2.
We agree reward hacking is the central risk for any fixed reward source, including PRMs and fixed-prompt LLM judges, and PAIR is no exception. Two mechanisms already in the method mitigate absolute-score inflation. The temperature-clip (Eq. 5) keeps rewards off the {0, 1} boundary to preserve group variance, and the momentum reward (Eq. 7) makes the signal relative to the trajectory mean rather than an absolute target that can be inflated. In addition, because both PAIR stages are logistic regressions, periodic Stage-2 re-fitting on on-policy data costs only seconds, a defense that is prohibitively expensive for reward-model or LLM-judge baselines.
To test the concern directly, we are currently running the decisive diagnostic: extending training to 2x to 4x the budget and raising the learning rate, while reporting the PAIR reward against independently measured task success. If the two decouple, meaning the reward keeps rising while success stalls or declines, that is hacking, and we will report it honestly, with and without periodic Stage-2 re-fitting. These extended runs are computationally heavy and may not finish within the discussion period. If the results are not ready in time, we promise to include them in the paper.
We also emphasize that our conclusion does not depend on the outcome of these runs. First, the reported results use a clearly specified operating point, a small constant learning rate over a 500-step budget, and we will state this horizon explicitly as a limitation. A reward that is reliable within a documented training budget is a legitimate and common operating regime for RL reward design. Second, susceptibility to hacking under sufficiently aggressive optimization is a general property of any frozen reward, so observing it for PAIR would place it in the same category as all fixed reward sources rather than reveal a weakness unique to our method. Third, PAIR is uniquely positioned to counter it, since its probe-level cost makes periodic re-fitting on fresh on-policy data affordable, whereas the same defense is impractical for external judges or separately trained reward models. In every case, an eventual hacking regime at aggressive settings would bound the training horizon we claim, not retract the gains already demonstrated at the reported setting.
W3. & Q3.
To connect our AUROC results to behavior, we measured repair directly on the trained policies. We sampled 100 rollouts of each policy on GTA, labeled every turn by human, and counted detection, override, and successful-repair events over repair opportunities (an incorrect turn followed by a later assistant turn). Compared against the second-best baseline, LLM-as-a-judge, PAIR is numerically higher on all repair metrics: detection/override 0.414 vs 0.393, successful repair 0.207 vs 0.179. This is the direction our mechanism predicts, namely that PAIR's reward does not penalize turns that correct a prior error.
We are careful not to overstate this. The study uses a single seed, so the PAIR versus LLM-judge gap is directional rather than statistically separated. The clear, statistically separated evidence for the mechanism remains the controlled diagnostic in Fig. 2, where hidden-state probes fall well below chance on repair turns (0.32 to 0.48) while the attention signal PAIR relies on stays above chance (0.71), showing directly that PAIR, unlike a hidden-only reward, does not invert the reward on repairs. We are expanding the study to cover more rollouts, yet human annotations are time-consuming and may not finish within the discussion period; if the results are not ready in time, we commit to reporting them in the paper.
W4. & Q4.
We agree the GTA difference between PAIR (0.2489) and the LLM judge (0.2387) is not statistically separated, and we do not claim a GTA win. The paper already states PAIR is statistically indistinguishable from the strongest method on GTA (Section 4.2).
However, Our contribution on GTA dataset is not that PAIR beats the judge, but that it matches the strongest baseline at a fundamentally different operating point. LLM-as-a-judge issues an external API call per step, at online-RL scale this is ~500 ms/step vs. PAIR's ~0.2 ms (≈2500×), amounting to hundreds of thousands of calls per training run — ≈107 GPU-hours plus a proportional API bill for a production-scale configuration, versus ~2.5 minutes for PAIR (Appendix F, Table 6). The resulting latency makes an LLM judge effectively unusable as a dense, per-step reward at any non-trivial training scale, regardless of its accuracy.
Reaching parity with a strong GPT-4o-mini judge using only the policy's own internal states, with no external model calls, no full-trajectory rollouts, no runtime ground-truth, and no separately trained reward model (Table 1), is itself the result, not a consolation for the overlapping GTA interval. On ToolBench, PAIR additionally exceeds the judge (0.4498 vs. 0.4203), which we support with the paired test above.
Reviewer Response to Author Rebuttal
Thank you for the detailed rebuttal. Here is my assessment of each point.
-
W1/Q1 (synthetic vs. organic contamination): Resolved. The on-policy transfer experiment plus the leave-one-type-out and leave-two-types-out generalization studies directly address my concern and go beyond what I asked. This was my most serious worry about the paper's premise, and it now has solid empirical backing.
-
W2/Q2 (reward hacking): I appreciate the transparency. The temperature-clip and momentum design rationale is reasonable, and the point that periodic re-fitting is uniquely cheap for PAIR versus judges/PRMs is well taken. However, the decisive extended-training diagnostic was not provided, so the core question of whether PAIR degrades under longer or more aggressive training remains open. I'd ask that the stated 500-step operating regime be made an explicit limitation in the camera-ready, and that the extended-run results be included if they finish.
-
W3/Q3 (repair behavior): Addressed, with an appropriate caveat. The human-labeled repair-detection and successful-repair measurements on trained policies are exactly the missing link between AUROC and RL outcomes, and PAIR leads on both metrics. I agree this is directional given the single seed, but it meaningfully strengthens the mechanistic claim beyond what was shown at submission.
-
W4/Q4 (GTA significance): I accept that PAIR's value proposition on GTA is parity at a much lower operating cost rather than a win, and I'd ask that this framing be reflected accurately in the abstract/conclusion rather than implying PAIR is best on both benchmarks.
Overall: The rebuttal substantially improves my confidence in the paper, particularly on the contamination-transfer question. I'm raising my score from 4 to 5 to reflect this, conditional on the camera-ready incorporating the organic-transfer results, the repair-behavior study, and an honest statement of the training-budget limitation for W2.
We are truly grateful for your careful and constructive review and for raising the score. Detailed feedback has been invaluable in improving the clarity and rigor of our manuscript. We also promise to incorporate the additional experiments we conducted into the revised version of the paper.
From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.
Loading the discussion…
We thank the Area Chair for the synthesis. We summarize how each point was addressed, with new experiments added during the discussion.
1. Synthetic contamination, transfer to organic errors, and unseen-type generalization.
Three pieces of direct evidence. (i) We mined 100 organic turns from on-policy Qwen rollouts and labeled them with the evaluation oracle, not the LLM judge, to avoid circularity; PAIR's AUROC on these real errors (0.9133 GTA, 0.7870 ToolBench) is within 0.01 to 0.03 of its synthetic-set AUROC, showing transfer rather than fitting the injected distribution. (ii) Leave-one-type-out and leave-two-type-out studies, with types strictly separated between train and test, keep held-out AUROC within 0.007 to 0.032 of the full reference, so PAIR generalizes to unseen error mechanisms rather than memorizing them. (iii) The downstream RL results are themselves an on-policy test, since PAIR scores the policy's own organic errors during GRPO. We will fold these in and soften any claim tied to the synthetic construction.
2. Reward hacking under longer or more aggressive training.
We are running the decisive diagnostic (2x to 4x budget and a higher learning rate) reporting the PAIR reward against independently measured success, with and without periodic Stage-2 re-fitting; if it does not finish in time we commit to including it in the paper. Two existing mechanisms already limit score inflation (the temperature-clip and the momentum reward), and PAIR's probe-level cost makes periodic re-fitting affordable where judge or reward-model baselines cannot. Regardless of the outcome, we will state the training-horizon operating point as a limitation, since hacking under aggressive optimization is a general property of any frozen reward, not unique to PAIR.
3. Direct repair-behavior measurement.
We measured repair directly on the trained policies (100 rollouts each, human-labeled turns), counting detection, override, and successful-repair events over repair opportunities. PAIR exceeds the second-best baseline (LLM-judge) on all repair metrics (successful repair 0.207 vs 0.179), as our mechanism predicts. We present this as directional (single-seed) and point to Fig. 2 as the statistically clear evidence, where hidden-state probes fall below chance on repair turns while PAIR's attention signal stays above. We are scaling the annotation and commit to reporting the expanded result in the paper.
4. Metric definition and significance.
We defined the Section 4 and Table 3 metric explicitly (success_rate_at_0.5 with the Appendix H scorers) and will state it in the captions. On significance, we separate supported improvements from parity. We do not claim a GTA win over the judge, since the intervals overlap as the paper notes; the GTA claim is parity at far lower cost. PAIR separates from the judge on ToolBench, and for Table 2 it separates from the strongest probe on ToolBench (Qwen) and on GTA once the backbone is varied (Llama-3-8B and Gemma-2-9B, 5 seeds, gaps 4x to 7x the deviation). We also explain why a small aggregate AUROC gap is amplified when the probe is used as a dense per-step reward.
5. Method details, overhead, and ablations.
We answered the specific questions. The Fig. 2 chance line is AUROC 0.5. Hidden+Attn underperforms Attention because the below-chance hidden component cancels the reliable attention signal, which motivates PAIR's frozen-base plus logit-space design. Stage-2 training and calibration follow Appendix C, with ECE as the calibration measure. For overhead, we added a training-time and memory measurement, not inference cost alone. On matched-GPU runs PAIR adds about +8% wall-clock and no peak-memory increase (all methods in the same 31 to 36 GB band), versus +10% for the judge and +77% for tree-search, with the probe fit under a minute. Finally, we ran the requested component-necessity ablation, removing each design choice (freezing the hidden probe, the logit-space correction, and mixed clean-and-contaminated training) in turn. Removing any one lowers AUROC on both benchmarks, so each is individually necessary, and full PAIR is best in every case.
Secondary issues. We will restructure Table 3 into a single sorted table, add an overview figure of the PAIR pipeline, and surface a main-text Limitations paragraph (pointing to Appendix J) covering the training-horizon, synthetic-contamination, and single-backbone scope.