NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Open Vocabulary Domain Unlearning

Sumanth V Udupa, Mehrtash Harandi, Yadan Luo, Mahsa BaktashmotlaghNeurIPS 2026

TL;DR

Vision-Language Models (VLMs) can easily mistake a cartoon car on a billboard for a real vehicle, or learn dangerous diagnostic shortcuts from medical textbook diagrams. Existing methods to "unlearn" visual styles only work on the exact object classes shown during training, failing when novel objects appear in the wild. This paper introduces Open-Vocabulary Domain Unlearning (OVDU) and a surgical weight-editing technique that erases an entire visual style across all concepts—even unseen ones—using just four examples per class.

What Problem Does This Paper Address?

Pre-trained VLMs like CLIP are masters of zero-shot generalization, meaning they can recognize concepts they haven't explicitly been fine-tuned on. However, they also absorb unwanted stylistic domains. If you are building an autonomous vehicle, you want it to recognize real cars ("retain" domain) while ignoring illustrated cars on advertisements ("forget" domain). Standard class unlearning is too blunt—erasing "car" makes the vehicle blind to real traffic.

Approximate Domain Unlearning (ADU) attempts to erase just the visual style, but current methods suffer from a hidden data-leakage flaw: they train and test on the exact same closed set of object classes. When you train a model to ignore cartoon cars and cartoon trucks, it merely memorizes those specific class-style pairs. Show it a billboard with a cartoon dinosaur—an unseen class—and the unlearning fails, or worse, the model's general ability to recognize real-world objects collapses. True domain erasure must be class-agnostic, transferring seamlessly from a small set of training classes to the open-ended real world.

Methods

To erase a visual style without giving the model global amnesia, the authors ditch standard prompt-tuning and instead perform surgical edits directly on the vision encoder's weights (keeping the text encoder frozen). Their framework combines a classic parameter-isolation trick with a brand-new geometric loss function:

Figure 1: Overview of the Targeted Manifold Scattering (TMS) framework. Images from the retain (Dr) and forget (Df) domains are processed through a Fisher-masked Image Encoder to isolate domain-specific updates. The TMS loss applies two decoupled geometric forces: (1) The Retention Component protects semantic integrity by contrasting same-class retain and forget embeddings (yr = yf). (2) The Targeted Confusion Component actively diffuses the forget representations by hard-mining cross-class retain clusters (yr ̸= yf) and scattering the forget embeddings (zf) into these unrelated regions, achieving efficient erasure without global semantic collapse.
  • Fisher-Guided Parameter Isolation (Baseline foundation): Style and meaning are deeply entangled in VLM layers. Using the empirical Fisher Information Matrix (which measures how sensitive a model's loss is to small changes in each weight), the authors compute a normalized ratio comparing forget-domain sensitivity to retain-domain sensitivity. They create a hard binary mask that freezes shared semantic weights and restricts updates only to weights that care disproportionately about the unwanted visual style.
  • Targeted Manifold Scattering (TMS) (Novel): Standard unlearning pushes forget embeddings away indiscriminately or shifts the entire feature space globally, warping unseen classes. Inspired by Direct Preference Optimization (DPO), TMS uses a smooth log-sigmoid loss to apply two decoupled geometric forces:
  • Retention Component: Forces real-domain embeddings to stay clustered with same-class real images rather than drifting toward same-class forget images.
  • Targeted Confusion Component: Uses "hard mining" to find whichever wrong-class real cluster a forget image already slightly resembles, and actively pulls it in. Instead of shifting the forget domain as one intact block, TMS locally shatters and scatters it into unrelated regions of the feature space.

Datasets

The authors formalize the OVDU evaluation protocol, splitting standard datasets into mutually exclusive "seen" classes (varying from 25% to 100% of classes, using up to 8 shots per class) for unlearning, and evaluating on all classes (seen + unseen).

  • Unlearning Benchmarks: Office-Home (65 classes), Mini-DomainNet (126 classes), and PACS (7 classes with extreme style shifts like Photo, Cartoon, and Sketch).
  • Zero-Shot Robustness Benchmarks: ImageNet-1K and CIFAR-100 are used post-unlearning to verify that the VLM's broader general knowledge remains intact.

Key Insights and Ideas

  • Global Shifts Destroy Unseen Classes: Prior ADU methods use Maximum Mean Discrepancy (MMD) with prompt tuning to push forget and retain distributions apart. When trained on only a few classes, MMD calculates a global shift vector biased by those specific objects. Applying that shift globally drags unseen retain classes right out of their true semantic clusters, causing catastrophic forgetting.
  • Scattering Beats Translating: Simply pushing a domain into an isolated corner of latent space (manifold translation) leaves its internal stylistic structure intact. Scattering embeddings into existing, unrelated cross-class clusters destroys the style's geometry locally without disturbing global alignment.
  • Prompt Tuning Isn't Mandatory for Safety: It is often assumed that directly editing VLM weights will ruin zero-shot generalization. This paper shows that with a relative Fisher mask and localized scattering, direct weight editing preserves foundational knowledge far better than prompt-based unlearning.

Key Results

Performance is measured via the Harmonic Mean (HM) between Retain Accuracy (higher is better) and the Erasure Rate ($100 - \text{Forget Accuracy}$).

Table 1: Unlearning performance across different class fractions (γ) with |Df| = 1. F: Forget domain accuracy (%), R: Retain domain accuracy (%), HM: Harmonic Mean (%). Best values for each fraction and dataset are in bold.
  • Preventing Unseen Class Collapse: On DomainNet with only 25% of classes seen during training, the state-of-the-art ADU baseline suffers catastrophic collapse on unseen real-world classes—retain accuracy plunges to 2.91% (unseen HM of 5.64%). The authors' TMS method maintains 72.04% unseen retain accuracy while dropping unseen forget accuracy to 34.20% (unseen HM of 68.78%).
  • Superior Trade-offs Across the Board: TMS achieves the highest overall HM across every tested dataset and class-availability fraction (Table 1), and scales cleanly to forgetting 3 domains simultaneously.
  • Extreme Sample Efficiency: Because hard-mining extracts rich geometric signals from individual images, TMS with just 4 shots per class outperforms 8-shot baselines—achieving 76.79% HM vs. ADU's 61.06% (at 50% seen classes on DomainNet).
  • Preserving General Intelligence: After unlearning the "Painting" domain on DomainNet, ADU's zero-shot ImageNet accuracy plummets from 63.38% down to 28.45%, whereas TMS holds steady at 49.30%.

Limitations and Future Work

  • Diagonal Fisher Approximations: The Fisher mask looks at each parameter independently, ignoring cross-parameter interactions. Consequently, it acts as a helpful local guide rather than a strict mathematical guarantee of global semantic preservation. Future work could explore structured or low-rank Fisher approximations.
  • Multi-Domain & Cross-Modal Limits: While tested on erasing up to three domains at once, the upper limits of multi-domain erasure remain unexplored. Additionally, because the text encoder is kept frozen, future work is needed to extend TMS to text weights to prevent subtle cross-modal information leakage.

Summary updated

BibTeX
@inproceedings{udupa2026open,
  author = {Sumanth V Udupa and Mehrtash Harandi and Yadan Luo and Mahsa Baktashmotlagh},
  title = {{Open Vocabulary Domain Unlearning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=hR9v42DbaF},
}
Figure