From Rewarding What Models Say to How They Think: Attention Process Reward Model for LLM Reinforcement Learning

Media reports Hugging Face Papers Source language: Chinese

Researchers propose APRM, a 46M-parameter model rewarding LLM internal attention states rather than text outputs, achieving a 2.88% average pass@8 gain in RL.

Full text

From Rewarding What Models Say to How They Think: Attention Process Reward Model for LLM Reinforcement Learning

Kairong Han Affiliation: Zhejiang University Nuanqiao Shan Affiliation: Zhejiang University Ziyu Zhao Affiliation: Zhejiang University Xinpeng Dong Affiliation: Zhejiang University Zijing Hu Affiliation: Zhejiang University Dian Jin Affiliation: Zhejiang University Leyan Deng Affiliation: Noah’s Ark Lab, Huawei Technologies Junjian Ye Affiliation: Noah’s Ark Lab, Huawei Technologies Lujia Pan Affiliation: Noah’s Ark Lab, Huawei Technologies Fei Wu Affiliation: Zhejiang University Kun Kuang Affiliation: Zhejiang University

Abstract

Reinforcement learning (RL) has become an important component in large language models (LLMs). However, existing RL approaches focus on final outputs or textual solution trajectories, leading to coarse-grained rewards and unreliable reasoning. Such paradigms focus mainly on what the model outputs while overlooking how the model internally reasons. Therefore, can we reward how a model thinks internally rather than merely what it says? We first reveal the problem of textual reward aliasing in existing reward modeling approaches. Motivated by this, we propose the Attention Process Reward Model (APRM), which assigns internal rewards based on hidden states and attention maps to capture high-quality reasoning patterns. With only approximately 46M parameters, APRM is trained using ranking and counterfactual objectives, and its reward guides RL optimization while being periodically updated to handle distribution shifts. Integrated with representative RL methods, APRM achieved an average pass@8 gain of 2.88%. Our results demonstrate the promise of incorporating internal reasoning signals into RL for LLMs.

1 Introduction

Figure 1: Comparison of outcome rewards, textual process rewards, and APRM.
Figure 1: Comparison of outcome rewards, textual process rewards, and APRM.

Figure 1: Comparison of outcome rewards, textual process rewards, and APRM.

In recent years, large language models (LLMs) (Zhao et al., 2023; Chang et al., 2024; Vaswani et al., 2017) have demonstrated remarkable capabilities in complex reasoning tasks (Wang et al., 2024; Plaat et al., 2025). Reinforcement learning (RL) has consequently become an important approach for improving reasoning ability during the post-training stage (Cao et al., 2024; Zhang et al., 2025).

Existing RL approaches for reasoning typically employ outcome reward models (ORMs) (Zhong et al., 2025) and process reward models (PRMs) (Xi et al., 2026; Gao et al., 2024). ORMs reward final-answer correctness, which is scalable but provides only sparse outcome-level feedback and cannot identify which reasoning steps contribute to success or failure. PRMs provide denser supervision by scoring intermediate Chain-of-Thought (CoT) steps, but they rely on natural-language rationales that are costly to annotate. Moreover, existing reward models supervise only externalized reasoning traces. However, reasoning in LLMs is fundamentally latent (Chen et al., 2025; Barez et al., 2025). The internal computation that produces a textual trajectory is not directly observable from the trajectory itself. Therefore, textual reward supervision may suffer from process aliasing, where distinct internal reasoning processes induce indistinguishable textual outputs and consequently receive identical rewards. Therefore, a question arises:

Can we reward how a model thinks internally, rather than merely what it says?

Mechanistic interpretability studies reveal structured information routing and interpretable computations in attention components (Lan et al., 2024; Merullo et al., 2024; Kissane et al., 2024; Nam et al., 2026), so we use attention-derived signals as a partial window into internal computation, extending reward modeling from what models say toward how they think. We first theoretically show that textual reward supervision is fundamentally under-observed. Distinct internal reasoning processes may collapse to indistinguishable textual trajectories and consequently receive identical rewards, a phenomenon we term textual reward aliasing. Motivated by this view, we propose the Attention Process Reward Model (APRM), as shown in Figure 1. The APRM is built upon an Attention-Fused Concept Pooler and an Edge-Biased Graph Attention Network (GAT) (Veličković et al., 2017). APRM directly evaluates hidden states and attention maps from the reasoning process to produce internal process rewards. We use APRM in two stages. During cold-start, APRM uses positive and negative reasoning trajectories with ranking and counterfactual losses to learn preferences over internal reasoning processes. During RL, APRM reshapes the task reward so that policy optimization is guided by both outcomes and internal attention quality.

Through systematic analysis of APRM, we obtain three key findings: (1) Positive and negative trajectories exhibit systematic structural differences in the APRM concept-attention space. (2) APRM captures meaningful attention-derived signals and is sensitive to counterfactual attention perturbations. (3) APRM is not a proxy for existing metrics. It exhibits length-decoupling behavior and captures complementary process-quality information beyond existing reward supervision.

We further validate APRM by integrating it with representative RL methods. As a lightweight plug-in module with only approximately 46M parameters, APRM consistently improves avg@8 and pass@8, yielding an average pass@8 gain of 2.88%. Interestingly, APRM also encourages more efficient reasoning behaviors, with a tendency toward shorter reasoning trajectories while maintaining or improving performance. Our contributions are summarized as follows:

•

We reveal the phenomenon of the textual reward aliasing problem and demonstrate the information gain of using internal signals as rewards.

•

We propose APRM, a lightweight reward model with approximately 46M parameters that evaluates reasoning trajectories using attention-derived internal signals.

•

We systematically analyze the properties of APRM and further validate its effectiveness on downstream reinforcement learning tasks.

2 Motivation and Theoretical View of APRM

Problem Formulation.

