← Lab /AI/ML

Safe-RULE removes poisoned data influence, improving safety in offline RL

Safe-RULE can eliminate the effect of poisoned samples without retraining and boost safety performance in offline safe reinforcement learning

AI/ML arXiv 8 Jun 2026 Defense Prototype evidence

Published as “Safe-RULE: Safe Reinforcement UnLEarning”

Why it matters

Safe-RULE offers a practical way to remediate poisoned offline safe RL policies without costly retraining, which could be valuable for safety-critical systems that rely on pre-collected data.

Summary

Safe-RULE can remove the influence of poisoned trajectories from offline safe RL policies without retraining from scratch, achieving cost reductions and reward recoveries comparable to clean-trained policies. Experiments on four Safety-Gymnasium benchmarks show it outperforms Trajdeleter and fine-tuning, though a slight performance gap remains versus a policy trained only on clean data. The evidence comes from tables reporting lower evaluation cost and higher reward after 5,000 unlearning steps, and from a claim that it "effectively reduces poisoning effects and recovers safer policy behavior without retraining from scratch". The study is limited to simulated environments and assumes the poisoned and clean subsets can be identified.

What they found 3

  1. Safe-RULE reduces poisoning impact and recovers safer behavior without full retraining

    “Experiments on offline safe RL benchmarks show that Safe-RULE effectively reduces poisoning effects and recovers safer policy behavior without retraining from scratch.”

  2. Safe unlearning generally lowers cost or raises reward across environments and algorithms

    “Overall, safe unlearning reduces cost or improves reward in many settings across different environments, attacks, and safe RL algorithms, demonstrating its general applicability.”

  3. Adaptive forget-gradient weight βf yields better performance than a fixed weight

    “The results show that adaptive βf achieves better performance in most cases, especially in retaining reward while maintaining competitive cost reduction.”

Caveats 4

  • the unlearned policy may not fully recover the reward and cost performance of a clean policy trained only on clean data
  • some cases still involve reward-cost trade-offs, indicating that safe unlearning must balance performance recovery and safety recovery
  • Our method assumes that the keep dataset Dk and forget dataset Df can be identified or separated. If poisoned samples cannot be detected or isolated, Safe-RULE cannot directly remove their influence.
  • current experiments are conducted in simulation environments, and further evaluation on real robotic or autonomous systems is needed to validate the practical effectiveness of the method.

What’s new here 4

  • applies unlearning to both reward and cost components in safe RL policies
  • introduces an adaptive forget-gradient weight (βf) to balance forgetting and retention
  • defends offline safe RL policies without needing to retrain from scratch or re-access the environment
  • demonstrates effectiveness across multiple offline safe RL algorithms and poisoning attacks