Skip to content

Descent-to-Delete: Gradient-based methods for machine unlearningDescent-to-Delete: Gradient-Based Methods for Machine Unlearning

arXiv· arXiv:2007.02923· Seth Neel, Aaron Roth, Saeed Sharifi-MalvajerdiUniversity of PennsylvaniaIndexed by this site · 27 days ago· Originally publishedDefenses

Quick read

Other

Based on the paper PDF (AI-generated); refer to the original

The authors propose a data deletion algorithm for convex models based on gradient descent plus Gaussian perturbation, which the authors state is the first strong unlearning algorithm that can handle arbitrarily long adversarial update sequences with per-deletion runtime and steady-state error not growing with sequence length.

Questions
When a user requests data deletion, deleting from the database alone cannot eliminate the data's influence on the trained model, while retraining from scratch on every request is too costly. The authors study how to efficiently execute arbitrarily long insertion/deletion sequences under convex models while guaranteeing that the output is statistically indistinguishable from the retraining result.
Methods
Proposes Perturbed GD: after each insertion/deletion, perform a small amount of gradient descent starting from the previous round's model, then add Gaussian noise before publishing; add a regularization term for the non-strongly-convex case; in high dimensions, a distributed version using bootstrap sampling plus K-way partitioning, reservoir sampling to maintain the distribution, and updating only affected partitions.
Experiments and results
Purely theoretical work, no experiments. The authors prove: under strongly convex and smooth loss, strong, perfect unlearning is obtained (Theorem 3.2); under general convex loss, strong unlearning is obtained via regularization (Theorem 3.4); when the dimension is sufficiently high, the distributed version's accuracy–runtime tradeoff is better than the base version (Remark 4.6).
Limitations and future work
The authors state that for non-strongly-convex functions they cannot give a perfect unlearning algorithm with non-trivial parameters, leaving it as future work (Section 1.3). The paper is purely theoretical analysis and reports no experiments, tested models, or datasets.
Experimental setup(ε, δ)-unlearning、(α, β)-accuracy et al.
Threat model
A user requests deletion or addition of data points from an online service; the update sequence is arbitrarily long and may be adversarially chosen; the published model is required to be (ε, δ)-indistinguishable in distribution from the model retrained from scratch (approximate statistical indistinguishability, originating from differential privacy); each update must complete within a fixed runtime (measured in number of gradient computations).
Metrics
(ε, δ)-unlearning(α, β)-accuracygradient computations per update
AI summarySeth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi study the data deletion problem for convex models, combining convex optimization with reservoir sampling techniques to give the first batch of deletion algorithms that can handle arbitrarily long adversarial update sequences, and guarantee that the runtime of a single deletion and the steady-state error do not grow with the length of the update sequence. The paper introduces a new conceptual distinction: one may require that the entire state maintained by the optimization algorithm after deletion be statistically indistinguishable from the state obtained by retraining, or one may require only that the observable output be statistically indistinguishable from the observable output in the retraining case; under the weaker output-indistinguishability criterion, the authors give a more efficient deletion algorithm.

Seth Neel, Aaron Roth, and Saeed Sharifi-Malvajerdi study the data deletion problem for convex models, combining convex optimization with reservoir sampling techniques to give the first batch of deletion algorithms that can handle arbitrarily long adversarial update sequences, and guarantee that the runtime of a single deletion and the steady-state error do not grow with the length of the update sequence. The paper introduces a new conceptual distinction: one may require that the entire state maintained by the optimization algorithm after deletion be statistically indistinguishable from the state obtained by retraining, or one may require only that the observable output be statistically indistinguishable from the observable output in the retraining case; under the weaker output-indistinguishability criterion, the authors give a more efficient deletion algorithm.

Paper analysis

