arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2211.12905cs.CV
收藏

GhostNetV2:以长期关注增强廉价运营

GhostNetV2: Enhance Cheap Operation with Long-Range Attention

Peking University(北京大学);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);University of Sydney(悉尼大学)

Yehui Tang, Kai Han, Jianyuan Guo, Chang Xu, Chao Xu, Yunhe Wang

摘要:

轻量级卷积神经网络(CNN)是专门为移动设备上的应用程序设计的,具有更快的推理速度。卷积操作只能捕获窗口区域中的局部信息,这阻碍了性能的进一步提高。在卷积中引入自注意可以很好地捕捉全局信息,但它会在很大程度上阻碍实际速度。在本文中,我们提出了一个硬件友好的注意力机制(称为DFC注意力),然后提出了一个新的GhostNetV 2架构的移动应用程序。提出的DFC注意力是基于全连接层构造的,它不仅可以在普通硬件上快速执行,而且可以捕获长距离像素之间的依赖性。我们进一步回顾了以前的GhostNet的表现力瓶颈,并建议通过DFC注意力增强廉价操作产生的扩展功能,以便GhostNetV 2块可以同时聚合本地和远程信息。大量的实验证明了GhostNetV 2在现有架构上的优越性。例如,它在ImageNet上以1.67亿FLOP实现了75.3%的top-1准确率,以类似的计算成本显著抑制了GhostNetV 1(74.5%)。源代码将在https://github.com/huawei-noah/Efficient-AI-Backbones/tree/master/ghostnetv2_pytorch和https://gitee.com/mindspore/models/tree/master/research/cv/ghostnetv2上提供。

英文摘要:

Light-weight convolutional neural networks (CNNs) are specially designed for applications on mobile devices with faster inference speed. The convolutional operation can only capture local information in a window region, which prevents performance from being further improved. Introducing self-attention into convolution can capture global information well, but it will largely encumber the actual speed. In this paper, we propose a hardware-friendly attention mechanism (dubbed DFC attention) and then present a new GhostNetV2 architecture for mobile applications. The proposed DFC attention is constructed based on fully-connected layers, which can not only execute fast on common hardware but also capture the dependence between long-range pixels. We further revisit the expressiveness bottleneck in previous GhostNet and propose to enhance expanded features produced by cheap operations with DFC attention, so that a GhostNetV2 block can aggregate local and long-range information simultaneously. Extensive experiments demonstrate the superiority of GhostNetV2 over existing architectures. For example, it achieves 75.3% top-1 accuracy on ImageNet with 167M FLOPs, significantly suppressing GhostNetV1 (74.5%) with a similar computational cost. The source code will be available at https://github.com/huawei-noah/Efficient-AI-Backbones/tree/master/ghostnetv2_pytorch and https://gitee.com/mindspore/models/tree/master/research/cv/ghostnetv2.

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

↑