[Paper Review] NORM: Knowledge Distillation via N-to-One Representation Matching
NORM introduces a many-to-one representation matching mechanism by inserting a lightweight, linear feature transform after the last convolutional layer of the student. It expands the student features to N times channels, splits them into N segments, and jointly matches them to the teacher’s representation, enabling more transfer routes with no inference-time overhead.
Existing feature distillation methods commonly adopt the One-to-one Representation Matching between any pre-selected teacher-student layer pair. In this paper, we present N-to-One Representation (NORM), a new two-stage knowledge distillation method, which relies on a simple Feature Transform (FT) module consisting of two linear layers. In view of preserving the intact information learnt by the teacher network, during training, our FT module is merely inserted after the last convolutional layer of the student network. The first linear layer projects the student representation to a feature space having N times feature channels than the teacher representation from the last convolutional layer, and the second linear layer contracts the expanded output back to the original feature space. By sequentially splitting the expanded student representation into N non-overlapping feature segments having the same number of feature channels as the teacher's, they can be readily forced to approximate the intact teacher representation simultaneously, formulating a novel many-to-one representation matching mechanism conditioned on a single teacher-student layer pair. After training, such an FT module will be naturally merged into the subsequent fully connected layer thanks to its linear property, introducing no extra parameters or architectural modifications to the student network at inference. Extensive experiments on different visual recognition benchmarks demonstrate the leading performance of our method. For instance, the ResNet18|MobileNet|ResNet50-1/4 model trained by NORM reaches 72.14%|74.26%|68.03% top-1 accuracy on the ImageNet dataset when using a pre-trained ResNet34|ResNet50|ResNet50 model as the teacher, achieving an absolute improvement of 2.01%|4.63%|3.03% against the individually trained counterpart. Code is available at https://github.com/OSVAI/NORM
Motivation & Objective
- Motivate improved two-stage knowledge distillation by moving beyond One-to-One Representation Matching (ORM).
- Preserve teacher information by inserting a minimal, absorbable feature transform after the student’s last convolutional layer.
- Enable many-to-one knowledge transfer via feature expansion and segmentation, increasing transfer routes without adding inference-time parameters.
- Demonstrate state-of-the-art KD performance on CIFAR-100 and ImageNet, and show compatibility with logits-based KD and contrastive KD.
Proposed method
- Insert a two-linear-layer feature transform (FT) after the last convolutional layer of the student network.
- First FT layer uses a 1x1 convolution to expand channels to N×C_t, producing F_se; second FT layer contracts back to C_s with another 1x1 convolution, producing F_sc.
- Split F_se into N non-overlapping segments F_se^i each with C_t channels to perform N parallel DISTILLATION routes against F_t; minimize L_norm = (1/N) Σ_i ||F_se^i − F_t||_2^2.
- Keep FT linear with no activations; merge FT into the following fully connected layer at inference via W_fc ← W_fc (W_sc W_se + I).
- Total training loss: L_total = L_ce + α L_norm (α defaults to 10 on CIFAR-100, 8 on ImageNet); optionally add L_kd and/or L_crd to further boost performance.
- Ablations include residual connection (linear) to stabilize training; N is typically set to 8; FT module placed after the last conv layer to minimize architecture changes.
Experimental results
Research questions
- RQ1Can many-to-one representation matching outperform traditional one-to-one feature distillation in two-stage KD?
- RQ2How does the expansion factor N and the weighting α in L_norm affect performance and training stability?
- RQ3Does the NORM approach generalize across same-type and different-type teacher-student pairs, and how does it interact with logits-based KD and contrastive KD?
- RQ4What is the inference-time impact of NORM, and can the FT be absorbed into the classifier without extra parameters?
Key findings
- On CIFAR-100 with same-type teacher-student pairs, NORM yields an average gain of 2.88% top-1 accuracy over baselines.
- On CIFAR-100 with different-type teacher-student pairs, NORM yields an average gain of 5.81% top-1 accuracy, with a maximum of 6.92%.
- On ImageNet, ResNet18 with ResNet34 teacher reaches 72.14% top-1 (from 70.13%), an absolute gain of 2.01%.
- On ImageNet, MobileNet with ResNet50 teacher reaches 74.26% top-1 (from 69.63%), an absolute gain of 4.63%.
- NORM often achieves the best or competitive results against mainstream KD methods on ImageNet, and can further improve when combined with vanilla KD or contrastive KD (e.g., NORM+KD and NORM+CRD).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.