Contrastive Unlearning: A Contrastive Approach to Machine Unlearning
Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence. Main Track. Pages 7464-7472.
https://doi.org/10.24963/ijcai.2025/830
Keywords
- Machine Learning: ML: Trustworthy machine learning
- Multidisciplinary Topics and Applications: MTA: Security and privacy
- Computer Vision: CV: Representation learning
- AI Ethics, Trust, Fairness: ETF: Safety and robustness
Abstract
Machine unlearning aims to eliminate the influence of a subset of training samples (i.e., unlearning samples) from a trained model. Effectively and efficiently removing the unlearning samples without negatively impacting the overall model performance is challenging. Existing works mainly exploit input and output space and classification loss, which can result in ineffective unlearning or performance loss. In addition, they utilize unlearning or remaining samples ineffectively, sacrificing either unlearning efficacy or efficiency.
Our main insight is that the direct optimization on the representation space utilizing both unlearning and remaining samples can effectively remove influence of unlearning samples while maintaining representations learned from remaining samples. We propose a contrastive unlearning framework, leveraging the concept of representation learning for more effective unlearning. It removes the influence of unlearning samples by contrasting their embeddings against the remaining samples' embeddings
so that their embeddings are closer to the embeddings of unseen samples.
Experiments on a variety of datasets and models on both class unlearning and sample unlearning showed that contrastive unlearning achieves the best unlearning effects and efficiency with the lowest performance loss compared with the state-of-the-art algorithms. In addition, it is generalizable to different contrastive frameworks and other models such as vision-language models. Our main code is available on github.com/Emory-AIMS/Contrastive-Unlearning
@inproceedings{ijcai2025p830,
title = {Contrastive Unlearning: A Contrastive Approach to Machine Unlearning},
author = {Lee, Hong kyu and Zhang, Qiuchen and Yang, Carl and Lou, Jian and Xiong, Li},
booktitle = {Proceedings of the Thirty-Fourth International Joint Conference on
Artificial Intelligence, {IJCAI-25}},
publisher = {International Joint Conferences on Artificial Intelligence Organization},
editor = {James Kwok},
pages = {7464--7472},
year = {2025},
month = {8},
note = {Main Track},
doi = {10.24963/ijcai.2025/830},
url = {https://doi.org/10.24963/ijcai.2025/830},
}
TY - CPAPER TI - Contrastive Unlearning: A Contrastive Approach to Machine Unlearning AU - Lee, Hong kyu AU - Zhang, Qiuchen AU - Yang, Carl AU - Lou, Jian AU - Xiong, Li T2 - Proceedings of the Thirty-Fourth International Joint Conference on Artificial Intelligence, IJCAI-25 PB - International Joint Conferences on Artificial Intelligence Organization PY - 2025 SP - 7464 EP - 7472 DO - 10.24963/ijcai.2025/830 UR - https://doi.org/10.24963/ijcai.2025/830 ER -Copied
Machine-readable versions of this paper, for tools and AI agents: