Lune

ICLR2023Top-tier venue

MOAT: Alternating Mobile Convolution and Attention Brings Strong Vision Models

Chenglin Yang, Siyuan Qiao, Qihang Yu, Xiaoding Yuan, Yukun Zhu, Alan L. Yuille, Hartwig Adam, Liang-Chieh Chen

Abstract

This paper presents MOAT, a family of neural networks that build on top of MObile convolution (i.e., inverted residual blocks) and ATtention. Unlike the current works that stack separate mobile convolution and transformer blocks, we effectively merge them into a MOAT block. Starting with a standard Transformer block, we replace its multi-layer perceptron with a mobile convolution block, and further reorder it before the self-attention operation. The mobile convolution block not only enhances the network representation capacity, but also produces better downsampled features. Our conceptually simple MOAT networks are surprisingly effective, achieving 89.1% / 81.5% top-1 accuracy on ImageNet-1K / ImageNet-1K-V2 with ImageNet-22K pretraining. Additionally, MOAT can be seamlessly applied to downstream tasks that require large resolution inputs by simply converting the global attention to window attention. Thanks to the mobile convolution that effectively exchanges local information between pixels (and thus cross-windows), MOAT does not need the extra window-shifting mechanism. As a result, on COCO object detection, MOAT achieves 59.2% AP box with 227M model parameters (single-scale inference, and hard NMS), and on ADE20K semantic segmentation, MOAT attains 57.6% mIoU with 496M model parameters (single-scale inference). Finally, the tiny-MOAT family, obtained by simply reducing the channel sizes, also surprisingly outperforms several mobile-specific transformer-based models on ImageNet. The tiny-MOAT family is also benchmarked on downstream tasks, serving as a baseline for the community. We hope our simple yet effective MOAT will inspire more seamless integration of convolution and self-attention. Code is publicly available. 1

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

24 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization cites Searching for MobileNetV3
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • FastViT: A Fast Hybrid Vision Transformer using Structural Reparameterization cites Training data-efficient image transformers & distillation through attention
  • RevColV2: Exploring Disentangled Representations in Masked Image Modeling cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • RevColV2: Exploring Disentangled Representations in Masked Image Modeling cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Rethinking Mobile Block for Efficient Attention-based Models cites Searching for MobileNetV3
  • Rethinking Mobile Block for Efficient Attention-based Models cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Rethinking Mobile Block for Efficient Attention-based Models cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Rethinking Mobile Block for Efficient Attention-based Models cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Training data-efficient image transformers & distillation through attention
  • Swin Transformer: Hierarchical Vision Transformer using Shifted Windows cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
  • Adaptive Frequency Filters As Efficient Global Token Mixers cites Searching for MobileNetV3
  • Adaptive Frequency Filters As Efficient Global Token Mixers cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Adaptive Frequency Filters As Efficient Global Token Mixers cites Swin Transformer: Hierarchical Vision Transformer using Shifted Windows
  • Adaptive Frequency Filters As Efficient Global Token Mixers cites Training data-efficient image transformers & distillation through attention
  • Training data-efficient image transformers & distillation through attention cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Point Deformable Network with Enhanced Normal Embedding for Point Cloud Analysis cites Deformable DETR: Deformable Transformers for End-to-End Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers24

  1. FastViT: A Fast Hybrid Vision Transformer using Structural ReparameterizationPavan Kumar Anasosalu Vasu, James Gabriel, Jeff Zhu, Oncel Tuzel et al.ICCV 2023 · 341 citations
  2. Rethinking Mobile Block for Efficient Attention-based ModelsJiangning Zhang, Xiangtai Li, Jian Li, Liang Liu et al.ICCV 2023 · 223 citations
  3. Adaptive Frequency Filters As Efficient Global Token MixersZhipeng Huang, Zhizheng Zhang, Cuiling Lan, Zheng-Jun Zha et al.ICCV 2023 · 96 citations
  4. Point Deformable Network with Enhanced Normal Embedding for Point Cloud AnalysisXingyilang Yin, Xi Yang, Liangchen Liu, Nannan Wang et al.AAAI 2024 · 17 citations
  5. RevColV2: Exploring Disentangled Representations in Masked Image ModelingQi Han, Yuxuan Cai, Xiangyu ZhangNeurIPS 2023 · 16 citations

Builds on47

  1. Swin Transformer: Hierarchical Vision Transformer using Shifted WindowsZe Liu, Yutong Lin, Yue Cao, Han Hu et al.ICCV 2021 · 31,683 citations
  2. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  3. Searching for MobileNetV3Andrew Howard, Ruoming Pang, Hartwig Adam, Quoc V. Le et al.ICCV 2019 · 9,163 citations
  4. Training data-efficient image transformers & distillation through attentionHugo Touvron, Matthieu Cord, Matthijs Douze, Francisco Massa et al.ICML 2021 · 8,974 citations
  5. Deformable DETR: Deformable Transformers for End-to-End Object DetectionXizhou Zhu, Weijie Su, Lewei Lu, Bin Li et al.ICLR 2021 · 7,353 citations

Related papers

  1. Bottleneck Transformers for Visual RecognitionAravind Srinivas, Tsung-Yi Lin, Niki Parmar, Jonathon Shlens et al.CVPR 2021
  2. Involution: Inverting the Inherence of Convolution for Visual RecognitionDuo Li, Jie Hu, Changhu Wang, Xiangtai Li et al.CVPR 2021
  3. MobileViT: Light-weight, General-purpose, and Mobile-friendly Vision TransformerSachin Mehta, Mohammad RastegariICLR 2022 · 2,162 citations
  4. Mobile-Former: Bridging MobileNet and TransformerYinpeng Chen, Xiyang Dai, Dongdong Chen, Mengchen Liu et al.CVPR 2022 · 600 citations
  5. Iformer: Integrating ConvNet and Transformer for Mobile ApplicationChuanyang ZhengICLR 2025
Dusk over the sea between two cliffs drawn in fine vertical lines