6 questions; open one to read the full answer

  1. What problem does this paper attempt to solve?

    Under convex models, how to handle arbitrarily long insertion/deletion sequences at fixed cost so that the published model is statistically indistinguishable from retraining from scratch.

    Core problem: data deletion for convex models (machine unlearning)—after a user requests deletion or addition of data, how to make the published model statistically indistinguishable from the retraining result without retraining from scratch, with each update's cost not growing with the length of the update sequence.

    • Problem setting: users provide data to services such as Facebook and Google; data autonomy (and GDPR's "right to be forgotten") requires the ability to withdraw data; but deleting from the database alone cannot eliminate the data's influence on the trained model, and the authors cite [SSSS17] as showing that information about training points can be extracted from conventional models.
    • Shortcomings of existing methods: the authors state that all prior work gives only weak unlearning (each update's runtime grows polynomially with the number of updates), handles only deletion and not addition, and requires the entire internal state to be indistinguishable (perfect).
    • Core observation: the empirical risk minimizer of a strongly convex loss is insensitive to perturbation of a single data point (Sensitivity Lemma 2.12: parameter movement is at most 2L/(mn)), so a small amount of gradient descent plus Gaussian perturbation suffices to mask one insertion/deletion; the convergence rate of gradient descent depends on the distance between the initial point and the optimum (Theorem 2.13, 2.14), and warm-starting from the previous round's model can greatly save iterations.
    • Proposed in the paper: two sets of algorithms—basic Perturbed GD (Section 3) and Perturbed Distributed Descent for high-dimensional data (Section 4); and two conceptual distinctions: perfect vs. non-perfect (whether the internal state must be indistinguishable) and strong vs. weak (whether runtime grows with sequence length).
    • Threat model:
      • Goal: after deleting or adding a single data point, the distribution of the published model is (ε, δ)-indistinguishable from the distribution of the published model retrained from scratch (Definition 2.4).
      • Update sequence: arbitrarily long, adversarially selectable, and may contain both additions and deletions; the basic algorithm in Section 3 also holds for adaptively chosen update sequences (note at the end of Section 2.1).
      • Capabilities/constraints: each update must complete within a fixed budget (about nI gradient computations); the dataset size is assumed to be at least n/2 throughout updates (Assumption 2.6).
      • Victim system: convex models trained with ERM and their publication pipeline; the authors state that because the output itself satisfies (ε, δ)-differential privacy, it resists membership inference attacks that observe a small number of published models (Section 1.1).
  2. What related research exists?

    Based on Ginart et al.'s statistically indistinguishable deletion definition, and related to Guo et al., SISA, distributed optimization, and differential privacy techniques.

    Deletion definitions and early unlearning work

    • Cao and Yang [CY15]—the authors state they were the first to study efficient data deletion from trained models under the notion of deterministic deletion, coining the term "machine unlearning"; the paper notes that deterministic deletion applies only to problems with very strong structure.
    • Ginart et al. [GGVZ19]—the authors state they gave the first deletion definition applicable to randomized algorithms (statistical indistinguishability), and this paper adopts their approximate deletion notion; they give a deletion algorithm for k-means, and the paper notes that its amortized runtime per update grows linearly with the number of updates, constituting weak deletion.

    Approximate deletion for convex models

    • Guo et al. [GGHvdM19]—for linear and logistic regression, adopts the same approximate statistical indistinguishability definition as this paper; the algorithm is likewise "convex optimization + Gaussian perturbation" but uses second-order Newton steps rather than this paper's first-order gradient steps; the paper notes that its error grows linearly with the number of updates, constituting weak deletion, and that its deletion process is deterministic and lacks this paper's property that the outputs before and after deletion jointly satisfy differential privacy.
    • Izzo et al. [ISCZ20]—focuses on linear regression, reducing the per-deletion runtime of [GGHvdM19] from quadratic to linear in the dimension.

    Partition-optimize-aggregate techniques

    • Zhang et al. [ZDW12]—analyzes the distributed optimization algorithm of "partition, optimize separately, average parameters" and gives accuracy bounds; this paper's main algorithm builds on it (adding final perturbation and reservoir sampling).
    • Nissim et al. [NRS07]'s Subsample-and-Aggregate and Papernot et al. [PAE+16]—similar partition-aggregation techniques in differential privacy; McMahan et al. [MMRyA16]'s FederatedAveraging is similar.
    • Bourtoule et al. [BCCC+19]'s SISA—broader target (non-convex models); the paper notes its deletion criterion is weaker (only requiring that the post-deletion model could have arisen from retraining), with no error guarantees, full retraining of affected partitions, no randomization, and no reservoir sampling.

    Interaction between deletion and privacy

    • Chen et al. [CZW+20]—observes that deterministic deletion processes such as SISA exacerbate membership inference risk when an attacker sees both the pre- and post-deletion models; the authors state that because this paper's deletion algorithm itself is randomized, the two outputs before and after deletion jointly satisfy (2ε, 2δ)-differential privacy, ruling out non-trivial membership inference.

    Positioning: the authors state that this paper differs from all prior work in that it allows the algorithm to keep a secret state in exchange for better bounds, supports arbitrary update sequences mixing additions and deletions, and gives the first strong unlearning algorithm (Section 1.2).

  3. How does the paper address this problem?

    Warm-started gradient descent plus Gaussian perturbation for release; perfect is achievable under strong convexity, regularization is added when not strongly convex, and in high dimensions partitioning plus reservoir sampling is used.

    Overall approach: both training and updates use projected gradient descent, pushing the parameters into the α-neighborhood of the optimal solution, and the release function adds Gaussian noise proportional to α, making the release results of retraining and updating (ε, δ)-indistinguishable; updates are warm-started from the previous round's parameters to exploit the property that "the closer the initial point, the faster the convergence." The paper gives two algorithms: Perturbed Gradient Descent (Section 3) and Perturbed Distributed Descent (Section 4).

    Problem formalization

    • ERM setting: the model is a parameter vector in a convex closed set Θ in R^d, with empirical loss fD(θ) = 1/n∑i=1n fzi(θ); the loss may be strongly convex/convex, L-Lipschitz, M-smooth.
    • Deletion definition: f_{publish}(R_A(D_{i-1}, u_i, \theta_i)) \stackrel{\epsilon,\delta}{\approx} f_{publish}(A(D_i)), i.e., the model released after updating and the model released after retraining are (ε, δ)-indistinguishable; if the update algorithm takes as input the previous round's released model (θ̃) rather than the secret model (θ̂), it is called perfect unlearning (Definition 2.4).
    • strong vs. weak: if the accuracies α, β are independent of the sequence length and the cost of the i-th update relative to the first is O(log i), it is called strong; if it is Ω(poly(i)), it is called weak (Definition 2.8).
    • Key lemmas: the sensitivity of the ERM solution for strongly convex + Lipschitz loss to a single addition or deletion is at most 2L/(mn) (Lemma 2.12); under strong convexity and smoothness, GD contracts the distance to the optimal solution by γ=(M−m)/(M+m) each step (Theorem 2.13).

    Perturbed GD: training, updating, and release

    • Training (Algorithm 1): perform T steps of projected GD from an arbitrary initial point, outputting the secret parameter θ̂; T ≥ I + log(Dmn/(2L))/log(1/γ).
    • Updating (Algorithm 2): after applying additions and deletions, warm-start from the parameters saved in the previous round and perform Ti steps of projected GD; each update has a budget of about nI gradient computations.
    • Release (Algorithm 3): add N(0, σ²I_d) Gaussian noise to the parameters and then make them public; σ is calibrated according to the sensitivity and (ε, δ) (Theorem 3.1 gives a closed form).
    • Strongly convex case: when Ti = I, strong (ε, δ)-unlearning is obtained (Theorem 3.1); if the input is changed to the previous round's released model and I is at least on the logarithmic order of a dimension-related quantity, with Ti = I + log(log(4di/δ))/log(1/γ), then strong perfect unlearning is obtained (Theorem 3.2); the authors state the intuition is that enough iterations are needed to "digest" the previous round's noise.

    Non-strongly-convex: regularized Perturbed GD

    • Design: use gz(θ) = fz(θ) + m/2|θ|22 to turn the convex loss into an m-strongly-convex one, then run the same set of algorithms on g; the regularization parameter m trades off noise error against regularization bias (Theorem 3.4 gives a closed form for m).
    • Two variants: Ti = I gives strong unlearning (Theorem 3.4); Ti = i²·I gives weak unlearning but with a better dependence on n (Theorem 3.5); Remark 3.6 gives a continuous tradeoff between runtime and dependence on n with Ti = i^(2ξ)·I (ξ ≥ 1).

    High-dimensional improvement: Perturbed Distributed Descent

    • Training (Algorithm 4): perform bootstrap sampling with replacement on the dataset (B = n^ξ points), randomly split into K = √B parts, optimize each part independently with GD, and average the parameters; run C = O(log(1/β)) copies in parallel and release the noised average of the copy with the lowest loss (Algorithm 7).
    • Updating (Algorithm 6): first use reservoir sampling that can handle additions and deletions (Algorithm 5) to maintain that "each partition is still equivalent to i.i.d. sampling with replacement from the current dataset" (Lemma 4.2), then only warm-start GD on the partitions containing changed points; each update affects at most Õ(B/n) points (Lemma 4.3), so under the same nI budget each affected partition can run more iterations.
    • Basis: the accuracy bound for partition averaging is cited from Corollary 2 of [ZDW12] (Theorem 4.4), requiring strong convexity and a G-Lipschitz and bounded Hessian; this distributional property is maintained by reservoir sampling under arbitrary update sequences and supports both the accuracy and indistinguishability proofs.
  4. What experiments did the paper conduct?

    Purely theoretical paper, no experiments; the results are accuracy–runtime–indistinguishability tradeoff bounds given by four theorems.

    Experimental setup

    The paper reports no experiments: no tested models, datasets, baseline implementations, review method, or sample size. All results are asymptotic bounds in theorem form, summarized in Table 1. Notation: n is the training set size, d is the dimension, I is the number of iterations for the first update (each update budget is about nI gradient computations), γ=(M−m)/(M+m), ξ ∈ [1, 4/3] is a distributed algorithm parameter.

    Main results

    Table 1 summarizes the tradeoffs of the four algorithms (accuracy column is steady-state accuracy, runtime column is the number of iterations at the i-th update, last column is the number of iterations for the from-scratch retraining baseline to reach the same accuracy):

    Swipe horizontally to read the table

    Algorithm (source)Loss assumptionTypeSteady-state accuracyIterations at i-th update
    PGD (Thm. 3.1)strongly convex, smoothstrongde^(−I)/(ε²n²)I
    PGD (Thm. 3.2)strongly convex, smoothstrong, perfectde^(−I)/(ε²n²)(log i)·I, I ≥ log(d/ε)
    Regularized PGD (Thm. 3.4)convex, smoothstrong(√d/(εnI))^(2/5)I
    Regularized PGD (Thm. 3.5)convex, smoothweak√(d/(εn√I))i²·I
    Distributed PGD (Thm. 4.5)strongly convex, smooth, Lipschitz with bounded Hessianstrongde^(−In^((4−3ξ)/2))/(ε²n²) + n^(−ξ)(log i)·I
    • The authors state that all bounds hold for arbitrarily long update sequences, with accuracy and per-update cost not growing with sequence length (except the weak variant).
    • The authors state that the perfect version (Thm. 3.2) and the non-perfect version (Thm. 3.1) have the same asymptotic accuracy-runtime tradeoff, at the cost that each update's runtime must be at least logarithmic in the dimension.
    • The authors state that the weak variant (Thm. 3.5) trades runtime growing polynomially with i for a better accuracy dependence on n.

    When the distributed algorithm is better

    • What was tested: comparison of the accuracy bounds of Distributed PGD and basic PGD (Thm. 3.1).
    • Result: Remark 4.6 gives α = Õ(γ^(In^((4−3ξ)/2))·d/(ε²n²) + n^(−ξ)); the authors state it beats Theorem 3.1 when d = Ω̃(ε²n^(2−ξ)/(γ^I − γ^(In^((4−3ξ)/2)))), i.e., the distributed version dominates when the dimension is sufficiently high.
    • Authors' interpretation: the distributed structure allocates the same nI gradient budget to smaller affected partitions, so each partition can run more iterations (Section 4).

    Privacy corollary

    • What was tested: the joint distribution of the two published outputs before and after deletion.
    • Result: the authors state that because the deletion algorithm itself is randomized, the two outputs jointly satisfy (2ε, 2δ)-differential privacy, ruling out non-trivial membership inference under reasonable ε, δ (Section 1.2); and note that methods such as [GGHvdM19] with "randomized training, deterministic deletion" do not have this property.

    Other ablations and analyses

    • Remark 3.6: with Ti = i^(2ξ)·I (ξ ≥ 1), the leading accuracy term of weak unlearning is of the form Õ((d log(1/δ))^(ξ/(3ξ+1))/(εnI)^(2ξ/(3ξ+1)) (see that remark for the closed form in the original source), allowing a continuous tradeoff between runtime and dependence on n.
    • Assumption 2.6: assumes the dataset size ni ≥ n/2 throughout updates; the authors state this assumption is not necessary and is only for expressing asymptotic bounds in terms of n.
    • Theorem 4.5 requires δ = O(B^(−1)), B = n^ξ, K = √B, C = log(2/β)/log 2 parallel copies.
    • Negative result: the authors state that for non-strongly-convex functions, their technique cannot give a perfect unlearning algorithm with non-trivial parameters (Section 1.3).
  5. What are some points that can be further explored?

    The authors state that perfect unlearning under non-strong convexity is future work; the paper is purely theoretical, with no experimental coverage.

    Limitations and future directions noted by the authors

    • Non-strongly-convex perfect unlearning: The authors state that for non-strongly-convex functions, their technique appears unable to give a perfect unlearning algorithm with non-trivial parameters, and call this a worthwhile future direction (Section 1.3).

    (The paper has no separate Limitations or Future Work section; the above is the only explicitly stated limitation and direction.)

    Scope of experimental coverage

    • The paper is purely theoretical work and ran no experiments: no tested models, datasets, baseline implementations, or review process; all results are the four theorems in Sections 3 and 4 and the asymptotic bounds in Table 1.
    • Theoretical scope: convex models under the ERM framework; the strongly convex results require the loss to be L-Lipschitz and M-smooth (Theorem 3.1, 3.2), and the distributed results additionally require the Hessian to be G-Lipschitz and bounded (Theorem 4.5); the authors cite [ZDW12] to state that these assumptions hold in common settings such as linear and logistic regression.
    • Update sequence assumptions: arbitrarily long, may include additions and deletions; the Section 3 algorithm holds for adaptive update sequences, and the proof of the Section 4 distributed algorithm is for non-adaptive update sequences (Lemma 4.2, proof of Theorem 4.5).
    • Dataset size assumption ni ≥ n/2 (Assumption 2.6), which the authors state is not necessary.
    • The paper reports no numerical instances, measured runtimes, or empirical comparisons with baseline algorithms.
  6. Summarize the main content of the paper

    Gradient methods for data deletion in convex models: warm-started GD plus Gaussian perturbation, which the authors state is the first strong unlearning algorithm.

    A theoretical paper on machine unlearning for convex models, addressing how to avoid retraining from scratch after users add or delete data while guaranteeing that the published model is (ε, δ)-statistically indistinguishable from the retraining result.

    • Conceptual framework: follows the approximate deletion definition of [GGVZ19] and generalizes it to mixed insertion/deletion sequences; distinguishes perfect (internal state also indistinguishable) from deletion that allows a secret state, and strong (each update's cost grows at most logarithmically with sequence length) from weak (polynomial growth) unlearning; the authors state that all prior work is weak and perfect.
    • Method: Perturbed GD—each update warm-starts from the previous round's parameters, performs a small amount of projected gradient descent, then adds Gaussian noise before publishing; for non-strongly-convex losses, adds (m/2)‖θ‖² regularization; in high dimensions, a distributed version using bootstrap sampling, K-way partitioning, reservoir sampling to maintain the distribution, and updating only affected partitions.
    • Main results (all theorems, summarized in Table 1):
      • Strongly convex smooth loss: strong (ε, δ)-unlearning, steady-state accuracy de^(−I)/(ε²n²), I iterations per update (Thm. 3.1); at the same accuracy, perfect is achievable provided each update has at least logarithmically many iterations in the dimension (Thm. 3.2).
      • General convex loss: strong unlearning after regularization, accuracy (√d/(εnI))^(2/5) (Thm. 3.4); weak variant accuracy √(d/(εn√I)), with i²·I iterations at the i-th update (Thm. 3.5).
      • High-dimensional case: Distributed PGD's accuracy-runtime tradeoff beats the basic version when d is sufficiently large (Thm. 4.5, Remark 4.6).
      • The authors state that the joint output before and after deletion satisfies (2ε, 2δ)-differential privacy, ruling out non-trivial membership inference.
    • Authors' conclusion: the authors state this is the first deletion algorithm that can handle arbitrarily long adversarial update sequences with per-deletion runtime and steady-state error not growing with sequence length; perfect unlearning under non-strong convexity is left as an open problem.
Read originalarxiv.org