arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2603.26551cs.CVcs.AI
收藏

超越MACs:面向视觉骨干网络的硬件高效架构设计

Beyond MACs: Hardware Efficient Architecture Design for Vision Backbones

Machine Learning and Perception Lab, University of Udine(乌迪大学机器学习与感知实验室);Centre for Vision Research, York University(约克大学视觉研究中心)

Moritz Nottebaum, Matteo Dunnhofer, Christian Micheloni

AI总结:

针对MACs指标在边缘设备上的不足,提出基于硬件效率洞察的LowFormer骨干网络,通过轻量级Lowtention模块实现显著加速。

摘要:

视觉骨干网络在现代计算机视觉中扮演核心角色。提升其效率直接惠及广泛下游应用。为衡量效率,许多出版物依赖MACs(乘累加操作)作为执行时间的预测指标。本文通过实验证明该指标的缺陷,尤其在边缘设备场景下。通过对比常见架构设计元素的MAC计数和执行时间,我们识别出高效执行的关键因素,并提供优化骨干设计的见解。基于这些见解,我们提出LowFormer,一种新型视觉骨干家族。LowFormer采用流线型的宏观和微观设计,包括Lowtention——多头自注意力的轻量级替代方案。Lowtention不仅更高效,还在ImageNet上取得了更优结果。此外,我们提出LowFormer的边缘GPU版本,可进一步提升其在边缘GPU和桌面GPU上的基线速度。通过在更小图像分类数据集上的评估以及将其适配到多个下游任务(如目标检测、语义分割、图像检索和视觉目标跟踪),我们展示了LowFormer的广泛适用性。与近期最先进的骨干网络相比,LowFormer模型在各种硬件平台上均实现了显著加速。代码和模型见此链接。

英文摘要:

Vision backbone networks play a central role in modern computer vision. Enhancing their efficiency directly benefits a wide range of downstream applications. To measure efficiency, many publications rely on MACs (Multiply Accumulate operations) as a predictor of execution time. In this paper, we experimentally demonstrate the shortcomings of such a metric, especially in the context of edge devices. By contrasting the MAC count and execution time of common architectural design elements, we identify key factors for efficient execution and provide insights to optimize backbone design. Based on these insights, we present LowFormer, a novel vision backbone family. LowFormer features a streamlined macro and micro design that includes Lowtention, a lightweight alternative to Multi-Head Self-Attention. Lowtention not only proves more efficient, but also enables superior results on ImageNet. Additionally, we present an edge GPU version of LowFormer, that can further improve upon its baseline's speed on edge GPU and desktop GPU. We demonstrate LowFormer's wide applicability by evaluating it on smaller image classification datasets, as well as adapting it to several downstream tasks, such as object detection, semantic segmentation, image retrieval, and visual object tracking. LowFormer models consistently achieve remarkable speed-ups across various hardware platforms compared to recent state-of-the-art backbones. Code and models are available at https://github.com/altair199797/LowFormer/blob/main/Beyond_MACs.md.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