Machine Unlearning of Features and Labels
Alexander Warnecke, Lukas Pirch, Christian Wressnegger, Konrad Rieck
TL;DR
This work addresses privacy leaks in machine learning by moving beyond pointwise data removal to unlearning entire features and labels. It introduces a novel framework that uses influence functions to map perturbations in training data to closed-form model updates, enabling efficient and flexible unlearning. The authors establish certified unlearning guarantees for strongly convex losses and demonstrate strong empirical performance for non-convex models across three practical scenarios: removing sensitive features, eliminating unintended memorization in language models, and repairing label poisoning in vision. The approach offers significant speed-ups over retraining and competitive fidelity, with practical implications for satisfying data-removal requests and mitigating privacy risks in real-world systems. The work also provides a thoughtful discussion of limitations and diffusion into differential privacy, offering a concrete pathway toward scalable, privacy-preserving ML deployments.
Abstract
Removing information from a machine learning model is a non-trivial task that requires to partially revert the training process. This task is unavoidable when sensitive data, such as credit card numbers or passwords, accidentally enter the model and need to be removed afterwards. Recently, different concepts for machine unlearning have been proposed to address this problem. While these approaches are effective in removing individual data points, they do not scale to scenarios where larger groups of features and labels need to be reverted. In this paper, we propose the first method for unlearning features and labels. Our approach builds on the concept of influence functions and realizes unlearning through closed-form updates of model parameters. It enables to adapt the influence of training data on a learning model retrospectively, thereby correcting data leaks and privacy issues. For learning models with strongly convex loss functions, our method provides certified unlearning with theoretical guarantees. For models with non-convex losses, we empirically show that unlearning features and labels is effective and significantly faster than other strategies.
