Abstract
We present a logarithmic-scale efficient convolutional neural network architecture for edge devices, named WaveletNet. Our model is based on the well-known depthwise convolution, and on two new layers, which we introduce in this work: a wavelet convolution and a depthwise fast wavelet transform. By breaking the symmetry in channel dimensions and applying a fast algorithm, WaveletNet shrinks the complexity of convolutional blocks by an O(logD/D) factor, where D is the number of channels. Experiments on CIFAR-10 and ImageNet classification show superior and comparable performances of WaveletNet compared to state-of-the-art models such as MobileNetV2.
Introduction
Deep Convolutional Neural Networks (CNNs) are essential for modern computer vision but remain computationally expensive for deployment on edge devices like smartphones and IoT sensors. Existing efficient architectures, such as MobileNet and ShuffleNet, utilize depthwise and grouped convolutions to reduce parameter counts. However, these models typically rely on symmetric channel partitioning (e.g., equal-sized groups), whereas automated search methods often suggest that asymmetric structures are more effective.
WaveletNet addresses this by introducing a manually designed asymmetric architecture that achieves logarithmic-scale complexity. By breaking channel symmetry and ensuring high connectivity, WaveletNet reduces the complexity of convolutional blocks by a factor of $\mathcal{O}(\log D / D)$, maintaining performance while significantly lowering the parameter footprint.
Methodology
The core of WaveletNet is the WaveletNet Unit, which serves as a drop-in replacement for standard residual bottleneck blocks. This unit incorporates two novel layers:
Wavelet Convolution (WConv)
Unlike standard grouped convolutions that partition channels equally, WConv employs an asymmetric, logarithmic partition (e.g., $D/2, D/4, D/8, \dots$). This approach drastically reduces multiply-accumulate (MAC) operations and parameter counts. As shown in the complexity analysis, this pushes the standard $\mathcal{O}(D^2/g)$ complexity toward $\mathcal{O}(D \log D)$.
Depthwise Fast Wavelet Transform (DFWT)
To overcome the lack of inter-channel connectivity inherent in grouped convolutions, WaveletNet uses the DFWT. This non-trainable layer acts as a conjugate to WConv, broadcasting a sparse Haar matrix across the channel dimension. It achieves full channel connectivity with minimal $\mathcal{O}(D)$ operations, serving a similar purpose to the "Shuffle" layer in ShuffleNet but optimized for the logarithmic structure of WConv.
Experimental Results
The architecture was evaluated on CIFAR-10 and ImageNet (ILSVRC 2012) to assess its efficiency and scalability.
Performance Benchmarks
- CIFAR-10: WaveletNet achieved a 5.15% error rate with 1.10M parameters, outperforming MobileNetV2 (5.44% error) which requires nearly double the parameters (2.10M).
- ImageNet: WaveletNet reached a 30.6% top-1 error rate with 2.72M parameters and 216M MACs. This performance is competitive with ShuffleNet (28.5% error, 292M MACs) and MobileNetV2 (28.0% error, 300M MACs), particularly in parameter-constrained scenarios.
Key Insights
- Asymmetry as a Shortcut: Breaking channel symmetry allows for a significant reduction in computational complexity without a proportional loss in accuracy.
- Criticality of Connectivity: Ablation studies showed that removing the DFWT layer caused the CIFAR-10 error rate to spike from 5.15% to 8.74%. This confirms that the "free" connectivity provided by the wavelet transform is essential for the viability of asymmetric convolutions.
Conclusion and Future Work
WaveletNet demonstrates that logarithmic-scale complexity is achievable through asymmetric channel partitioning and efficient wavelet-based mixing. While the current design retains a standard $1 \times 1$ convolution in the initial block layer to preserve accuracy, future research will explore tuning hyperparameters to extend log-scale complexity across all layers. This would fully realize the theoretical speed limits of the architecture for next-generation edge AI.
Summary updated