Depth-wise Decomposition for Accelerating Separable Convolutions in Efficient Convolutional Neural Networks

Yihui He, Jianing Qian, Jianren Wang

Introduction

The deployment of state-of-the-art Convolutional Neural Networks (CNNs) on edge devices, such as smartphones and autonomous systems, is often hindered by the high computational cost of standard convolutions. To mitigate this, efficient architectures like ShuffleNet and MobileNet utilize depth-wise separable convolutions, which decouple spatial filtering from channel mixing. While this approach can reduce latency by up to 9x, it typically results in a non-trivial loss of accuracy. This paper introduces Depth-wise Decomposition (DWD), a novel method designed to bridge this performance gap by mathematically transforming high-accuracy "heavy" convolutions into efficient separable formats.

Methodology

The DWD framework follows a systematic three-step process to optimize model performance:

  1. The "Folded" Model Baseline: Instead of training a compact model from scratch, the researchers first construct a "heavy" version of the target architecture (e.g., ShuffleNet) by replacing its separable layers with standard convolutions. This model is trained to convergence to establish a high-accuracy performance ceiling.
  2. Mathematical Decomposition: Using Singular Value Decomposition (SVD), the weights of the standard convolutions are decomposed into depth-wise and point-wise components. This step maps the high-dimensional weight tensors of the heavy model onto the efficient structural constraints of the compact model.
  3. Inter-channel Error Compensation via GSVD: A critical innovation of this work is the use of Generalized SVD (GSVD) to manage reconstruction errors. Unlike traditional methods that decompose channels independently, DWD treats the error as an accumulated tensor. By compensating for approximation errors from preceding channels and layers, the algorithm ensures that the final compact model closely approximates the behavior of the original heavy model.
Comparison of (a) standard convolution, (b) channel decomposition, and (c) spatial (depth-wise separable) decomposition.

Experimental Evaluation

The effectiveness of DWD was evaluated on the ImageNet (ILSVRC 2012) dataset, comprising 1.3 million images across 1,000 classes. The researchers also utilized synthetic data for sanity checks to measure raw mathematical reconstruction errors against baseline methods like standard channel decomposition.

Key Results and Insights

The experimental results demonstrate that DWD provides a significantly better starting point for compact models than random initialization. By treating the error as a running total (the "accumulated error tensor"), the authors prevent the "death by a thousand cuts" where small errors in early layers ruin the final output.

  • ShuffleNet V2 Performance: For the 0.5x variant, DWD improved the Top-1 error rate from 39.7% to 37.9% (a 1.8% absolute gain). For the 1.0x variant, the improvement was even more pronounced, with the error rate dropping from 30.6% to 28.0% (a 2.6% absolute gain).
  • Xception Accuracy: The method yielded a 0.9% accuracy boost for the Xception architecture.
  • Reconstruction Robustness: Single-layer tests confirmed that DWD achieves lower relative error than traditional channel decomposition, validating the mathematical superiority of the GSVD-based compensation strategy.

Conclusion

Depth-wise Decomposition offers a mathematically elegant solution to the accuracy-latency trade-off in mobile AI. By leveraging classical linear algebra to find optimal structural mappings and incorporating inter-channel error compensation, DWD enables the creation of efficient CNNs that retain the high performance of their heavier counterparts. Future work may explore the integration of DWD with other compression techniques, such as pruning and quantization, to further optimize models for the edge.

Summary updated

BibTeX
@article{he2023depth,
  author = {Yihui He and Jianing Qian and Jianren Wang},
  title = {{Depth-wise Decomposition for Accelerating Separable Convolutions in Efficient Convolutional Neural Networks}},
  journal = {Adv. Artif. Intell. Mach. Learn.},
  year = {2023},
  doi = {10.54364/aaiml.2023.1197},
}
Figure