Introduction
Deep Convolutional Neural Networks (CNNs) have revolutionized computer vision, yet their deployment remains constrained by massive computational requirements. For example, a single inference with VGG16 on a standard $224 \times 224$ image requires over 15 billion floating-point operations (FLOPs). While existing acceleration methods like pruning or quantization are effective, they often require complex internal modifications to the network architecture.
This paper proposes a novel, architecture-agnostic approach: the Wavelet-like Auto-Encoder (WAE). Instead of altering the network's weights, the WAE accelerates inference by decomposing input images into low- and high-frequency components, allowing the bulk of the computation to occur at a reduced spatial resolution.
Proposed Method: Wavelet-like Auto-Encoder
The core of the system is a plug-and-play WAE module that sits in front of any standard classification network. The WAE performs a learned decomposition of the input image $I$ into two half-resolution sub-images: a low-frequency component $I_L$ and a high-frequency component $I_H$.
Dual-Stream Processing
As shown in the architecture above, the system processes these components through two distinct paths:
- Low-Frequency Stream: $I_L$ captures the primary visual profile. Because it is half the original resolution, it can be processed by a standard, unmodified CNN (e.g., VGG16 or ResNet) at approximately 25% of the original computational cost.
- High-Frequency Stream: $I_H$ captures sparse auxiliary details. It is routed through a highly lightweight sub-network with significantly reduced channel depth.
Finally, features from both streams are fused to produce the output prediction.
Training Constraints
To ensure the decomposition is effective, the WAE is trained with two critical loss functions:
- Reconstruction Constraint ($\ell_r$): Ensures that the original image can be perfectly synthesized from $I_L$ and $I_H$, preventing any loss of discriminative information.
- Energy Constraint ($\ell_e$): Minimizes the energy of $I_H$, forcing the network to pack as much information as possible into the low-resolution $I_L$ channel.
Visualizing the Decomposition
The "wavelet-like" nature of the auto-encoder is evident in the resulting sub-images. $I_L$ retains the essential structure and color of the input, while $I_H$ remains extremely sparse, containing only high-frequency edges and fine textures.
This sparsity is key to the system's efficiency; because $I_H$ contains so little information, the lightweight high-frequency stream can process it without sacrificing overall accuracy. Furthermore, because image noise typically resides in high-frequency bands, the energy constraint on $I_H$ allows the WAE to act as an implicit denoiser, enhancing the model's robustness.
Experimental Results
The WAE was evaluated on ImageNet and the CACD face identification dataset, demonstrating significant speedups across various architectures:
- VGG16 on ImageNet: Achieved a 3.13$\times$ CPU speedup and 2.59$\times$ GPU speedup with a negligible increase in top-5 error (from 11.65% to 11.87%).
- ResNet-50 on ImageNet: Achieved a 1.88$\times$ CPU speedup with only a 0.8% error increase, outperforming weight-based pruning methods like ThiNet.
- Noise Robustness: On the CACD dataset with heavy Gaussian noise, the WAE model maintained 55.91% accuracy, significantly higher than the baseline VGG16's 45.10%.
Conclusion
The Wavelet-like Auto-Encoder provides a powerful, architecture-agnostic tool for DNN acceleration. By intelligently routing information through dual-resolution streams, it achieves substantial speedups while maintaining high accuracy and improving noise robustness. Future work may explore deeper decompositions (e.g., quarter-resolution) to further push the boundaries of the speed-accuracy tradeoff.
Summary updated