Abstract
Deep Neural Networks (DNNs) are known to "memorize" training data, which can be extracted through privacy attacks even after the raw data is deleted from servers. As privacy regulations like GDPR mandate the "Right to be Forgotten," model owners need efficient ways to remove specific data's influence from trained models. This paper introduces Amnesiac Unlearning, a "selective undo" method that subtracts specific weight updates from the final model. Evaluated on MNIST and CIFAR100, the method provides near-instantaneous data removal with negligible performance loss, offering a scalable and effective alternative to full retraining.
The Privacy Crisis in Machine Learning
Modern deep learning models are notoriously "leaky." Even when raw training data is deleted, the model's weights often retain a "memory" of that data. This vulnerability is exploited by attacks such as Membership Inference and Model Inversion. In Model Inversion, an attacker can reconstruct recognizable versions of training samples just by querying the model or inspecting its weights.
Under GDPR Article 17, individuals have the right to request their data be erased. For a model owner, the most robust response is to delete the data and retrain the model from scratch. However, for large-scale models, this is computationally and financially unsustainable. The core challenge is achieving "unlearning" that is both fast and effective without destroying overall model utility.
Proposed Methods for Selective Forgetting
The researchers compared three strategies for data removal:
- Naive Retraining: Removing the target data and continuing training on the remaining set. This relies on "catastrophic interference" to eventually overwrite the old memory, but it is slow and often leaves "ghosts" of the data for many epochs.
- Unlearning (Relabeling): The sensitive data is assigned random labels, and the model is briefly retrained on this corrupted data to actively break the previous associations.
- Amnesiac Unlearning: The primary contribution of this work. During training, the system logs which data samples appear in each batch and saves the corresponding parameter updates ($\Delta\theta$). To forget a specific record, the owner simply subtracts the saved updates associated with that record's batches from the final model weights: $$\theta_{protected} = \theta_{final} - \sum \Delta\theta_{sensitive\_batches}$$
Experimental Results
The methods were tested on MNIST and CIFAR100 using a ResNet18 architecture. The results highlight the stark difference in efficacy between traditional retraining and the proposed selective subtraction.
Key findings include:
- Instantaneous Forgetting: Amnesiac Unlearning drops the target data accuracy to near zero immediately after the subtraction step. In contrast, Naive Retraining on CIFAR100 still retained ~40% accuracy on the "deleted" data after 10 additional epochs.
- Performance Preservation: If the removed data constitutes less than 1% of the total training batches, the model's general accuracy remains stable. For larger removals, a brief fine-tuning phase on the remaining data quickly restores performance.
- Attack Resistance: Membership Inference attacks, which previously had a 97% success rate (recall) in identifying training data, dropped to 0% recall immediately after the Amnesiac "undo" operation.
Limitations and Storage Trade-offs
The main drawback of Amnesiac Unlearning is the storage overhead. Saving weight updates for every batch during training requires significant disk space. While this "storage tax" is a hurdle for massive models like LLMs, the authors argue it remains far more cost-effective than the massive compute power required for full retraining. Furthermore, because the method removes entire batches, some "collateral" learning from non-sensitive data in the same batch is lost, though this is easily recovered through minimal fine-tuning.
Conclusion
Amnesiac Unlearning provides a practical, high-speed mechanism for record-level data removal in neural networks. By shifting the burden from computation to storage, it enables model owners to comply with privacy regulations without the prohibitive costs of constant retraining.
Summary updated