Data Unlearning via Inverse Distillation

Aleksei Leonov, Nikita Kornilov, Zhenhe Zhang, Evgeny Burnaev, Iaroslav Koshelev, Alexander KorotinarXiv 2026

TL;DR

Inverse Distillation Unlearning (IDU) is a unified framework that simultaneously compresses slow, multi-step generative models (like diffusion or flow matching) into fast one-step generators while "erasing" specific unwanted data or concepts. By framing unlearning as a min-max inverse distillation problem, IDU can remove sensitive content without ever needing access to the original "retained" training data.

What Problem Does This Paper Address?

Modern generative models, such as Stable Diffusion or Flux, produce stunning results but come with two major baggage items:

  1. Inference Cost: They require multiple steps (often 20–50) to generate a single image, making them computationally expensive.
  2. Data Memorization: These models often memorize and reproduce copyrighted, private, or unsafe content from their training sets.

"Machine Unlearning" (MU) aims to fix the second problem by removing the influence of specific data after the model is trained. However, most existing MU methods for generative models are either slow (requiring multi-step sampling) or require access to the original "safe" training data to maintain quality. IDU bridges this gap by providing a way to perform unlearning and model distillation (speeding up the model) in a single, data-efficient step.

Methods

The core innovation of IDU is its use of Inverse Distillation.

In standard distillation, a "student" model learns to mimic a "teacher." In inverse distillation, we treat the teacher model as a fixed repository of data knowledge and try to "retrieve" the underlying distribution.

IDU formulates this as a min-max objective. The authors represent the target data distribution as a mixture of two parts:

  • The Forget Set ($p_0^F$): The specific samples or classes we want to erase.
  • The Generated Distribution ($p_0^\theta$): What the student generator produces.

By comparing this mixture against the teacher's original distribution, the generator is forced to produce only the retained data to "complete" the teacher's distribution.

Figure 1: Pipeline of our IDU framework. Forget and generated samples form two forward-noising branches. The framework alternates between two steps: first, update the fake model on both branches with weights ρ and 1 −ρ to detect generations similar to the forget samples, then update the generator to suppress these generations using the frozen teacher and the fake model.

As shown in Figure 1, the framework alternates between two steps:

  1. Fake Model Update: A "fake" model learns to distinguish between the teacher's knowledge and the current mixture of forget/generated data.
  2. Generator Update: The generator is updated to suppress the production of samples that look like the forget set, guided by the teacher and the fake model.

Datasets

The authors evaluated IDU on two standard benchmarks:

  • MNIST: A dataset of handwritten digits. Experiments focused on forgetting specific digits (e.g., 3 and 7).
  • CIFAR-10: A dataset of 60,000 color images in 10 classes. Experiments focused on forgetting classes like "automobile" and "truck."

To measure success, they used an off-shelf classifier to calculate the Forgotten-class Generation Rate (FGR)—the percentage of generated images that still belong to the "erased" category.

Key Insights and Ideas

  • Data-Free Retention: The most significant "aha moment" is that you don't need the "good" training data to keep the model's quality high. Because the teacher model already contains the knowledge of the retained data, the student naturally learns to fill in the parts of the distribution not covered by the forget set.
  • Unified Objective: Unlike other methods that use separate, often conflicting losses for "forgetting" and "retaining," IDU uses a single mixture-based objective. This leads to more stable training.
  • Model Agnostic: The framework works across different generative backbones, including Flow Matching (FM) and Score identity Distillation (SiD).

Key Results

IDU successfully suppresses unwanted classes while maintaining high generation quality for the rest of the data.

Table 1: Main FM/SiD results on MNIST and CIFAR-10. FID uses full-data references for Pre- train/Pure distillation and retained-data references for Retrain/IDU; FGR is reported per forgotten class. Values are mean ± standard deviation over five runs, except † values from (Zhou et al., 2024).

According to Table 1 (Figure 2):

  • Forgetting Efficiency: In Flow Matching experiments, the FGR dropped to as low as 0.16% for MNIST and 0.39% for CIFAR-10.
  • Quality Preservation: The Retain FID (a measure of image quality on the kept classes) remained competitive with "retrain-from-scratch" baselines, often outperforming other one-step unlearning methods.
  • Robustness: Table 2 (Figure 3) shows that this performance is consistent across all individual classes in both datasets, not just the ones chosen for the main experiments.

Limitations and Future Work

  • Optimization Stability: The authors noted that in Flow Matching, the "forgetting" effect can sometimes reverse after many training iterations, requiring careful selection of the training checkpoint.
  • Hyperparameter Sensitivity: The trade-off parameter $\rho$ (which controls the strength of forgetting) requires tuning. As shown in Table 3 (Figure 4), setting $\rho$ too high can lead to "collateral damage," where the model starts suppressing classes it was supposed to keep or suffers a drop in overall image quality.
  • Scale: While effective on MNIST and CIFAR-10, the method has yet to be tested on massive, billion-parameter text-to-image models like Stable Diffusion 3 or SDXL. Future work will likely explore how this scales to complex, prompt-based unlearning.

Summary updated

BibTeX
@misc{leonov2026data,
  author = {Aleksei Leonov and Nikita Kornilov and Zhenhe Zhang and Evgeny Burnaev and Iaroslav Koshelev and Alexander Korotin},
  title = {{Data Unlearning via Inverse Distillation}},
  year = {2026},
  eprint = {2609.36099},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2609.36099},
}
Figure