potentialpaper

From Outcome to Representation: Tracing Reasoning Mechanisms through Integrated Policy Gradient

Changming Li, Kaixing Zhang, Yingdong Shi, Haoyun Xu, Zheng Zhang, Kaitao Song, Kan Ren

NeurIPS 2026

Edit this page

Or clone it with git

Run in a terminal:

Needs Git LFS. To push, use an API key from your profile as the password.

Or let your agent set it up

It checks and sets up everything: signing in, git, the clone, credentials and an SSH key.

TL;DR. An outcome-oriented framework that attributes and interprets LLM reasoning by identifying internal components via trajectory-level policy gradient signals.

Abstract. Large Language Models (LLMs) demonstrate remarkable reasoning capabilities, yet the internal mechanisms driving these multi-step processes remain opaque. Existing mechanistic interpretability approaches often rely on superficial text-pattern co-occurrences or capture only short-term effects, struggling to trace the long-horizon, outcome-driven influence of internal components such as neurons or sparse features in multi-step reasoning. In this paper, we introduce Integrated Policy Gradient (IPG), a novel, training-free framework that brings policy-based attribution into mechanistic interpretability for LLM reasoning. Grounded in outcome-oriented and sequential-influence-aware principles, it backpropagates outcome-level, non-differentiable behavioral signals (e.g., reasoning outcome correctness) through entire inference trajectories, utilizing path integration to isolate outcome-relevant mediators at component level for reliable attribution. This provides a linear approximation of Causal Mediation Analysis (CMA) in reasoning. Empirical evaluations demonstrate that IPG achieves precise localization and reveals mechanistic insights by identifying sparse, concentrated subsets of internal components associated with specific reasoning behaviors. Our method also enables modulation of reasoning capabilities, offering a powerful and reliable framework for understanding LLM reasoning.

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 paper
How does this paper connect to your work? Write how you built on it, compared with it or reproduced it, or add a summary, a critique or errata.
Or make it interactive:
Start writing

edit · history

DateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:50 UTC.

Program Chairs · DecisionOpenReview ↗
Decision
Accept (poster)
Read decision
Meta-review

This work proposes Integrated Policy Gradient, a training-free framework designed for mechanistic interpretability in multi-step reasoning tasks in LLMs. IPG combines policy gradient principles with path integration to propagate outcome-level, non-differentiable behavioral signals back through multi-step generation trajectories. Authors frame IPG as a linear approximation of Causal Mediation Analysis aimed at isolating sparse, outcome-relevant internal components. Empirical evaluations span multiple reasoning datasets and models to validate component localization and causal intervention capabilities.

This work combines policy gradients with path integration to address credit assignment over long, multi-step generation traces in LLMs of mechanistic interpretability. Also, the method offers high flexibility and provides a practical approach to interpreting complex sequential behaviors beyond short-context or single-token predictions.

However, there are several weaknesses raised by multiple reviewers:

  • This work heavily claims that IPG acts as a linear approximation of Causal Mediation Analysis and isolates genuine causal mediators. However, attribution scores alone do not formalize causal mediation, nor do the authors explicitly state the underlying causal assumptions or compare IPG against direct mediation estimates.
  • This work compares against relatively simple baselines e.g., random, max activation. It lacks comparisons against standard feature or neuron attribution baselines such as standard Integrated Gradients, NeuronSHAP, or LRP or established steering or intervention methods, making it difficult to isolate the exact value added by the policy gradient component.
  • It remains unclear if performance changes during intervention experiments reflect actual reasoning-specific mechanisms or auxiliary factors such as shifts in activation norms, model confidence, verbosity, or answer formatting
  • statistical significance and standard deviations are missing for baseline methods

Based on those weaknesses above, authors should further clarify:

  • authors should formally state the theoretical assumptions under which IPG approximates Causal Mediation Analysis and provide either empirical comparisons against direct mediation estimates on a subset of data or explicitly tone down the theoretical claims regarding formal causal mediation throughout the paper
  • authors should provide comparison results against standard attribution methods, like most importantly standard Integrated Gradients and/or standard layer or neuron attribution methods, to empirically demonstrate why accounting for the policy gradient or sequential RL formulation is strictly necessary over standard attribution techniques.
  • authors also need to provide evidence or targeted analysis showing that interventions on IPG-selected components specifically alter reasoning pathways rather than trivial generation attributes e.g., changing generation length, formatting, or activation norms.
  • authors need to provide error bars or standard deviations and statistical significance tests for all baseline comparisons, not just IPG, and further include a brief wall-clock time or computational cost comparison for calculating IPG attributions versus standard forward and backward passes.
Final justification

authors provided rigorous comparisons against Integrated Gradients, Neuron Shapley, and AttnLRP across four benchmarks GSM8K, MATH, AIME, GPQA in the neuron intervention setting, where IPG consistently achieved the strongest performance. Authors also evaluated IPG against a direct group-based CMA ablation proxy on MATH-500 using both Qwen2.5-Math-1.5B-Instruct and a long-trace reasoning model DeepSeek-R1-Distill-Qwen-1.5B, demonstrating significantly higher overlap with genuine causal mediators. Authors finally provided a detailed revision blueprint and concrete text previews that tone down the formal causal mediation claims, properly position IPG as a sequential attribution extension, and streamline the experimental structure.

Given that authors have supplied concrete experimental results and specific, actionable revision text that directly resolve the reviewers' technical and framing concerns, I recommend to accept. However, authors are strictly required to integrate all promised baseline tables, CMA proxy comparisons, and narrative restructuring into the camera-ready version.

Area Chair 4AHN · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

This work proposes Integrated Policy Gradient, a training-free framework designed for mechanistic interpretability in multi-step reasoning tasks in LLMs. IPG combines policy gradient principles with path integration to propagate outcome-level, non-differentiable behavioral signals back through multi-step generation trajectories. Authors frame IPG as a linear approximation of Causal Mediation Analysis aimed at isolating sparse, outcome-relevant internal components. Empirical evaluations span multiple reasoning datasets and models to validate component localization and causal intervention capabilities.

