TrajDeleter: Enabling Trajectory Forgetting in Offline Reinforcement Learning Agents

Chen Gong, Kecen Li, Jin Yao, Tianhao Wang
4/18/2024
cs.LGcs.CR

No official code found. Best implementation: 2019ChenGong/TrajDeleter (7 stars, MIT, last commit 2024-09-11).

Abstract

Reinforcement learning (RL) trains an agent from experiences interacting with the environment. In scenarios where online interactions are impractical, offline RL, which trains the agent using pre-collected datasets, has become popular. While this new paradigm presents remarkable effectiveness across various real-world domains, like healthcare and energy management, there is a growing demand to enable agents to rapidly and completely eliminate the influence of specific trajectories from both the training dataset and the trained agents. To meet this problem, this paper advocates Trajdeleter, the first practical approach to trajectory unlearning for offline RL agents. The key idea of Trajdeleter is to guide the agent to demonstrate deteriorating performance when it encounters states associated with unlearning trajectories. Simultaneously, it ensures the agent maintains its original performance level when facing other remaining trajectories. Additionally, we introduce Trajauditor, a simple yet efficient method to evaluate whether Trajdeleter successfully eliminates the specific trajectories of influence from the offline RL agent. Extensive experiments conducted on six offline RL algorithms and three tasks demonstrate that Trajdeleter requires only about 1.5% of the time needed for retraining from scratch. It effectively unlearns an average of 94.8% of the targeted trajectories yet still performs well in actual environment interactions after unlearning. The replication package and agent parameters are available online.

View on arXivView PDF

Code Implementations(1)

MIT

[NDSS 2025] TrajDeleter: Enabling Trajectory Forgetting in Offline Reinforcement Learning Agents

74Shell, PythonJan 13, 20242 years agoMIT

Similar Papers

Cite this paper

@article{gong2024trajdeleter,
  title  = {TrajDeleter: Enabling Trajectory Forgetting in Offline Reinforcement Learning Agents},
  author = {Chen Gong and Kecen Li and Jin Yao and Tianhao Wang},
  year   = {2024},
  eprint = {2404.12530},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2404.12530v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2404.12530.svg)](https://codeofpaper.com/paper/2404.12530)

Discussion