Authors: Aleksei Leonov, Nikita Kornilov, Zhenhe Zhang, Evgeny Burnaev, Iaroslav Koshelev, Alexander Korotin
Organizations: AI Foundation lab, Moscow, Russia · MIRAI, Moscow, Russia · Applied AI Institute, Moscow, Russia · BRAIn Lab, Moscow, Russia · AXXX, Moscow, Russia
Multi-step matching models, including flow and diffusion models, produce high-quality outputs but incur substantial inference costs and may reproduce unwanted components of their training datasets. We introduce Inverse Distillation Unlearning (IDU), a unified framework that simultaneously distills a teacher multi-step matching model into an efficient one-step student generator and suppresses outputs corresponding to a designated training subset. We first formulate distillation as a min-max objective over a data distribution and then represent this distribution as a mixture of the forget-set and the generated distributions. This allows us to compare this mixture with the teacher's training distribution and recover only the retained data at the optimum. Our method requires only a pretrained full-data teacher and data from the forget set, without access to retained training examples, extra feature extractors or classifiers. Extensive experiments on MNIST and CIFAR-10 datasets under flow-matching and score-based diffusion settings demonstrate that IDU substantially reduces the generation frequency of forgotten classes while preserving generation quality on the retained classes. To the best of our knowledge, IDU is the first unified framework for simultaneous unlearning and distillation in unconditional flow-matching and score-based models.
Figures & tables
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.
Table 1: Main FM/SiD results on MNIST and CIFAR-10. FID uses full-data references for Pretrain/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 ) .
FM MNIST
FM CIFAR-10
SiD CIFAR-10
Forgotten Class
Retain FID ↓
FGR (%) ↓
Retain FID ↓
FGR (%) ↓
Retain FID ↓
FGR (%) ↓
0
5.05±0.03
0.10±0.01
6.52±0.06
0.76±0.03
3.54±0.02
0.58±0.03
1
3.46±0.04
0.03±0.01
6.45±0.09
1.06±0.07
2.96±0.01
0.61±0.03
2
3.84±0.02
0.12±0.01
7.83±0.05
0.73±0.04
4.07±0.05
0.87±0.04
3
5.23±0.03
0.10±0.01
7.82±0.08
1.51±0.04
4.10±0.02
1.11±0.02
4
4.71±0.03
0.13±0.02
8.53±0.08
0.82±0.04
4.13±0.03
0.78±0.05
Table 2: Single-class robustness of IDU with FM on MNIST and CIFAR-10 and with SiD on CIFAR-10. The final row averages the per-class means across the ten forget-class experiments.
Flow Matching
SiD
ρ
FID ↓
FGR 1 (%) ↓
FGR 9 (%) ↓
ρ
FID ↓
FGR 1 (%) ↓
FGR 9 (%) ↓
0.05
6.72±0.07
3.04±0.08
5.02±0.08
—
0.1
6.21±0.05
3.75±0.09
3.80±0.08
—
0.2
5.64±0.04
3.35±0.03
3.04±0.10
0.2
3.15±0.03
1.11±0.06
1.25±0.06
0.4
5.87±0.07
0.62±0.06
0.48±0.02
0.4
3.53±0.04
0.74±0.05
0.60±0.01
0.6
5.81±0.05
0.56±0.05
0.39±0.03
0.6
4.68±0.06
1.16±0.05
0.76±0.02
Table 3: Effect of the forget-mixture weight ρ on CIFAR-10 for FM- and SiD-based IDU when jointly forgetting automobile (class 1) and truck (class 9). The selected configuration for each setup is bold; dashes denote settings not evaluated with SiD. FM training at ρ=0.9 diverges immediately.
Appendix figures & tables6 assets
Supplementary material from the paper’s appendix.
Appendix
FM
SiD
Mode
FID ↓
FGR (%) ↓ Class 1 / Class 9
FID ↓
FGR (%) ↓ Class 1 / Class 9
Pretrain
3.66±0.03
12.50±0.0811.18±0.12
1.97†
11.13±0.1210.04±0.15
Pure distillation
4.35±0.05
7.58±0.098.75±0.21
1.92±0.02†
10.11±0.1410.66±0.14
Forgotten classes
{1,9}
{1,9}
IDU from scratch (ρCIFAR-10=0.6)(ρSiD=0.2)
5.81±0.05
0.56±0.050.39±0.03
3.15±0.03
1.11±0.061.25±0.06
IDU Fine-tuning (ρCIFAR-10=0.6)(ρSiD=0.2)
5.17±0.08
0.89±0.020.42±0.03
3.12±0.06
2.69±0.062.60±0.04
Appendix
Table 4: Fine-tune FM/SiD results for the purely distilled generators on CIFAR-10. FID uses full-data references for Pretrain/Pure distillation and retained-data references for IDU and fine-tuning; FGR is reported per forgotten class. Values are mean ± standard deviation over five runs, except † values from ( Zhou et al., 2024 ) .
ρ
Retain FID ↓
FGR 3 (%) ↓
FGR 7 (%) ↓
Additional suppressed digits
0.05
4.29±0.02
7.07±0.06
8.18±0.06
—
0.1
3.96±0.04
3.87±0.09
4.62±0.10
—
0.2
4.81±0.08
2.22±0.07
1.63±0.07
—
0.4
3.57±0.03
0.16±0.01
0.16±0.01
—
0.6
11.20±0.10
0
0
2, 5, 8
0.8
10.58±0.07
0
0
2, 5
Appendix
Table 5: Effect of the forget-mixture weight ρ on FM-based IDU for MNIST when jointly forgetting digits 3 and 7. The main configuration is bold. The final column lists qualitatively suppressed digits in addition to the target digits 3 and 7.
Figure 2: FM on MNIST: teacher and IDU samples when forgetting digits 3 and 7.
Figure 3: SiD on MNIST: teacher and IDU samples when forgetting digits 3 and 7.
Figure 4: FM on CIFAR-10: teacher and IDU samples when forgetting automobile (class 1) and truck (class 9).
Figure 5: SiD on CIFAR-10: teacher and IDU samples when forgetting automobile (class 1) and truck (class 9).
Machine unlearning removes the influence of selected data or concepts from trained models while preserving useful behavior and avoiding full retraining.
Flow and diffusion models suffer from slow inference due to computationally expensive numerical integration. Distillation provides a promising way for a student model to learn from a teacher's dynamics, enabling one-step or few-step generation. However, existing methods often depend on curated distillation datasets, costly teacher rollouts, or auxiliary proxy networks, which complicate model training and scaling. In this work, we propose Consistent Distribution Matching, a simulation-free and data-free distillation method for accelerating diffusion and flow models while preserving strong generative capacity. Our key insight is to unify sample generation and score estimation with one student network. Thus, our framework uses only two models, a frozen teacher and a trainable student, and optimizes one objective. We prove that minimizing our objective indicates Wasserstein convergence of the student flow-map pushforwards to the teacher marginals. On ImageNet 256×256, our method attains an FID of 2.04 with a single function evaluation (1-NFE) and a 4-NFE FID of 1.37 within 40 epochs of training, surpassing the state-of-the-art distillation baselines without data. Our code code and model are available at https://consistentdmd.github.io/.
Yuxiang Fu, Qi Yan, Zike Wu +4
University of British Columbia · Vector Institute for AI · Canada CIFAR AI Chair
Recent advances in one-step generative frameworks, such as flow map models, have significantly improved the efficiency of image generation by learning direct noise-to-data mappings in a single forward pass. However, machine unlearning for ensuring the safety of these powerful generators remains entirely unexplored. Existing diffusion unlearning methods are inherently incompatible with these one-step models, as they rely on a multi-step iterative denoising process. In this work, we propose UOT-Unlearn, a novel plug-and-play class unlearning framework for one-step generative models based on the Unbalanced Optimal Transport (UOT). Our method formulates unlearning as a principled trade-off between a forget cost, which suppresses the target class, and an f-divergence penalty, which preserves overall generation fidelity via relaxed marginal constraints. By leveraging UOT, our method enables the probability mass of the forgotten class to be smoothly redistributed to the remaining classes, rather than collapsing into low-quality or noise-like samples. Experimental results on CIFAR-10 and ImageNet-256 demonstrate that our framework achieves superior unlearning success (PUL) and retention quality (u-FID), significantly outperforming baselines.
Hyundo Choi, Junhyeong An, Jinseong Park +1
Sungkyunkwan University, Seoul, Republic of Korea · Korea Institute for Advanced Study, Seoul, Republic of Korea
Data unlearning aims to remove the influence of specific training samples from a trained model. In fine-tuning methods, data unlearning relies primarily on loss maximization over forget samples, which often leads to quality degradation or incomplete forgetting. Existing methods perform unlearning uniformly across diffusion stages, ignoring diffusion dynamics from noise to data. Our systematic study of diffusion phases shows that forgetting in diffusion models is uneven across time and frequency, with theoretical justification of distributive distortion and forgetting-utility trade-off. By selectively forgetting time and frequency in diffusion models, we achieve both higher unlearning success rates and improved generation quality across diverse settings, including both conditional and unconditional scenarios. We also introduce an improved SSCD metric that measures dissimilarity using a normalized perturbation distance. Together, we provide practical insights for understanding and improving data unlearning in diffusion models.
Jinseong Park, Mijung Park
Korea Institute for Advanced Study · University of British Columbia