This work combines policy gradients with path integration to address credit assignment over long, multi-step generation traces in LLMs of mechanistic interpretability. Also, the method offers high flexibility and provides a practical approach to interpreting complex sequential behaviors beyond short-context or single-token predictions.

However, there are several weaknesses raised by multiple reviewers:

  • This work heavily claims that IPG acts as a linear approximation of Causal Mediation Analysis and isolates genuine causal mediators. However, attribution scores alone do not formalize causal mediation, nor do the authors explicitly state the underlying causal assumptions or compare IPG against direct mediation estimates.
  • This work compares against relatively simple baselines e.g., random, max activation. It lacks comparisons against standard feature or neuron attribution baselines such as standard Integrated Gradients, NeuronSHAP, or LRP or established steering or intervention methods, making it difficult to isolate the exact value added by the policy gradient component.
  • It remains unclear if performance changes during intervention experiments reflect actual reasoning-specific mechanisms or auxiliary factors such as shifts in activation norms, model confidence, verbosity, or answer formatting
  • statistical significance and standard deviations are missing for baseline methods

Based on those weaknesses above, authors should further clarify:

  • authors should formally state the theoretical assumptions under which IPG approximates Causal Mediation Analysis and provide either empirical comparisons against direct mediation estimates on a subset of data or explicitly tone down the theoretical claims regarding formal causal mediation throughout the paper
  • authors should provide comparison results against standard attribution methods, like most importantly standard Integrated Gradients and/or standard layer or neuron attribution methods, to empirically demonstrate why accounting for the policy gradient or sequential RL formulation is strictly necessary over standard attribution techniques.
  • authors also need to provide evidence or targeted analysis showing that interventions on IPG-selected components specifically alter reasoning pathways rather than trivial generation attributes e.g., changing generation length, formatting, or activation norms.
  • authors need to provide error bars or standard deviations and statistical significance tests for all baseline comparisons, not just IPG, and further include a brief wall-clock time or computational cost comparison for calculating IPG attributions versus standard forward and backward passes.
Final justification

authors provided rigorous comparisons against Integrated Gradients, Neuron Shapley, and AttnLRP across four benchmarks GSM8K, MATH, AIME, GPQA in the neuron intervention setting, where IPG consistently achieved the strongest performance. Authors also evaluated IPG against a direct group-based CMA ablation proxy on MATH-500 using both Qwen2.5-Math-1.5B-Instruct and a long-trace reasoning model DeepSeek-R1-Distill-Qwen-1.5B, demonstrating significantly higher overlap with genuine causal mediators. Authors finally provided a detailed revision blueprint and concrete text previews that tone down the formal causal mediation claims, properly position IPG as a sequential attribution extension, and streamline the experimental structure.

Given that authors have supplied concrete experimental results and specific, actionable revision text that directly resolve the reviewers' technical and framing concerns, I recommend to accept. However, authors are strictly required to integrate all promised baseline tables, CMA proxy comparisons, and narrative restructuring into the camera-ready version.

2 comments
Authors · CommentOpenReview ↗

Response to Meta-review and Discussion Summary

We sincerely thank the Area Chair and Reviewers for their time and constructive feedback. During the discussion period, we addressed the major concerns raised in the reviews and received positive feedback from all three reviewers:

  • Reviewer zMzA (Accept): maintained Accept and highlighted the method as innovative, well-motivated, and potentially useful for interpreting long reasoning traces.
  • Reviewer sy5y (Revised rating to above acceptance bar): identified the paper's originality and potential significance and indicated that the main concerns had been addressed and the rating would be revised above the acceptance threshold.
  • Reviewer B7C3 (Intends to raise the score): acknowledged concerns were resolved after discussion and will raise the score.

Reviewer discussion converged positively after rebuttal. Reviewers recognized the novelty, significance, and practical value of the proposed IPG framework, while the main concerns regarding (1) causal interpretation, (2) baseline comparisons, (3) reasoning-specific mechanisms, and (4) statistical and computational analysis have all been addressed.

We respectfully ask the Area Chair to consider these updates in the final assessment, and sincerely thank everyone for their time and feedback, which have significantly strengthened the paper. All additional experiments and clarifications will be incorporated into the revised manuscript.

Authors · CommentOpenReview ↗

Summary of Responses to Major Concerns

For your convenience, we summarize our responses below

W1: Attribution scores alone do not formalize causal mediation, nor do the authors explicitly state the causal assumptions.

We clarify that IPG does not claim to establish mediation through scaling intervention, instead, it serves as a computationally tractable, linear approximation of exact CMA. Details are provided in our response to Reviewer zMzA and B7C3.

  • Theoretical Justification: Following recent CMA study [1], the Indirect Effect (IE) of a mediator hih_i can be linearly approximated via a first-order Taylor expansion in terms of metric mm and mediator hih_i given an input xx:
    IE≈m(hi)−m(hi′)≈∂m∂hi∣x(hi−hi′)IE \approx m(h_i)-m(h'_i)\approx \frac{\partial m}{\partial h_i}\bigg|_x(h_i-h'_i)

Our IPG extends this by accumulating these local approximations along an interpolation path, yielding a more robust estimate of the IE.

  • Empirical Validation: We validated IPG against exact CMA (via group zero-ablation) on a MATH subset. As shown in Table A in response to Reviewer zMzA, IPG significantly better aligns with true causal mediators (with mean overlap ratio 0.3 comparied to baselines around 0.08), supporting its validity as a CMA proxy.

W2: This work lacks comparisons against standard feature or neuron attribution baselines.

In our paper, we compare to not only simple baselines but also the SoTA reasoning MI baselines (R.N[2], C.V[3], SAE-R[4]). We added representative baselines based on IG, Neuron Shapley, and AttnLRP in the rebuttal phase, which will be included in our revised paper.

