potentialpaper

RL-IF: Tracking Non-local Training Data Influence for Online Reinforcement Learning

Shixuan Liu, Cheng Tang, Yuzheng Hu, Fan Wu, Han Zhao, Jiaqi W. Ma

AIW @ COLM 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. We study non-local data attribution in online RL, derive a first-order estimator that captures data influence over training rounds, and develop an attribution-based filtering method that improves training efficiency and final performance.

Abstract. Online reinforcement learning (RL) has achieved significant success in decision-making tasks, but modern online RL remains highly sensitive to the quality of training experience. Understanding the contribution of individual training instances is therefore central to data-centric RL, with applications ranging from experience selection to policy interpretation. Existing data attribution methods for online RL primarily focus on local influence within a single training round, overlooking the non-local data influence across multiple training rounds. In this work, we formalize data attribution in online RL through a trajectory-level leave-one-out quantity, RL-LOO, which measures how one training sample influences a downstream target after subsequent online updates have taken place. We then derive RL-IF, a first-order estimator that propagates data influence through both optimization effects and policy-induced sampling effects, and provide theoretical guarantees on its approximation accuracy under smoothness assumptions. Our analysis further disentangles these two effects and shows both theoretically and empirically that the full RL-IF estimator can often be well approximated using the optimization effect alone. Building on this observation, we develop RINSE, a practical data filtering method for online RL. Experiments on standard control benchmarks and an RLHF-style toxicity-mitigation setting show that RINSE improves training efficiency and final performance over standard PPO and local attribution baselines. These results suggest that RL-IF provides a practical and principled framework for understanding and improving online RL.

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

FromAToBDateVersionSubmitted toPDFEvidence
4 May 2026NeurIPS 2026submittedNeurIPS 2026Accept (poster)reviews ↓[1]PDF[1]
21 Jun 2026AIW @ COLM 2026submittedAIW @ COLM 2026Accepted—[1]
Their titles, abstracts and, where both have a PDF, the text.Missing a version?

NeurIPS 2026

Accept (poster) · 3 reviews · OpenReview

Updated 25 Nov 2026, 03:45 UTC.

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

The main contribution is the design and analysis of RL-LOO, which is an algorithm that quantifies how a training sample influences a downstream target after subsequent online updates have taken place. The authors also design the RL-inf, an associated first order estimator. Overall, the technical contributions are deemed worthwhile, and I find Theorem 3.1 and the associated RL-Inf interesting. Nevertheless, there is still some gaps in discussions between the theory presented and the empirical studies. I would like to invite the authors to address the following, and also to think deeply on the reviewers' other comments:

  • More details on how A^ref\hat{A}^{ref} is constructed, and how sensitive is RINSE to it?
  • The key theoretical result is rooted on SGD with harmonic learning rate ηt\eta_t (Theorem C.3), while experiments are Adam-based, as acknowledged by the authors and noted by Reviewer F3AH. To bridge the gap, I recommend the authors to run RL-Inf under the SGD to see how large is the gap from Adam.
  • Another (slightly more minor) concern is on RINSE's empirical evaluation, which is on policy improvement rather than attribution accuracy itself. The authors should consider aligning the evaluation metrics so that the conclusions of the empirical evaluations are better aligned with the theoretical claims.
Final justification

The discussions on A^ref\hat{A}^{ref} is quite thorough and useful, and I recommend the authors to include their discussions in the responses in the final version of the paper. In addition, the comparisons between Adam and the theoretically studied SGD is worthwhile to highlight, though the details can be deferred to the Appendix if there is a lack of space. Overall, the design and analysis of RL-inf is an interesting contributions.

Area Chair VWVZ · Meta-reviewOpenReview ↗
Read meta-review
Meta-review

The main contribution is the design and analysis of RL-LOO, which is an algorithm that quantifies how a training sample influences a downstream target after subsequent online updates have taken place. The authors also design the RL-inf, an associated first order estimator. Overall, the technical contributions are deemed worthwhile, and I find Theorem 3.1 and the associated RL-Inf interesting. Nevertheless, there is still some gaps in discussions between the theory presented and the empirical studies. I would like to invite the authors to address the following, and also to think deeply on the reviewers' other comments:

  • More details on how A^ref\hat{A}^{ref} is constructed, and how sensitive is RINSE to it?
  • The key theoretical result is rooted on SGD with harmonic learning rate ηt\eta_t (Theorem C.3), while experiments are Adam-based, as acknowledged by the authors and noted by Reviewer F3AH. To bridge the gap, I recommend the authors to run RL-Inf under the SGD to see how large is the gap from Adam.
  • Another (slightly more minor) concern is on RINSE's empirical evaluation, which is on policy improvement rather than attribution accuracy itself. The authors should consider aligning the evaluation metrics so that the conclusions of the empirical evaluations are better aligned with the theoretical claims.
Final justification

The discussions on A^ref\hat{A}^{ref} is quite thorough and useful, and I recommend the authors to include their discussions in the responses in the final version of the paper. In addition, the comparisons between Adam and the theoretically studied SGD is worthwhile to highlight, though the details can be deferred to the Appendix if there is a lack of space. Overall, the design and analysis of RL-inf is an interesting contributions.

1 comment
Authors · CommentOpenReview ↗

