Not All Knowledge Is Created Equal

Ziyun Li, Xinshao Wang, Haojin Yang, Di Hu, Neil Martin Robertson, David A. Clifton, Christoph MeinelarXiv 2021 · OpenReview

Abstract

Mutual knowledge distillation (MKD) improves a model by distilling knowledge from another model. However, not all knowledge is certain and correct, especially under adverse conditions. For example, label noise usually leads to less reliable models due to undesired memorization. Wrong knowledge misleads the learning rather than helps. This problem can be handled by two aspects: (i) improving the reliability of a model where the knowledge is from (i.e., knowledge source's reliability); (ii) selecting reliable knowledge for distillation. In the literature, making a model more reliable is widely studied while selective MKD receives little attention. Therefore, we focus on studying selective MKD. Concretely, a generic MKD framework, Confident knowledge selection followed by Mutual Distillation (CMD), is designed. The key component of CMD is a generic knowledge selection formulation, making the selection threshold either static (CMD-S) or progressive (CMD-P). Additionally, CMD covers two special cases: zero-knowledge and all knowledge, leading to a unified MKD framework. Extensive experiments demonstrate the effectiveness of CMD and thoroughly justify its design. For example, CMD-P obtains new state-of-the-art results in robustness against label noise.

Introduction

In deep learning, Mutual Knowledge Distillation (MKD) is a collaborative training strategy where two peer models learn from the dataset and from each other simultaneously. While effective in clean environments, MKD struggles with label noise—situations where the training data contains incorrect labels.

The core issue is that deep neural networks tend to memorize noisy labels over time. In a standard MKD setup, if Model A memorizes a wrong label, it will "teach" that error to Model B. Existing methods treat all knowledge as equal, but "wrong knowledge harms the learning rather than helps it." The challenge lies in identifying which predictions are "certain and correct" enough to be shared between peers.

The CMD Framework

The proposed CMD (Confident knowledge selection followed by Mutual Distillation) framework introduces a gatekeeper to the distillation process to ensure only high-confidence, reliable knowledge is shared.

Comparison between Conventional MKD and the proposed CMD framework. CMD introduces an entropy-based selection threshold to filter unreliable knowledge.

The framework operates on several key principles:

  1. Entropy as a Confidence Metric: The researchers use the entropy ($H$) of a model's prediction to measure its confidence. Low entropy suggests the model is certain; high entropy suggests it is confused.
  2. The Selection Threshold ($\chi$): Knowledge is only distilled from Model B to Model A if Model B’s prediction entropy is below a specific threshold ($\chi$). If the prediction is too "fuzzy" (high entropy), it is ignored.
  3. Two Selection Modes:
    • CMD-Static (CMD-S): Uses a fixed threshold throughout training.
  4. CMD-Progressive (CMD-P): Uses a dynamic threshold that changes as training progresses. Since models generally become more reliable over time, CMD-P allows the threshold to evolve, typically becoming more inclusive as the models mature.
  5. Refined Labels: Instead of distilling raw predictions, CMD transfers "refined labels" generated by self-label correction methods (like ProSelfLC), which are more robust against noise.

Experimental Evaluation

The authors evaluated CMD across several benchmarks to test its robustness against both synthetic and real-world noise, including CIFAR-100 (with synthetic noise up to 80%), Food-101, and Webvision (Mini).

Key Results and Insights

CMD consistently outperforms standard MKD and other state-of-the-art methods. On CIFAR-100 with 40% symmetric noise, CMD-P achieved an absolute accuracy improvement of 17-18% over standard MKD and KDCL. Even in extreme scenarios (80% noise), CMD-P maintained significantly higher accuracy (22.45%) compared to the baseline (16.17%).

Impact of hyperparameters $b$ and $\eta$ on accuracy across different noise rates $r$. The plots show how the progressive threshold parameters influence performance.

The experiments revealed several critical insights:

  • Progressive is Better: CMD-P consistently outperforms CMD-S. This aligns with "curriculum learning" philosophy—as models mature, they can provide more nuanced and frequent feedback to their peers.
  • Synergy with Self-Correction: CMD acts as a "collaborative mutual enhancer." It amplifies self-label correction methods by allowing two corrected models to cross-verify their findings.
  • Hyperparameter Sensitivity: As shown in the empirical results, performance is sensitive to the starting point ($\eta$) and progression rate ($b$) of the threshold. Finding the optimal balance is key to maximizing accuracy under different noise levels.

Conclusion

CMD addresses a fundamental flaw in mutual distillation by recognizing that not all knowledge is equal. By filtering out uncertain predictions, it prevents the propagation of errors caused by label noise. While it requires more computational resources to train two models simultaneously, the significant gains in robustness and accuracy make it a powerful tool for learning from noisy real-world data.

Summary updated

Abstract

Mutual knowledge distillation (MKD) improves a model by distilling knowledge from another model. However, \textit{not all knowledge is certain and correct}, especially under adverse conditions. For example, label noise usually leads to less reliable models due to undesired memorization \cite{zhang2017understanding,arpit2017closer}. Wrong knowledge misleads the learning rather than helps. This problem can be handled by two aspects: (i) improving the reliability of a model where the knowledge is from (i.e., knowledge source's reliability); (ii) selecting reliable knowledge for distillation. In the literature, making a model more reliable is widely studied while selective MKD receives little attention. Therefore, we focus on studying selective MKD. Concretely, a generic MKD framework, \underline{C}onfident knowledge selection followed by \underline{M}utual \underline{D}istillation (CMD), is designed. The key component of CMD is a generic knowledge selection formulation, making the selection threshold either static (CMD-S) or progressive (CMD-P). Additionally, CMD covers two special cases: zero-knowledge and all knowledge, leading to a unified MKD framework. Extensive experiments are present to demonstrate the effectiveness of CMD and thoroughly justify the design of CMD. For example, CMD-P obtains new state-of-the-art results in robustness against label noise.
BibTeX
@misc{li2021not,
  author = {Ziyun Li and Xinshao Wang and Haojin Yang and Di Hu and Neil Martin Robertson and David A. Clifton and Christoph Meinel},
  title = {{Not All Knowledge Is Created Equal}},
  year = {2021},
  eprint = {2106.01489},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2106.01489},
}
Figure