arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2304.05659cs.CVcs.AI
收藏

RIFormer:在移除令牌混合器的同时保持视觉骨干网络的有效性

RIFormer: Keep Your Vision Backbone Effective While Removing Token Mixer

Shanghai AI Laboratory(上海人工智能实验室);The University of HongKong(香港大学);Tsinghua Shenzhen International Graduate School(清华大学深圳国际研究生院)

Jiahao Wang, Songyang Zhang, Yong Liu, Taiqiang Wu, Yujiu Yang, Xihui Liu, Kai Chen, Ping Luo, Dahua Lin

AI总结:

本文提出RIFormer,通过重参数化思想构建无令牌混合器的视觉骨干网络,并总结5条优化准则,在保持高性能的同时显著提升推理效率。

摘要:

本文研究如何在其基本构建模块中移除令牌混合器(token mixer)的同时保持视觉骨干网络的有效性。令牌混合器,如视觉Transformer(ViTs)中的自注意力机制,旨在不同空间令牌之间进行信息通信,但会带来相当大的计算成本和延迟。然而,直接移除它们会导致不完整的模型结构先验,从而带来显著的精度下降。为此,我们首先基于重参数化思想开发了RepIdentityFormer,以研究无令牌混合器的模型架构。然后,我们探索改进的学习范式,以突破简单无令牌混合器骨干网络的局限性,并将实践经验总结为5条准则。借助所提出的优化策略,我们能够构建一个极其简单的视觉骨干网络,在推理过程中享有高效率的同时取得令人鼓舞的性能。大量实验和消融分析还表明,网络架构的归纳偏置可以通过适当的优化策略融入简单的网络结构中。我们希望这项工作可以作为探索优化驱动的高效网络设计的起点。项目页面:https://techmonsterwang.github.io/RIFormer/。

英文摘要:

This paper studies how to keep a vision backbone effective while removing token mixers in its basic building blocks. Token mixers, as self-attention for vision transformers (ViTs), are intended to perform information communication between different spatial tokens but suffer from considerable computational cost and latency. However, directly removing them will lead to an incomplete model structure prior, and thus brings a significant accuracy drop. To this end, we first develop an RepIdentityFormer base on the re-parameterizing idea, to study the token mixer free model architecture. And we then explore the improved learning paradigm to break the limitation of simple token mixer free backbone, and summarize the empirical practice into 5 guidelines. Equipped with the proposed optimization strategy, we are able to build an extremely simple vision backbone with encouraging performance, while enjoying the high efficiency during inference. Extensive experiments and ablative analysis also demonstrate that the inductive bias of network architecture, can be incorporated into simple network structure with appropriate optimization strategy. We hope this work can serve as a starting point for the exploration of optimization-driven efficient network design. Project page: https://techmonsterwang.github.io/RIFormer/.

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

↑