Conclusion: All the attribution baselines improve over the original model, while IPG performs best on all 4 benchmarks. On GSM8K/MATH/AIME/GPQA, IPG achieves 84.61/65.80/20.00/35.35%, compared with 83.62/64.80/16.67/30.30% for the strongest baseline on each task. It suggests that trajectory-level credit assignment is particularly beneficial for attribution in multi-step, long-term reasoning settings. Details are reported in Table A of our response to Reviewer sy5y.


W3: It remains unclear if performance changes during intervention experiments reflect actual reasoning-specific mechanisms or auxiliary factors.

We isolate the reasoning improvements from (1) Qualitative Evidence, (2) Verbosity, (3) Formatting & Answer Extraction (4) Activation Norms & Confidence. Details are provided in Table C,D,E of our response to Reviewer B7C3.

1. Qualitative Evidence of Reasoning Improvements: Case studies in Figure 3 and Appendix D.7.2 in the paper show that IPG corrects flawed reasoning steps by altering the semantic and logical trajectory of generation. Mechanistically, IPG-selected features distinguish reasoning from non-reasoning contexts (Figure 1) and correspond to specific reasoning behaviors at distinct temporal stages (Findings 6 and 7).

2. Quantitative Analysis of Auxiliary Factors:

  • Verbosity Remains Stable. The average output length changes only slightly (±20 tokens) across 4 datasets without a consistent increasing or decreasing trend.
  • Formatting & Answer Extraction are Unaffected. We employ an LLM-as-a-Judge (GPT-5.4) evaluation. The results suggest that the gains stem almost entirely from a reduction in reasoning errors.
  • Activation Norms Increase While Output Confidence Remains Stable. IPG increases the intervened-layer (L2) norm from 201.28 to 214.57, while final-layer entropy remains nearly unchanged. This suggests that IPG amplifies internal reasoning-related representations without perturbing output confidence.

W4: Statistical significance and standard deviations are missing for baseline methods and time or computational cost comparison is needed.

Statistical Significance for full results (half-width 95% CI) are provided in Table B in our response to Reviewer B7C3. We will include these in the revised paper.

Computational analysis: IPG’s complexity remains O(1)O(1) with respect to the model's number of mediators, compared with O(N)O(N) for CMA, rendering the overhead negligible at scale. Empirically, on a single NVIDIA A40 (Qwen2.5-Math-1.5B), IPG completes attribution in 1.5 hours, significantly faster than recent baselines like R.N. [5] (4.5 hours) and SAE-R [6] (2.0 hours).

Reference:
[1] The Quest for the Right Mediator: Surveying Mechanistic Interpretability for NLP Through the Lens of Causal Mediation Analysis. Mueller et al.
[2] Axiomatic attribution for deep networks, Sundararajan et al.
[3] Neuron Shapley: Discovering the Responsible Neurons, Ghorbani et al.
[4] AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers, Achtibat et al.
[5] An investigation of neuron activation as a unified lens to explain chain-of-thought eliciting arithmetic reasoning of llms, Rai, et al.
[6] I have covered all the bases here: Interpreting reasoning features in large language models via sparse autoencoders, Galichin, et al.

Reviewer B7C3OpenReview ↗
Rating
4/6
Confidence
3/5
Quality
2/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

Existing LLM interpretability methods over-rely on co-occurrences and neglect the sequential influence. To address these limitations, this paper proposed the Integrated Policy Gradient (IPG), a training-free framework for mechanistic interpretability of LLM reasoning. It aims to attribute outcome-level signals to internal model components, such as neurons or sparse autoencoder features. Empirical evaluations on several reasoning benchmarks with various models show the effectiveness of IPG on finding components related to reasoning performance.

Strengths and weaknesses

This paper focuses on the LLM explainability problems. To address the over-reliance on co-occurrences and neglect of sequential influence, it presents a new framework. Experiments span multiple reasoning benchmarks and models, yielding several key observations. However, there are some limitations:

  • The paper claims IPG as approximating causal mediation analysis and identifying genuine reasoning mediators. However, attribution scores and scaling interventions do not fully establish mediation in the causal sense. The paper should more clearly state the assumptions under IPG causal mediation.
  • Following the aforementioned point, it is suggested to compare IPG against exact or more direct mediation estimates to support the claim of "linear approximation of causal mediation analysis".
  • Only results for IPGs are provided with standard deviations. Some performance gains of IPG are modest and unstable. The paper should provide statistical significance tests and standard deviations for all methods, not just IPG.
  • It is unclear whether intervention improvements genuinely and necessarily imply reasoning-specific mechanisms. Scaling selected components could affect several factors, such as activation norm, confidence, verbosity, formatting, or answer extraction, rather than reasoning itself. A more in-depth analysis and more rigorous empirical settings are needed.
  • Both hidden states and modified hidden states use the same notation z\mathbf{z}, which is unclear.
  • Although IPG is training-free, the attribution computation can still require significant resources. It is suggested to provide a computational cost comparison.
  • Several typos and grammatical issues need to be fixed, such as "as a a multi-step ..." and "LLM internal representations encodes".
Questions
  • The paper claims IPG as approximating causal mediation analysis and identifying genuine reasoning mediators. However, attribution scores and scaling interventions do not fully establish mediation in the causal sense. The paper should more clearly state the assumptions under IPG causal mediation.
  • Following the aforementioned point, it is suggested to compare IPG against exact or more direct mediation estimates to support the claim of "linear approximation of causal mediation analysis".
  • Only results for IPGs are provided with standard deviations. Some performance gains of IPG are modest and unstable. The paper should provide statistical significance tests and standard deviations for all methods, not just IPG.
  • It is unclear whether intervention improvements genuinely and necessarily imply reasoning-specific mechanisms. Scaling selected components could affect several factors, such as activation norm, confidence, verbosity, formatting, or answer extraction, rather than reasoning itself. A more in-depth analysis and more rigorous empirical settings are needed.
  • Both hidden states and modified hidden states use the same notation z\mathbf{z}, which is unclear.
  • Although IPG is training-free, the attribution computation can still require significant resources. It is suggested to provide a computational cost comparison.
  • Several typos and grammatical issues need to be fixed, such as "as a a multi-step ..." and "LLM internal representations encodes".