We sincerely thank the Area Chair for the careful reading of our paper and the constructive summary of the major concerns. We are encouraged that the technical contributions, particularly Theorem 3.1 and RL-Inf, were found worthwhile. Following your suggestions, we have strengthened both the theoretical discussion and the empirical evaluation. Below we briefly summarize the major additions. For complete details and experimental results, please refer to the corresponding reviewer responses.

(1) Construction and sensitivity of ArefA^{\mathrm{ref}}

We have substantially expanded both the theoretical motivation and empirical evaluation of the reference advantage construction. Specifically, we clarify how ArefA^{\mathrm{ref}} is constructed for each attribution window and provide a theoretical justification showing that using the terminal checkpoint together with its own on-policy rollout yields a first-order approximation to the leave-one-out effect on the expected return of the terminal policy. In addition, we perform an ablation comparing our default reference construction against two alternatives, including the IIF-style reference. The results consistently support our default design, particularly in the later stages of training.

Please refer to Reviewer WHKs (W1/Q2) for the theoretical justification and sensitivity ablation.

(2) SGD versus Adam

We agree that the gap between the theoretical assumptions and the optimizer used in some experiments deserved further investigation. We clarify that three of our six environments (FrozenLake, LunarLander, and Hopper) are already trained using SGD, while the remaining environments require Adam for stable optimization. We additionally perform a direct SGD-versus-Adam comparison on FrozenLake, one of the few environments where both optimizers train reliably. The results show that RL-Inf remains effective under Adam, although the improvement is somewhat smaller than under SGD, while adaptive-optimizer theory remains an important direction for future work.

Please refer to our response to Reviewer F3AH (W1) for the detailed discussion and experimental results.

(3) Attribution accuracy versus downstream policy improvement

We agree that a more direct attribution evaluation further strengthens the connection between the theory and experiments. In addition to the LDS evaluation used in the original submission, we conduct direct leave-one-out evaluation on FrozenLake using 256 retraining runs. RL-Inf-full achieves the highest correlation with the ground-truth LOO effect, outperforming both RL-Inf-opt and TracIn. We also explain why extending direct LOO evaluation to longer horizons becomes computationally impractical due to rapidly increasing retraining variance, which motivates the use of LDS as the primary evaluation protocol.

Please refer to our response to Reviewer rHDG (W1/Q2/Q3) for the complete experimental results and discussion.

Beyond these three points, we also conducted several additional experiments requested by the reviewers, including sensitivity analyses of RINSE (discard ratio, attribution horizon, and adaptive stopping), characterization of regimes where the sampling effect becomes significant, an ablation of the reference construction, RLHF quality evaluations demonstrating that toxicity reduction does not compromise generation quality, and additional discussions of computational overhead and limitations.

We sincerely thank the Area Chair again for the thoughtful feedback. We believe these additional analyses and experiments can strengthen the empirical support for RL-Inf and RINSE, and we hope they help address the major concerns raised during the review process.

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

This work presents a method to improve online reinforcement learning (RL) by proposing a new criterion to select data samples (in this case, trajectories) that could harm learning. The authors build upon the concept of data attribution, which examines how samples exert greater influence on training behavior in supervised learning. The same concept was extended to RL by Hu et al. 2025 for PPO. RL-Inf centers on the observation that data samples in RL influence both training and sample dynamics; thus, existing estimates may be limited to local effects. The authors proposed a theoretical analysis that disentangles the influence of these two components to better estimate when samples could be harmful, so they could be removed and training improved. The whole process was consolidated in RINSE, a data filtering method that demonstrated a notable advantage in convergence over the local counterpart across several standard baselines using the PPO algorithm.

Strengths and weaknesses

Strengths

  • This work introduced a novel analysis of data attribution in RL that proposes the non-local influence
  • The theoretical analysis offers a clear decomposition of the training influence and the sampling influence and a first-order estimator that doesn't depend on heuristics
  • Strong empirical results against the IIF (the local data attribution alternative), validating the proposition and even extending it to RL with Human Feedback (RLHF)
  • The method is well motivated and addresses an important practical problem in improving sample efficiency and training robustness.

Weaknesses

  • The method has a strong dependence on the selected attribution target and reference advantage estimates. The paper doesn't provide much detail on how sensitive the choice is.
  • Although the most interesting contribution of the paper is the disentangling of the training from the sampling in the data attribution case, in the end, the results from Table 1 don't show a major difference between RL-Inf-Opt and RL-Inf-Full, bringing the conclusion that the dominant part is the training, defeating the purpose of what the paper proposes.
  • RINSE requires constructing a reference training trajectory and a retraining procedure, which inevitably adds a computational overhead.
Questions
  • Based on Table 1, the authors suggest the dominance of the optimization component in the data attribution estimation. Could they provide additional intuition on when the sampling becomes a differentiation factor? I would have expected that if we consider only the training part, the performance should be closer to IIF.

  • Could the authors provide more detail about how the A^ref\hat A^{ref} was selected and how sensitive the results were to the quality? Did the authors do any study on that?

Limitations

Yes, there is a proper discussion of the limitations of coupling with PPO theory, online RL, and SGD-based optimization. The authors properly acknowledge the unexpected importance of training over sampling.

An additional limitation to mention concerns the selection of the attribution target and the target reference advantage estimator.

I would suggest reworking Image 1 because it looked a bit counterintuitive when following the accompanying text.

Final justification

