Skip to main content
QUICK REVIEW

[논문 리뷰] MOAT: Alternating Mobile Convolution and Attention Brings Strong Vision Models

Chenglin Yang, Siyuan Qiao|arXiv (Cornell University)|2022. 10. 04.
Advanced Neural Network ApplicationsComputer Science인용 수 22
한 줄 요약

MOAT는 모바일 컨볼루션과 셀프 어텐션을 하나의 MOAT 블록으로 합쳐 분류, 탐지, 세그먼테이션 전반에 걸친 강력한 비전 모델을 경쟁력 있는 효율성과 함께 제공합니다.

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 ImageNet22K 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% box AP 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.

연구 동기 및 목표

  • 비전 과제를 위한 컨볼루션 블록과 어텐션 기반 블록의 단순하지만 효과적인 통합을 제시한다.
  • Transformer 블록의 MLP를 MBConv로 교체하고 더 나은 다운샘플링을 위해 재정렬하는 식의 마이크로 아키텍처 설계를 연구한다.
  • 대규모 프리트레이닝 여부에 관계없이 ImageNet 분류에서 MOAT 변형들을 평가한다.
  • 고해상도 입력이 필요한 다운스트림 작업에서 MOAT 성능을 평가한다 (COCO 객체 탐지와 ADE20K 분할).

제안 방법

  • 역 인버티드 병목 현상과 지역 대 글로벌 정보 처리를 강조하며 MBConv 블록과 Transformer 블록을 정의한다.
  • Transformer MLP를 MBConv로 교체하고(SE 없이) 자가 어텐션 앞에 MBConv를 배치하여 다운샘플링을 깊이 방향 컨볼루션에 위임하는 방식으로 MOAT를 제안한다.
  • 컨볼루셔널 스템, MBConv, MOAT 블록으로 구성된 MOAT 기반 메타 아키텍처를 설계하고 CoAtNet-1과 유사한 레이아웃을 따른다.
  • 블록 수와 채널 수를 조정하여 MOAT-0…MOAT-4 및 tiny-MOAT 변형을 만들고 MOAT 변형의 규모를 확장한다.
  • ImageNet-1K 및 ImageNet-22K 프리트레이닝에서 평가한 뒤, 큰 입력에 대해 로컬 윈도우 어텐션을 사용하여 COCO와 ADE20K로 전이한다.
  • 매개변수/계산 효율성과 정확도 향상을 보여주기 위해 최신 ConvNets, ViTs, 하이브리드를 비교한다.

실험 결과

연구 질문

  • RQ1추가 다운샘플링 모듈 없이 단일 MOAT 블록이 MBConv와 Transformer 블록의 강점을 효과적으로 결합할 수 있는가?
  • RQ2셀프 어텐션 앞에서 MBConv의 재배치가 다운샘플링 품질과 전반적인 표현 능력을 향상시키는가?
  • RQ3ImageNet 및 다운스트림 작업에서 파라미터/ FLOPs 대비 정확도 측면에서 MOAT 변형은 어떻게 확장되는가?

주요 결과

  • MOAT는 22K 프리트레이닝 후 ImageNet-1K에서 89.1% top-1를 달성하고 ImageNet-1K-V2에서 81.5%를 달성한다.
  • MOAT는 대규모 프리트레이닝 여부에 관계없이 유사한 모델 크기에서 ImageNet-1K에서 경쟁적 하이브리드 및 순수 ViT/ConvNet 기반보다 우수하다.
  • COCO 객체 탐지에서 MOAT는 227M 매개변수로 59.2% AP 박스를 달성한다(단일 스케일, 하드 NMS).
  • ADE20K 분할에서 MOAT는 496M 매개변수로 57.6% mIoU를 달성한다(단일 스케일).
  • 채널 크기가 더 작은 Tiny-MOAT 변형도 ImageNet에서 여러 모바일 전용 트랜스포머 모델을 능가한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.