Learning to Rewind via Iterative Prediction of Past Weights for Practical Unlearning

Jinhyeok Jang, Jaehong Kim, Chan-Hyun Youn

Introduction

Machine learning models are often compared to sponges, soaking up vast amounts of information from their training data. While this enables high performance, it also means they inadvertently absorb private information, copyrighted material, or even malicious "backdoors." When such problematic data is identified, the ideal solution is to have the model "forget" it—a process known as Machine Unlearning.

The gold standard for unlearning is retraining the model from scratch on a dataset that excludes the forgotten data. However, for modern large-scale models, this is often computationally prohibitive or impossible if the original training set is no longer accessible. In a paper presented at AAAI-2025, researchers from ETRI and KAIST propose InvWNN (Inverse Weight Nowcasting Network), a novel approach that effectively "rewinds" a model to a state prior to its encounter with the problematic data.

The Challenges of Modern Unlearning

Existing unlearning techniques typically face three significant hurdles:

  1. Data Dependency: Many methods require access to the full original training set to ensure the model retains its performance on "good" data while forgetting the "bad" data.
  2. Knowledge Corruption: Techniques that use "incorrect labels" to force forgetting often introduce noise, degrading overall accuracy or causing malfunctions on legitimate data.
  3. Linearity Limitations: Previous "rewinding" methods, such as Task Vectors, often rely on linear extrapolation. However, the trajectory of a model's weights during training is highly non-linear, particularly in complex architectures like Transformers.

Proposed Method: InvWNN

The core innovation of this work is InvWNN, a specialized deep neural network designed for past weight prediction. Instead of attempting to "break" the model's associations, the authors treat unlearning as a trajectory inversion problem.

The "Rewind" Logic

The process involves three main steps:

  1. Forward Observation: The trained model is fine-tuned further on the "forget dataset" ($D_f$), and the resulting weight changes are recorded over several epochs.
  2. Inverse Prediction: InvWNN takes this "future" weight trajectory and predicts the "past" weights—the state the model would have occupied before it was influenced by $D_f$.
  3. Iterative Application: To ensure complete erasure of the influence, this process is repeated. The predicted past state serves as the starting point for the next iteration of fine-tuning and prediction.
Overview of the InvWNN past weight prediction process.

This approach effectively inverts the concept of Weight Nowcasting (WNN), which is traditionally used to predict future weights to accelerate training. By using a DNN-based predictor, InvWNN can capture the complex, non-linear dynamics of weight space transitions.

Experimental Evaluation

The authors evaluated InvWNN across various architectures and tasks:

  • Classification: ResNet18 (CIFAR-10), Pyramid Vision Transformer (PVTv2) (CIFAR-100), and ConvNext (TinyImageNet).
  • Generative Models: Diffusion models trained on MNIST to forget specific digits.
  • InvWNN Training: The predictor itself was trained on an external dataset of weight histories, ensuring it generalizes to unseen architectures.

Key Results and Insights

InvWNN demonstrates superior performance in several critical areas:

Side Effect Removal and Backdoor Defense

A key highlight is the method's ability to remove "backdoors"—malicious triggers that cause a model to misbehave. InvWNN successfully restored the model's focus to actual objects rather than hidden triggers.

Backdoor damage recovery performance compared to other methods.

As shown in the experimental results, the proposed method (InvWNN) achieves significantly higher accuracy on clean labels while effectively reducing the accuracy on backdoor labels compared to baseline methods like "Random Label" or "NegGrad."

Performance Stability

Unlike methods that cause significant drops in overall test accuracy, InvWNN maintains high performance on the remaining data. For instance, on ResNet18 with CIFAR-10, it achieved a Remaining Accuracy (RA) of 92.24%, outperforming standard baselines.

Generative Unlearning

In the context of diffusion models, InvWNN successfully prevented the generation of specific target digits without the "garbage" artifacts often produced by simpler unlearning methods.

Conclusion

InvWNN represents a significant step forward in practical machine unlearning by framing the problem as trajectory inversion. By leveraging a non-linear weight predictor, it avoids the pitfalls of data dependency and knowledge corruption. While the method requires a pre-trained predictor and iterative computation, its ability to generalize across architectures and effectively remove complex side effects like backdoors makes it a promising tool for maintaining trustworthy AI systems.

Summary updated

BibTeX
@inproceedings{jang2025learning,
  author = {Jinhyeok Jang and Jaehong Kim and Chan-Hyun Youn},
  title = {{Learning to Rewind via Iterative Prediction of Past Weights for Practical Unlearning}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2025},
  doi = {10.1609/aaai.v39i25.34822},
}
Figure