I want to thank the authors for the thorough rebuttal. I cleared up some misunderstandings and gained a clearer sense of the proposed method's strengths and challenges. Namely:

  • The logic behind the construction of A^ref\hat A^{ref}: The terminal policy seems to be the best option to compute the GAE given that the final objective is identifying the data samples that affect performance. Additionally, the sensitivity analysis reinforces why it is better by comparing it with other intermediate policies and the generated data.

  • I am convinced now that the sampling affects the performance in certain scenarios, which are supported by the provided accumulated-gap analysis (Theorem 3.1) and the numerical experiments presented in the rebuttal.

  • I appreciate integrating the computation of the overhead and the suggestions on limitations and Figure 1.

Remaining issue:

  • I am just curious about the process the authors used to empirically compute the values of Λ\Lambda and LmaxL_{max}, although this is now a relatively minor point and does not affect my overall assessment.

Overall, I continue to view this as a technically solid contribution that combines a well-motivated methodological idea, supporting theoretical analysis, and strong empirical validation. My overall score remains Accept (5).

Formatting concerns

N/A

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for valuable suggestions.


W1/Q2: Construction of ArefA^{\mathrm{ref}}

We agree that the construction and motivation of A^ref\widehat A^{\mathrm{ref}} were not described sufficiently clearly. Importantly, A^ref\widehat A^{\mathrm{ref}} is not selected by tuning over multiple candidate advantages. For each attribution window [k,k+H][k,k+H], we use the terminal checkpoint as the reference policy,

πref=πθˉ,θˉ:=θk+H.\pi^{\mathrm{ref}} = \pi_{\bar\theta}, \bar\theta := \theta_{k+H}.

We collect an on-policy rollout using πθˉ\pi_{\bar\theta}, and compute A^ref\widehat A^{\mathrm{ref}} using the critic associated with this checkpoint and the same GAE procedure and hyperparameters used by PPO:

δtref=∑j≥0(γλ)jδt+jref.\delta_t^{\mathrm{ref}} = \sum_{j\geq 0}(\gamma\lambda)^j \delta_{t+j}^{\mathrm{ref}}.

The reference rollout, critics, and advantages are then held fixed during attribution. The reason for using the terminal checkpoint is that RL-LOO measures the effect of removing a training occurrence on the policy obtained at the end of the attribution window. Defining the target on the terminal policy's own rollout therefore aligns the attribution target with the downstream policy whose change we aim to measure.

Theoretically speaking, let θˉ−i\bar\theta_{-i} be the terminal parameter obtained after deleting training occurrence i, and define Δi:=θˉ−i−θˉ.\Delta_i := \bar\theta_{-i}-\bar\theta. Consider the ideal on-policy reference target $f_{\mathrm{ref}}(\phi)= \mathbb E_{\substack{ s\sim d^{\pi_{\bar\theta}}\ a\sim\pi_{\bar\theta}(\cdot\mid s)}} \left[ \log \pi_\phi(a\mid s) A^{\pi_{\bar\theta}}(s,a) \right].$

By the policy-gradient theorem, the gradient of this target at the reference policy satisfies

∇ϕfref(ϕ)∣ϕ=θˉ=∇J(θˉ)\nabla_\phi f_{\mathrm{ref}}(\phi)\big|_{\phi=\bar\theta} = \nabla J(\bar\theta)

Therefore, a first order approximation gives preposition

J(θˉ−i)−J(θˉ)=∇ϕfref(θˉ)⊤Δi+O(∣Δi∣2)J(\bar\theta_{-i})-J(\bar\theta)=\nabla_\phi f_{\mathrm{ref}}(\bar\theta)^\top \Delta_i+O(|\Delta_i|^2)

Thus, when RL-Inf estimates the leave-one-out parameter perturbation Δi\Delta_i, the resulting attribution score is a first-order estimate of the leave-one-out change in the expected return of the terminal policy.

In practice, the exact advantage AπθˉA^{\pi_{\bar\theta}} is unavailable. We therefore use A^ref\widehat A^{\mathrm{ref}}, computed from the rollout of πθˉ\pi_{\bar\theta} using the corresponding critic and the standard GAE estimator. We will clarify this construction and add the above argument to the revision.


W1/Q2: Sensitivity analysis of ArefA^{\mathrm{ref}}

While our choice is theoretically justified, we agree that it is important to understand the sensitivity to the selection of the reference. We therefore perform an ablation on ArefA^{\mathrm{ref}} by considering two alternative reference constructions. First, we consider the variant used by IIF, which takes the initial model of the attribution window, θk\theta_k, together with its corresponding rollout data DkD_k, as the reference. Second, we consider a more expensive but mismatched variant that retains the final model θk+H\theta_{k+H} as the reference model, but uses the union of all rollout data within the attribution window as the reference data. The results are summarized below:

Ant-v4

Config R50 R100 R150 R200 R250 R300 R350 R400 R450 R500
θk+H,Dk+H\theta_{k+H}, D_{k+H} (ours) -23±1 -9±1 2±2 14±3 52±9 186±29 504±55 617±83 1089±143 1616±354
θk,Dk\theta_{k}, D_{k} -29±3 -14±2 3±1 16±1 53±5 196±22 402±24 688±64 979±115 1228±198
θk+H,⋃D\theta_{k+H}, \bigcup D -22±1 -11±1 2±2 9±2 35±1 89±10 277±38 445±18 749±61 1254±141

HalfCheetah-v4

