NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Cross-View Consistency Regularisation for Knowledge Distillation

Weijia Zhang, Dongnan Liu, Weidong Cai, Chao Ma

TL;DR

Logit-based knowledge distillation often suffers from overconfident teachers and confirmation bias, where students blindly mimic a teacher's erroneous predictions. This paper introduces Consistency-Regularisation-based Logit Distillation (CRLD), a simple, parameter-free framework that uses within-view and cross-view consistency regularisation alongside soft-label filtering to achieve state-of-the-art distillation performance.

What Problem Does This Paper Address?

Knowledge Distillation (KD) is a popular technique for transferring knowledge from a large, accurate "teacher" model to a compact, efficient "student" model. While logit-based KD methods (which match the final prediction layers) have recently closed the performance gap with feature-based methods, they are fundamentally bottlenecked by two issues:

  1. Overconfident Teachers: When a teacher model predicts a class with near-100% confidence, it suppresses the probabilities of the non-target classes. This eliminates the "dark knowledge"—the subtle inter-class relationships that help the student learn to generalize.
  2. Confirmation Bias: Teachers aren't perfect. When a teacher makes an incorrect prediction and the student is forced to mimic it blindly, the student inherits and amplifies these errors.

Borrowing successful concepts from semi-supervised learning (SSL), the authors propose using multi-view consistency and confidence thresholding to tackle both problems simultaneously.

Methods

The CRLD framework operates by generating two distinct versions of every input image: a weak view (using standard random cropping and flipping) and a strong view (using intense augmentations like RandAugment and Cutout).

Both views are passed through both the teacher and the student networks, generating four distinct sets of logits. The framework then enforces two types of consistency regularisation via Kullback-Leibler Divergence (KLD) loss:

  • Within-View Consistency: The student mimics the teacher's predictions on the same view (weak-to-weak and strong-to-strong).
  • Cross-View Consistency: The student mimics the teacher's predictions across different views (student-weak to teacher-strong, and student-strong to teacher-weak).
Figure 2: The CRLD framework. An input image is transformed into a weakly-transformed view and a strongly-transformed view. Both views are fed into the teacher and the student separately, yielding four predictions of the same instance. Amongst them, two types of consistency regularisation are enforced: within-view (①②) and cross-view (③④). Besides, student’s predictions are supervised by ground-truths (⑤) as per standard practice.

To combat confirmation bias—especially on heavily distorted strong views where the teacher might hallucinate—the authors introduce Confidence-based Soft Label Mining. If the teacher's highest class probability falls below a certain threshold ($\tau_w$ for weak views, $\tau_s$ for strong views), that prediction is discarded. Crucially, unlike standard SSL practices that convert accepted predictions into hard, one-hot labels, CRLD retains the teacher's soft probabilities to preserve the crucial dark knowledge.

Datasets

The authors evaluated CRLD on three standard image classification benchmarks:

  • CIFAR-100: 50,000 training and 10,000 test images across 100 classes.
  • Tiny-ImageNet: A subset of ImageNet containing 100,000 training images across 200 classes, downsampled to $64 \times 64$ resolution.
  • ImageNet: The standard large-scale classification dataset with 1.28 million training images across 1,000 classes.

No new datasets or benchmarks were introduced.

Key Insights and Ideas

  • The Cross-View Synergy: Intriguingly, the ablation studies revealed that enforcing cross-view consistency alone actually hurts performance. However, when paired with within-view consistency, it acts synergistically, forcing the student to learn highly robust, view-invariant representations.
  • Amplify, Don't Erase: Strong augmentations naturally amplify the dark information that is otherwise invisible in weak views. By filtering out low-confidence teacher predictions but keeping the soft distributions of the high-confidence ones, the student safely absorbs this amplified information without falling prey to confirmation bias.
  • Plug-and-Play Orthogonality: CRLD does not replace existing logit-based distillation losses (like DKD or NormKD); instead, it wraps around them. It introduces zero extra network parameters or inference overhead.

Key Results

CRLD consistently achieved state-of-the-art results across all datasets and a wide variety of homogeneous and heterogeneous teacher-student architectures (e.g., ResNet, VGG, MobileNet, ShuffleNet).

  • CIFAR-100: For a ResNet32×4 teacher distilling to a ResNet8×4 student, standard KD achieves 73.33% top-1 accuracy. CRLD boosts this to 77.60%, outperforming top-tier methods like DKD (76.32%). When combined with NormKD, it reaches 78.22%.
  • ImageNet: Distilling a ResNet34 to a ResNet18, CRLD achieves 72.37% top-1 accuracy, outperforming standard KD (70.66%) and ReviewKD (71.61%).
  • Label-Free KD: In scenarios where ground-truth labels are entirely missing during distillation, CRLD proved highly resilient, outperforming other logit-based methods by significant margins while feature-based methods failed completely.

Limitations and Future Work

The primary limitation is that CRLD is currently strictly optimized for the logit space. The authors attempted to extend the cross-view consistency framework into the intermediate feature space (matching hidden layer representations). However, they observed a steady decline in student performance as the regularisation moved deeper into shallower layers.

The authors note that maximizing the potential of cross-view consistency within feature-space distillation remains an open question for future research. Additionally, fine-grained, automated tuning of the view transformation strengths per dataset could yield further optimization.

Summary updated

BibTeX
@inproceedings{zhang2024cross,
  author = {Weijia Zhang and Dongnan Liu and Weidong Cai and Chao Ma},
  title = {{Cross-View Consistency Regularisation for Knowledge Distillation}},
  booktitle = {ACM Multimedia},
  year = {2024},
  doi = {10.1145/3664647.3681206},
}
Figure