TL;DR
CPUBone is a new family of vision backbone models specifically engineered to maximize efficiency on CPUs, which suffer from low parallelization capabilities. By replacing hardware-inefficient depthwise convolutions with a combination of lightly grouped convolutions (groups=2) and $2 \times 2$ kernels, CPUBone delivers state-of-the-art speed-accuracy trade-offs across various CPU platforms while outperforming existing mobile-optimized models.
What Problem Does This Paper Address?
Most modern vision backbones are designed with highly parallel hardware in mind, such as GPUs, NPUs, or advanced mobile SoCs. To minimize computational cost, these architectures heavily rely on depthwise convolutions, which drastically reduce the total number of Multiply-Accumulate (MAC) operations.
However, the authors point out a critical flaw: low MAC count does not equal low latency on CPUs. Because CPUs have limited concurrency and parallel processing power, they are highly sensitive to memory access costs. Depthwise convolutions suffer from extremely low hardware efficiency—measured in MACs per second (MACpS)—on CPU architectures. Consequently, models optimized for GPUs or NPUs often perform poorly when deployed on standard CPUs, which remain widely used in practical, resource-constrained, and embedded scenarios.
Methods
The authors introduce CPUBone, a backbone family designed around a simple philosophy: balance the total operation count while maintaining high hardware efficiency (high MACpS) on CPUs.
1. Grouped MBConv Variants
Instead of using standard or depthwise convolutions, the authors modify the popular Mobile Inverted Bottleneck (MBConv) and Fused-MBConv blocks by introducing a light grouping strategy (groups=2) in the first convolutional layer. This yields two new building blocks:
- Grouped MBConv (GrMBConv)
- Grouped Fused MBConv (GrFuMBConv)
Setting groups=2 halves the MAC count of that specific convolution while preserving the high MACpS execution characteristic of standard convolutions on CPUs.
2. Kernel Size Reduction
In the later stages of the network where the bulk of the computation happens, the authors reduce the convolutional kernel size from the traditional $3 \times 3$ to $2 \times 2$. This modification reduces the MAC count of the convolution by roughly 56% without degrading hardware execution efficiency on the CPU.
3. Macro Architecture
The overall macro architecture is inspired by LowFormer. It utilizes the fused block variant (GrFuMBConv) for early stages where the channel dimension is low ($< 256$) and switches to the unfused variant (GrMBConv) for later stages ($\ge 256$). The final two stages integrate a modified LowFormer Attention mechanism, replacing the computationally heavy transpose convolutions with simple nearest-neighbor upsampling.
Datasets
The architecture was trained and evaluated on standard computer vision benchmarks:
- ImageNet-1K: Used for core image classification training (from scratch) and validation.
- COCO 2017: Used to evaluate downstream object detection performance via a RetinaNet head.
- ADE20K: Used to evaluate downstream semantic segmentation performance via a Semantic FPN head.
No new datasets or benchmarks were introduced.
Key Insights and Ideas
- The Depthwise Convolutions Trap on CPU: The authors experimentally show that standard and grouped convolutions exhibit up as much as $40\times$ higher MACpS on CPUs compared to depthwise convolutions. This confirms that optimizing purely for lower MAC counts via depthwise layers backfires on CPU hardware due to memory overhead.
- Asymmetric Hardware Behavior (CPU vs. GPU): A fascinating finding is that design choices that excel on CPUs behave completely opposite on GPUs. For instance, reducing the kernel size to $2 \times 2$ or using
groups=2maintains or improves MACpS on a CPU, but causes an extreme drop in MACpS (up to 80% lower for depthwise) on an NVIDIA TITAN RTX GPU. This highlights the necessity of hardware-specific architecture design. - The Fused vs. Unfused Threshold: Fused MBConv blocks are highly efficient at lower channel dimensions ($<256$), achieving 70% higher MACpS than unfused blocks. However, when channels exceed 256, unfused blocks become 27% more efficient, dictating CPUBone's hybrid macro design.
Key Results
ImageNet-1K Classification
CPUBone consistently achieves a superior Speed-Accuracy Trade-off (SAT) compared to recent architectures like FasterNet, RepViT, MobileOne, and LowFormer across ARM (Raspberry Pi 5, Pixel 7 Pro) and Intel CPU platforms.
- CPUBone-B0 achieves 77.6% top-1 accuracy with a latency of 24.2 ms on a Raspberry Pi 5 CPU, outperforming FasterNet-T1 (76.2% accuracy, 32.8 ms).
- CPUBone-B3 reaches 83.1% top-1 accuracy at 199.8 ms on Pi5, matching FasterNet-M's accuracy but running significantly faster.
Downstream Tasks
- Semantic Segmentation (ADE20K): CPUBone-B3 achieves a 44.1% mIoU, outperforming LowFormer-B2 (42.8%) while maintaining competitive CPU latency.
- Object Detection (COCO): CPUBone models execute up to $4\times$ faster than comparable architectures with similar Average Precision (AP).
Limitations and Future Work
The primary limitation of CPUBone is its strict specialization for CPUs. Because the architectural modifications (like $2 \times 2$ kernels and small group sizes) run poorly on highly parallel computing frameworks, CPUBone loses its efficiency edge when deployed on GPUs.
Additionally, while increasing the group parameter further (e.g., groups=4 or groups=8) reduces MACs, the authors note it leads to a severe degradation in top-1 accuracy and declining hardware efficiency, meaning the architecture is tightly bounded around its current configurations. Future work could explore automated hardware-aware architecture searches (NAS) to fine-tune these thresholds dynamically.
Summary updated