Config R50 R100 R150 R200 R250 R300 R350 R400 R450 R500
θk+H,Dk+H\theta_{k+H}, D_{k+H} (ours) 567±6 1007±14 1179±40 1233±29 1333±25 1368±26 1431±27 1465±24 1482±10 1503±19
θk,Dk\theta_{k}, D_{k} 423±25 785±43 951±55 1062±71 1120±87 1173±88 1213±68 1193±92 1237±81 1301±21
θk+H,⋃D\theta_{k+H}, \bigcup D 490±20 875±18 1059±24 1165±7 1257±24 1325±5 1356±5 1374±6 1376±34 1408±9

Overall, our default choice, θk+H,Dk+H\theta_{k+H}, D_{k+H}, outperforms both alternatives, particularly in the higher-return regime. These results suggest that properly aligning both the reference model and its corresponding rollout distribution becomes increasingly important as the policy improves.


W2/Q1: Does the small sampling effect defeat the purpose of the decomposition?

We do not believe so. One contribution of the decomposition is precisely that it allows us to determine when changes in future data collection materially affect influence, rather than assuming that this effect must always dominate.

Our accumulated-gap analysis gives approximately: $ \mathrm{gap}(\text{full},\text{opt}) \lesssim \alpha(1+\log H), \alpha\propto \frac{\eta_0\sqrt{L_{\max}}}{\Lambda}. $ Sampling therefore becomes more important under larger learning rates, weaker curvature, and greater sensitivity of the rollout distribution to policy changes. We measure these quantities directly:

Environment Λ\Lambda Lmax⁡\sqrt{L_{\max}} η\eta ηLmax⁡/Λ\eta\sqrt{L_{\max}}/\Lambda
FrozenLake 1.3 2.4 5×10−35\times10^{-3} 9.7×10−39.7\times10^{-3}
HalfCheetah 65 12.0 1×10−41\times10^{-4} 1.8×10−51.8\times10^{-5}
Ant 2.4×1032.4\times10^3 12.2 1×10−41\times10^{-4} 5.0×10−75.0\times10^{-7}

FrozenLake is thus predicted to have a much stronger sampling contribution. We verify this through direct LOO evaluation with 256 retraining runs (ρ\rho is the spearman):

Method Pooled ρ\rho Per-seed ρ\rho (mean ± SE)
TracIn +0.476 +0.538 ± 0.165
RL-Inf-opt +0.446 +0.461 ± 0.161
RL-Inf-full +0.617 +0.687 ± 0.041

Thus, there are regimes where the sampling correction provides a substantial improvement. Conversely, the similarity between RL-Inf-full and RL-Inf-opt on Ant/HalfCheetah is consistent with, rather than contrary to, our theoretical characterization.


Q1: Why does RL-Inf-opt differ from IIF if sampling is negligible?

Removing the sampling effect does not reduce RL-Inf to IIF.

The distinction is temporal. IIF is a local/static influence approximation around a reference optimization problem. In contrast, RL-Inf-opt removes only the policy-induced sampling channel: it still propagates the effect of deleting an occurrence through all subsequent optimization steps in the actual training trajectory. Schematically, if an occurrence is removed at step kk, RL-Inf-opt propagates its perturbation through $ (I-\eta_{k+1}H_{k+1}) (I-\eta_{k+2}H_{k+2})\cdots (I-\eta_{k+H}H_{k+H}), $ while holding the subsequent sampled data fixed.

Thus, there are two distinct questions: (1) whether influence should be propagated through subsequent optimization, and (2) whether the perturbation of the policy additionally changes subsequent sampling. RL-Inf-opt answers yes to the first and no to the second; IIF does not model this multi-step online training trajectory. This is why RL-Inf-opt can differ substantially from IIF even when the sampling term itself is small.

We will make this distinction more explicit in the revised paper.


W3: Computational overhead

We agree that RINSE adds computational overhead through attribution and retraining. This is a deliberate compute/performance trade-off rather than a zero-cost filtering method. We will add a wall-clock runtime breakdown for the traditional RL environments, separately reporting the costs of standard training, attribution, and retraining, to make this trade-off explicit.

Wall-clock runtime(s) per round

Environment Collect Train Attribution Replay Base Overhead Overhead / Base
Ant-v4 1.46 17.66 15.90 5.51 19.12 21.41 112%
HalfCheetah-v4 0.86 17.13 13.85 5.36 17.99 19.21 107%
Hopper-v4 1.06 26.45 14.28 5.66 27.51 19.94 72%
BipedalWalker-v3 7.24 26.95 15.56 5.66 34.19 21.22 62%
LunarLander-v2 0.75 0.97 0.62 1.44 1.72 2.06 120%
FrozenLake-v1 1.43 3.20 3.07 2.87 4.63 5.94 128%

L1: Dependence on the attribution target/reference estimator

We agree and will add this explicitly to the limitations. Our default target has a principled interpretation as a first-order approximation to the LOO change in expected terminal return, and the new ablation shows that it performs better than the tested alternatives. Nevertheless, practical attribution relies on an estimated advantage and therefore inherits errors from the critic and GAE estimator. Studying more robust target constructions is an interesting direction for future work.


Suggestion on Figure 1

We appreciate this presentation suggestion. We will revise Figure 1 to distinguish the optimization and sampling pathways more clearly and ensure that the visual ordering follows the accompanying explanation.

