- Rating
- 4
- Clarity
- 2
- Confidence
- 3
- Originality
- 3
- Quality
- 3
- Significance
- 3
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.
Paper 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.
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.
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.
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.
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.
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.
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
ToolBench
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.