Agreement-Gated Distillation for Selective Forgetting in Knowledge Revision

Yaqian Zhang, Bernhard Pfahringer, Eibe Frank, Albert BifetAutoMLR @ NeurIPS 2026

TL;DR

Continual learning usually treats every previously learned fact as sacred, but what happens when you discover that some of your model's old training data was wrong? This paper formalizes Selective Forgetting for Knowledge Revision (SF-KR) and shows that standard Knowledge Distillation (KD) gets stuck in a Revision Deadlock—refusing to unlearn mistakes unless you turn protection down so low that the model forgets everything else. To fix this, the authors introduce Agreement-Gated Distillation (AGD), a simple trick that relaxes protection whenever a frozen teacher model disagrees with incoming clean labels, dramatically improving the trade-off between fixing errors and retaining old knowledge.

What Problem Does This Paper Address?

Imagine an annotator who accidentally confuses two similar-looking bird species while labeling a dataset. Later, a careful review produces clean, corrected labels for those species. In standard continual learning, the goal is to prevent catastrophic forgetting—keeping old predictions unchanged as new tasks arrive.

But here, keeping old predictions unchanged is the exact opposite of what we want. We need the model to selectively forget its wrong associations for the corrected classes, while leaving everything else (including other noisy classes that weren't selected for revision) untouched. Crucially, in practice, the learner isn't handed a neat list of which classes are being revised; it has to infer what needs updating from the incoming data.

Figure 1: Selective forgetting (a) and why uniformly-weighted distillation cannot achieve it (b).

Standard Knowledge Distillation (KD) anchors a student model to a frozen pre-revision teacher via a KL-divergence penalty. On revised samples, the cross-entropy loss pulls the student toward the new, clean label, while the KD loss pulls it back toward the teacher's outdated prediction. Simply lowering the KD loss weight $\lambda$ doesn't solve this: under AdamW (the standard optimizer for LoRA fine-tuning), Revision Accuracy stays stubbornly flat across nearly nine orders of magnitude, only recovering at $\lambda = 10^{-7}$ or $10^{-8}$—where KD's protective benefit is basically gone. The authors call this Revision Deadlock.

Methods

The authors shift the question from "how strongly should we protect old knowledge?" to "which old knowledge should be protected?" They propose two approaches, built on top of a frozen ImageNet-pretrained ViT-S/16 backbone with LoRA adapters:

  • Revision-Masked Distillation (RMD, Oracle Reference): Assuming privileged knowledge of the exact set of revised classes $A_{\text{rev}}$, RMD simply removes those classes from the softmax support of the KL-divergence term. The student is free to update its predictions for revised classes while still protecting unaffected ones.
  • Agreement-Gated Distillation (AGD, Practical Method): Since $A_{\text{rev}}$ isn't available in the real world, AGD approximates RMD's mask using a soft, per-sample gate based on teacher–label agreement. For an incoming sample $(x_i, y_i)$, it checks the teacher's predicted probability for the incoming label: $$\hat{m}_i = \text{softmax}(\text{teacher}(x_i))[y_i]$$ (or $0$ if $y_i$ is a brand-new class). It then scales the per-sample KD loss by $g_i = \hat{m}_i^p$, where $p$ is a sharpening power.

  • If a corrected label contradicts the teacher, $\hat{m}_i$ is low, so distillation protection drops away.

  • If the label confirms what the teacher already believes, protection remains strong.
  • If it's a genuinely new class, the gate is zero.

Datasets

The authors evaluate their methods on two class-incremental benchmarks with injected class-confusion noise (where a $\rho = 0.4$ fraction of a class's training samples are mislabeled as a visually/semantically similar "confusion partner"):

  • CIFAR-100: 10 tasks of 10 classes each. In the first 6 tasks, 5 classes per task are corrupted using CIFAR-100's 20 superclasses; half of those are revised after task 6, while the other half stay noisy as a control.
  • CUB-200-2011: 200 bird species split into 20 tasks of 10 classes each (scaled $2\times$ from CIFAR-100, with revision after task 12). Confusion partners are grouped by the last word of each species' common name (e.g., Albatross).

Key Insights and Ideas

  • Uniform protection breaks under revision: Standard KD treats all past knowledge as equally worth saving, creating a direct gradient conflict on revised samples that tuning $\lambda$ alone cannot resolve.
  • Agreement is a useful, albeit imperfect, proxy: Using the teacher's own confidence in the incoming label ($\hat{m}_i^p$) cleanly separates "things the model already agrees with" from "things that need to be overwritten," without needing an oracle list of revised classes.
  • Evaluate by Pareto frontiers, not single points: Because there is an inherent trade-off between fixing old errors (Revision Accuracy) and preserving unaffected knowledge (Retention Accuracy), comparing methods across their full hyperparameter sweeps gives a much clearer picture than picking a single operating point.

Key Results

Revision-retention Pareto frontiers

Figure 2: Revision-retention Pareto frontiers (mean operating points with multiple seeds). Dashed: constant-harmonic-mean contours of RevAcc and RetAcc.
  • RMD dominates KD: With oracle knowledge of $A_{\text{rev}}$, RMD's Pareto frontier completely dominates KD on both datasets, holding Revision Accuracy in a high, narrow band (0.936–0.949 on CIFAR-100; 0.908–0.921 on CUB-200-2011).
  • AGD substantially beats KD under equal information: Without knowing which classes are revised, AGD pushes Revision Accuracy up to 0.93 on CIFAR-100 (compared to KD's 0.52) and 0.920 on CUB-200-2011 (compared to KD's 0.567).
  • The oracle gap remains: AGD never crosses RMD's frontier. At matched near-ceiling Revision Accuracy on CIFAR-100, RMD achieves 0.609 Retention Accuracy (at 0.941 RevAcc), whereas AGD achieves 0.421 (at 0.932 RevAcc).

Limitations and Future Work

The authors note that their experiments focus on a single architecture (ViT-S/16 with LoRA), a synthetic label-corruption protocol rather than naturally occurring annotation errors, and a single continual learning mechanism (Knowledge Distillation). Promising future directions include testing whether Revision Deadlock also plagues other continual learning families—such as parameter regularization or orthogonality-based methods—and extending selective forgetting to more complex settings like continual instruction tuning of vision-language models.

Summary updated

BibTeX
@inproceedings{zhang2026agreement,
  author = {Yaqian Zhang and Bernhard Pfahringer and Eibe Frank and Albert Bifet},
  title = {{Agreement-Gated Distillation for Selective Forgetting in Knowledge Revision}},
  booktitle = {AutoMLR @ NeurIPS},
  year = {2026},
  url = {https://openreview.net/forum?id=7Bq6Ety61d},
}
Figure