Scale Decoupled Distillation

Shicai Wei, Chunbo Luo, Yang LuoCVPR 2024 · DOI

Abstract

Knowledge Distillation (KD) is a cornerstone technique for model compression, yet logit-based methods often struggle to match the performance of more complex feature-based approaches. We present Scale Decoupled Distillation (SDD), a framework that enhances logit-based KD by decomposing global image predictions into multi-scale local logits. By forcing the student to learn from fine-grained spatial details and specifically weighting ambiguous local regions, SDD achieves state-of-the-art results across multiple benchmarks, including ImageNet and CUB200, without adding any computational overhead during inference.

Introduction

The goal of Knowledge Distillation is to train a compact "student" network to mimic the behavior of a high-capacity "teacher." While logit-based KD is computationally efficient, its performance often lags. The authors argue this is due to the reliance on a single "global" logit vector produced by Global Average Pooling (GAP). This global view often conflates distinct semantic information, creating ambiguity that misleads the student. For example, local textures or secondary objects in a scene might be lost in the final global tally.

Motivation for SDD: Global vs. local logit outputs.

As illustrated in Figure 1, local regions can provide distinct class signals that are "coupled" in the final global prediction. SDD seeks to decouple these signals to provide a richer supervision signal.

Methods

Scale Decoupled Distillation (SDD) introduces two primary components to the distillation pipeline: Multi-Scale Pooling and Information Weighting.

Comparison between (a) Conventional Knowledge Distillation and (b) Scale Decoupled Distillation.

Multi-Scale Pooling

Instead of performing a single GAP to obtain one logit vector, SDD applies pooling at multiple spatial scales (e.g., 1x1, 2x2, 4x4). This generates logit outputs for various local regions of the image, preserving the fine-grained semantic details that are usually discarded. This forces the student to maintain spatial awareness and learn from local discriminative features.

Information Weighting

SDD categorizes these local logits into two groups based on their relationship to the global prediction:

  • Consistent Knowledge: Local regions that predict the same class as the global image, transferring multi-scale "surety."
  • Complementary Knowledge: Local regions that predict a different class, representing "ambiguous" parts of the image.

By increasing the weight ($\beta$) of the complementary components, the student is guided to focus more on difficult, ambiguous samples. Crucially, because this logic is applied only during the loss calculation, it introduces zero extra parameters or computational overhead during inference.

Experimental Results

The researchers evaluated SDD on three major benchmarks: CIFAR-100, ImageNet, and CUB200.

  • Fine-Grained Mastery: On the CUB200 dataset (200 bird species), SDD improved standard KD performance by 4.42% to 5.82%. This highlights its strength in tasks where local details are critical for distinguishing similar classes.
  • Generalization: On CIFAR-100, SDD consistently outperformed other state-of-the-art logit-based methods like DKD and NKD, typically by ~1% in top-1 accuracy.
  • Efficiency: Training time for SDD remains highly competitive at 11ms per batch, significantly faster than feature-based methods like CRD (41ms) or ReviewKD (26ms).

Conclusion

Scale Decoupled Distillation demonstrates that logit maps contain rich spatial information that standard distillation methods overlook. By decoupling scales and intelligently weighting ambiguous information, SDD bridges the gap between logit and feature distillation. The method is architecture-agnostic, performing well across both homogeneous (e.g., ResNet to ResNet) and heterogeneous (e.g., ResNet to MobileNet) model pairs, making it a versatile tool for efficient deep learning.

Summary updated

BibTeX
@inproceedings{wei2024scale,
  author = {Shicai Wei and Chunbo Luo and Yang Luo},
  title = {{Scale Decoupled Distillation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2024},
  doi = {10.1109/cvpr52733.2024.01512},
}
Figure