Given a prompt x∼𝒟x\sim\mathcal{D}, an autoregressive policy πθ\pi_{\theta} generates a reasoning trajectory y∼πθ(⋅∣x)y\sim\pi_{\theta}(\cdot\mid x). A verifier VV evaluates the final answer and provides an outcome reward rout=V⁡(x,y)∈{0,1}r^{\mathrm{out}}=V(x,y)\in\{0,1\}. Meanwhile, the model produces internal representations, including hidden states 𝐇\mathbf{H} and attention maps 𝐀\mathbf{A}. Our objective is to improve reasoning performance by exploiting both external outcome feedback and internal process information. To this end, APRM, parameterized by ϕ\phi, estimates an internal process reward sAPRM=Sϕ​(𝐇,𝐀)s^{\mathrm{APRM}}=S_{\phi}(\mathbf{H},\mathbf{A}), which is incorporated into policy optimization as an auxiliary learning signal.

Proposition 1

(Textual Reward Aliasing). In self-attention, representations are computed as 𝐂=𝐀𝐕\mathbf{C}=\mathbf{A}\mathbf{V}, where 𝐀\mathbf{A} is the attention matrix and 𝐕\mathbf{V} is the value matrix. When rank⁡([𝐕,𝟏])<T,\operatorname{rank}([\mathbf{V},\mathbf{1}])<T, where TT is the sequence length. There exist distinct attention matrices 𝐀≠𝐀′\mathbf{A}\neq\mathbf{A}^{\prime} such that 𝐀𝐕=𝐀′​𝐕\mathbf{A}\mathbf{V}=\mathbf{A}^{\prime}\mathbf{V}.

Proposition 1 implies that distinct internal reasoning processes may induce indistinguishable textual trajectories and therefore receive identical rewards under outcome-level or textual supervision. In long-chain CoT scenarios, TT typically far exceeds VV. We refer to this phenomenon as textual reward aliasing. Existing ORMs and textual PRMs only observe external behavioral signals B=b⁡(X,Y)B=b(X,Y), where XX denotes the input prompt and YY denotes the generated trajectory. In contrast, APRM additionally incorporates latent reasoning states Z=(𝐇,𝐀)Z=(\mathbf{H},\mathbf{A}), consisting of hidden states 𝐇\mathbf{H} and attention dynamics 𝐀\mathbf{A}, thereby expanding the observable space of reward modeling. Full proofs are provided in Appendix G.

Proposition 2

(Non-redundant Internal Supervision). Let Q denote process quality. Under log-loss, APRM provides potential non-redundant information gain: I(Q;Z∣X,B)>0.I(Q;Z\mid X,B)>0.

Proposition 2 suggests that internal attention structures contain process-quality information beyond textual outputs and existing reward signals. We empirically validate this condition in Section 4.2.2 through a residual information test. Full proofs are provided in Appendix G.

Proposition 1 shows the existence of textual reward aliasing, and Proposition 2 further shows that the lost information contains reasoning-relevant signals. Based on these findings, we propose APRM to capture this previously overlooked yet informative signal.

3 Methods

3.1 APRM Architecture

Figure 2: Architecture of APRM.
Figure 2: Architecture of APRM.

Figure 2: Architecture of APRM.

As shown in Figure 2, we propose APRM as an internal process reward model for Transformer-based LLMs. Given the hidden states and attention maps produced during generation, APRM estimates a scalar score that reflects the quality of internal representations.

3.1.1 Attention-Fused Concept Pooling

Reasoning structure is often distributed across tokens and attention interactions. APRM therefore compresses them into latent reasoning concepts, enabling structured process-level modeling while reducing memory overhead. For each rollout sample, APRM uses the final-layer hidden states 𝐇∈ℝT×d\mathbf{H}\in\mathbb{R}^{T\times d} and constructs an average attention over heads and layers from the last KK layers:

𝐀=1K​∑ℓ=L−K+1L(1Nh​∑h=1Nh𝐀(ℓ,h))∈ℝT×T,\mathbf{A}=\frac{1}{K}\sum_{\ell=L-K+1}^{L}\left(\frac{1}{N_{h}}\sum_{h=1}^{N_{h}}\mathbf{A}^{(\ell,h)}\right)\in\mathbb{R}^{T\times T},

where NhN_{h} denotes the number of attention heads.

Then we construct attention-aware token representations by fusing each token representation with its attention-weighted context:

