CPUBone:为低并行化能力设备设计的高效视觉骨干网络
CPUBone: Efficient Vision Backbone Design for Devices with Low Parallelization Capabilities
AI总结:
本文提出CPUBone,一种针对CPU推理优化的视觉骨干网络,通过改进卷积操作降低计算成本,实现高效的Speed-Accuracy Trade-offs。
摘要:
近期关于视觉骨干网络架构的研究主要集中在优化高性能硬件平台的效率。此类平台越来越多地包括移动设备和嵌入式AI加速模块。相比之下,CPU无法以相同方式并行化操作,因此模型需要采用一种平衡操作量(MACs)和硬件高效执行的设计哲学,通过每秒高MAC数(MACpS)实现。为此,我们研究了两种标准卷积的改进方法,旨在降低计算成本:分组卷积和减少核尺寸。尽管这两种适应显著减少了推理所需的总MAC数,但保持低延迟需要保留硬件效率。在各种CPU设备上的实验确认这些适应成功地在CPU上保持了高硬件效率。基于这些见解,我们引入了CPUBone,一种新的视觉骨干网络家族,优化了基于CPU的推理。CPUBone在广泛范围的CPU设备上实现了最先进的Speed-Accuracy Trade-offs(SATs),并有效地将其效率转移到下游任务如目标检测和语义分割。模型和代码可在https://github.com/altair199797/CPUBone获取。
英文摘要:
Recent research on vision backbone architectures has predominantly focused on optimizing efficiency for hardware platforms with high parallel processing capabilities. This category increasingly includes embedded systems such as mobile phones and embedded AI accelerator modules. In contrast, CPUs do not have the possibility to parallelize operations in the same manner, wherefore models benefit from a specific design philosophy that balances amount of operations (MACs) and hardware-efficient execution by having high MACs per second (MACpS). In pursuit of this, we investigate two modifications to standard convolutions, aimed at reducing computational cost: grouping convolutions and reducing kernel sizes. While both adaptations substantially decrease the total number of MACs required for inference, sustaining low latency necessitates preserving hardware-efficiency. Our experiments across diverse CPU devices confirm that these adaptations successfully retain high hardware-efficiency on CPUs. Based on these insights, we introduce CPUBone, a new family of vision backbone models optimized for CPU-based inference. CPUBone achieves state-of-the-art Speed-Accuracy Trade-offs (SATs) across a wide range of CPU devices and effectively transfers its efficiency to downstream tasks such as object detection and semantic segmentation. Models and code are available at https://github.com/altair199797/CPUBone.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。