Learn What You Want to Unlearn: Unlearning Inversion Attacks against Machine Unlearning
Hongsheng Hu, Shuo Wang, Tian Dong, Minhui Xue
TL;DR
This work reveals a previously underexplored privacy risk in machine unlearning by introducing unlearning inversion attacks that exploit differences between the original model $\boldsymbol{\theta}$ and the unlearned model $\boldsymbol{\theta}_u$ under an MLaaS threat model. It formalizes two attack modes: feature recovery via gradient inversion using $\nabla^* = \boldsymbol{\theta} - \boldsymbol{\theta}_u$ and a gradient-based optimization with a dummy input and TV prior, and label inference via probing samples and output-difference analysis, including a ZOO-based black-box probing strategy. Through extensive experiments on CIFAR-10/100, STL-10 plus medical and financial datasets, the authors demonstrate effective feature recovery under approximate unlearning and reliable label inference across multiple settings, while exact unlearning shows leakage primarily in small-data regimes. The paper also proposes defenses—parameter obfuscation, model pruning, and fine-tuning—that mitigate leakage but incur significant reductions in unlearned-model utility, underscoring the need for safer unlearning designs. Overall, this work introduces an essential measurement tool for privacy risk in unlearning and motivates future work on designing unlearning methods with provable privacy guarantees without sacrificing practical performance.
Abstract
Machine unlearning has become a promising solution for fulfilling the "right to be forgotten", under which individuals can request the deletion of their data from machine learning models. However, existing studies of machine unlearning mainly focus on the efficacy and efficiency of unlearning methods, while neglecting the investigation of the privacy vulnerability during the unlearning process. With two versions of a model available to an adversary, that is, the original model and the unlearned model, machine unlearning opens up a new attack surface. In this paper, we conduct the first investigation to understand the extent to which machine unlearning can leak the confidential content of the unlearned data. Specifically, under the Machine Learning as a Service setting, we propose unlearning inversion attacks that can reveal the feature and label information of an unlearned sample by only accessing the original and unlearned model. The effectiveness of the proposed unlearning inversion attacks is evaluated through extensive experiments on benchmark datasets across various model architectures and on both exact and approximate representative unlearning approaches. The experimental results indicate that the proposed attack can reveal the sensitive information of the unlearned data. As such, we identify three possible defenses that help to mitigate the proposed attacks, while at the cost of reducing the utility of the unlearned model. The study in this paper uncovers an underexplored gap between machine unlearning and the privacy of unlearned data, highlighting the need for the careful design of mechanisms for implementing unlearning without leaking the information of the unlearned data.