Limitations

yes

Final justification

The rebuttal addressed most of my concerns. However, I agree with Reviewer sy5y that it is difficult to evaluate these improvements without seeing the revised manuscript. I would raise my score to 4 if the final version could incorporate the revisions well.

Formatting concerns

N/A

6 comments
Authors · CommentOpenReview ↗

W1: IPG’s causal mediation claims require explicit assumptions; attribution and scaling interventions alone do not establish mediation.

R1: We thank the reviewer for this insightful comment. We agree that attribution scores and scaling interventions do not fully establish mediation in the strict causal sense. We do not intend to claim that IPG establishes mediation through scaling intervention, but rather that the IPG attribution itself serves as a computationally tractable, linear approximation of Causal Mediation Analysis (CMA).

1. Motivation: Approximation is Necessary

IPG aims to analyze long-range trajectories. While exact CMA is the theoretical gold standard, the full search is computationally unrealistic for modern LLMs. Specifically, all neuron–timestep mediators require O(N⋅T)O(N\cdot T) intervention runs; even when all temporal occurrences are grouped as one mediator, it still requires O(N)O(N) full-trajectory runs. Therefore, a gradient-based approximation is a reasonable and empirically effective proxy for causal effects.

2. Theoretical Justification: We ground our methodology in a recent theoretical survey of CMA [1], demonstrating that gradient attributions act as fast, local linear approximations to CMA.

  • Exact CMA: identifying a task-relevant mediator hih_i requires computing its Indirect Effect (IE) by setting its activation to a counterfactual hi′h'_i (such as zero ablation) and measuring the exact change in an output metric mm.
  • Linear Approximation: Using a first-order Taylor expansion, the change in the metric mm when intervening on hih_i can be estimated using the gradient of mm with respect to the activation of hih_i given input xx:
    IE≈m(hi)−m(hi′)≈∂m∂hi∣x(hi−hi′)IE \approx m(h_i) - m(h'_i) \approx \frac{\partial m}{\partial h_i} \bigg|_x (h_i - h'_i)
  • IPG's Extension: By multiplying the local slope ∂m∂hi\frac{\partial m}{\partial h_i} by the difference between the actual activation hih_i and the counterfactual hi′h'_i, a direct linear approximation of how much intervening on hih_i would alter the output is obtained. Our IPG extends this by accumulating these local approximations along an interpolation path, yielding a more robust—but still technically approximate—estimate of the IE.

W2: Following W1, it is suggested to compare IPG against exact or more direct mediation estimates.

R2: We appreciate the suggestion to empirically validate our theoretical claim. As exact CMA is computationally prohibitive over hundreds of generated tokens, we validate on a subset of the MATH-500 dataset (using Qwen2.5-Math-1.5B-Instruct, Layer 26) to compare IPG against a direct mediation proxy.

  • Experimental Setup: Because exact single-neuron ablation remains expensive even for a subset, we randomly sample groups of neurons, zero-ablate, and measure the IE directly via the drop in reasoning correctness.
  • Evaluation: We measured the alignment (overlap ratio) between the top neurons identified by our IPG and direct CMA. We adopt Overlap@k=∣TCMA(k)∩TMethod(k)∣k\text{Overlap@}k = \frac{|T_{\text{CMA}}^{(k)} \cap T_{\text{Method}}^{(k)}|}{k} with k chosen around top 5% neurons. TT is neuron indices set chosen by different methods.
  • Conclusion: In Table A below, IPG identifies the true causal mediators with a significantly higher mean overlap ratio compared to standard attribution baselines, supporting our claim that IPG provides a valid approximation of causal mediation.

Table A: Overlap Ratio with Direct CMA on MATH-500 subset.

Method Max Mean Std. Dev (±)
IPG (Ours) 0.600 0.305 0.113
IG [2] 0.130 0.091 0.025
SHAP [3] 0.100 0.072 0.020
RANDOM 0.108 0.064 0.023

W3: Report statistical significance and standard deviations for all methods, not just IPG.

We thank the reviewer for this important suggestion. The updated Table B (below) shows the results (half-width 95% CI) for all approaches. The intervals confirm that our results are positive and statistically supported. We will include these in the revised paper.

Table B: Comparison of methods on reasoning datasets

Method GSM8K (Qwen) MATH (Qwen) AIME (Qwen) GPQA (Qwen) GSM8K (Llama) MATH (Llama) AIME (Llama) GPQA (Llama)
Original 82.41±0.65 63.00±0.95 10.00±3.17 24.75±1.92 85.89±0.72 41.80±0.29 6.67±3.17 23.23±0.96
Activation 82.56±0.65 63.40±1.33 20.00±4.75 25.75±1.92 85.75±0.61 43.00±0.19 13.33±4.75 25.25±0.72
R.N. 82.26±0.83 62.20±1.14 13.33±4.62 24.24±1.92 86.05±0.65 40.80±1.23 6.67±4.75 21.21±2.16
C.V. 83.85±0.07 62.60±1.04 16.67±3.17 28.78±1.44 85.97±0.86 40.00±0.57 6.67±4.75 28.78±0.48
SAE‑R 83.32±0.40 64.00±0.76 13.33±4.75 25.76±1.68 86.28±0.54 41.80±0.85 10.00±3.17 26.77±0.96
IPG 84.61±0.40 65.80±0.88 20.00±3.17 33.33±1.68 87.18±0.43 42.40±0.66 13.33±4.62 27.27±0.96
IPG‑SAE 84.76±0.50 66.00±0.76 20.00±4.75 35.35±1.20 87.41±0.43 44.00±0.57 20.00±4.62 29.80±0.72
Authors · CommentOpenReview ↗

