Abstract
Fast-NTK is a novel framework designed to make machine unlearning practical for large-scale models. By integrating Neural Tangent Kernels (NTK) with parameter-efficient fine-tuning (PEFT), Fast-NTK updates only a minimal subset of model weights—such as batch normalization layers in CNNs or visual prompts in Transformers. This approach achieves "gold standard" unlearning performance, effectively neutralizing the influence of forgotten data while preserving model accuracy on retained datasets, all at a significantly reduced computational cost compared to full-model retraining or standard NTK methods.
Introduction
As "Right to be Forgotten" regulations gain traction globally, AI developers face a difficult technical challenge: Machine Unlearning. If a user requests their data be removed, simply deleting it from a database is insufficient; the influence of that data may still reside within the weights of a trained deep neural network (DNN).
The "gold standard" for unlearning is retraining the model from scratch without the "forget" data. However, for large-scale models, this is prohibitively expensive. Previous research turned to Neural Tangent Kernels (NTK), a mathematical framework allowing for "one-shot" unlearning updates. Yet, standard NTK methods require computing Jacobian matrices for every model parameter. For models with millions of parameters, memory and computation requirements explode, limiting NTK unlearning to small models and datasets.
Methods
Fast-NTK bridges the gap between theoretical NTK performance and large-scale practicality by applying NTK-based unlearning only to a small subset of parameters, a strategy inspired by Parameter-Efficient Fine-Tuning (PEFT).
Instead of calculating updates for the entire model, Fast-NTK focuses on specific "unlearning zones":
- For CNNs: Tuning only the Batch Normalization (BN) layers.
- For Vision Transformers (ViTs): Modifying only visual prompts (small learnable vectors appended to the input).
By restricting updates to these areas, the number of tunable parameters drops to between 0.05% and 4.88% of the total model. Fast-NTK then uses a closed-form linear update equation to shift these weights, neutralizing the influence of the "forget set" while preserving performance on the "retain set."
Experimental Setup
The researchers evaluated Fast-NTK across several standard benchmarks to prove scalability:
- CIFAR-10: Testing CNN architectures like MobileNetV2 and ResNet-110.
- ImageNet-R: Testing Vision Transformers (ViT-Tiny, Small, and Base).
- ImageNet-1K: Used for initial pre-training of the models.
In these experiments, the "forget set" typically consisted of all images from a specific class (e.g., removing all "airplane" data), while the "retain set" consisted of the remaining classes.
Key Results
Fast-NTK demonstrates that updating a tiny, strategically chosen subspace of parameters is sufficient to scrub the influence of specific training samples. While deep networks are highly non-linear, the NTK's linear approximation remains remarkably accurate when restricted to a small parameter set.
Key empirical findings include:
- Massive Parameter Reduction: Fast-NTK reduced the number of parameters requiring computation by over 99% in some cases (e.g., only 0.06% for ViT-Base).
- Effective Scrubbing: On the "forget set" ($D_f$), accuracy dropped to 0% in nearly all cases, matching the performance of a model retrained from scratch.
- Performance Preservation: Accuracy on the "retain set" ($D_r$) and hold-out sets remained high and stable, showing negligible degradation compared to the original model.
- Scalability: While previous NTK methods were limited to models with ~8M parameters, Fast-NTK successfully handled models with 88M parameters and larger datasets.
Discussion and Future Work
A significant challenge identified is the influence of pre-trained models. If a foundation model already "knows" the data to be unlearned from its pre-training phase, the unlearning process is more complex. Linear probing experiments showed that pre-trained models retain significant knowledge of classes even before fine-tuning.
Future Work: * Efficiency: Currently, the NTK matrix computation scales quadratically ($O(N^2)$) with the number of samples. Future research will explore low-rank approximations to speed this up. * Foundation Models: Further investigation is needed to effectively unlearn data from models pre-trained on massive-scale open-web datasets.
Summary updated