[Paper Review] Few Shot Network Compression via Cross Distillation
This paper proposes cross distillation, a novel knowledge distillation framework that reduces layer-wise estimation errors in few-shot network compression by jointly performing error correction (teacher to student) and error imitation (student to teacher). By convexly combining these dual supervisory signals, the method significantly improves student network accuracy with only a few training samples per class, outperforming existing baselines on CIFAR-10 and ImageNet.
Model compression has been widely adopted to obtain light-weighted deep neural networks. Most prevalent methods, however, require fine-tuning with sufficient training data to ensure accuracy, which could be challenged by privacy and security issues. As a compromise between privacy and performance, in this paper we investigate few shot network compression: given few samples per class, how can we effectively compress the network with negligible performance drop? The core challenge of few shot network compression lies in high estimation errors from the original network during inference, since the compressed network can easily over-fits on the few training instances. The estimation errors could propagate and accumulate layer-wisely and finally deteriorate the network output. To address the problem, we propose cross distillation, a novel layer-wise knowledge distillation approach. By interweaving hidden layers of teacher and student network, layer-wisely accumulated estimation errors can be effectively reduced.The proposed method offers a general framework compatible with prevalent network compression techniques such as pruning. Extensive experiments on benchmark datasets demonstrate that cross distillation can significantly improve the student network's accuracy when only a few training instances are available.
Motivation & Objective
- To address the challenge of high estimation errors in few-shot network compression, where limited training data causes overfitting and error accumulation across layers.
- To improve the generalization and robustness of compressed student networks when fine-tuning is restricted to only a few samples per class.
- To develop a generalizable, plug-and-play framework compatible with existing compression techniques like pruning and quantization.
- To reduce the performance drop in compressed models under privacy-preserving settings where full training data cannot be used.
Proposed method
- Cross distillation introduces a dual-loop knowledge transfer mechanism: correction (teacher’s hidden features guide the student) and imitation (student’s hidden features guide the teacher).
- It uses convex combinations of loss functions from both correction and imitation to balance error reduction and feature alignment.
- The method formulates a combined loss function that minimizes both the estimation error between teacher and student features and the inconsistency in their hidden representations.
- It supports both structured and unstructured pruning by integrating with existing compression pipelines.
- The approach is theoretically analyzed to show how convex combination reduces layer-wise error propagation.
- Hyperparameters such as the trade-off weight μ or α,β in the convex combination are optimized via grid search to balance performance.
Experimental results
Research questions
- RQ1How can estimation errors be effectively reduced in few-shot network compression where overfitting is a major issue?
- RQ2Can dual supervision—simultaneously correcting student errors and making the teacher aware of student errors—improve generalization in low-data regimes?
- RQ3What is the optimal trade-off between correction and imitation losses in terms of minimizing layer-wise error accumulation?
- RQ4How does cross distillation compare to standard knowledge distillation and data-free methods in terms of accuracy and robustness under extreme data scarcity?
- RQ5Does cross distillation generalize better to deeper layers and final logits, where error propagation is most detrimental?
Key findings
- Cross distillation significantly reduces estimation errors (ℒʳ) across all layers, with the most substantial improvements observed in deeper layers such as conv4.3 and the final logits.
- On CIFAR-10 with VGG-16 and 5-shot training, the method achieves 86.63% top-1 accuracy, outperforming the baseline Ours-NC and other competitive methods.
- The optimal hyperparameter configuration for Ours (μ) is around μ=0.6 for VGG-16 and μ=0.9 for ResNet-56, indicating model-dependent sensitivity.
- Ours-S with α+β>1 in the convex combination consistently outperforms Ours-NC, with peak performance in the middle of the parameter space.
- Sensitivity analysis confirms that using only correction (μ=0.0) or only imitation (μ=1.0) still yields strong results, suggesting robustness to hyperparameter choice.
- The method generalizes well to deeper layers, as shown by the ratio of ℒʳ to Ours-NC dropping below 1.0 in deeper layers, indicating effective error suppression.
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.