Siamese Machine Unlearning with Knowledge Vaporization and Concentration

Songjie Xie, Hengtao He, Shenghui Song, Jun Zhang, Khaled B. LetaiefarXiv 2024 · DOI

Abstract

As privacy regulations like GDPR mandate the "right to be forgotten," machine learning models must efficiently remove specific training data without full retraining. We present a novel Siamese Machine Unlearning framework that replicates the behavior of a retrained model through two primary mechanisms: knowledge vaporization and knowledge concentration. By scattering representations of target data and tightening those of remaining data, our method achieves high privacy protection (0.00 MIA score) and maintains model utility with minimal computational overhead.

Introduction

The "right to be forgotten" presents a significant challenge for modern AI. While retraining from scratch is the gold standard for data removal, it is prohibitively expensive for large-scale models. Existing approximate unlearning methods often struggle with computational complexity, high memory requirements, or the inability to perform precise instance-wise unlearning. There is a critical need for a model-agnostic framework that can effectively erase specific data points while preserving the model's overall performance. Researchers from HKUST have addressed this by proposing a framework that mimics the internal state of a retrained model without the associated costs.

Methodology

The proposed framework is inspired by the observation that models never exposed to a data point produce inconsistent, scattered outputs for different augmentations of that point. Conversely, for data it has seen, the outputs are concentrated and stable.

Siamese Architecture

The framework utilizes a Siamese network where two augmented views of the same image are processed simultaneously using shared weights. This setup allows the model to learn relationships between different representations of the same instance without requiring a separate, memory-heavy "teacher" model.

Knowledge Vaporization and Concentration

The core of the unlearning process involves two opposing objectives:

  1. Knowledge Vaporization: For data designated for removal, the model is trained to minimize the similarity between the two augmented views. This effectively "vaporizes" the learned features, making the model's response to that data appear random and dispersed.
  2. Knowledge Concentration: For the remaining data, the model maximizes the similarity between views. This ensures the model retains a stable and high-quality understanding of the data it is meant to keep.
Visualization of knowledge vaporization (left) and concentration (right) during the unlearning process.

Adaptive Label Permutation

To avoid simple memorization of "bad" samples, the authors implement a probabilistic label-flipping technique. This guides the unlearning process without leaking information about the specific identity of the deleted samples, preventing the model from simply learning that a specific image is "incorrect."

Experimental Evaluation

The method was evaluated on standard benchmarks including CIFAR-10 and CIFAR-100 across multiple architectures, including VGG16-BN, ResNet18, and ResNet50, proving the approach is model-agnostic.

Key Results

  • Privacy Protection: The framework achieved a Membership Inference Attack (MIA) score of 0.00 in several scenarios, indicating that forgotten data is statistically indistinguishable from data never seen by the model. An attacker cannot determine whether a "forgotten" point was ever in the training set.
  • Utility Maintenance: In full-class unlearning on CIFAR-10, the model maintained 99.98% accuracy on the remaining training set and 94.29% on the test set, occasionally outperforming the "Retrain" gold standard.
  • Efficiency and Speed: The approach is highly efficient, requiring less than 2% of the remaining data to maintain performance. The runtime is significantly lower than retraining and competitive with the fastest approximate methods.

Discussion and Future Work

The "Dispersion Principle" introduced here suggests that effective unlearning is characterized by chaotic internal representations of forgotten data. While highly effective for image classification, future research should explore how these concepts of vaporization and concentration apply to Generative AI and Large Language Models (LLMs). Additionally, refining the balance between these two objectives for random (non-class-specific) unlearning remains a priority, as the model can sometimes use generalization from similar remaining samples to "guess" forgotten ones. Improving the "random unlearning" scenario is a suggested future path for the framework.

Summary updated

BibTeX
@misc{xie2024siamese,
  author = {Songjie Xie and Hengtao He and Shenghui Song and Jun Zhang and Khaled B. Letaief},
  title = {{Siamese Machine Unlearning with Knowledge Vaporization and Concentration}},
  year = {2024},
  eprint = {2412.01207},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2412.01207},
}
Figure