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

AS-MLP:一种轴向移位的MLP视觉体系结构

AS-MLP: An Axial Shifted MLP Architecture for Vision

ShanghaiTech University(上海科技大学);Tencent(腾讯);Shanghai Engineering Research Center of Intelligent Vision and Imaging(上海智能视觉与成像工程研究中心);Shanghai Engineering Research Center of Energy Efficient and Custom AI IC(上海高效节能与定制AI芯片工程研究中心)

Dongze Lian, Zehao Yu, Xing Sun, Shenghua Gao

摘要:

提出了一种轴向移位的MLP结构(AS-MLP)。与MLP混合器通过矩阵转置和单标记混合MLP对全局空间特征进行信息流编码不同,我们更关注局部特征的交互。通过轴向移动特征映射的通道,AS-MLP能够从不同的轴向方向获得信息流,从而捕获局部依赖性。这样的操作使我们能够利用纯MLP架构来实现与CNN类架构相同的局部感受野。我们还可以设计AS-MLP的感受野大小和块的膨胀等,在卷积神经网络的相同精神。使用所提出的AS-MLP架构,我们的模型在ImageNet-1 K数据集上获得了83.3%的Top-1准确率,88 M参数和15.2 GFLOPs。这种简单而有效的架构优于所有基于MLP的架构,并且与基于变压器的架构(例如,Swin Transformer),即使FLOPs略低。此外,AS-MLP也是第一个应用于下游任务(例如,目标检测和语义分割)。实验结果也令人印象深刻。我们提出的AS-MLP在COCO验证集上获得51.5 mAP,在ADE 20 K数据集上获得49.5 MS mIoU,与基于transformer的架构相比具有竞争力。我们的AS-MLP建立了一个强大的基于MLP的架构基线。代码可在https://github.com/svip-lab/AS-MLP上获得。

英文摘要:

An Axial Shifted MLP architecture (AS-MLP) is proposed in this paper. Different from MLP-Mixer, where the global spatial feature is encoded for information flow through matrix transposition and one token-mixing MLP, we pay more attention to the local features interaction. By axially shifting channels of the feature map, AS-MLP is able to obtain the information flow from different axial directions, which captures the local dependencies. Such an operation enables us to utilize a pure MLP architecture to achieve the same local receptive field as CNN-like architecture. We can also design the receptive field size and dilation of blocks of AS-MLP, etc, in the same spirit of convolutional neural networks. With the proposed AS-MLP architecture, our model obtains 83.3% Top-1 accuracy with 88M parameters and 15.2 GFLOPs on the ImageNet-1K dataset. Such a simple yet effective architecture outperforms all MLP-based architectures and achieves competitive performance compared to the transformer-based architectures (e.g., Swin Transformer) even with slightly lower FLOPs. In addition, AS-MLP is also the first MLP-based architecture to be applied to the downstream tasks (e.g., object detection and semantic segmentation). The experimental results are also impressive. Our proposed AS-MLP obtains 51.5 mAP on the COCO validation set and 49.5 MS mIoU on the ADE20K dataset, which is competitive compared to the transformer-based architectures. Our AS-MLP establishes a strong baseline of MLP-based architecture. Code is available at https://github.com/svip-lab/AS-MLP.

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

↑