𝐙=LayerNorm(𝐇+MLP([𝐇;𝐀𝐇)).\begin{gathered}\mathbf{Z}=\mathrm{LayerNorm}\big(\mathbf{H}+\mathrm{MLP}([\mathbf{H};\mathbf{A}\mathbf{H})\big).\end{gathered}

To obtain latent reasoning concepts, APRM first uses a learnable projection matrix 𝐖​c∈ℝd×M\mathbf{W}c\in\mathbb{R}^{d\times M} to compute concept-assignment logits and applies softmax over the token dimension, followed by weighted pooling to derive the concept representations:

𝐖=Softmax​T​((𝐙𝐖c)⊤)∈ℝM×T,𝐂=𝐖𝐙∈ℝM×d.\mathbf{W}=\mathrm{Softmax}{T}\left((\mathbf{Z}\mathbf{W}_{c})^{\top}\right)\in\mathbb{R}^{M\times T},\qquad\mathbf{C}=\mathbf{W}\mathbf{Z}\in\mathbb{R}^{M\times d}.

Based on the same assignment matrix, APRM projects the token-level attention summary into the concept space and constructs a sparse normalized concept graph:

𝐀^c=TopKNorm⁡(𝐖𝐀𝐖⊤)∈ℝM×M,\hat{\mathbf{A}}_{c}=\mathrm{TopKNorm}\left(\mathbf{W}\mathbf{A}\mathbf{W}^{\top}\right)\in\mathbb{R}^{M\times M},

where TopKNorm⁡(⋅)\mathrm{TopKNorm}(\cdot) denotes row-wise top-kk sparsification followed by row normalization.

3.1.2 Edge-Biased Graph Attention Network

To enhance APRM’s ability to represent the model’s internal reasoning process and better capture the interactions between attention patterns and hidden states, we propose the Edge-Biased Graph Attention Network. Given the concept representations 𝐂\mathbf{C} and the sparse concept graph 𝐀^c\hat{\mathbf{A}}_{c}, APRM applies stacked Edge-Biased GAT layers to model dependencies among latent reasoning concepts. For each concept edge, 𝐀^c,i​j\hat{\mathbf{A}}_{c,ij} is used both as an additive bias in the attention logits and as a multiplicative gate on the transmitted message:

αi​j=Softmaxj(𝐐i​𝐊j⊤dh+b(𝐀^c,i​j)),𝐦i​j=αi​jg(𝐀^c,i​j)𝐕j.\begin{gathered}\alpha_{ij}=\mathrm{Softmax}_{j}\left(\frac{\mathbf{Q}_{i}\mathbf{K}_{j}^{\top}}{\sqrt{d_{h}}}+b(\hat{\mathbf{A}}_{c,ij})\right),\mathbf{m}_{ij}=\alpha_{ij}\,g(\hat{\mathbf{A}}_{c,ij})\,\mathbf{V}_{j}.\end{gathered}

Here, b⁡(⋅)b(\cdot) and g⁡(⋅)g(\cdot) denote the edge bias and edge gate functions, respectively.

After graph propagation, APRM applies mean pooling and max pooling over concept nodes. The pooled representations are concatenated and fed into an MLP to produce the final internal process score:

sAPRM=𝒮ϕ​(𝐇,𝐀).s_{\mathrm{APRM}}=\mathcal{S}_{\phi}(\mathbf{H},\mathbf{A}).

Due to space limitations, detailed layer-wise operations are provided in Appendix D.2.

Figure 3: APRM-enhanced reinforcement learning workflow.APRM computes an internal process advantage from its reward scores and combines it with the outcome-based advantage, while being periodically refreshed to mitigate distribution shift.
Figure 3: APRM-enhanced reinforcement learning workflow.APRM computes an internal process advantage from its reward scores and combines it with the outcome-based advantage, while being periodically refreshed to mitigate distribution shift.

Figure 3: APRM-enhanced reinforcement learning workflow.APRM computes an internal process advantage from its reward scores and combines it with the outcome-based advantage, while being periodically refreshed to mitigate distribution shift.

3.2 Cold-start Training of APRM

To train APRM, we first construct a rollout dataset using the backbone LLM. For each question xx, the model samples multiple reasoning trajectories: {yi}i=1N∼πθ0(⋅∣x),\{y_{i}\}_{i=1}^{N}\sim\pi_{\theta_{0}}(\cdot\mid x), where sampling is performed with temperature and top-pp sampling. Each trajectory is labeled by an answer verifier: riout∈{0,1}r_{i}^{\mathrm{out}}\in\{0,1\}, where riout=1r_{i}^{\mathrm{out}}=1 indicates that the trajectory reaches the correct final answer. For each trajectory, we extract internal features (𝐇i,𝐀i)(\mathbf{H}_{i},\mathbf{A}_{i}) from the backbone LLM and use them to train APRM. Thus, the APRM training dataset consists of tuples (x,yi,𝐇i,𝐀i,riout)(x,y_{i},\mathbf{H}_{i},\mathbf{A}_{i},r_{i}^{\mathrm{out}}).

Ranking Loss. Given a correct trajectory y+y^{+} and an incorrect trajectory y−y^{-} for the same question, APRM is trained to assign a higher internal score to the correct trajectory. The pairwise ranking loss is

ℒrank=max⁡(0,mr​k−(s+−s−)),\mathcal{L}_{\mathrm{rank}}=\max\big(0,m_{rk}-(s^{+}-s^{-})\big),

where s+=𝒮ϕ​(𝐇+,𝐀+)s^{+}=\mathcal{S}_{\phi}(\mathbf{H}^{+},\mathbf{A}^{+}), s−=𝒮ϕ​(𝐇−,𝐀−)s^{-}=\mathcal{S}_{\phi}(\mathbf{H}^{-},\mathbf{A}^{-}), and mr​km_{rk} is the ranking margin.

Counterfactual Loss. To encourage APRM to capture informative attention structures, we construct counterfactual attention patterns from positive trajectories. Specifically, we perturb the original attention map using token-level dropout, token permutation, and Gaussian noise. Given the original attention map 𝐀\mathbf{A} and the perturbed counterpart 𝐀~\tilde{\mathbf{A}}, APRM is encouraged to assign a higher score to the original internal process:

ℒcf=max⁡(0,mcf−[𝒮ϕ​(𝐇,𝐀)−𝒮ϕ​(𝐇,𝐀~)]),\mathcal{L}_{\mathrm{cf}}=\max\left(0,m_{\mathrm{cf}}-\left[\mathcal{S}_{\phi}(\mathbf{H},\mathbf{A})-\mathcal{S}_{\phi}(\mathbf{H},\tilde{\mathbf{A}})\right]\right),

where mcfm_{\mathrm{cf}} is the counterfactual margin.

Finally, the overall cold-start objective is

ℒAPRM=λrank​ℒrank+λcf​ℒcf.\mathcal{L}_{\mathrm{APRM}}=\lambda_{\mathrm{rank}}\mathcal{L}_{\mathrm{rank}}+\lambda_{\mathrm{cf}}\mathcal{L}_{\mathrm{cf}}.

3.3 APRM-enhanced Reinforcement Learning

As shown in Figure 3, during reinforcement learning, APRM provides an additional internal advantage signal. For each rollout group {yi}i=1G\{y_{i}\}_{i=1}^{G}, the base RL algorithm first computes its original token-level advantage Ai,tbaseA_{i,t}^{\mathrm{base}}. APRM assigns an internal score to each trajectory and incorporates its group-centered value into the policy advantage:

Ai,t=Ai,tbase+β​𝕀active​(x)​(𝒮ϕ​(𝐇i,𝐀i)−1G​∑j=1G𝒮ϕ​(𝐇j,𝐀j)),A_{i,t}=A_{i,t}^{\mathrm{base}}+\beta\,\mathbb{I}_{\mathrm{active}}(x)\left(\mathcal{S}_{\phi}(\mathbf{H}_{i},\mathbf{A}_{i})-\frac{1}{G}\sum_{j=1}^{G}\mathcal{S}_{\phi}(\mathbf{H}_{j},\mathbf{A}_{j})\right),

where β\beta controls the contribution of the model-internal signal. In this way, APRM can be seamlessly integrated with mainstream RL algorithms such as GRPO (Shao et al., 2024). To handle the drift of attention distributions during policy training, we periodically update APRM using newly generated rollouts from the latest policy. The detailed algorithmic process is provided in Appendix F.

4 Experiments

4.1 Experimental Setup

Datasets. We conduct experiments on four widely used reasoning benchmarks, including AIME2025, AMC, MATH500 (Lightman et al., 2024), and OlympiadBench (He et al., 2024). For training, we construct a unified dataset of 10K samples by randomly mixing problems from DAPO-17k (Yu et al., 2026) and MATH level 3 to 5 (Hendrycks et al., 2021). To reduce the impact of randomness, we report both average@8 and pass@8 as the primary evaluation metrics.

Baselines. We compare our method against several representative RL and PRM methods, including GRPO (Shao et al., 2024), GPG (Chu et al., 2025), GMPO (Zhao et al., 2025), GSPO (Zheng et al., 2025a), and FAPO (Ding et al., 2025). We adopt Qwen3-1.7b-Base and Qwen3-4b-Base (Yang et al., 2025) as the backbone models for all methods. For the APRM training, we set λrank=1.0\lambda_{\text{rank}}=1.0, λcf=0.05\lambda_{\text{cf}}=0.05, mrk=mcf=0.2m_{\text{rk}}=m_{\text{cf}}=0.2. We adopt the Verl framework to RL, and the maximum prompt length is 512 tokens. For Qwen3-1.7b-Base, the maximum response length is set to 4096 with β=0.3\beta=0.3. For Qwen3-4b-Base, the maximum response length is set to 3072 with β=0.1\beta=0.1. In addition, APRM is lightweight, introducing only about 46M additional parameters. More details about hyperparameters are shown in Appendix D.

4.2 Evaluations and Analysis of APRM

Table 1: Attention shuffle robustness analysis of APRM. Columns starting with ’S-’ indicate results after attention shuffling.

Model Acc S-Acc Score S-Score

Qwen3-1.7b-Base 78.55% 62.54% 0.4984 -0.9645

w/o ℒcf\mathcal{L}_{\mathrm{cf}} 76.43% 76.16% -0.1063 -0.4836

Qwen3-4b-Base 85.33% 75.72% -0.2145 -1.0180

To assess whether APRM captures attention-derived process information, we randomly shuffle attention summaries while keeping hidden states fixed. As shown in Table 1, shuffling reduces ranking accuracy from 78.55% to 62.54% for Qwen3-1.7b-Base and from 85.33% to 75.72% for Qwen3-4b-Base, indicating that APRM uses attention structure to rank reasoning trajectories rather than relying solely on hidden representations. Removing the counterfactual loss ℒcf\mathcal{L}_{\mathrm{cf}} substantially reduces attention sensitivity and ranking accuracy, highlighting its importance in encouraging attention-derived reasoning signals. Further training details and ablations on latent concept counts and GAT layers are provided in Appendix D.3. Figure 5 compares mean concept graphs 𝐀^c\hat{\mathbf{A}}_{c} from 600 trajectories, produced by the attention-fused concept pooling module. Correct and incorrect trajectories exhibit distinct concept-transition patterns in both models: correct Qwen3-1.7b-Base samples activate a broader range of transitions more strongly, while Qwen3-4b-Base shows a more selective redistribution of transition weights. These findings suggest systematic structural differences between positive and negative trajectories in APRM’s concept-attention space.

4.2.1 APRM Score Correlation Analysis

Figure 4: Stratified Pearson correlations between APRM scores and proxy quality signals within correct and incorrect samples on Qwen3-1.7b-Base and Qwen3-4b-Base backbones.
Figure 4: Stratified Pearson correlations between APRM scores and proxy quality signals within correct and incorrect samples on Qwen3-1.7b-Base and Qwen3-4b-Base backbones.

Figure 4: Stratified Pearson correlations between APRM scores and proxy quality signals within correct and incorrect samples on Qwen3-1.7b-Base and Qwen3-4b-Base backbones.

To assess whether APRM captures process quality beyond final-answer correctness, we compute Pearson correlations between APRM scores and GLM-5.1 judge ratings separately within correct and incorrect samples. For each backbone, the judge evaluates 200 questions with 6 rollouts each (1,200 samples) on coherence, conciseness, redundancy-related quality, step validity, and overall process quality. Results and judge prompts appear in Figure 4 and Appendix B, respectively.

Figure 5: Concept-level representation differences between correct and incorrect reasoning trajectories.
Figure 5: Concept-level representation differences between correct and incorrect reasoning trajectories.

Figure 5: Concept-level representation differences between correct and incorrect reasoning trajectories.

APRM retains discriminative power within both correctness subsets. Among correct samples, it correlates positively with overall process quality (r=0.399r=0.399 for 1.7B and r=0.355r=0.355 for 4B) and coherence (r=0.387r=0.387 and r=0.367r=0.367), but negligibly with response length (r=−0.082r=-0.082 and r=−0.027r=-0.027). Among incorrect samples, positive correlations persist, particularly for conciseness (r=0.565r=0.565 for 1.7B and r=0.393r=0.393 for 4B) and redundancy-related quality (r=0.502r=0.502 and r=0.419r=0.419), while negative length correlations suggest lower scores for verbose failed reasoning. Overall, APRM exhibits length-decoupling behavior and captures complementary process-quality information beyond existing reward supervision, rather than merely serving as a proxy for existing metrics.

4.2.2 Information Gain and Case Study.

To test whether APRM adds information beyond existing reward signals, we compare nested regressions Q∼X+BQ\sim X+B and Q∼X+B+ZQ\sim X+B+Z, where QQ is LLM-judged overall process quality, XX denotes prompt fixed effects, BB includes correctness and log response length, and ZZ is the APRM score. Adding ZZ improves R2R^{2} by 0.01710.0171 on Qwen3-4b-Base and 0.02120.0212 on Qwen3-1.7b-Base, with partial correlations of 0.33320.3332 and 0.31670.3167, respectively, and permutation-test p=0.0033p=0.0033. These results support I(Q;Z∣X,B)>0I(Q;Z\mid X,B)>0, indicating non-redundant process-quality information beyond prompt and output-level controls. Details appear in Appendix G.3.

Figure 6: Representative concept-level attribution for correct and incorrect rollouts from the same problem.
Figure 6: Representative concept-level attribution for correct and incorrect rollouts from the same problem.

Figure 6: Representative concept-level attribution for correct and incorrect rollouts from the same problem.

Figure 6 illustrates concept-level attribution for rollouts of the same problem. Concepts with the largest assignment differences between correct and incorrect rollouts are projected onto tokens through the learned assignment matrix 𝐖\mathbf{W}, grouping high-weight tokens into highlighted spans. The correct rollout scores higher, with highlights on symbolic derivation, while the incorrect rollout scores lower, with highlights on search-oriented behavior. This suggests greater sensitivity to reasoning structure than isolated numerical computation, favoring algebraically consistent, constraint-satisfying trajectories and penalizing superficially plausible but search-heavy or constraint-violating reasoning. More cases appear in Appendix C.

Table 2: Performance comparison of different RL algorithms and APRM-enhanced variants. Best results are highlighted in bold. Δ\Delta indicates the performance change of the method by applying the APRM.

Method AIME2025 AMC MATH500 Olympiad Average

avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8

Qwen3-1.7b-Base

Base 1.67% 10.00% 27.81% 60.00% 47.40% 75.80% 20.77% 41.99% 24.41% 46.95%

GRPO 5.00% 20.00% 39.69% 65.00% 61.43% 78.60% 27.32% 46.88% 33.36% 52.62%

GSPO 3.75% 13.33% 40.94% 72.50% 61.32% 78.40% 26.80% 47.03% 33.20% 52.82%

GPG 5.83% 20.00% 39.38% 67.50% 63.10% 80.00% 29.53% 50.15% 34.46% 54.41%

GMPO 4.58% 10.00% 41.25% 75.00% 62.22% 78.40% 29.66% 47.77% 34.43% 52.79%

FAPO 3.75% 13.3% 37.50% 65.00% 58.65% 74.80% 24.72% 42.73% 31.16% 48.97%

GRPO+APRM 6.25% 26.67% 42.50% 67.50% 61.82% 80.00% 28.62% 49.70% 34.80% 55.97%

Δ\Delta +1.25 +6.67 +2.81 +2.50 +0.40 +1.40 +1.30 +2.82 +1.44 +3.35

GSPO+APRM 4.58% 20.00% 43.13% 72.50% 60.90% 78.80% 28.15% 48.07% 34.19% 54.84%

Δ\Delta +0.83 +6.67 +2.19 +0.00 -0.42 +0.40 +1.35 +1.04 +0.99 +2.03

GPG+APRM 6.25% 26.67% 40.62% 75.00% 63.30% 80.40% 29.99% 50.45% 35.04% 58.13%

Δ\Delta +0.42 +6.67 +1.25 +7.50 +0.20 +0.40 +0.46 +0.30 +0.58 +3.72

Qwen3-4b-Base

Base 3.75% 13.33% 29.38% 77.50% 44.98% 81.40% 22.55% 51.63% 25.16% 55.97%

GRPO 10.00% 23.33% 57.81% 85.00% 72.65% 82.60% 41.36% 55.79% 45.46% 61.68%

GSPO 10.83% 23.33% 57.50% 77.50% 73.18% 84.40% 40.02% 57.72% 45.38% 60.74%

GPG 12.50% 26.67% 58.13% 85.00% 73.33% 84.40% 41.69% 59.64% 46.41% 63.93%

GMPO 12.50% 26.67% 59.69% 80.00% 73.70% 83.20% 41.26% 58.61% 46.79% 62.12%

FAPO 9.17% 23.33% 55.31% 80.00% 72.08% 83.60% 37.80% 54.30% 43.59% 60.31%

GRPO+APRM 11.67% 30.00% 56.88% 87.50% 73.13% 84.00% 41.12% 58.75% 45.70% 65.06%

Δ\Delta +1.67 +6.67 -0.94 +2.50 +0.47 +1.40 -0.24 +2.97 +0.24 +3.38

GPG+APRM 13.33% 30.00% 60.31% 87.50% 73.82% 85.60% 40.62% 60.24% 47.02% 65.84%

Δ\Delta +0.83 +3.33 +2.18 +2.50 +0.50 +1.20 -1.07 +0.60 +0.61 +1.91

4.3 Main Results on RL Training

Table 2 shows that adding APRM generally improves the corresponding RL algorithms across both model scales, especially on pass@8. On Qwen3-1.7b-Base, GRPO+APRM raises average pass@8 from 52.62% to 55.97%, while GPG+APRM achieves the best result with 58.13%. On Qwen3-4b-Base, GRPO+APRM improves pass@8 from 61.68% to 65.06%, and GPG+APRM obtains the best average performance with 47.02% avg@8 and 65.84% pass@8. The larger improvement on pass@8 suggests that APRM mainly enhances the quality and diversity of the candidate solution set rather than only improving the top-ranked single output. By providing a process-level auxiliary signal, APRM encourages the policy to assign higher probability to trajectories with more coherent intermediate reasoning structures.

4.3.1 RL Training Dynamics

Table 3: Ablation study on different β\beta on Qwen3-1.7b-base.

β\beta AIME2025 AMC MATH500

avg@8 pass@8 avg@8 pass@8 avg@8 pass@8

0.1 5.83% 26.67% 41.88% 67.50% 61.55% 79.00%

0.2 4.58% 16.67% 41.25% 72.50% 60.88% 77.40%

0.3 6.25% 26.67% 42.50% 67.50% 61.82% 80.00%

0.4 5.83% 23.33% 40.31% 70.00% 60.62% 76.80%

0.5 5.00% 20.00% 39.69% 62.50% 61.78% 78.40%

Figure 7 compares the training curves of GRPO and GRPO+APRM. Both methods improve rapidly in the early stage, while APRM gives more consistent gains in later training, especially on pass@8. On AIME, MATH500, and Olympiad, GRPO+APRM ends with a higher pass@8 than the GRPO baseline. The avg@8 curves show smaller but generally positive gains. Moreover, Figure 7 shows the mean APRM score within each 50-step training phase. In the early phase, the score increases steadily, indicating that the policy quickly learns to produce trajectories preferred by APRM. In later phases, the upward trend becomes slower but remains positive, suggesting continued improvement in APRM-valued reasoning quality. The phase-wise shifts are caused by periodic APRM refreshing, which changes the score scale after each update.

Figure 7: Training dynamics of GRPO and GRPO+APRM.
Figure 7: Training dynamics of GRPO and GRPO+APRM.

Figure 7: Training dynamics of GRPO and GRPO+APRM.

Method Model Category Average

GPG Qwen3-1.7b-Base Correct 701.62 / 661.38 / -5.74%

Incorrect 900.88 / 884.62 / -1.80%

Overall 809.38 / 784.88 / -3.03%

Qwen3-4b-Base Correct 847.12 / 723.50 / -14.59%

Incorrect 1102.00 / 902.00 / -18.15%

Overall 928.25 / 769.75 / -17.08%

GRPO Qwen3-1.7b-Base Correct 564.88 / 693.75 / +22.81%

Incorrect 706.00 / 880.12 / +24.66%

Overall 636.38 / 778.00 / +22.25%

Qwen3-4b-Base Correct 743.00 / 670.12 / -9.81%

Incorrect 912.25 / 823.25 / -9.76%

Overall 783.50 / 721.25 / -7.95%

GSPO Qwen3-1.7b-Base Correct 634.00 / 602.62 / -4.95%

Incorrect 777.75 / 842.00 / +8.26%

Overall 712.62 / 724.25 / +1.63%

Table 4: Median response token length across benchmarks. Each entry reports baseline / APRM / relative change.

4.3.2 Ablation Study and Analysis on Response Length

To further examine the behavioral effect of APRM, we compare the response length of APRM-enhanced models with their corresponding baselines across benchmarks. We report the median generated token length. The results are summarized in Table 4. Detailed results and analysis are shown in Appendix E. APRM optimizes the model’s reasoning patterns, which may affect the output length differently across various methods. Overall, however, it exhibits a tendency to produce more concise responses. The largest overall decrease is observed for GPG on Qwen3-4b-Base (-17.08%), suggesting that APRM helps the model adapt its token budget to problem difficulty during internal deliberation. Table 3 studies the effect of the β\beta on the final advantage. A moderate value performs best overall, with β=0.3\beta=0.3 achieving the strongest avg@8 on AIME2025 and AMC, as well as the highest pass@8 on MATH500. Smaller values underuse the process signal, while larger values can overemphasize APRM and weaken the outcome reward.

4.3.3 Generalization Experiments

To further evaluate the generalizability of APRM, we conduct two additional experiments on Qwen3.5-2B instruct and code generation. The cold-start APRM achieves a pairwise ranking accuracy of 91.93%. For cross-task validation, we extend APRM to code generation using 3,000 problems from DeepCoder-Preview-Dataset. The code-domain cold-start APRM achieves a pairwise ranking accuracy of 75.56%. As shown in Table 5, on mathematical reasoning, DAPO+APRM improves the average Avg@8 and Pass@8 by 1.34 and 4.78 percentage points, respectively. On code generation, it achieves gains of 1.64 and 2.96 percentage points, respectively. These results demonstrate that APRM generalizes across instruction-tuned models and task domains, supporting its potential as a general-purpose internal process reward model.

Table 5: Generalization experiments across models and tasks.

Method Mathematical Reasoning Code Generation

AIME2025 AMC MATH500 Olympiad Average LiveCodeBench v5 HumanEval Average

avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8 avg@8 pass@8

Qwen3.5-2b

Instruct 10.42 20.00 50.31 77.50 68.23 85.20 39.32 61.28 42.07 61.00 10.08 21.15 54.88 79.88 32.48 50.51

GRPO 20.83 33.33 66.25 85.00 75.78 87.60 48.50 64.39 52.84 67.58 – – – – – –

DAPO 21.67 33.33 72.50 90.00 79.35 88.60 52.36 66.91 56.47 69.71 14.02 23.30 61.59 83.54 37.80 53.42

DAPO+APRM 25.00 43.33 70.00 95.00 80.45 89.60 55.80 70.03 57.81 74.49 16.08 26.16 62.80 86.59 39.44 56.38

Δ\Delta vs. DAPO +3.33 +10.00 -2.50 +5.00 +1.10 +1.00 +3.44 +3.12 +1.34 +4.78 +2.06 +2.87 +1.22 +3.05 +1.64 +2.96

5 Related Works

5.1 RL for LLM

Early RL-based approaches commonly employ PPO-style (Schulman et al., 2017) optimization. By eliminating the value model, GRPO (Shao et al., 2024) has largely emerged as a widely adopted alternative to PPO. Following this direction, GPG (Chu et al., 2025) revisits vanilla policy gradient and directly optimizes the original RL objective without relying on surrogate losses; GSPO (Zheng et al., 2025a) moves policy optimization from token-level importance ratios to sequence-level likelihood ratios; and GMPO (Zhao et al., 2025) introduces a geometric-mean objective to reduce sensitivity to outlier rewards and extreme importance ratios. Another line of work focuses on designing richer process reward signals to address the sparsity of outcome supervision (Zhang et al., 2024; Setlur et al., 2025; Gao et al., 2024). These methods have shown that process-level supervision can substantially improve mathematical reasoning. RLAnything (Wang et al., 2026) proposes a dynamic closed-loop RL framework that jointly evolves the environment, policy, and reward model. However, these approaches still primarily define rewards over external outcomes, textual trajectories, or task-level interactions, leaving model-internal reasoning signals largely unexplored.

5.2 Attention Mechanism in RL

Recent circuit analysis studies have shown that attention-based sub-circuits contribute to and implement interpretable model behaviors (Lan et al., 2024; Merullo et al., 2024). Furthermore, causal intervention methods have demonstrated that certain attention heads have identifiable functional contributions to model outputs (Kissane et al., 2024; Nam et al., 2026). These findings suggest that attention patterns are not merely superficial statistical correlations with model outputs, but can provide partial observations of the internal computation underlying model behavior. TCRM (Nikulkov, 2026) exploits causal attention with temporal regularization for smooth token-level values. Extending beyond linear reasoning, GraphPRM (Peng et al., 2025) models trajectories as graphs with GAT-based dependency learning for error localization. To mitigate PRM-induced verbosity and length bias, CoLD (Zheng et al., 2025b) uses feature perturbation to force a uniform self-attention distribution in the bias estimator, precisely filtering out the PRM’s length bias via counterfactual inference. Multilingual PRM (Wang et al., 2025) further aligns attention representations across languages for robust multilingual policies. Unlike reward-centric methods, RAL (Li et al., 2026) directly optimizes self-attention distributions as the RL policy itself. Unlike prior work, APRM is the first to directly supervise a model’s internal signals, scoring attention and hidden states directly in the latent space.

6 Conclusion

We reveal textual reward aliasing, where identical or similar external trajectories may conceal distinct internal reasoning processes and thus receive indistinguishable rewards. To address this, we propose APRM, a lightweight internal process reward model with 46M parameters that scores hidden-state and attention-based reasoning signals. Integrated with existing RL algorithms, APRM provides complementary supervision and consistently improves reasoning performance. Interestingly, APRM also encourages more efficient reasoning behaviors, with a tendency toward shorter reasoning trajectories while maintaining or improving performance. These results suggest a broader direction for RL that rewards not only what models say but also how they think.

Reproducibility statement

To facilitate reproducibility, we provide detailed descriptions of our experimental configurations, model sources, and hyperparameter settings in Section 4.1. Additional implementation details, experimental settings, prompts, and analysis are provided in Appendix D. Furthermore, we provide an anonymous code repository here containing the core implementation and results for our experiments.

AI USE STATEMENT

In the process of writing this paper, we used AI assistants to check for syntactic and grammatical errors in the manuscript. We carefully reviewed and verified all revised content.

References

Barez et al. (2025) F. Barez, T. Wu, I. Arcuschin, M. Lan, V. Wang, N. Siegel, N. Collignon, C. Neo, I. Lee, A. Paren, et al. Chain-of-thought is not explainability. Preprint, alphaXiv, pp. v1. Cited by: §1.

Cao et al. (2024) Y. Cao, H. Zhao, Y. Cheng, T. Shu, Y. Chen, G. Liu, G. Liang, J. Zhao, J. Yan, and Y. Li Survey on large language model-enhanced reinforcement learning: concept, taxonomy, and methods. IEEE Transactions on Neural Networks and Learning Systems 36 (6), pp. 9737–9757. Cited by: §1.

Chang et al. (2024) Y. Chang, X. Wang, J. Wang, Y. Wu, L. Yang, K. Zhu, H. Chen, X. Yi, C. Wang, Y. Wang, et al. A survey on evaluation of large language models. ACM transactions on intelligent systems and technology 15 (3), pp. 1–45. Cited by: §1.

Chen et al. (2025) Y. Chen, J. Benton, A. Radhakrishnan, J. Uesato, C. Denison, J. Schulman, A. Somani, P. Hase, M. Wagner, F. Roger, et al. Reasoning models don’t always say what they think. arXiv preprint arXiv:2505.05410. Cited by: §1.

Chu et al. (2025) X. Chu, H. Huang, X. Zhang, F. Wei, and Y. Wang Gpg: a simple and strong reinforcement learning baseline for model reasoning. arXiv preprint arXiv:2504.02546. Cited by: §4.1, §5.1.

Ding et al. (2025) Y. Ding, C. Zhang, J. Li, H. Lin, and M. Zhang FAPO: flawed-aware policy optimization for efficient and reliable reasoning. arXiv preprint arXiv:2510.22543. Cited by: §4.1.

Gao et al. (2024) J. Gao, S. Xu, W. Ye, W. Liu, C. He, W. Fu, Z. Mei, G. Wang, and Y. Wu On designing effective rl reward at training time for llm reasoning. arXiv preprint arXiv:2410.15115. Cited by: §1, §5.1.

He et al. (2024) C. He, R. Luo, Y. Bai, S. Hu, Z. Thai, J. Shen, J. Hu, X. Han, Y. Huang, Y. Zhang, et al. Olympiadbench: a challenging benchmark for promoting agi with olympiad-level bilingual multimodal scientific problems. In Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 3828–3850. Cited by: §4.1.

Hendrycks et al. (2021) D. Hendrycks, C. Burns, S. Kadavath, A. Arora, S. Basart, E. Tang, D. Song, and J. Steinhardt Measuring mathematical problem solving with the math dataset. arXiv preprint arXiv:2103.03874. Cited by: §4.1.

Kissane et al. (2024) C. Kissane, R. Krzyzanowski, J. I. Bloom, A. Conmy, and N. Nanda Interpreting attention layer outputs with sparse autoencoders. arXiv preprint arXiv:2406.17759. Cited by: §1, §5.2.

Lan et al. (2024) M. Lan, P. Torr, and F. Barez Towards interpretable sequence continuation: analyzing shared circuits in large language models. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 12576–12601. Cited by: §1, §5.2.

Li et al. (2026) B. Li, J. Ni, C. Qu, I. Miao, L. Yang, X. Fu, M. Chen, and D. Z. Cheng Reinforced attention learning. arXiv preprint arXiv:2602.04884. Cited by: §5.2.

Lightman et al. (2024) H. Lightman, V. Kosaraju, Y. Burda, H. Edwards, B. Baker, T. Lee, J. Leike, J. Schulman, I. Sutskever, and K. Cobbe Let’s verify step by step. In International Conference on Learning Representations, Vol. 2024, pp. 39578–39601. Cited by: §4.1.

Merullo et al. (2024) J. Merullo, C. Eickhoff, and E. Pavlick Talking heads: understanding inter-layer communication in transformer language models. Advances in Neural Information Processing Systems 37, pp. 61372–61418. Cited by: §1, §5.2.

Nam et al. (2026) A. Nam, H. Conklin, Y. Yang, T. Griffiths, J. D. Cohen, and S. Leslie Causal head gating: a framework for interpreting roles of attention heads in transformers. Advances in Neural Information Processing Systems 38, pp. 115609–115631. Cited by: §1, §5.2.

Nikulkov (2026) A. Nikulkov Reward models are secretly value functions: temporally coherent reward modeling. arXiv preprint arXiv:2604.22981. Cited by: §5.2.

Peng et al. (2025) M. Peng, N. Chen, Z. Suo, and J. Li Rewarding graph reasoning process makes llms more generalized reasoners. In Proceedings of the 31st ACM SIGKDD Conference on Knowledge Discovery and Data Mining V. 2, pp. 2257–2268. Cited by: §5.2.

Plaat et al. (2025) A. Plaat, M. van Duijn, N. Van Stein, M. Preuss, P. van der Putten, and K. J. Batenburg Agentic large language models, a survey. Journal of Artificial Intelligence Research 84. Cited by: §1.

Schulman et al. (2017) J. Schulman, F. Wolski, P. Dhariwal, A. Radford, and O. Klimov Proximal policy optimization algorithms. arXiv preprint arXiv:1707.06347. Cited by: §5.1.

Setlur et al. (2025) A. Setlur, C. Nagpal, A. Fisch, X. Geng, J. Eisenstein, R. Agarwal, A. Agarwal, J. Berant, and A. Kumar Rewarding progress: scaling automated process verifiers for llm reasoning. In International Conference on Learning Representations, Vol. 2025, pp. 60808–60838. Cited by: §5.1.

Shao et al. (2024) Z. Shao, P. Wang, Q. Zhu, R. Xu, J. Song, X. Bi, H. Zhang, M. Zhang, Y. Li, Y. Wu, et al. Deepseekmath: pushing the limits of mathematical reasoning in open language models. arXiv preprint arXiv:2402.03300. Cited by: §3.3, §4.1, §5.1.

Vaswani et al. (2017) A. Vaswani, N. Shazeer, N. Parmar, J. Uszkoreit, L. Jones, A. N. Gomez, Ł. Kaiser, and I. Polosukhin Attention is all you need. Advances in neural information processing systems 30. Cited by: §1.

Veličković et al. (2017) P. Veličković, G. Cucurull, A. Casanova, A. Romero, P. Lio, and Y. Bengio Graph attention networks. arXiv preprint arXiv:1710.10903. Cited by: §1.

Wang et al. (2024) L. Wang, C. Ma, X. Feng, Z. Zhang, H. Yang, J. Zhang, Z. Chen, J. Tang, X. Chen, Y. Lin, et al. A survey on large language model based autonomous agents. Frontiers of Computer Science 18 (6), pp. 186345. Cited by: §1.

Wang et al. (2025) W. Wang, M. Wu, B. Haddow, and A. Birch Demystifying multilingual chain-of-thought in process reward modeling. arXiv preprint arXiv:2502.12663. Cited by: §5.2.

Wang et al. (2026) Y. Wang, T. Xie, K. Shen, M. Wang, and L. Yang RLAnything: forge environment, policy, and reward model in completely dynamic rl system. arXiv preprint arXiv:2602.02488. Cited by: §5.1.

Xi et al. (2026) Z. Xi, C. Liao, G. Li, Z. Zhang, W. Chen, B. Wang, S. Jin, Y. Zhou, J. Guan, W. Wu, et al. Agentprm: process reward models for llm agents via step-wise

Images from the source

Figure 8: Additional APRM case study 1.
Figure 8: Additional APRM case study 1.

Sources

← Back to Daily AI Report