CURe: Conservative Unlearning with Soft-Gating Regularization for Offline Reinforcement Learning

Bijal Bharadva, Manuel Kelly, Yingxue Zhang, Xin ZhangNeurIPS 2026

TL;DR

Imagine training a self-driving car on millions of hours of logged human driving, only to realize later that you need to erase a specific subset of unsafe or private trips—without retraining from scratch or making the car forget how to drive on shared roads. This paper introduces CURe, a framework for "machine unlearning" in offline reinforcement learning that surgically removes the influence of unwanted trajectories while preserving useful behaviors in overlapping scenarios. It achieves near-original task performance and erases data traces in just ~2.5 minutes, compared to over 3 hours for full retraining.

What Problem Does This Paper Address?

Offline Reinforcement Learning (RL) trains decision-making agents purely from static, pre-collected datasets—crucial for domains like healthcare or robotics where live trial-and-error is dangerous. However, once deployed, we often need the agent to "forget" specific data due to privacy laws (like GDPR's right-to-be-forgotten) or safety audits. Retraining from scratch is prohibitively expensive, creating the need for machine unlearning.

Unlearning in offline RL is uniquely tricky compared to standard supervised learning for three reasons:

  1. Data Overlap: The trajectories you want to forget ($D_f$) and the ones you want to keep ($D_r$) often share the exact same states and actions—like driving normally through the same intersection before making an unsafe turn later.
  2. Bootstrapped Targets: RL agents learn value estimates based on their own future predictions. Tweaking one value ripples outward across the state space.
  3. Actor-Critic Coupling: Most RL agents pair a "critic" (which scores actions) with an "actor" (which chooses actions). Modifying the critic alone isn't enough; feedback loops can cause forgotten behaviors to resurface in the actor, or amplify small edits into catastrophic policy drift.
Figure 1: (a) State-action overlap between forget and retained data (2D t-SNE with KDE). (b) Cosine similarity between each forget trajectory’s gradient and a retained reference gradient: many forget gradients align with retained learning.

Uniformly penalizing the "forget" data acts like a sledgehammer: it crushes value estimates in shared regions, accidentally lobotomizing the agent on valid behaviors it still needs.

Methods

The authors propose CURe (Conservative Unlearning with soft-gating Regularization), a plug-in framework compatible with existing offline RL algorithms. Instead of treating all "forget" data equally, CURe reframes unlearning as an interference problem using three novel mechanisms:

  • TD-Gradient Interference Gating: For each trajectory in the forget set, CURe calculates its Temporal Difference (TD) semi-gradient—essentially, the direction that trajectory pushes the critic's weights. It compares this via cosine similarity to a reference gradient from the retained data. If the two gradients align, suppressing that forget trajectory would hurt retained skills, so CURe assigns a small soft-gate weight $w(\tau') \in [0, 1]$. If they conflict, it gets a large weight for aggressive forgetting.
  • State-Conditional Hinge Suppression: Rather than pushing the critic's $Q$-values on forgotten actions all the way down to zero, CURe anchors suppression to a retained baseline $V_r(s)$ (estimated via nearest-neighbor retained states in a minibatch). Using a hinge loss, it only penalizes a forget action if its value exceeds what the retained data justifies at that same state.
  • Coupled Actor-Critic Unlearning: CURe reuses the exact same interference gate $w(\tau')$ to penalize the actor (policy) from reproducing forget actions, preventing forgotten habits from creeping back in during policy updates.

Datasets

The authors do not introduce new datasets; instead, they evaluate on standard continuous-control robotics benchmarks from MuJoCo (Hopper, HalfCheetah, and Walker2D) using the D4RL medium-expert offline datasets. Following prior RL unlearning benchmarks, they randomly sample 1% and 5% of trajectories as the forget set (scaling up to 20% and 50% in stress tests).

Key Insights and Ideas

  • Unlearning under overlap is about conflict, not membership: Just because an action appears in a "forget" trajectory doesn't mean it should be erased. Measuring cosine alignment between TD gradients acts as a fast, effective proxy for whether forgetting a sample will cause collateral damage to retained skills.
  • Critic-only surgery fails: Ablation studies show that if you only suppress the critic without coupling the actor (NO-ACTOR), auditor-detected forget traces jump from 0% back up to 9.8%. Both halves of the agent must unlearn together.
  • Soft directionality beats brute force: Replacing CURe's smooth cosine gate with binary thresholding or gradient-magnitude weighting successfully erases the target data, but slashes task returns by ~18–19% due to over-penalizing shared regions.

Key Results

Tested across six diverse offline RL backbones (BEAR, BCQ, CQL, IQL, PLAS-P, TD3+BC), CURe demonstrates strong improvements across efficacy, utility, and speed:

  • Efficacy: Using TrajAuditor (an auditing tool that detects whether a policy still reflects influence from specific trajectories; lower on $D_f$ is better), CURe drives detectable influence on 5% forget sets down to 2.1%–3.4% on average across tasks—outperforming specialized baselines like TrajDeleter (4.4%–11.3%) and simple fine-tuning (15.3%–64.6%).
  • Utility: Post-unlearning returns stay tightly aligned with original pre-unlearning performance, avoiding the severe performance collapses seen in baselines on harder tasks like Walker2D, and even outperforming full retraining when 50% of the dataset is deleted.
Post-unlearning returns on HalfCheetah with 5% unlearning across six RL backbones
  • Efficiency: CURe completes unlearning in 2.5 minutes on average, an ~80x–90x speedup over retraining from scratch (196.8 to 223.9 minutes).

Limitations and Future Work

The authors note that CURe is not a certified privacy mechanism (unlike differential privacy); it empirically removes auditor-detectable influence rather than providing formal mathematical guarantees against adversarial reconstruction. Additionally, estimating per-trajectory gradients introduces some computational overhead, noise, and extra hyperparameters ($\lambda, \eta$). Future work aims to scale influence estimation, test against stronger auditors and targeted (non-random) deletions, and explore continual unlearning over long deployment lifecycles with formal stability guarantees.

Summary updated

Abstract

Offline reinforcement learning (RL) trains policies from static datasets, but deployed agents may later need to attenuate the influence of specific data for privacy, safety, or fairness. This is challenging in the overlap regime, where the forget set and retained data share state-action support: unlearning cannot be uniform as suppressing values on shared support can inadvertently erase behaviors required for high performance. We propose Conservative Unlearning with soft-gating Regularization (CURE), a selective unlearning framework tailored to overlap. CURE assigns each forget trajectory an overlap-interference score via cosine alignment between its temporal difference (TD) semi-gradient and a retained reference gradient, and uses it to soft-gate i) conservative, state-conditional critic suppression relative to a retained baseline and ii) coupled actor updates, selectively modulating forgetting based on interference, reducing impact on aligned data. We provide a first-order analysis showing that CURE descends a forget surrogate while controlling retained drift via alignment-dependent coupling. Across MuJoCo benchmarks and offline RL backbones, CURE consistently improves the forget-utility trade-off over baselines, achieving low auditor-detectable forget influence with near-original returns at a fraction of retraining cost.
BibTeX
@inproceedings{bharadva2026cure,
  author = {Bijal Bharadva and Manuel Kelly and Yingxue Zhang and Xin Zhang},
  title = {{CURe: Conservative Unlearning with Soft-Gating Regularization for Offline Reinforcement Learning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=66b4l76IM4},
}
Figure