Saved in:
Bibliographic Details
Main Authors: Hu, Yuzheng, Wu, Fan, Ye, Haotian, Forsyth, David, Zou, James, Jiang, Nan, Ma, Jiaqi W., Zhao, Han
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.19281
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912628466515968
author Hu, Yuzheng
Wu, Fan
Ye, Haotian
Forsyth, David
Zou, James
Jiang, Nan
Ma, Jiaqi W.
Zhao, Han
author_facet Hu, Yuzheng
Wu, Fan
Ye, Haotian
Forsyth, David
Zou, James
Jiang, Nan
Ma, Jiaqi W.
Zhao, Han
contents Online reinforcement learning (RL) excels in complex, safety-critical domains but suffers from sample inefficiency, training instability, and limited interpretability. Data attribution provides a principled way to trace model behavior back to training samples, yet existing methods assume fixed datasets, which is violated in online RL where each experience both updates the policy and shapes future data collection. In this paper, we initiate the study of data attribution for online RL, focusing on the widely used Proximal Policy Optimization (PPO) algorithm. We start by establishing a \emph{local} attribution framework, interpreting model checkpoints with respect to the records in the recent training buffer. We design two target functions, capturing agent action and cumulative return respectively, and measure each record's contribution through gradient similarity between its training loss and these targets. We demonstrate the power of this framework through three concrete applications: diagnosis of learning, temporal analysis of behavior formation, and targeted intervention during training. Leveraging this framework, we further propose an algorithm, iterative influence-based filtering (IIF), for online RL training that iteratively performs experience filtering to refine policy updates. Across standard RL benchmarks (classic control, navigation, locomotion) to RLHF for large language models, IIF reduces sample complexity, speeds up training, and achieves higher returns. Together, these results open a new direction for making online RL more interpretable, efficient, and effective.
format Preprint
id arxiv_https___arxiv_org_abs_2505_19281
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement Learning
Hu, Yuzheng
Wu, Fan
Ye, Haotian
Forsyth, David
Zou, James
Jiang, Nan
Ma, Jiaqi W.
Zhao, Han
Machine Learning
Online reinforcement learning (RL) excels in complex, safety-critical domains but suffers from sample inefficiency, training instability, and limited interpretability. Data attribution provides a principled way to trace model behavior back to training samples, yet existing methods assume fixed datasets, which is violated in online RL where each experience both updates the policy and shapes future data collection. In this paper, we initiate the study of data attribution for online RL, focusing on the widely used Proximal Policy Optimization (PPO) algorithm. We start by establishing a \emph{local} attribution framework, interpreting model checkpoints with respect to the records in the recent training buffer. We design two target functions, capturing agent action and cumulative return respectively, and measure each record's contribution through gradient similarity between its training loss and these targets. We demonstrate the power of this framework through three concrete applications: diagnosis of learning, temporal analysis of behavior formation, and targeted intervention during training. Leveraging this framework, we further propose an algorithm, iterative influence-based filtering (IIF), for online RL training that iteratively performs experience filtering to refine policy updates. Across standard RL benchmarks (classic control, navigation, locomotion) to RLHF for large language models, IIF reduces sample complexity, speeds up training, and achieves higher returns. Together, these results open a new direction for making online RL more interpretable, efficient, and effective.
title A Snapshot of Influence: A Local Data Attribution Framework for Online Reinforcement Learning
topic Machine Learning
url https://arxiv.org/abs/2505.19281