TL;DR
Suppose you trained a neural network, realized a specific subset of your data is problematic, and want to "unlearn" it without retraining the whole model from scratch. Classical Influence Functions (IFs) promise a mathematical shortcut for this, but they often wreck the model in practice by recklessly updating every single weight and relying on distorted numerical approximations. This paper fixes both issues by surgically restricting updates to only the 10% most relevant parameters and introducing a clean, bias-free solver—bringing quick, post-hoc model editing remarkably close to full retraining.
What Problem Does This Paper Address?
Influence functions estimate how a model's weights would shift if you removed or reweighted certain training examples. Mathematically, they approximate a Newton-style step using an inverse-Hessian-vector product (iHVP), $-\mathbf{H}^{-1}\mathbf{g}$, where $\mathbf{g}$ is the gradient of the target data and $\mathbf{H}$ is the Hessian (a matrix describing the local curvature of the loss landscape).
While great for figuring out which data points matter, classical IFs struggle when used to actually edit models. The authors pinpoint two compounding culprits:
- Collateral damage in flat directions: Neural networks localize knowledge, yet classical IFs update all parameters indiscriminately. Modern loss landscapes are full of flat, low-curvature directions (near-zero Hessian eigenvalues). Taking the inverse ($\mathbf{H}^{-1}$) blows up tiny, noisy gradients along these flat valleys into massive, destructive weight changes in parameters that had nothing to do with your target data.
- Solver distortion: Computing $\mathbf{H}^{-1}\mathbf{g}$ directly is intractable, so practitioners use an iterative algorithm called LiSSA. LiSSA diverges if $\mathbf{H}$ has negative eigenvalues—which deep networks almost always do. The standard fix is $\ell_2$ damping (adding $\lambda\mathbf{I}$ to $\mathbf{H}$), which keeps the math from exploding at the cost of warping the very loss landscape you are trying to navigate.
Methods
The authors tackle these two obstacles in tandem with two new tools:
- Generalized Influence Functions (GIFs): Instead of nudging the entire network, GIFs partition weights into editable target parameters ($\boldsymbol{\theta}_J$) and frozen parameters ($\boldsymbol{\theta}_{-J}$). Because you are still trying to satisfy the full-model optimality condition using fewer knobs, the math turns into an overdetermined least-squares problem solved via the Moore-Penrose pseudoinverse of the sub-Hessian ($\mathbf{H}_J^+\mathbf{g}$). To pick the right parameter subset $J$, the authors design CAPS (Curvature-Aware Parameter Selection), which scores parameter blocks to maximize target-gradient capture while penalizing flat curvature, alongside lighter proxies like selecting the Top-$\rho\%$ gradients or outputs.
- Pseudo-LiSSA (p-LiSSA): Because GIFs operate on the Gram matrix $\mathbf{H}_J^\top\mathbf{H}_J$—which is guaranteed to be positive-definite—p-LiSSA can iteratively solve the restricted iHVP without artificial $\ell_2$ damping. Implementing this requires two Hessian-vector products (HVPs) per step. Crucially, the authors prove that using the same mini-batch for both HVPs introduces statistical bias, so p-LiSSA draws two independent mini-batches per iteration to remain unbiased.
Datasets
The authors evaluate class-level unlearning across five standard image and text classification benchmarks (no new datasets are introduced):
- Vision: MNIST (FCN), CIFAR-10 (ResNet-18), and SVHN (VGG-11).
- Text: 20 Newsgroups and PubMed 20k RCT (both using a compact BERT-L2-H128 model).
Key Insights and Ideas
- Less is genuinely more in model editing: Updating 10% of the network isn't a compromise for speed; it mathematically tightens the approximation error bound (Theorem 1). By refusing to touch flat directions ($\theta_{-J}$), you strip out the small singular values that cause full-parameter updates to go haywire, provided your chosen subset still captures the bulk of the target gradient.
- Subspace selection accelerates the solver: Excluding low-curvature parameters doesn't just protect retained model behavior—it shrinks the condition number $\kappa$ of $\mathbf{H}_J^\top\mathbf{H}_J$, which directly speeds up p-LiSSA's convergence rate.
- Low activation $\neq$ safe to ignore: In ablations where the authors deliberately edited the bottom-scoring parameters, picking low-gradient or Reverse-CAPS blocks tanked accuracy. Surprisingly, editing blocks with the lowest forward-pass activations did not cause the same collapse, because low-activation units can still carry strong backward-pass gradient signals for the target loss.
Key Results
- Near-retraining unlearning: Updating just 10% of weights, GIFs achieve the highest accuracy on retained classes across all five benchmarks (preserving accuracy up to 2.12 percentage points better than IF baselines) while dropping accuracy on the forgotten target class to 0.00%–1.61% (up to 2.73 points better unlearning). On four of five datasets, retained accuracy lands within 0.44 percentage points of full from-scratch retraining.
- Cleaner, leaner iHVP solves: Across models scaling from 5K to 20M parameters, p-LiSSA slashes the iHVP residual error by 9.6$\times$ compared to the best baseline solver (conjugate gradient: 0.039 vs. 0.379 average residual), uses 19.8% less memory than the most memory-efficient baseline (227.5 MB vs. 283.0 MB for EKFAC), and runs in comparable time (2.75s vs. 2.82s for LiSSA).
Limitations and Future Work
- Second-order compute bottleneck: Even without damping, p-LiSSA requires two HVPs per iteration, which becomes expensive at foundation-model scale. Building cheaper restricted curvature approximations is a key next step.
- Static subspaces for large edits: Parameter selection happens once before the edit, but large model updates can shift local curvature mid-flight, motivating adaptive subspace selection.
- Generative models: Extending GIFs to LLMs and diffusion models remains open—not only due to scale, but because driving up training loss doesn't guarantee semantic forgetting (e.g., an LLM might still leak "unlearned" facts when paraphrased).
Summary updated