W4: It is unclear whether intervention improvements genuinely and necessarily imply reasoning-specific mechanisms. A more in-depth analysis and more rigorous empirical settings are needed.

R4: We thank the reviewer for raising this critical point. We provide both existing qualitative evidence and empirical evaluations to isolate the reasoning improvements from these confounding factors.

1. Qualitative Evidence of Reasoning-Specific Improvements: IPG alters the semantic and logical trajectory of the generation, successfully rectifying flawed steps rather than merely changing text structures.

  • Case Studies: We refer to the case studies provided in Figure 3 and Appendix D.7.2 in the paper. These examples demonstrate that IPG alters the semantic and logical trajectory of the generation, rectifying flawed reasoning steps.
  • Mechanistic Grounding: IPG isolates features that exhibit a behavioral distinction between reasoning and non-reasoning contexts (Figure 1 in the paper). Furthermore, they align with specific reasoning behaviors and activate at distinct temporal stages of reasoning in Findings 6&7.

2. Quantitative Analysis of Confounding Factors:

  • Verbosity Remains Stable. We measure the average output token length. In Table B, this remains highly stable across all datasets.

Table C: Verbosity of IPG generation across reasoning tasks

Dataset Original IPG IPG-SAE
GSM8K 318.40 315.80 318.18
MATH-500 550.01 551.71 558.07
AIME 1253.57 1175.60 1246.77
GPQA 764.04 775.54 791.13
  • Formatting & Answer Extraction: We employ an LLM-as-a-Judge (GPT-5.4) evaluation. It categorizes the source of errors (Reasoning Logic vs. Formatting Failure). The results in Table D below suggest that the gains stem almost entirely from a reduction in reasoning errors, while formatting consistency remains unaffected.

Table D: Error Source Analysis via LLM Judge

Dataset Method Total Accuracy(%) Formatting Errors(%) Reasoning Errors(%)
AIME Original 10.0 0.0 100.0
AIME IPG 20.0 0.0 100.0
MATH-500 Original 63.0 0.8 99.2
MATH-500 IPG 65.8 0.8 99.2
  • Activation Norms Increase at the Intervened Layer While Output Confidence Remains Stable. We report the average L2L_2 norm of the hidden states at the intervened layer (Layer 22) and the final layer, together with the entropy of the output distribution. IPG increases the norm compared to random baseline, while leaving output entropy nearly unchanged. This suggests that IPG selectively amplifies internal reasoning-related representations without broadly perturbing the model’s output confidence.

Table E: Activation Norms and Output Confidence

Setting Intervened Layer L2L_2 Norm Final-Layer L2L_2 Norm Final-Layer Entropy
Original 201.28 343.49 0.1339
Random 202.24 344.35 0.1342
IPG 214.57 350.27 0.1341
Authors · CommentOpenReview ↗

W5: Both hidden states and modified hidden states use the same notation z\mathbf{z}, which is unclear.

R5: We thank the reviewer for pointing this out. We will revise Algorithm 2 in Appendix A.1 to explicitly notate the modified hidden states as z~\tilde{\mathbf{z}}.

W6: Although IPG is training-free, the attribution computation can still require significant resources. It is suggested to provide a computational cost comparison.

R6: We thank the reviewer for highlighting this. While it is true that gradient-based attribution requires multiple forward and backward passes along the interpolation path, IPG is relatively efficient when compared to existing baselines.

1. Computational analysis:

The multi-step integration in IPG is necessary to mitigate the gradient saturation problem in deep non-linear networks. IPG’s complexity remains effectively O(1)O(1) with respect to the model's number of mediators, compared with O(N)O(N) for CMA, rendering the overhead negligible at scale.

2. Empirical Comparison:

We perform attribution on a single GPU using the Qwen2.5-Math-1.5B model. IPG completes in just 1.5 hours under our optimization, demonstrating an efficiency advantage over recent reasoning attribution baselines such as R.N. [4] (4.5 hours) and SAE-R [5] (2 hours).

Weakness 7: Several typos and grammatical issues need to be fixed.

R7: Thank you for pointing this out. We will carefully proofread the manuscript and fix those typos and issues in the revised version.

Reference

[1] The Quest for the Right Mediator: Surveying Mechanistic Interpretability for NLP Through the Lens of Causal Mediation Analysis. Mueller et al.
[2] Axiomatic attribution for deep networks, Sundararajan et al.
[3] Neuron Shapley: Discovering the Responsible Neurons, Ghorbani et al.
[4] An investigation of neuron activation as a unified lens to explain chain-of-thought eliciting arithmetic reasoning of llms, Rai, et al.
[5] I have covered all the bases here: Interpreting reasoning features in large language models via sparse autoencoders, Galichin, et al.

Reviewer zMzAOpenReview ↗
Rating
5/6
Confidence
3/5
Quality
3/4
Clarity
3/4
Significance
4/4
Originality
4/4
Contribution type
general
Ethical concerns
NO or VERY MINOR ethics concerns only
Read review
Summary

The authors introduce IPG, which uses integrated gradients and policy gradients on latent variables in the model to estimate their effect on different properties of reasoning traces, analogous to how policy gradients are used on an RL reward. They show this is useful in some case studies, including using this for causal interventions

Strengths and weaknesses

Strengths:

  • The technique is innovative and well motivated - credit assignment for interpreting long generated traces is hard, and adapting techniques from RL to solve it is inspired. The implementation seems reasonable, and integrated gradients make sense to use. The underlying ideas are simple and well-known, but the connection is clever, and I can see this being useful in many contexts. In general mechanistic interpretability has struggled to adapt to analysing long generated traces
  • The ablations damage reasoning much more than non reasoning
  • Good sanity checks and methodological rigour (e.g. extensive sensitivity studies, checking larger models)

Weaknesses:

  • The abstract emphasises IPG as an approximation to CMA, but the quality of this approximation is not measured
  • "Reasoning strength" is a misleading name for trajectory length IMO
