Introduction
Deep learning for the Internet of Things (IoT) requires models that are both accurate and efficient on low-power embedded hardware. While traditional metrics like Multiply-Adds (MAdds) or FLOPs are commonly used to estimate efficiency, they often fail to reflect actual runtime performance on FPGAs and ASICs. This discrepancy arises because "hardware-unfriendly" computation patterns can lead to significant memory bottlenecks and underutilization of processing elements.
The VarGNet Architecture
The core innovation of this work is the Variable Group Convolution. In standard group convolutions, the number of groups ($G$) is typically fixed. As a network deepens and the number of channels increases, the number of channels within each group also grows, altering the workload characteristics and computational intensity.
In contrast, VarGNet fixes the number of channels per group (e.g., 8 channels). Consequently, the number of groups ($G$) varies as the network widens. This approach ensures that the computational intensity—the ratio of operations to data size—remains constant across all layers, creating a uniform pattern that hardware compilers can easily optimize.
VarGNet Blocks
The architecture utilizes two primary building blocks: the Normal block and the Downsampling block. The Normal block expands input channels by a factor of 2 using variable group convolution, followed by a $1 \times 1$ pointwise convolution to project them back. This $2\times$ expansion is more balanced than the $6\times$ expansion found in architectures like MobileNetV2, facilitating better weight caching on-chip.
Hardware-Algorithm Co-design
A key insight of VarGNet is that regularity in computation is often more critical for performance than minimizing the total number of operations. By matching the number of channels per group to the physical "Processing Elements" (PEs) of a chip, VarGNet ensures high hardware utilization.
This design addresses the "Memory Wall" by allowing weights to be fully cached in on-chip SRAM, significantly reducing slow and energy-intensive off-chip DDR memory communication.
Experimental Evaluation
VarGNet was validated across several computer vision tasks, consistently outperforming established baselines like MobileNet and ShuffleNet.
- ImageNet Classification: VarGNet v1 (1.0x) achieved 74.87% top-1 accuracy, surpassing MobileNet v1 (73.3%) at similar complexity levels.
- Object Detection: On the COCO dataset using Faster R-CNN with FPN, VarGNet v1 reached 33.7 mAP, a notable improvement over MobileNet v1 (31.1) and v2 (31.0).
- Face Recognition: In the MegaFace challenge, VarGNet v2 achieved 95.4% accuracy, significantly higher than MobileNet v2’s 89.8% while maintaining a comparable MAdds budget.
Conclusion
VarGNet demonstrates that hardware-aware architectural choices, specifically fixing channels per group, can bridge the gap between theoretical efficiency and practical deployment speed. While it may face limitations in extremely thin networks where strict grouping constraints limit channel variety, it provides a robust framework for high-performance embedded vision.
Summary updated