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

重新思考用于高效基于注意力模型的移动模块

Rethinking Mobile Block for Efficient Attention-based Models

Youtu Lab, Tencent(腾讯优图实验室);Zhejiang University(浙江大学);Peking University(北京大学);Wuhan University(武汉大学)

Jiangning Zhang, Xiangtai Li, Jian Li, Liang Liu, Zhucun Xue, Boshen Zhang, Zhengkai Jiang, Tianxin Huang, Yabiao Wang, Chengjie Wang

AI总结:

本文提出单残差MMB并推导iRMB,构建仅由iRMB组成的高效模型EMO,在ImageNet-1K、COCO2017和ADE20K上以更少参数和更高速度达到领先性能。

摘要:

本文聚焦于为密集预测开发现代、高效且轻量的模型,同时在参数量、FLOPs和性能之间进行权衡。Inverted Residual Block(IRB,倒残差块)是轻量级CNN的基础架构,但在基于注意力的研究中尚未发现对应的组件。本工作从统一视角重新审视来自高效IRB与Transformer有效组件的轻量级基础架构,将基于CNN的IRB扩展到基于注意力的模型,并抽象出一个单残差的Meta Mobile Block(MMB,元移动块)用于轻量级模型设计。遵循简单而有效的设计准则,我们推导出一个现代Inverted Residual Mobile Block(iRMB,倒残差移动块),并仅使用iRMB构建了一个类似ResNet的Efficient MOdel(EMO,高效模型)以处理下游任务。在ImageNet-1K、COCO2017和ADE20K基准上的大量实验证明了我们的EMO相对于最先进方法的优越性,例如,EMO-1M/2M/5M分别取得71.5、75.1和78.4的Top-1准确率,超过了同量级的基于CNN/注意力的模型,同时在参数量、效率和准确率之间取得了良好平衡:在iPhone14上的运行速度比EdgeNeXt快2.8至4.0倍。

英文摘要:

This paper focuses on developing modern, efficient, lightweight models for dense predictions while trading off parameters, FLOPs, and performance. Inverted Residual Block (IRB) serves as the infrastructure for lightweight CNNs, but no counterpart has been recognized by attention-based studies. This work rethinks lightweight infrastructure from efficient IRB and effective components of Transformer from a unified perspective, extending CNN-based IRB to attention-based models and abstracting a one-residual Meta Mobile Block (MMB) for lightweight model design. Following simple but effective design criterion, we deduce a modern Inverted Residual Mobile Block (iRMB) and build a ResNet-like Efficient MOdel (EMO) with only iRMB for down-stream tasks. Extensive experiments on ImageNet-1K, COCO2017, and ADE20K benchmarks demonstrate the superiority of our EMO over state-of-the-art methods, e.g., EMO-1M/2M/5M achieve 71.5, 75.1, and 78.4 Top-1 that surpass equal-order CNN-/Attention-based models, while trading-off the parameter, efficiency, and accuracy well: running 2.8-4.0x faster than EdgeNeXt on iPhone14.

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

↑