Questions

None

Limitations

See weaknesses

Final justification

See above, nothing really changed, it was already a 5

Formatting concerns

None

3 comments
Authors · CommentOpenReview ↗

W1: The abstract emphasises IPG as an approximation to CMA, but the quality of this approximation is not measured.

R1: Thank you for your thoughtful comment! We appreciate your suggestion to measure the quality of the approximation. We completely agree that quantifying this gap is valuable. However, as noted in a recent theoretical survey of mechanistic interpretability [1], executing exact Causal Mediation Analysis (CMA) requires exhaustive counterfactual interventions. For long reasoning trajectories, this entails intervention at every timestep, making it computationally intractable at the scale of our main experiments. We therefore validate IPG against direct CMA on a subset of the MATH-500 dataset using Qwen2.5-Math-1.5B-Instruct.

Experimental Setup: Because exact single-neuron ablation remains prohibitively expensive even for a subset, we implemented a direct group-based mediation proxy. We randomly sample groups of neurons, zero-ablate their activations at a target layer during the forward pass, and measure the Indirect Effect (IE) directly via the drop in reasoning correctness with an external verifier.

Empirical Validation against Direct CMA Proxy: To empirically validate IPG against true causal effects while bypassing this computational bottleneck, we measured the alignment (overlap ratio) between the top neurons identified by our method and a direct group-based zero-ablation CMA proxy on a subset of MATH-500 (Layer 26). We adopt Overlap@k=∣TCMA(k)∩TBaseline(k)∣k\text{Overlap@}k = \frac{|T_{\text{CMA}}^{(k)} \cap T_{\text{Baseline}}^{(k)}|}{k} with kk chosen around top 5% neurons. TT is the set of neuron indices chosen by different methods.

Conclusion: As shown in Table A below, IPG successfully identifies the true causal mediators with a significantly higher mean overlap ratio (0.305) compared to standard attribution baselines (<0.100), supporting our claim that IPG provides a valid approximation of causal mediation.

Table A: Alignment (Overlap Ratio) with Direct CMA Proxy on MATH-500.

Method Max Mean Std. Dev (±)
IPG (Ours) 0.600 0.305 0.113
IG [2] 0.130 0.091 0.025
AttnLRP [3] 0.110 0.082 0.018
NeuronSHAP [4] 0.100 0.072 0.020
RANDOM 0.108 0.064 0.023

W2: "Reasoning strength" is a misleading name for trajectory length IMO

R2: Thanks for your advice. Following [5], we use the term "reasoning strength" for trajectory length. We agree, however, that the name is potentially misleading. In the revised paper, we will replace it with the more precise term "trajectory length" throughout.

Reference

[1] The Quest for the Right Mediator: Surveying Mechanistic Interpretability for NLP Through the Lens of Causal Mediation Analysis. Mueller et al.
[2] Axiomatic attribution for deep networks, Sundararajan et al.
[3] AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers, Achtibat et al.
[4] Neuron Shapley: Discovering the Responsible Neurons, Ghorbani et al.
[5] On Reasoning Strength Planning in Large Reasoning Models, Sheng et al.

Reviewer zMzA · CommentOpenReview ↗

Thanks for the follow-up experiment! That seems like a reasonable proxy. How long are the traces here? I am a bit worried that Qwen 2.5 1.5B is pretty old and dumb, so isn't super representative of modern models. I'd find a reasoning distill / LLama 8B moderately more persuasive, though no big deal if that experiment is too much effort, I don't anticipate changing my score either way.

Authors · CommentOpenReview ↗

We sincerely thank the reviewer for the prompt and constructive feedback!

The average trace length generated by Qwen2.5-Math-1.5B-Instruct is around 550 tokens in average. We agree that validating on a more representative, modern reasoning model is highly valuable. Per your suggestion, we repeated the direct CMA proxy experiment on DeepSeek-R1-Distill-Qwen-1.5B, whose trace length is around 4000 tokens in average for MATH500.

As shown in Table A below, IPG achieves a substantially higher mean overlap with the direct CMA proxy (0.246) than IG, AttnLRP, NeuronSHAP, and the random baseline (0.062–0.066). This empirical results further support our claim that IPG provides an effective approximation of causal mediation.

Thank you again for your time and for helping us strengthen the paper!

Table: Alignment (Overlap Ratio) with Direct CMA Proxy on DeepSeek-R1-Distill-Qwen-1.5B.

Method Max Mean Std. Dev (±)
IPG (Ours) 0.300 0.246 0.030
IG 0.092 0.066 0.022
AttnLRP 0.077 0.062 0.013
NeuronSHAP 0.070 0.065 0.005
RANDOM 0.104 0.064 0.023
Reviewer sy5yOpenReview ↗
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

The paper introduces Integrated Policy Gradient (IPG), a framework to identify the components influencing decisions in the case of multi-step reasoning in LLMs. The method proposes using policy gradients to propagate the output to the neural network components while taking the multi-step trajectory into account. As gradients, the authors use Integrated Gradients from a common baseline (activation = 0) to the actual activation value and assign each component a score based on the average Integrated Policy Gradient over a set of support samples. The method is validated on a set of reasoning datasets through intervention tasks on two LLMs and against some baselines. The results show that interventions are more effective when applied to the components identified by the proposed method, including improvements in the granularity and correctness of intermediate reasoning steps. The paper also shows that the identified components remain effective in transfer settings, both across tasks and across models.

Strengths and weaknesses

The topic of the paper, focusing on the interpretability of multi-step reasoning in LLMs, is a hot topic and certainly of interest to the NeurIPS community. To the best of my knowledge, the proposed approach (using policy gradients in this context) is novel and interesting. Among its strongest properties is its high flexibility. I believe it could be a meaningful and useful addition to the current literature on the topic. The paper includes many technical details. Therefore, I believe the originality and the potential significance of the paper are its strongest points. On the other hand, I found the clarity of the text, including the contextualization of the proposed approach, not to be at the same level. This problem, together with the limited selection of baselines, places the paper slightly below the acceptance bar in its current version, in my opinion.

