Skip to main content
QUICK REVIEW

[Paper Review] SSSE: Efficiently Erasing Samples from Trained Machine Learning Models

Alexandra Peşte, Dan Alistarh|arXiv (Cornell University)|Jul 8, 2021
Adversarial Robustness in Machine LearningComputer Science39 references5 citations
TL;DR

SSSE is a novel, efficient method for erasing specific training samples from already-trained machine learning models by computing a closed-form parameter update using the empirical Fisher Information Matrix (FIM), enabling near-optimal performance comparable to retraining from scratch while requiring only access to the data to be erased. It outperforms prior methods by leveraging full FIM structure and rank-one updates, making it practical for both convex and non-convex models.

ABSTRACT

The availability of large amounts of user-provided data has been key to the success of machine learning for many real-world tasks. Recently, an increasing awareness has emerged that users should be given more control about how their data is used. In particular, users should have the right to prohibit the use of their data for training machine learning systems, and to have it erased from already trained systems. While several sample erasure methods have been proposed, all of them have drawbacks which have prevented them from gaining widespread adoption. Most methods are either only applicable to very specific families of models, sacrifice too much of the original model's accuracy, or they have prohibitive memory or computational requirements. In this paper, we propose an efficient and effective algorithm, SSSE, for samples erasure, that is applicable to a wide class of machine learning models. From a second-order analysis of the model's loss landscape we derive a closed-form update step of the model parameters that only requires access to the data to be erased, not to the original training set. Experiments on three datasets, CelebFaces attributes (CelebA), Animals with Attributes 2 (AwA2) and CIFAR10, show that in certain cases SSSE can erase samples almost as well as the optimal, yet impractical, gold standard of training a new model from scratch with only the permitted data.

Motivation & Objective

  • To address the growing need for users to withdraw consent and erase personal data from trained machine learning models, especially under regulations like GDPR.
  • To overcome limitations of existing sample erasure methods, which are either too computationally expensive, too inaccurate, or restricted to specific model types.
  • To develop a general-purpose, efficient, and accurate method for removing individual or subsets of training samples from trained models without retraining from scratch.
  • To provide a deterministic, analytically grounded, and practical solution that only requires access to the data to be erased, not the full original training set.

Proposed method

  • SSSE formulates a Newton-type update for model parameters using a first-order Taylor expansion of the leave-k-out loss around the original model’s optimal parameters.
  • It approximates the Hessian using the empirical Fisher Information Matrix (FIM), which enables efficient computation via one gradient per data point and fast matrix inversion using rank-one updates.
  • The method uses the full FIM (not just diagonal elements), capturing cross-feature dependencies that improve erasure accuracy compared to prior approaches like scrubbing.
  • It computes a single-step closed-form update to the model parameters that reflects the removal of specified training samples, minimizing the need for iterative optimization.
  • The approach is applicable to both convex and non-convex models, with stronger theoretical guarantees in the convex case due to unique optima.
  • Hyperparameters are selected using novel evaluation metrics—confusion distance for binary/multinomial classification—that assess erasure quality beyond standard accuracy.

Experimental results

Research questions

  • RQ1Can a single-step, closed-form parameter update achieve sample erasure performance close to retraining from scratch, without requiring access to the original training data?
  • RQ2How does using the full FIM (including off-diagonal terms) compare to using only the diagonal or adding noise, as in prior work?
  • RQ3To what extent does the SSSE method preserve model accuracy on non-erased data while effectively removing the target samples?
  • RQ4How sensitive is the method to the number of samples being removed, and does this affect the validity of the Taylor approximation?
  • RQ5Can the proposed evaluation metrics—confusion distance and its ratio—effectively guide hyperparameter selection and reflect true erasure quality?

Key findings

  • SSSE achieves sample erasure performance that is nearly indistinguishable from the gold standard of retraining from scratch on CelebA, AwA2, and CIFAR10 datasets.
  • Using the full FIM (including off-diagonal terms) significantly improves erasure quality compared to methods that use only the diagonal or add noise, as demonstrated in direct comparisons.
  • The method outperforms gradient ascent and scrubbing updates, particularly in preserving accuracy on non-erased samples while effectively misclassifying removed samples.
  • The optimal hyperparameter ε, selected via confusion distance ratio, results in SSSE updates that closely match the behavior of the retrained model θ⋆₋ₛ on both test and removed data splits.
  • Including gradients from the leave-k-out training set (D∖S) in the update slightly improves performance, suggesting potential for further refinement.
  • The method is robust and practical: it requires only access to the data to be erased, not the original dataset, and operates via a single deterministic closed-form update.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.