Machine Unlearning in Low-Dimensional Feature Subspace

Kun Fang, Qinghua Tao, Junxu Liu, Yaxin Xiao, Qingqing Ye, Jian Sun, Haibo Hu

TL;DR

Mainstream machine unlearning methods require computationally expensive model updates and frequent re-access to private training data, risking privacy leaks. This paper introduces LOFT (LOw-dimensional FeaTures), a plug-and-play approach that achieves unlearning by projecting model features into a low-dimensional subspace where forgetting and remaining data are easily separated. LOFT requires only a single, one-shot feature extraction pass and optimizes less than 1% of the model's parameters in under a second, without modifying the base model itself.

What Problem Does This Paper Address?

With the rise of data privacy regulations like GDPR, users now have the "right to be forgotten," forcing AI practitioners to remove specific user data from pretrained models—a process known as Machine Unlearning (MU).

The gold standard for MU is retraining the model from scratch without the deleted data (Exact MU), but this is prohibitively expensive for large deep neural networks (DNNs). To circumvent this, researchers use "approximate MU" methods (like fine-tuning or gradient ascent on the data to be forgotten). However, the authors identify two critical, underexplored flaws in existing approximate methods:

  1. Frequent data revisits: They repeatedly access both remaining and forgetting data during iterative updates, which incurs massive computational overhead and creates new privacy risks.
  2. Iterative model modifications: Every single unlearning request requires modifying the base model's weights. Managing unique model weights for thousands of individual user deletion requests is a deployment nightmare.

Methods

LOFT shifts the unlearning paradigm from updating model weights to learning a feature projection.

Instead of altering the pretrained backbone ($g_{\text{pre}}$) or the final linear layer ($h_{\text{pre}}$), LOFT inserts a small, trainable projection matrix $U$ (optimized on a Stiefel manifold) between them. The framework operates via an orthogonal projector $UU^\top$ to map features into a low-dimensional subspace.

Figure 1. Overview of our proposed LOFT and mainstream approximate MU methods. After unlearning, the trained projection matrix of LOFT is incorporated into the model’s forward propagation during inference, with details in Sec.4.2.

The optimization objective balances two goals:

  • Minimize information of forgetting data ($J_{\text{fg}}$): Minimizes the projection variance of the forgetting data features, effectively erasing their influence.
  • Maximize information of remaining data ($J_{\text{rm}}$): Minimizes the reconstruction error of the remaining data features, preserving the model's original performance.

Crucially, this optimization only requires computing two feature covariance matrices ($\Sigma_{\text{rm}}$ and $\Sigma_{\text{fg}}$) once. This "one-shot feature fetching" completely eliminates the need for iterative raw data access during training.

Datasets

The authors evaluated LOFT across several standard image classification, face recognition, emotion recognition, and machine translation benchmarks:

  • Tiny-ImageNet & ImageNet-1K: Used for multi-class, single-class, and instance-wise unlearning evaluations.
  • VGGFace2: Used to test class-centric unlearning in a real-world face recognition application.
  • RAF-DB: Used for emotion recognition unlearning.
  • WMT-19: Used with the m2m100_1.2B model to explore LOFT's potential in a generative machine translation task.

Key Insights and Ideas

  • The Subspace Separability Hypothesis: The core "aha moment" of the paper is that in an ideally retrained model, the features of forgetting data and remaining data naturally separate in a low-dimensional subspace. As shown via PCA spectrum analysis, after exact unlearning, forgetting features compress into significantly fewer dominant directions (sharper eigenvalue decay) compared to remaining features.
Figure 2. Spectrum and reconstruction analyses on features of Dfg and Drm w.r.t. the pretrained fpre and the retrained fexact, with results on the top-12 normalized eigenvalues and reconstruction errors.
  • Plug-and-Play Architecture: Because LOFT only trains a lightweight projection matrix, it can act as an isolated module. For multiple unique user deletion requests, a system administrator can simply maintain distinct, small projection matrices for each user rather than storing multiple copies of a multi-billion parameter base model.

Key Results

LOFT achieves state-of-the-art unlearning performance while operating orders of magnitude faster than competing methods:

  • Sub-Second Efficiency: On Tiny-ImageNet using a Swin-Transformer, LOFT's Run Time Efficiency (RTE) was just 0.56 seconds, compared to 15.00 seconds for SalUn and 428.24 seconds for standard Fine-Tuning.
  • Minimal Parameter Footprint: LOFT only optimized 0.69% of the total parameters (192,000 parameters) for the Swin-Transformer, and only 0.17% for a ResNet50 on VGGFace2.
  • Extreme Unlearning Robustness: In scenarios where 90% of the training classes had to be forgotten simultaneously, traditional weight-updating models collapsed or struggled to maintain accuracy on the remaining 10%. LOFT maintained an excellent balance, achieving the lowest average performance gap to the gold-standard retrained model.

Limitations and Future Work

While LOFT shows remarkable efficiency, the authors note a few limitations:

  • Generative Models: LOFT is primarily designed for classification tasks. Generative models (like diffusion models or LLMs) are highly sensitive to internal feature space modifications, meaning subtle projection changes can introduce visual artifacts or gibberish text. Although the authors demonstrated a successful preliminary trial on machine translation (WMT-19), tailoring LOFT safely to complex generative architectures remains an open challenge.
  • Certified Frameworks: Because LOFT bypasses weight updates entirely, existing theoretical frameworks for "certified unlearning" (which rely on bounding parameter proximity via differential privacy) cannot be directly applied to it. Developing a dedicated theoretical certification framework for subspace-based unlearning is highlighted as a valuable direction for future work.

Summary updated

BibTeX
@inproceedings{fang2026machine,
  author = {Kun Fang and Qinghua Tao and Junxu Liu and Yaxin Xiao and Qingqing Ye and Jian Sun and Haibo Hu},
  title = {{Machine Unlearning in Low-Dimensional Feature Subspace}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=fCiHjHZcqh},
}
Figure