We thank the reviewer again. The new reference-target analysis and ablation, together with the direct LOO experiment in the stronger-sampling regime, address the two main conceptual questions raised in the review and will be incorporated into the revision.

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

This work addresses the central challenge of non-local data attribution in online reinforcement learning, where a single training sample influences future learning through both parameter optimization and policy-induced data distribution shifts across multiple rounds.

Strengths and weaknesses

Strengths

1.The adjoint backward-pass formulation in Algorithm 2 enabling single-pass computation of all influence scores is a practically important efficiency contribution.

2.The LDS evaluation in Table 1 directly validates that RL-Inf-opt matches RL-Inf-full empirically while substantially outperforming TracIn, coherently supporting the theoretical claim.

  1. RINSE achieves consistent sample efficiency improvements averaging 42.8% rollout reduction across six environments with only approximately 1.5x per-step overhead in the RLHF setting.

Weakness

  1. The theory is derived under SGD with harmonic learning rates, but all non-trivial experiments use Adam, creating a principled gap the paper acknowledges but does not close.

2.The sampling effect is theoretically bounded as small but the conditions under which it becomes dominant are identified as an open question without any empirical stress test characterizing those regimes.

  1. RINSE requires running TRAINROLLOUT twice per window which doubles compute in the retraining stage, but the total wall-clock cost accounting for both passes is not reported for the traditional RL experiments, only for RLHF.
Questions

Under what conditions does the sampling effect become non-negligible and comparable to the optimization effect, and can you provide even one empirical example where RL-Inf-full outperforms RL-Inf-opt meaningfully?

Limitations
  1. The framework is restricted to on-policy PPO and does not discuss whether the RL-LOO formulation extends to off-policy methods where data and policy are decoupled.

  2. The reference policy for the attribution target is fixed to the final policy in a window, but as the window shifts the reference changes, and no analysis examines whether attribution scores are consistent or comparable across windows.

Final justification

The authors addressed my concerns. Considering this, I will raise the score.

Formatting concerns

No

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for identifying the optimizer mismatch, the need to better characterize the sampling effect, and the computational overhead of RINSE. We have conducted additional experiments addressing the first two points and will expand the discussion of computational cost and scope.


W1: SGD theory versus Adam experiments

We agree that this distinction should have been made clearer. First, we clarify that three of our six selected environments (FrozenLake, LunarLander, and Hopper) are already trained with SGD. For more complex environments such as HalfCheetah and Ant, however, SGD fails to achieve meaningful optimization under comparable settings, producing nearly flat training curves. Conversely, Adam can be unstable on some of the simpler environments.

FrozenLake is one of the few environments where both optimizers can achieve stable training after appropriate tuning. We therefore conduct a direct optimizer comparison there:

Optimizer R3 R6 R9 R12 R15 peak
SGD +0.048±0.010 +0.333±0.077 +0.631±0.012 +0.119±0.016 +0.034±0.012 +0.672
Adam (3e-5) +0.019±0.002 +0.205±0.027 +0.393±0.021 +0.059±0.004 +0.009±0.006 +0.454

Under Adam, RL-Inf continues to provide a substantial peak improvement over standard training, although the gain is smaller than under SGD. This suggests that the estimator remains useful beyond the optimizer assumed by the current theory, while optimizer-specific dynamics can affect its accuracy and downstream benefit.

We will add this comparison, explicitly identify the optimizer used for each environment, and retain adaptive-optimizer theory as a limitation rather than claiming that the current theorem directly covers Adam.


W2/Q1: When does the sampling effect become non-negligible?

Our theoretical bound provides a concrete characterization. The accumulated difference between RL-Inf-full and RL-Inf-opt scales approximately as $ \alpha(1+\log H),\qquad \alpha\propto\frac{\eta_0\sqrt{L_{\max}}}{\Lambda}, $ where η0\eta_0 is the learning rate, Λ\Lambda characterizes loss curvature, and Lmax⁡L_{\max} measures the sensitivity of the rollout distribution to the policy. Sampling effects therefore become more important with larger updates, weaker curvature, and stronger policy-induced changes in the rollout distribution.

We empirically measure these quantities:

Environment Λ\Lambda Lmax⁡\sqrt{L_{\max}} η\eta ηLmax⁡/Λ\eta\sqrt{L_{\max}}/\Lambda
FrozenLake 1.3 2.4 5×10−35\times10^{-3} 9.7×10−39.7\times10^{-3}
HalfCheetah 65 12.0 1×10−41\times10^{-4} 1.8×10−51.8\times10^{-5}
Ant 2.4×1032.4\times10^3 12.2 1×10−41\times10^{-4} 5.0×10−75.0\times10^{-7}

FrozenLake consequently has an α\alpha roughly four orders of magnitude larger than Ant and provides an empirical example in which the full sampling correction matters. In a new direct LOO experiment with 256 retraining runs at H=2H=2, we obtain:

Method Pearson ρ\rho (mean ± SE)
TracIn +0.538 ± 0.165
RL-Inf-opt +0.461 ± 0.161
RL-Inf-full +0.687 ± 0.041

Thus, RL-Inf-full meaningfully outperforms RL-Inf-opt in precisely the regime where our characterization predicts a stronger sampling effect. Conversely, the small difference observed on Ant/HalfCheetah is consistent with their much smaller ηLmax⁡/Λ\eta\sqrt{L_{\max}}/\Lambda.

