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

UniNet:使用卷积、Transformer和MLP的统一架构搜索

UniNet: Unified Architecture Search with Convolution, Transformer, and MLP

CUHK(香港中文大学);SenseTime Research(商汤科技研究院)

Jihao Liu, Xin Huang, Guanglu Song, Hongsheng Li, Yu Liu

摘要:

最近,Transformer和多层感知器(MLP)架构在各种视觉任务上取得了令人印象深刻的结果。然而,如何有效地结合这些操作,形成高性能的混合视觉架构仍然是一个挑战。在这项工作中,我们研究了可学习的组合卷积,Transformer,和MLP提出了一种新的统一架构的搜索方法。我们的方法包含两个关键的设计,以实现高性能网络的搜索。首先,我们在一个统一的形式非常不同的可搜索的运营商建模,从而使运营商的特点与相同的配置参数集。以这种方式,整体搜索空间大小显著减小,并且总搜索成本变得可承受。其次,我们提出了上下文感知的下采样模块(DSM),以减轻不同类型的运营商之间的差距。我们提出的DSM能够更好地适应不同类型的运营商的功能,这对于确定高性能的混合架构是很重要的。最后,我们将可配置的操作符和DSM集成到一个统一的搜索空间中,并使用基于强化学习的搜索算法进行搜索,以充分探索操作符的最佳组合。为此,我们搜索一个基线网络,并将其扩展以获得一系列模型,称为UniNets,它比以前的ConvNets和Transformers具有更好的准确性和效率。特别是,我们的UniNet-B5在ImageNet上达到了84.9%的top-1准确率,优于EfficientNet-B7和BoTNet-T7,FLOP分别减少了44%和55%。通过在ImageNet-21K上进行预训练,我们的UniNet-B6达到了87.4%,优于Swin-L,FLOP减少了51%,参数减少了41%。代码可在www.example.com上获得。

英文摘要:

Recently, transformer and multi-layer perceptron (MLP) architectures have achieved impressive results on various vision tasks. However, how to effectively combine those operators to form high-performance hybrid visual architectures still remains a challenge. In this work, we study the learnable combination of convolution, transformer, and MLP by proposing a novel unified architecture search approach. Our approach contains two key designs to achieve the search for high-performance networks. First, we model the very different searchable operators in a unified form, and thus enable the operators to be characterized with the same set of configuration parameters. In this way, the overall search space size is significantly reduced, and the total search cost becomes affordable. Second, we propose context-aware downsampling modules (DSMs) to mitigate the gap between the different types of operators. Our proposed DSMs are able to better adapt features from different types of operators, which is important for identifying high-performance hybrid architectures. Finally, we integrate configurable operators and DSMs into a unified search space and search with a Reinforcement Learning-based search algorithm to fully explore the optimal combination of the operators. To this end, we search a baseline network and scale it up to obtain a family of models, named UniNets, which achieve much better accuracy and efficiency than previous ConvNets and Transformers. In particular, our UniNet-B5 achieves 84.9% top-1 accuracy on ImageNet, outperforming EfficientNet-B7 and BoTNet-T7 with 44% and 55% fewer FLOPs respectively. By pretraining on the ImageNet-21K, our UniNet-B6 achieves 87.4%, outperforming Swin-L with 51% fewer FLOPs and 41% fewer parameters. Code is available at https://github.com/Sense-X/UniNet.

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

↑