Competitive Distillation: A Simple Learning Strategy for Improving Visual Classification

Daqian Shi, Xiaolei Diao, Xu Chen, Cédric M. John

TL;DR

Competitive Distillation introduces a dynamic, "survival-of-the-fittest" training paradigm where a group of neural networks compete at each iteration, with the best-performing model temporarily becoming the "teacher" for the others. By combining this competitive optimization with aggressive, genetic-algorithm-inspired stochastic perturbations, the method helps networks escape local optima and consistently outperforms traditional static distillation and mutual learning approaches.

What Problem Does This Paper Address?

Knowledge distillation (KD) is a popular technique for boosting the performance of smaller "student" networks by training them to mimic a larger, pre-trained "teacher" network. While effective, traditional KD relies on a rigid, one-way flow of information.

To make training more flexible, recent strategies like Deep Mutual Learning (DML) allow an ensemble of networks to teach each other simultaneously. However, DML forces all networks to learn from each other indiscriminately. This creates a counter-intuitive bottleneck: top-performing networks are forced to absorb knowledge from inferior ones, which can degrade overall performance. The authors of this paper tackle this limitation by asking: What if the role of the teacher was dynamically earned through competition at every single training step?

Methods

The authors propose Competitive Distillation, a framework consisting of two core components:

  1. Competitive Optimization: Instead of pre-determining which network is the teacher, a group of networks are trained together on a shared task. At each training iteration, the cross-entropy loss ($L_C$) of each network is evaluated. The network with the lowest loss is crowned the "teacher" for that batch, while the remaining networks become "students." The teacher updates its weights solely based on the ground-truth labels, while the students are optimized using a combination of classification loss, Kullback-Leibler (KL) divergence to match the teacher's logits ($L_D$), and an $L_2$ loss to align intermediate feature maps ($L_F$).
Figure 2. The overall framework of competitive distillation. We highlight the current best-performing network in orange, which will serve as the teacher network in the current iteration.
  1. Stochastic Perturbation: To prevent the networks from getting trapped in local minima, the authors introduce a mutation mechanism inspired by genetic algorithms. At each iteration, aggressive image perturbations (such as extreme cropping, noise injection, or image splicing) are randomly applied to the input of one network. If this perturbation helps the network discover a superior visual representation, it will win the iteration and pass this beneficial "mutation" to the rest of the group via distillation. If the perturbation harms performance, the network loses the competition, and the negative mutation is safely ignored by the rest of the ensemble.

Datasets

The strategy was validated across four widely used computer vision benchmarks:

  • CIFAR10 & CIFAR100: Standard image classification datasets with 10 and 100 classes, respectively.
  • ImageNet (ILSVRC2012): A large-scale classification dataset containing over 1.2 million training images across 1,000 classes.
  • Market-1501: A large benchmark dataset for person re-identification (Re-ID), featuring 32,668 images of 1,501 identities captured across six cameras.

Key Insights and Ideas

  • Dynamic Role Reversal: The identity of the teacher network constantly shifts throughout training. Interestingly, the authors observed that even when networks have vastly different parameter scales (e.g., a compact ResNet-56 and a massive ResNet-152), they still alternate roles as teacher and student during early and mid-training phases.
  • Safe Exploration via Mutation: Aggressive data augmentation typically damages standard training because it can distort images beyond recognition. However, within a competitive framework, competition acts as a natural selection filter. Only helpful mutations propagate through the ensemble, making it safe to use highly disruptive perturbations to escape local optima.
  • Prioritizing Quality Speeds Up Convergence: By ensuring that networks only distill knowledge from the best-performing model at any given moment, the entire group converges significantly faster than they would under mutual learning frameworks.
Figure 3. (a) The cross-entropy loss LCi of each network in com- petitive distillation as it changes with iterations during the training process. (b) Display the accuracy and convergence of competitive distillation and DML during training.

Key Results

  • Consistently Outperforms Baselines: Competitive Distillation achieved an average top-1 accuracy improvement of 0.91% on CIFAR10, 2.25% on CIFAR100, and 1.58% on ImageNet compared to independent training. It also consistently beat Deep Mutual Learning (DML) across almost all network combinations.
  • Architecture Agnostic: The method proved highly versatile, yielding performance gains across diverse architectures, including standard CNNs (ResNet, MobileNet), Transformers (ViT, CeiT), and state-space models (Vision Mamba). For example, a CeiT-B/ViT-B pair trained on ImageNet saw accuracy improvements of 0.61% and 2.02%, respectively, over independent baselines.
  • Enhanced Efficiency: As shown in Figure 3(b), Competitive Distillation typically reaches convergence within 100 steps on CIFAR100, whereas DML requires roughly 150 steps, all while maintaining a similar per-step computational time cost.

Limitations and Future Work

The primary limitation acknowledged by the authors is computational overhead. Although Competitive Distillation is more efficient than multi-network ensemble methods like DML and L-MCL, it still requires training multiple networks simultaneously. This demands more GPU memory and compute resources than training a single standalone network, making it less ideal for resource-constrained environments or real-time, low-latency training from scratch.

For future work, the authors plan to explore how this competitive distillation strategy can be adapted beyond computer vision, specifically targeting applications in Natural Language Processing (NLP).

Summary updated

BibTeX
@inproceedings{shi2025competitive,
  author = {Daqian Shi and Xiaolei Diao and Xu Chen and Cédric M. John},
  title = {{Competitive Distillation: A Simple Learning Strategy for Improving Visual Classification}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2025},
}
Figure