We will add this characterization and experiment to make clearer that the decomposition is not predicated on the sampling term always being large; rather, it explains when that term can safely be neglected.


W3: Computational overhead

We agree that the computational trade-off should be reported explicitly. RINSE necessarily incurs additional cost because it performs attribution and an additional retraining pass within each window. We will add a wall-clock breakdown for the traditional RL environments, separating standard training, attribution, and retraining costs, so that this overhead is directly visible alongside the performance gains.

Wall-clock runtime(s) per round

Environment Collect Train Attribution Replay Base Overhead Overhead / Base
Ant-v4 1.46 17.66 15.90 5.51 19.12 21.41 112%
HalfCheetah-v4 0.86 17.13 13.85 5.36 17.99 19.21 107%
Hopper-v4 1.06 26.45 14.28 5.66 27.51 19.94 72%
BipedalWalker-v3 7.24 26.95 15.56 5.66 34.19 21.22 62%
LunarLander-v2 0.75 0.97 0.62 1.44 1.72 2.06 120%
FrozenLake-v1 1.43 3.20 3.07 2.87 4.63 5.94 128%

L1: Extension beyond on-policy PPO

We agree that the current derivation is specialized to the on-policy setting. Importantly, the definition of RL-LOO itself is not inherently restricted to PPO: it asks how deleting a training occurrence changes a downstream policy after subsequent training. However, the particular RL-Inf estimator developed in this work explicitly models the coupling between policy updates and future on-policy data collection.

For off-policy algorithms, the training-data distribution and current policy are decoupled through mechanisms such as replay buffers. Consequently, the sampling-effect recursion would need to model how a perturbation changes future buffer contents and/or sampling probabilities rather than directly changing the next on-policy rollout. We will clarify that RL-LOO is general at the definitional level, whereas the current RL-Inf derivation is on-policy; extending the estimator to off-policy RL is future work.


L2: Changing reference policies across windows

RINSE does not compare attribution magnitudes across different windows. For each window [k,k+H][k,k+H], the terminal policy θk+H\theta_{k+H} defines a local attribution target, and selection is performed only among the training occurrences within that window. Once the selection/retraining step is completed, the algorithm moves to the next window and constructs a new local reference.

Therefore, attribution scores from two windows do not need to share a common numerical scale or be directly comparable. The changing reference is intentional: each attribution problem asks which occurrences are influential for the policy reached at the end of that particular training window. We will clarify this point in the algorithm description.

We thank the reviewer again. The new SGD/Adam comparison and direct LOO stress test substantially narrow the empirical gaps identified in the review, while we will more explicitly delimit the theoretical scope of the current estimator.

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

This paper proposes RL-Inf, a trajectory-level data attribution framework for online reinforcement learning. Unlike existing local attribution methods, RL-Inf explicitly models the long-term influence of training trajectories through both optimization dynamics and policy-induced sampling effects, and derives a practical first-order estimator together with an optimization-only approximation. Building on this analysis, the paper presents RINSE, a trajectory filtering strategy for PPO-style training. Experimental results on multiple continuous-control benchmarks and an RLHF-style toxicity mitigation task demonstrate consistent improvements in sample efficiency and final performance.

Overall, the paper addresses an important problem, presents a principled formulation of long-term data attribution in online RL, and establishes a clear connection between theory and algorithm design. While the empirical results are promising, several aspects of the theoretical motivation and experimental validation could be strengthened to more convincingly support the paper's central claims.

Strengths and weaknesses

Strengths

  1. Timely and well-motivated problem. The paper addresses an important gap in existing RL data attribution methods by explicitly considering how training data influence both future optimization and future data collection, which is a distinctive challenge in online reinforcement learning.
  2. Principled formulation with practical algorithm design. The decomposition into optimization and sampling effects provides a clear conceptual framework, and the proposed RINSE algorithm effectively translates the theoretical analysis into a practical trajectory-selection method.
  3. Promising empirical evaluation. The method is evaluated across multiple continuous-control environments and an RLHF-style application, showing consistent improvements in sample efficiency and policy performance over existing attribution-based and filtering baselines.

Weaknesses

  1. The practical contribution does not fully reflect the paper's central theoretical motivation. A key novelty of RL-Inf is the introduction of the sampling-effect term, yet the final algorithm primarily relies on the optimization-only approximation (RL-Inf-opt). Although the paper argues that the sampling effect is often negligible, this raises the question of when the full RL-Inf formulation is actually necessary and what practical benefits it provides beyond optimization-based attribution.
  2. The empirical validation could more directly support the attribution claims. While RINSE demonstrates strong downstream performance, the evaluation focuses primarily on policy improvement rather than attribution accuracy itself. More comprehensive comparisons against long-horizon leave-one-out estimates and stronger trajectory-selection baselines would better establish that the observed gains stem from more accurate influence estimation rather than the filtering strategy or additional training procedures.
Questions
  1. How sensitive is RINSE to the discard ratio, attribution horizon, and adaptive stopping rule?
  2. In which environments or training regimes does the sampling effect become non-negligible?
  3. Can the authors report exact leave-one-out correlation on small-scale environments over longer horizons?
  4. How much of RINSE’s gain remains if the same KL-retraining objective is used with simpler filtering criteria?
  5. Does RINSE ever remove rare but important exploratory trajectories, thereby hurting exploration in sparse-reward settings?
  6. In the RLHF experiment, does toxicity reduction come at the cost of response quality, diversity, or helpfulness?
