Abstract
Deep neural networks (DNNs), especially deep convolutional neural networks (CNNs), have emerged as the powerful technique in various machine learning applications. However, the large model sizes of DNNs yield high demands on computation resource and weight storage, thereby limiting the practical deployment of DNNs. To overcome these limitations, this paper proposes to impose the circulant structure to the construction of convolutional layers, and hence leads to circulant convolutional layers (CircConvs) and circulant CNNs. The circulant structure and models can be either trained from scratch or re-trained from a pre-trained non-circulant model, thereby making it very flexible for different training environments. Through extensive experiments, such strong structure-imposing approach is proved to be able to substantially reduce the number of parameters of convolutional layers and enable significant saving of computational cost by using fast multiplication of the circulant tensor.
Introduction
Deep Neural Networks (DNNs), particularly Convolutional Neural Networks (CNNs), have become the gold standard for computer vision. However, their massive size makes them difficult to deploy on "edge" devices like smartphones or IoT sensors, which have limited memory and battery life. While previous research successfully compressed fully-connected (FC) layers, modern architectures like ResNet and Inception are dominated by convolutional layers, often making up over 95% of the parameters. Existing methods for compressing these layers, such as low-rank approximation or sparsity regularization, often require expensive retraining or result in significant accuracy drops. The authors of CircConv seek to fundamentally redesign the convolutional operation to be more efficient from the ground up.
Methodology: The Circulant Convolutional Layer
The core innovation is the Circulant Convolutional Layer (CircConv). In a circulant matrix, each row is a cyclic shift of the previous row. The authors extend this concept to the 4D weight tensors used in convolutions by partitioning the weight tensor into sub-tensors and imposing this circulant structure along the input and output channel dimensions.
Mathematically, multiplying by a circulant matrix is equivalent to a convolution in the spatial domain, which can be computed extremely fast in the frequency domain using the Fast Fourier Transform (FFT). This reduces the computational complexity from $O(N^2)$ to $O(N \log N)$. The paper provides a mathematical framework for both forward and backward propagation using FFT, allowing CircConv models to be trained from scratch. For existing models, the authors propose a "projection" method based on the Frobenius norm to convert standard, unstructured weight tensors into circulant ones, followed by fine-tuning to recover accuracy.
Experimental Evaluation
The authors evaluated their approach on two industry-standard benchmarks: CIFAR-10 (using ResNet-32 and Wide ResNet) and ImageNet (using AlexNet).
Key results include:
- ResNet-32 (CIFAR-10): Achieved a 50% reduction in parameters with almost no loss in accuracy.
- Wide ResNet (CIFAR-10): The "60-4" model saw an 8.35x reduction in model size. It also outperformed the state-of-the-art ResNet-110 while being significantly smaller.
- AlexNet (ImageNet): CircConv models reduced FLOPs to just 31.3% of the original baseline. Compared to other compression techniques like Structured Sparsity Learning (SSL), CircConv provided better accuracy at lower computational costs.
Discussion and Key Insights
Unlike pruning, which makes weights "sparse" in random locations, imposing a circulant structure creates "structured" weights. This is much more hardware-friendly because the memory access patterns are predictable. Surprisingly, for certain architectures like Wide ResNets, the circulant version actually achieved better accuracy than a standard non-circulant model of the same size, suggesting that the circulant structure may act as a form of regularization, preventing overfitting.
However, the choice of the partition size ($N$) is a trade-off; larger $N$ values lead to higher compression but can eventually hurt model performance. Furthermore, while the theory shows massive FLOP reductions, actual speedup on a physical device depends on FFT optimization in specific deep learning frameworks and the underlying hardware (GPU vs. FPGA). Future work may explore how these structured convolutions perform in even more modern architectures like Vision Transformers (ViTs).
Summary updated