Orthogonal Gradient Projection for Machine Unlearning

This direction is split into other directions: orthogonal gradient projection (conflicting gradient projection). Its last version stays readable and citable here.

Version 1 of 1110 papers167 conceptsfrozen 2026-10-04

Machine learning models are often compared to sponges, soaking up every bit of data they encounter. However, in the era of privacy regulations like GDPR and mounting copyright concerns, we frequently need these models to "unlearn" specific information—whether it is a user's private data, a copyrighted art style, or a harmful reasoning path.

The challenge is that standard fine-tuning to "forget" often leads to utility collapse: the model erases the target concept but accidentally destroys its general intelligence in the process. Researchers have converged on a geometric solution to this problem: Orthogonal Gradient Projection. By mathematically decoupling the directions used for forgetting from the directions required for remembering, models can surgically remove data while keeping their core capabilities intact.

The Geometry of Conflicting Objectives

When we ask a model to unlearn, we are essentially performing multi-objective optimization. We have a forgetting objective (e.g., maximize the loss on a specific person's face) and a retention objective (e.g., maintain low loss on all other faces).

In high-dimensional parameter space, these two objectives often point in conflicting directions. As Zheyuan Liu and Meng Jiang observe in Dual-Space Smoothness for Robust and Balanced LLM Unlearning, a standard gradient update for forgetting can "clash" with the gradients needed for general utility, leading to catastrophic performance drops.

The intuition behind the solution is simple: if we can ensure that the weight updates for forgetting are orthogonal (at a 92-degree angle) to the weights that define the model's general knowledge, the two processes will not interfere with each other.

Gradient Surgery and Null Space Projection

The most common implementation of this idea is often called "Gradient Surgery." In Unlearning Concepts in Diffusion Model via Concept Domain Correction and Concept Preserving Gradient, Yongliang Wu and colleagues propose projecting unlearning gradients onto the orthogonal complement of the retention gradients.

Mathematically, this involves:

  1. Calculating the gradient required to forget the target data.
  2. Calculating the gradient required to maintain performance on a "retain set."
  3. Subtracting the component of the forget-gradient that aligns with the retain-gradient.

This ensures that the resulting update only modifies the model in directions that are "invisible" to the retained knowledge. Ali Abbasi and his team take this further in CovarNav by projecting updates into the null space of the feature covariance matrix of the retained data. This provides a mathematical guarantee that the weight updates will have zero impact on the model's performance for the preserved classes.

Protecting the Semantic Manifold

A recurring theme across this research is that models don't just store facts; they store them on a "manifold" of related concepts. Justin Lee and Zheda Mai argue in Continual Unlearning for Text-to-Image Diffusion Models that unlearning one concept (like a specific artist's style) can inadvertently damage semantically similar concepts.

To prevent this, researchers use subspace orthogonalization. In the UNLEARN framework, Tyler Lizzo describes using a modified Gram-Schmidt process to separate the "task subspace" of the unwanted knowledge from the rest of the model. By identifying the specific mathematical features unique to the target data, the model can erase those features while preserving the shared logic required for other tasks.

Why It Works: The Orthogonal Subspace Hypothesis

Why is it even possible to find these "conflict-free" directions? The answer lies in the high-dimensional geometry of neural networks.

As Yuanbang Liang and Yang Li show in Grokked Models are Better Unlearners, as models move beyond initial overfitting toward "grokking" (true generalization), their internal representations become more modular. In these well-trained models, the gradients associated with different data subsets naturally become more orthogonal.

This "Orthogonal Subspace Hypothesis," discussed by Jimmy Z. Di in Machine Unlearning Fails to Remove Data Poisoning Attacks, suggests that different types of information—such as clean data versus malicious "poisoned" data—occupy distinct parameter regions. This geometric separation is what allows researchers like Shiji Zhou to develop Efficient Utility-Preserving Machine Unlearning, which surgically suppresses specific semantic subspaces without disturbing the model's broader functional landscape.

Representation-Level Interventions

While many methods focus on weight updates, newer approaches like Metamorphosis Representation Projection (MRP) by Zeming Wei apply these geometric constraints directly to the model's hidden states. By inserting projection matrices that map activations onto the orthogonal complement of a "harmful" subspace, the model becomes physically unable to represent the forbidden knowledge. This representation-level "surgery" is often more robust against "relearning" attacks, where an adversary tries to force the model to remember the forgotten data through a few steps of additional training.

Papers in this version

Showing 60 of 110 papers.

History & citationVersion 1 · 2026-10-04

Split into other directions · Permanent link

View frozen version 1

Cite this direction

Latest version (a living page):

@misc{lacuna_orthogonal_gradient_projection_for_machi_8495cbc3,
  title = {Orthogonal Gradient Projection for Machine Unlearning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/orthogonal-gradient-projection-for-machine-unlearning/rdr_8495cbc3d8ae4da49c7d80092fd921b8},
  note = {Latest version of a living research direction; cite a version for a fixed text. Accessed 2026-11-26},
}

This exact version (version 1, frozen text):

@misc{lacuna_orthogonal_gradient_projection_for_machi_8495cbc3_v1,
  title = {Orthogonal Gradient Projection for Machine Unlearning},
  author = {{Lacuna}},
  howpublished = {Lacuna research direction},
  year = {2026},
  url = {https://lacuna.tiptreesystems.com/direction/orthogonal-gradient-projection-for-machine-unlearning/rdr_8495cbc3d8ae4da49c7d80092fd921b8/v/1},
  note = {Version 1, frozen 2026-10-04. Accessed 2026-11-26},
}