Limitations

While the paper addresses an important and timely problem, several limitations remain.

First, the theoretical analysis is derived under standard first-order assumptions and is specialized to PPO-style on-policy training. Extending the framework to modern large-scale RL and RLHF systems with adaptive optimizers, clipping, reward-model noise, and other practical components remains an important direction for future work.

Second, although RL-Inf explicitly models both optimization and policy-induced sampling effects, the practical algorithm primarily relies on the optimization-only approximation (RL-Inf-opt). While the approximation appears effective in the evaluated settings, its validity under environments with stronger exploration, rapidly changing policies, or highly non-stationary data distributions remains to be established.

Third, the empirical evaluation primarily demonstrates the effectiveness of RL-Inf through downstream trajectory filtering. More direct validation of attribution accuracy, broader comparisons with trajectory-selection methods, and more comprehensive RLHF evaluations would further strengthen the evidence for the proposed framework.

Final justification

I thank the authors for their thorough and constructive response. Their explanations and supplementary experiments have further strengthened my confidence in this work. I will keep my original score (positive) and support the acceptance of this paper.

Formatting concerns

None

1 comment
Authors · RebuttalOpenReview ↗
Rebuttal

We thank the reviewer for the thoughtful comments. We agree that the original submission could better connect the theoretical decomposition of RL-Inf with its empirical validation. In response, we have conducted additional experiments on (i) direct LOO attribution accuracy, (ii) regimes where the sampling effect becomes important, (iii) sensitivity to the discard ratio, attribution horizon, and adaptive stopping rule, and (iv) RLHF generation quality.


W1/Q2/Q3: Direct validation of attribution accuracy and long-horizon LOO

We agree that directly validating attribution accuracy would strengthen the connection between the theory and experiments. Our main evaluation uses the Linear Data Modeling Score (LDS) because direct LOO evaluation is particularly unstable in RL: the effect of removing a single sample can be much smaller than the randomness introduced by retraining. Repeated retraining can reduce this noise, but obtaining a sufficiently precise estimate quickly becomes computationally prohibitive. Even LDS, which requires only 32 retraining runs per setting, takes nearly a week to evaluate one setting in our larger environments.

Nevertheless, we additionally perform direct LOO evaluation on our simplest environment, FrozenLake, with attribution horizon H=2H=2. We increase the number of retraining runs from 64, as used for Ant/HalfCheetah in the LDS evaluation, to 256:

Method Pearson ρ\rho (mean ± SE)
TracIn +0.538 ± 0.165
RL-Inf-opt +0.461 ± 0.161
RL-Inf-full +0.687 ± 0.041

RL-Inf-full achieves the highest direct LOO correlation, substantially outperforming both RL-Inf-opt and TracIn. This also provides a concrete regime in which explicitly modeling the sampling effect improves attribution accuracy.

Unfortunately, extending direct LOO evaluation to substantially longer horizons is statistically and computationally impractical. At H=5H=5, resolving the LOO effect of even one sample with 95% confidence would require approximately 2,200 retraining runs: retraining noise grows from 4.6×10−54.6\times10^{-5} at H=2H=2 to 2.4×10−42.4\times10^{-4} at H=5H=5, while the magnitude of the LOO effect grows only from 2.6×10−62.6\times10^{-6} to 8.4×10−68.4\times10^{-6}. Moreover, each H=5H=5 retraining requires replaying four rollouts. Evaluating even 100 samples would therefore require on the order of millions of four-rollout continuations per seed.

We will add the H=2H=2 direct LOO experiment as an additional sanity check and clarify why LDS provides a substantially more robust ground truth at the horizons of primary interest.


W1/Q2: When does the sampling effect become important, and why is RL-Inf-full needed?

We appreciate this question. The observation that the optimization component dominates in many environments does not invalidate the decomposition. Rather, an important consequence of our analysis is precisely that it identifies when the additional sampling channel should or should not matter.

The sampling effect does not propagate independently of optimization. Both channels evolve through the same recursion, whose core operator is the Hessian-based map

At=I−ηtHt,A_t=I-\eta_t H_t,

while the sampling term introduces an additional perturbation through changes in future rollout distributions. Our accumulated-gap bound characterizes the relative contribution of this channel as approximately

α(1+log⁡H),α∝η0Lmax⁡Λ.\alpha(1+\log H),\qquad \alpha \propto \frac{\eta_0\sqrt{L_{\max}}}{\Lambda}.

This identifies three factors that amplify sampling effects: a larger learning rate η0\eta_0, weaker loss curvature Λ\Lambda, and larger sampling sensitivity Lmax⁡L_{\max}, where the latter measures how strongly the rollout distribution changes with the policy.

We additionally measure these quantities in representative environments:

Environment Λ\Lambda Lmax⁡\sqrt{L_{\max}} η\eta ηLmax⁡/Λ\eta\sqrt{L_{\max}}/\Lambda
FrozenLake 1.3 2.4 5×10−35\times10^{-3} 9.7×10−39.7\times10^{-3}
HalfCheetah 65 12.0 1×10−41\times10^{-4} 1.8×10−51.8\times10^{-5}
Ant 2.4×1032.4\times10^3 12.2 1×10−41\times10^{-4} 5.0×10−75.0\times10^{-7}

