Table of Contents
Fetching ...

Forgetting Similar Samples: Can Machine Unlearning Do it Better?

Heng Xu, Tianqing Zhu, Dayong Ye, Lefeng Zhang, Le Wang, Wanlei Zhou

TL;DR

The paper investigates machine unlearning when training data contains target samples and their similar counterparts, arguing that many methods forget only the target sample rather than its full influence. It formalizes influence via mutual information and introduces similarity-entailed datasets to stress-test forgetting, revealing that existing schemes—and even retraining-from-scratch baselines—often leave residual influence from similar samples. To address this, the authors propose robustness-training–inspired enhancements for both image and language unlearning, including expanded unlearning sets and manifold smoothing with KL regularization, which improve forgetting while preserving performance. The study provides practical insights and a public implementation to spur more robust unlearning techniques in privacy-sensitive settings.

Abstract

Machine unlearning, a process enabling pre-trained models to remove the influence of specific training samples, has attracted significant attention in recent years. Although extensive research has focused on developing efficient machine unlearning strategies, we argue that these methods mainly aim at removing samples rather than removing samples' influence on the model, thus overlooking the fundamental definition of machine unlearning. In this paper, we first conduct a comprehensive study to evaluate the effectiveness of existing unlearning schemes when the training dataset includes many samples similar to those targeted for unlearning. Specifically, we evaluate: Do existing unlearning methods truly adhere to the original definition of machine unlearning and effectively eliminate all influence of target samples when similar samples are present in the training dataset? Our extensive experiments, conducted on four carefully constructed datasets with thorough analysis, reveal a notable gap between the expected and actual performance of most existing unlearning methods for image and language models, even for the retraining-from-scratch baseline. Additionally, we also explore potential solutions to enhance current unlearning approaches.

Forgetting Similar Samples: Can Machine Unlearning Do it Better?

TL;DR

The paper investigates machine unlearning when training data contains target samples and their similar counterparts, arguing that many methods forget only the target sample rather than its full influence. It formalizes influence via mutual information and introduces similarity-entailed datasets to stress-test forgetting, revealing that existing schemes—and even retraining-from-scratch baselines—often leave residual influence from similar samples. To address this, the authors propose robustness-training–inspired enhancements for both image and language unlearning, including expanded unlearning sets and manifold smoothing with KL regularization, which improve forgetting while preserving performance. The study provides practical insights and a public implementation to spur more robust unlearning techniques in privacy-sensitive settings.

Abstract

Machine unlearning, a process enabling pre-trained models to remove the influence of specific training samples, has attracted significant attention in recent years. Although extensive research has focused on developing efficient machine unlearning strategies, we argue that these methods mainly aim at removing samples rather than removing samples' influence on the model, thus overlooking the fundamental definition of machine unlearning. In this paper, we first conduct a comprehensive study to evaluate the effectiveness of existing unlearning schemes when the training dataset includes many samples similar to those targeted for unlearning. Specifically, we evaluate: Do existing unlearning methods truly adhere to the original definition of machine unlearning and effectively eliminate all influence of target samples when similar samples are present in the training dataset? Our extensive experiments, conducted on four carefully constructed datasets with thorough analysis, reveal a notable gap between the expected and actual performance of most existing unlearning methods for image and language models, even for the retraining-from-scratch baseline. Additionally, we also explore potential solutions to enhance current unlearning approaches.
Paper Structure (41 sections, 1 theorem, 11 equations, 56 figures, 4 tables)

This paper contains 41 sections, 1 theorem, 11 equations, 56 figures, 4 tables.

Key Result

Theorem 1

Let sample $x_i$ and samples $x_j \in \mathcal{S}(x_i)$ be similar. Then the following holds: where $\mathrm{Inf}(x_j; M | x_i)$ represents the influence of sample $x_j$ on model $M$ when given $x_i$, which quantifies how much $x_j$ affects the learned parameters or outputs of model $M$, conditioned on $x_i$ already being included in training process.

Figures (56)

  • Figure 1: Illustration of samples near target sample.
  • Figure 2: Sample distribution of Similarity-Entailed MNIST dataset. It can be seen that the selected target sample and its similar samples are clustered together, indicating that they will have a similar influence on the model.
  • Figure 3: Cosine similarity between each target sample and its similar samples in the Similarity-Entailed MNIST dataset. Each number is the index of the corresponding sample. The similarity between most samples is below $0.8$, indicating a considerable difference between those samples.
  • Figure 4: Target Samples and their similar samples in Similarity-Entailed MNIST. Each number denotes the index of the corresponding sample in training dataset.
  • Figure 5: Topic visualization of our constructed Similarity-Entailed PKU dataset. We can conclude that each target sample and its similar samples consistently cluster under the same topic, suggesting they almost convey the same core meaning.
  • ...and 51 more figures

Theorems & Definitions (6)

  • Definition 1: Machine Unlearning DBLP:conf/sp/CaoY15
  • Definition 2: Influence of one Sample on the Model
  • Definition 3: Similar Samples
  • Theorem 1
  • proof
  • Definition 4: Similarity-Entailed Dataset