More in detail, the text appears too dense and technical. While this is not a problem for the method section, the density becomes an issue in sections such as the abstract and the introduction, whose narrative should be accessible to a broader audience. This density disrupts the reading flow and makes it difficult to understand the contribution of the paper.

Density also affects the experimental section. In this case, the paper presents many use cases (or findings) across several subsections and paragraphs, but each of them is only briefly discussed. Examples are Findings 7 and 8, where most of the paragraph is devoted to describing the experimental setup, while a single sentence summarizes the actual result/finding. I would suggest focusing on a few (main) findings or the strongest results and discussing them more extensively, while moving the remaining ones to the appendix. Alternatively, multiple findings could be discussed within a single narrative that summarizes the overall message. I found the current structure distracting and not sufficiently informative, since most of the text is dedicated to describing the experimental setup rather than discussing the implications of the results.

Another example is the placement of some sentences, such as Lines 72-74:

“Finally, Figure 1 contrasts our approach with existing interpretability paradigms, while Figure 2 highlights the specific reasoning components isolated by IPG.” This sentence does not seem to follow logically from the previous discussion (despite the use of finally), making the narrative less smooth.

The lack of clarity is, in my opinion, also reflected in the contextualization of the proposed approach and in the choice of baselines. While the paper compares against a couple of baselines specifically targeting LLM reasoning, it seems to lack a broader discussion of the literature to which this work is also closely related. The proposed method identifies the most important components for a given task by averaging their importance across multiple samples. This objective has a long history in explainable AI through methods for neuron attribution (e.g., NeuronSHAP or LRP) and layer attribution. The two other baselines considered (random and max activations) are quite weak in this context. There are several methods that could naturally serve as baselines, including Integrated Gradients itself, which I believe should be a default baseline in this paper. I do agree that these methods will probably struggle to capture temporal relationships. However, if that is indeed the case, it should emerge from the experimental evaluation and would actually reinforce the motivation for introducing the proposed method.

Conversely, the experimental section is mostly designed to demonstrate that the proposed method performs well for intervention tasks. However, there is also a large body of literature on steering and intervention methods, and among them only two approaches have been included as baselines. Similarly, the related work section does not discuss these two families of methods, which are, in my opinion, highly related to the proposed approach, but instead focuses on a few methods targeting LLM reasoning. I understand that LLM reasoning is the target application domain. However, the proposed method itself is fairly general and is not specifically tailored to this task. Its design is closely related to other areas of interpretability research. As such, I believe the paper would benefit from better contextualizing the proposed approach, both in the related work section and throughout the overall narrative, as well as from broadening the choice of baselines to better reflect the existing literature.

Questions

See the Strengths and Weaknesses section for the main concerns. I am particularly interested in understanding where the authors position their work within the current literature and the rationale (and technical impossibility) behind excluding works from highly relevant research areas. In my opinion, comparing the method against literature closely related to neuron and layer attribution, would better highlight the importance of the inclusion of policy gradient in this specific context.

Unless other reviewers point out important weaknesses that I may have missed, I believe that adding more meaningful baselines in the proper context (or properly justifying their exclusion) or significantly improving the clarity and contextualization of the proposed method, could move the paper toward a borderline acceptance score. Conversely, implementing both of these improvements would, in my opinion, make the paper stronger and a clear acceptance.

Limitations

yes

Final justification

The rebuttal partially addressed my concerns. In particular, the authors provided additional experiments with neuron attribution baselines, showing that the proposed method outperforms them. Although these baselines are not among the most recent methods in the area, I believe their inclusion is sufficient to support the paper’s central claim regarding the benefit of the proposed method.

Regarding clarity and framing, the authors committed to revising the manuscript to improve its readability and overall narrative. However, because NeurIPS does not permit manuscript revisions during the rebuttal phase, and given the extent of my original concerns regarding clarity and presentation, it is difficult to evaluate these improvements without seeing the revised manuscript.

Overall, I believe that the positive aspects of the paper (significance, originality, and strengthened experimental evaluation) outweigh the remaining reasons for rejection. At the same time, the unresolved uncertainty regarding the clarity and framing of the final manuscript prevents me from assigning a stronger acceptance score. For these reasons, I consider Borderline Accept to be the most appropriate rating.

Formatting concerns

n/a

5 comments
Authors · CommentOpenReview ↗

We thank the reviewer for the constructive review and for clearly identifying the two improvements that would strengthen the paper. We have addressed both. (1) On baselines, we add three representative neuron-attribution methods spanning the main methodological families (Integrated Gradients, Neuron Shapley, AttnLRP) under a fully matched evaluation protocol, and IPG achieves the best accuracy on all four benchmarks (Table A). (2) On clarity and contextualization, we add a Related Work subsection on neuron attribution, make explicit how IPG extends single-timestep attribution to the sequential long-horizon setting, rewrite the Abstract and Introduction to lead with intuition before formalism, and reorganize Section 4.4 into a coherent where–what–when progression; since NeurIPS does not permit a revised PDF, we include a concrete revision preview at the end of this response.

W1: the text appears too dense and technical, narrative should be accessible to a broader audience.