FrozenLake is therefore precisely the regime in which the theory predicts a substantially stronger sampling effect: it has weaker curvature and a much larger learning rate, giving an α\alpha approximately four orders of magnitude larger than Ant. Consistent with this prediction, the direct LOO experiment above shows a clear improvement from RL-Inf-opt (ρ=0.446\rho=0.446) to RL-Inf-full (ρ=0.617\rho=0.617).

We will expand the discussion accordingly. In particular, RL-Inf-full is most relevant when policy updates strongly alter future data collection; RL-Inf-opt is an efficient approximation when this coupling is weak.


Q1: Sensitivity to discard ratio, attribution horizon, and adaptive stopping

We additionally performed sensitivity studies for all three design choices on Ant, HalfCheetah, BipedalWalker, and LunarLander. Due to the character limit, we present only the results on Ant in the main rebuttal. We would be happy to provide the remaining results upon request.

Discard ratio. We sweep ρ∈{0,5,10,20,50,100}%\rho\in\{0,5,10,20,50,100\}\%. The exact optimum is environment-dependent, and the improvement is not specific to the default ρ=10%\rho=10\%. Moreover, moderately larger discard ratios can improve performance, whereas overly aggressive discarding amplifies variance and ultimately degrades performance. Discard ratio ablation on Ant-v4

Config R100 R200 R300 R400 R500
rho=0% (baseline) -19±2 9±1 59±1 283±42 734±14
rho=5% -14±1 17±3 269±13 716±59 1544±60
rho=10% (default) -9±1 14±3 186±29 617±83 1616±354
rho=20% -7±2 19±3 297±46 892±34 1778±98
rho=50% -8±2 21±7 264±80 914±125 1464±154
rho=100% -5±2 35±4 540±80 1074±130 1757±141

Attribution horizon. We sweep H∈{1,2,4,5,8,10}H\in\{1,2,4,5,8,10\}. Increasing the horizon initially improves the selected data, but the gain saturates at a moderate horizon. This motivates H≈5H\approx5 as a robust default rather than requiring a large attribution horizon.

Attribution horizon ablation on Ant-v4

Config R100 R200 R300 R400 R500
H=1 -8±1 11±4 100±11 594±68 1004±48
H=2 -6±1 11±0 87±14 559±32 958±63
H=4 -10±1 14±1 230±12 822±150 1566±213
H=5 -10±1 19±1 205±52 762±120 1356±244
H=8 -10±1 21±5 207±47 612±35 1430±143
H=10 -11±1 19±3 228±32 642±57 1400±165

Adaptive stopping. Adaptive stopping consistently matches or outperforms fixed horizons while reducing sensitivity to manual horizon selection. We will include these ablations and clarify that the adaptive mechanism reduces sensitivity to manually selecting a single horizon for different stages of training.

Adaptive stopping ablation on Ant-v4

Config R100 R200 R300 R400 R500
RINSE + Fixed H -18±2 6±1 27±3 107±4 338±25
RINSE + Adaptive H -9±1 14±3 186±29 617±83 1616±354

Q4: Is the improvement caused by the KL-retraining objective rather than attribution?

The existing experimental design already controls for this factor, but we agree that this was insufficiently clear in the paper. In particular, IIF uses the same KL-constrained training objective as RINSE. Therefore, the comparison between RINSE and IIF changes only the attribution criterion, while keeping all other components exactly the same. The resulting performance improvement can thus be attributed solely to the difference in the selected training data.

We will make this control explicit in the revised experimental description.


Q5: Could RINSE remove rare but important exploratory trajectories?

We agree that this is a potential limitation, particularly in extremely sparse-reward environments where a rare trajectory may contain information that is important for future exploration despite having low estimated local utility. Our current experiments do not establish that such trajectories can never be removed. To mitigate this risk, we intentionally use a small discard ratio by default, so that RINSE removes only a limited fraction of the lowest-scoring trajectories while retaining most of the collected data and its exploration diversity.

We will explicitly discuss this limitation. More generally, RINSE selects trajectories according to their estimated influence on the downstream target, rather than explicitly preserving exploration diversity. Combining influence-based selection with a diversity constraint is an interesting direction for future work.


Q6: Does RLHF toxicity reduction sacrifice response quality or diversity?

We agree that the existing toxicity or reward metrics do not fully establish generation quality. We therefore add reward-model-independent quality metrics on held-out Wiki-Toxic prompts. We compare RINSE and the unperturbed baseline at a matched toxicity level:

Metric RINSE Unperturbed baseline
Median perplexity ↓ 43.4 ± 2.6 50.5 ± 5.3
Distinct-2 ↑ 0.79 ± 0.01 0.72 ± 0.03
Distinct-3 ↑ 0.96 ± 0.00 0.92 ± 0.02
Seq-rep-4 ↓ 0.0037 ± 0.0013 0.0046 ± 0.0010

At equal toxicity, RINSE is more fluent, more diverse, and less repetitive than the no-filtering baseline. Thus, the toxicity reduction does not come at the cost of these basic generation-quality measures, despite requiring substantially less training to reach the same toxicity level. One possible explanation is an overlap between toxic and low-quality examples, although investigating this mechanism is beyond the scope of the paper.

We thank the reviewer again for these suggestions. We believe these additional experiments substantially strengthen the empirical support for our theoretical claims.

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

Missing a submission?

Loading the discussion…