[Paper Review] Training convolutional neural networks with cheap convolutions and online distillation
This paper proposes a novel online distillation (OD) method to compress convolutional neural networks (CNNs) using cheap convolutions—such as depthwise, group, and shift convolutions—without architectural redesign. By training a student network with cheap convolutions and dynamically generating a strong teacher via online feature concatenation and mutual learning, the approach achieves state-of-the-art compression with minimal accuracy drop, reducing FLOPs by up to 5.66× on ImageNet while maintaining high accuracy.
The large memory and computation consumption in convolutional neural networks (CNNs) has been one of the main barriers for deploying them on resource-limited systems. To this end, most cheap convolutions (e.g., group convolution, depth-wise convolution, and shift convolution) have recently been used for memory and computation reduction but with the specific architecture designing. Furthermore, it results in a low discriminability of the compressed networks by directly replacing the standard convolution with these cheap ones. In this paper, we propose to use knowledge distillation to improve the performance of the compact student networks with cheap convolutions. In our case, the teacher is a network with the standard convolution, while the student is a simple transformation of the teacher architecture without complicated redesigning. In particular, we propose a novel online distillation method, which online constructs the teacher network without pre-training and conducts mutual learning between the teacher and student network, to improve the performance of the student model. Extensive experiments demonstrate that the proposed approach achieves superior performance to simultaneously reduce memory and computation overhead of cutting-edge CNNs on different datasets, including CIFAR-10/100 and ImageNet ILSVRC 2012, compared to the state-of-the-art CNN compression and acceleration methods. The codes are publicly available at https://github.com/EthanZhangYC/OD-cheap-convolution.
Motivation & Objective
- To address the high memory and computation cost of large CNNs on resource-limited devices.
- To improve the performance of compact student networks that use cheap convolutions, which often suffer from low discriminability when trained from scratch.
- To eliminate the need for pre-trained teachers and multi-stage training in knowledge distillation by enabling online, mutual learning between student and dynamically generated teacher networks.
- To achieve effective CNN compression and acceleration through a plug-and-play method that replaces standard convolutions with cheap ones and enhances performance via online distillation.
Proposed method
- The student network is formed by replacing standard convolutions in a pre-existing architecture (e.g., ResNet, DenseNet) with cheap convolutions such as depthwise, group, or shift convolutions.
- An online teacher is constructed during training by concatenating feature maps from multiple student networks and adding a new classifier, enabling dynamic knowledge transfer.
- Mutual learning is performed between the student and the online teacher, where both networks improve through shared knowledge during end-to-end training.
- The method avoids pre-training by generating the teacher in real time, enabling end-to-end optimization without stage-wise fine-tuning.
- The framework supports plug-and-play deployment on various architectures, including ResNet-18, ResNet-50, and MobileNet V2.
- The approach is evaluated on CIFAR-10/100 and ImageNet ILSVRC 2012, demonstrating consistent gains across datasets and models.
Experimental results
Research questions
- RQ1Can cheap convolutions be effectively used in standard CNN architectures without architectural redesign to reduce memory and computation?
- RQ2Can knowledge distillation significantly improve the accuracy of compact student networks that use cheap convolutions when trained from scratch?
- RQ3Can online distillation eliminate the need for pre-trained teachers and multi-stage training while maintaining or improving performance?
- RQ4How does the proposed online distillation method compare to state-of-the-art CNN compression techniques in terms of accuracy, FLOPs, and parameter count?
Key findings
- On CIFAR-10, the proposed OD-Depthwise method reduced FLOPs by 98.4% and parameters by 90.5% compared to ResNet-56, while maintaining a top-1 error of 6.46%.
- On ImageNet, OD-Depthwise achieved a Top-1 error of 26.37% and Top-5 error of 7.34% on ResNet-50, outperforming SSS-26 (28.18%/9.21%) and GAL-0.5 (28.05%/9.06%) with 1.79× compression.
- OD-Shift achieved a 5.66× speedup on ResNet-18 (0.32B FLOPs vs. 1.06B in SFP), though with a significant accuracy drop, which was mitigated by switching to depthwise or group convolutions.
- OD-Group-2 achieved a Top-5 error of 11.33% on ResNet-18 with 1.12B FLOPs, matching PFGM’s 11.53% error with 1.06B FLOPs, demonstrating strong efficiency-accuracy trade-off.
- The method improved MobileNet V2 accuracy through mutual learning, confirming that online distillation enhances both student and teacher performance.
- The online distillation framework achieved state-of-the-art performance on all evaluated datasets and models, with consistent gains across different cheap convolution types.
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.