Introduction
Deploying deep convolutional neural networks (CNNs) on resource-constrained mobile and embedded devices requires aggressive optimization. Two primary techniques are widely used: 8-bit quantization, which reduces numerical precision to save memory and power, and Winograd convolutions, which reduce the number of multiplications required for convolutional layers.
However, these techniques are often mutually exclusive in practice. Winograd transformations involve multiplying inputs by specific matrices that, for larger tile sizes like $F(4,3)$ or $F(6,3)$, contain very large values. When combined with the rounding errors of 8-bit quantization, these large values amplify noise exponentially, leading to severe accuracy degradation.
Methodology: PSO-Driven Optimization
To address this numerical instability, researchers from Huawei Noah’s Ark Lab propose a two-stage approach to create "quantization-friendly" Winograd transformations.
1. PSO-based Initialization
Instead of using standard, mathematically minimal Winograd matrices, the authors employ Particle Swarm Optimization (PSO) to search for alternative transformation matrices. The optimization objective is to minimize the Frobenius norm of the matrices. By keeping the matrix elements small, the amplification of quantization noise is significantly curtailed.
2. Learnable Transformations
The PSO-optimized matrices serve as a superior starting point for a training-aware phase. During the model's training, the Winograd transformation matrices are treated as learnable parameters ($\theta$). By starting from a "quiet" (low-norm) initialization rather than the "noisy" standard Winograd matrices, the network can converge to a state that maintains high accuracy even under 8-bit constraints.
Key Results and Insights
The proposed method demonstrates substantial improvements across classification, super-resolution, and semantic segmentation tasks.
- Classification Performance: On ImageNet with ResNet-18, the method achieved 69.15% accuracy, outperforming the previous state-of-the-art (SOTA) Winograd-aware training result of 67.05%. For a static ResNet-50 configuration, PSO-optimized matrices improved accuracy by 12.7% over standard Winograd.
- Super-Resolution Quality: In super-resolution tasks (e.g., ESPCN-6 on Set5), the method improved the Peak Signal-to-Noise Ratio (PSNR) by over 2.5 dB compared to existing Winograd methods, effectively eliminating common "gridding artifacts" caused by quantization noise.
- Viability of Large Tiles: The $F(6,3)$ Winograd configuration, previously considered too unstable for 8-bit deployment, becomes viable with this approach, allowing for maximum inference speed without sacrificing precision.
Conclusion
By reframing Winograd transformation matrices as learnable, quantization-sensitive parameters and providing a robust initialization via PSO, this work bridges the gap between high-speed algorithmic shortcuts and low-precision hardware execution. This enables the deployment of complex, high-performance models on edge devices with minimal accuracy loss.
Summary updated