SMS: Self-Supervised Model Seeding for Verification of Machine Unlearning

Weiqi Wang, Chenhan Zhang, Zhiyi Tian, Shui Yu

TL;DR

This paper introduces SMS, a novel method for verifying that a machine learning model has truly "forgotten" a user's data. Unlike previous methods that rely on backdoors and can only verify the removal of malicious data, SMS embeds user-specific "seeds" into genuine data, allowing for robust verification of genuine data removal. This is achieved through a self-supervised learning approach that balances model utility with effective seed embedding and verification.

What Problem Does This Paper Address?

The "right to be forgotten" is a crucial aspect of data privacy, allowing individuals to request the removal of their data from machine learning models. While many methods exist to perform this "machine unlearning," a significant challenge remains: how can users verify that their data has actually been removed? Existing verification methods often rely on "backdooring," where malicious samples are intentionally added to the training data. The idea is that if the model's performance on these backdoored samples degrades after unlearning, it implies the original data was removed. However, this approach has a critical flaw: it can only confirm the removal of the backdoored samples, not the user's genuine data, which is often distinct and behaves differently during unlearning. This leaves users without a reliable way to confirm their privacy rights have been respected, especially in scenarios involving approximate unlearning.

Methods

The core innovation of SMS is the concept of "self-supervised model seeding." Instead of relying on backdoors, SMS embeds unique, user-specific "seeds" directly into the genuine data. These seeds are designed to be invisible to the server but detectable by a user-trained verification model.

The process involves three main phases:

  1. Data Seeding: Users generate a seed (e.g., a random key or identifier) and embed it into their data using a steganography-like technique (Equation 4). This creates "seed-embedded data."
  2. Model Seeding Joint Training: The ML server trains the model using both the primary task (e.g., image classification) and a novel self-supervised model seeding task. This joint training ensures the model learns to represent the embedded seeds in its latent space while minimizing disruption to its primary task performance. The self-supervised task acts like an autoencoder, learning to reconstruct the seed-embedded data, thus capturing seed information.
  3. Seed Verification: After the unlearning process, users employ a separate, user-trained verification model. This model checks if the embedded seeds are still present in the model's output. If the seeds are gone, it signifies that the corresponding genuine data has been unlearned.

This approach addresses two key challenges:

  • Seed Secrecy: The self-supervised task allows the model to learn seeds without the server explicitly knowing what they are, preserving user privacy.
  • Model Utility Preservation: The joint training objective balances the primary task performance with the seed embedding, ensuring the model remains useful.

Datasets

The paper evaluates SMS on three standard public datasets:

  • MNIST
  • CIFAR10
  • CelebA

No new benchmarks were introduced; instead, the authors focused on evaluating SMS against existing verification methods on these established datasets.

Key Insights and Ideas

  • Genuine Data Verification is Crucial: The paper highlights that verifying the removal of genuine data is a distinct and more challenging problem than verifying the removal of backdoored data.
  • Seeds as Inherent Features: By embedding seeds as integral features of the data, SMS creates a direct link between the data and the model that is robust to unlearning.
  • Self-Supervised Learning for Secrecy and Utility: The self-supervised model seeding task is a clever way to embed seed information without revealing it to the server and simultaneously maintaining the model's primary task performance.
  • Stricter Unlearning Criterion: The disappearance of a seed, embedded as a subtle feature, is argued to be a stricter and safer criterion for unlearning than simply breaking a backdoor trigger.

Key Results

  • Effective Genuine Data Verification: SMS successfully verifies the unlearning of genuine samples across various unlearning methods (exact and approximate) and datasets.
  • Superior Model Utility Preservation: Compared to backdoor-based methods like MIB, SMS shows better or comparable model accuracy on the primary task, especially as the seed embedding rate (SSR) increases.
  • High Verifiability and Unambiguity: SMS achieves high scores for verifiability (detecting genuine seeds) and unambiguity (not mistaking other seeds for genuine ones), particularly when the seed embedding rate (SER) is sufficient (≥ 0.4).
  • Increased Running Time: SMS incurs a higher training time (around 10-20% increase) compared to non-verification methods due to the additional self-supervised task, but this is deemed acceptable for its enhanced verification capabilities.
  • MIB Limitations: The MIB method consistently fails to verify genuine data unlearning, maintaining high verification scores even after unlearning, as it only tracks backdoored samples.

Limitations and Future Work

  • Computational Cost: The primary limitation acknowledged is the increased computational cost (training time) associated with the self-supervised model seeding task.
  • Potential Adversarial Attacks: The paper mentions that untrusted servers might attempt targeted adversarial attacks to erase seed sub-spaces, potentially fooling single-signal verifiers.
  • Future Directions:
    • Amortizing computational costs by reusing early-layer parameters in the model architecture.
  • Strengthening seed linkage and concealment using techniques like steganography and texture embedding to better resist adversarial attacks.
  • Developing more efficient and robust unlearning verification approaches.

Summary updated

Abstract

Many machine unlearning methods have been proposed recently to uphold users' right to be forgotten. However, offering users verification of their data removal post-unlearning is an important yet under-explored problem. Current verifications typically rely on backdooring, i.e., adding backdoored samples to influence model performance. Nevertheless, the backdoor methods can merely establish a connection between backdoored samples and models but fail to connect the backdoor with genuine samples. Thus, the backdoor removal can only confirm the unlearning of backdoored samples, not users' genuine samples, as genuine samples are independent of backdoored ones. In this paper, we propose a Self-supervised Model Seeding (SMS) scheme to provide unlearning verification for genuine samples. Unlike backdooring, SMS links user-specific seeds (such as users' unique indices), original samples, and models, thereby facilitating the verification of unlearning genuine samples. However, implementing SMS for unlearning verification presents two significant challenges. First, embedding the seeds into the service model while keeping them secret from the server requires a sophisticated approach. We address this by employing a self-supervised model seeding task, which learns the entire sample, including the seeds, into the model's latent space. Second, maintaining the utility of the original service model while ensuring the seeding effect requires a delicate balance. We design a joint-training structure that optimizes both the self-supervised model seeding task and the primary service task simultaneously on the model, thereby maintaining model utility while achieving effective model seeding. The effectiveness of the proposed SMS scheme is evaluated through extensive experiments on three representative datasets, utilizing various model architectures and exact and approximate unlearning benchmarks. The results demonstrate that SMS provides effective verification for genuine sample unlearning, effectively addressing the limitations of existing solutions.
BibTeX
@article{wang2025sms,
  author = {Weiqi Wang and Chenhan Zhang and Zhiyi Tian and Shui Yu},
  title = {{SMS: Self-Supervised Model Seeding for Verification of Machine Unlearning}},
  journal = {IEEE Transactions on Dependable and Secure Computing},
  year = {2025},
  doi = {10.1109/tdsc.2025.3615615},
}
Figure