R1: We are genuinely grateful to the reviewer for the careful reading of our paper and for these thoughtful and well-founded suggestions. We agree that the current version attempts to cover too many findings and technical details in the main text, which obscures the central motivation and makes the overall narrative difficult to follow. In the revised version, our main goal is to make the paper more accessible to broader audience and easier to read. Since the NeurIPS rebuttal process does not permit the submission of a revised manuscript, we outline below the concrete revisions we will make. Also, we provide a concrete revision preview at the end of this response, including a draft of the revised abstract and the main revision of each Introduction paragraph.

  • Abstract: We will simplify the technical description and state the core problem more directly at the beginning: identifying the internal components that are most important for multi-step reasoning. We will also highlight the main intuition before giving some technical terminology.
  • Introduction: The introduction part will be unfolded more progressively. We will first provide an intuitive explanation of the problem, its significance, and the challenge of assigning credit across a multi-step reasoning trajectory before stepping through the technical terminology.
  • Experiment: We will reorganize the experiment sections to make the narrative more structured and concentrated on the main findings. Specifically, we will treat Finding 8 in the paper as a secondary finding and move it into appendix. We will also restructure Section 4.4 into a coherent where–what–when progression: spatial localization in Finding 5, semantic specialization in Finding 6, and temporal organization in Finding 7. This structure will make it clearer how these findings jointly characterize the roles of reasoning-related components.

In addition, we will revise awkward local transitions and paragraph structures, including Lines 72-74, Lines 79-82, Lines 211-212 etc., to improve the flow between sections and ensure that each paragraph communicates one clear idea.

Authors · CommentOpenReview ↗

W2: contextualization of the proposed approach and in the choice of baselines.

R2:

  1. Revision of Paper Writing:
  • We thank the reviewer for this valuable suggestion. As for contextualization, we will make the revision in both related work and method section.
    • Discussion on Conventional Neuron Attribution in Related Work: We will add a subsection in related work section to discuss classical and modern attribution methods, including Integrated Gradients [1], NeuronSHAP [2], LRP [3], and related neuron-level attribution approaches.
    • Discussion on the relationship between these approaches and IPG: Traditional attribution methods typically quantify the contribution of internal components to a scalar model output within a single timestep, whereas multi-step reasoning introduces an additional temporal credit assignment problem. We will revise the Introduction and Method sections to make it more explicit that IPG extends component attribution to this long-term and sequential setting.
  1. Additional Neuron Attribution Baselines: Per your suggestions, we add representative baselines based on Integrated Gradients [1], Neuron Shapley [2], and AttnLRP [3].

Experiment and evaluation settings. Since these conventional attribution methods require a differentiable scalar objective defined on a fixed computation graph, we first sample some rollouts using the same LLM and keep the generated tokens fixed during attribution. We then use the aggregated log probability of answer tokens as their scalar attribution objective for all three baselines. All methods are evaluated in the neuron space under the same task-level aggregation, top-neuron selection, intervention protocol, and benchmarks.

Conclusion. As shown in Table A, all attribution methods improve over the original model, confirming that they can identify reasoning-relevant neurons. IPG achieves the best performance across all four benchmarks. The larger gains suggest that trajectory-level credit assignment is particularly beneficial for identifying important components in multi-step, long-term reasoning settings.

Table A: Accuracy(%) of IPG compared with other neuron attribution methods on Qwen2.5-Math-1.5B-Instruct's neuron space intervention

Method GSM8K MATH AIME GPQA
Original 82.41 63.00 10.00 24.75
IG [1] 82.94 64.40 13.33 29.29
Neuron Shapley [2] 83.47 64.80 13.33 30.30
AttnLRP [3] 83.62 64.00 16.67 28.28
IPG 84.61 65.80 20.00 35.35

Reference

[1] Axiomatic attribution for deep networks, Sundararajan et al.
[2] Neuron Shapley: Discovering the Responsible Neurons, Ghorbani et al.
[3] AttnLRP: Attention-Aware Layer-Wise Relevance Propagation for Transformers, Achtibat et al.

Authors · CommentOpenReview ↗

Concrete Revision Preview

A. Revised Abstract

Large Language Models (LLMs) demonstrate remarkable reasoning capabilities, yet it remains opaque which internal components contribute to successful reasoning. Existing mechanistic interpretability approaches often rely on superficial text-pattern co-occurrences or capture only short-term effects, struggling to trace the sequential, outcome-driven influence of internal components in multi-step reasoning. In this paper, we introduce Integrated Policy Gradient (IPG), a novel, training-free framework that assigns the final reasoning outcome back to internal components throughout the generated trajectory. Grounded in outcome-oriented and sequential-influence-aware principles, it backpropagates the final outcome through the entire trajectory. It combines policy-gradient credit assignment with path integration to estimate the contribution of individual neurons or sparse features, which can be viewed as a practical local linear approximation to causal mediation analysis for sequential reasoning. Empirical evaluations demonstrate that IPG achieves precise localization and reveals mechanistic insights by identifying sparse, concentrated subsets of internal components associated with specific reasoning behaviors. Our method also enables modulation of reasoning capabilities, offering a powerful and reliable framework for understanding LLM reasoning.

B. Main Revision of Introduction

Paragraph 1: Clarify the central research question. We will emphasize the research questions of our work more clearly: identifying the critical components in multi-step reasoning.

Paragraph 2: Broaden the positioning of existing attribution methods. We will expand the discussion beyond reasoning-specific text-pattern and control-vector methods to include conventional neuron attribution approaches, such as Integrated Gradients [1], NeuronSHAP [2], and LRP [3]. We will also clarify the differences between those methods and IPG.

Paragraphs 3–4: Simplify the motivation and introduction of IPG. We will remove the extended discussion framing IPG around the failure of exact CMA. Instead, we will motivate IPG directly as a combination of policy-gradient credit assignment, which propagates outcome-level signals across the trajectory, and path integration, which provides more stable component-level attribution. The relationship to causal mediation will be retained only as a brief conceptual connection, with detailed assumptions and approximation analysis moved to the Method section.

Paragraph 5: Improve the transition to the empirical overview. We will remove the figure-referencing transition in Lines 72–74 and replace it with a direct summary of the evaluation dimensions and principal findings.

Paragraphs 6–7: Consolidate the result preview and contributions. We will focus on our main contribution: interventionally validated component attribution, generalization and interpretable organization of reasoning components.

From OpenReview, CC BY 4.0. Authors as signed there; shown unedited.

Missing a submission?

Loading the discussion…