[논문 리뷰] iFormer: Integrating ConvNet and Transformer for Mobile Application
iFormer은 모바일 친화적 하이브리드 비전 네트워크로, 빠른 컨볼루션 블록과 효율적인 단일 헤드 모듈레이션 자기 주의 메커니즘을 결합하여 모바일 비전 태스크에서 지연-정확도 트레이드오프의 최첨단을 달성하며, iPhone 13에서 ImageNet-1K의 1.10 ms에 80.4% Top-1을 달성합니다.
We present a new family of mobile hybrid vision networks, called iFormer, with a focus on optimizing latency and accuracy on mobile applications. iFormer effectively integrates the fast local representation capacity of convolution with the efficient global modeling ability of self-attention. The local interactions are derived from transforming a standard convolutional network, extit{i.e.}, ConvNeXt, to design a more lightweight mobile network. Our newly introduced mobile modulation attention removes memory-intensive operations in MHA and employs an efficient modulation mechanism to boost dynamic global representational capacity. We conduct comprehensive experiments demonstrating that iFormer outperforms existing lightweight networks across various tasks. Notably, iFormer achieves an impressive Top-1 accuracy of 80.4\% on ImageNet-1k with a latency of only 1.10 ms on an iPhone 13, surpassing the recently proposed MobileNetV4 under similar latency constraints. Additionally, our method shows significant improvements in downstream tasks, including COCO object detection, instance segmentation, and ADE20k semantic segmentation, while still maintaining low latency on mobile devices for high-resolution inputs in these scenarios.
연구 동기 및 목표
- 지연과 정확도의 균형을 맞춘 경량 모바일 비전 네트워크를 동기부여하고 설계한다.
- 빠른 로컬 컨볼루션 표현과 효율적인 글로벌 어텐션을 통합한다.
- 온-device 추론에 적합한 메모리 효율적인 어텐션 변형을 개발한다.
- 아키텍처를 이미지 분류, 객체 탐지, 인스턴스 분할, 시맨틱 분할 전반에 걸쳐 평가한다.
제안 방법
- 로컬 표현을 포착하기 위해 ConvNeXt 기반의 경량 백본으로 시작한다.
- 전역 컨텍스트를 저메모리 비용으로 모델링하기 위해 단일 헤드 모듈레이션 자기 주의(SHMA)를 도입한다.
- 합성 출력을 컨볼루셔널 분기와 SHMA 분기로 융합하여 동적 정보 교환을 가능하게 한다.
- 동적 위치 정보를 주입하기 위해 조건부 위치 인코딩(CPE)을 사용한다.
- 모바일 하드웨어에서의 지연을 최적화하기 위해 더 넓은/더 좁은 블록, 커널 크기, 활성화/정규화 선택을 실험한다.

실험 결과
연구 질문
- RQ1CNN과 트랜스포머를 통합하여 모바일 비전 태스크에서 지연-정확도 최적의 트레이드오프를 어떻게 달성할 수 있는가?
- RQ2단일 헤드 모듈레이션 주의 메커니즘이 모바일 장치에서 더 낮은 메모리 및 지연 비용으로 경쟁력 있는 글로벌 모델링을 제공하는가?
- RQ3증류나 재매개화를 사용하지 않고도 온디바이스 성능을 최대화하는 어떤 아키텍처 및 학습 선택이 있는가?
주요 결과
- iFormer은 iPhone 13에서 1.10 ms 지연으로 ImageNet-1K에서 80.4% Top-1 정확도를 달성합니다(증류나 재매개화 없음).
- Single-head modulation attention (SHMA) reduces memory access and maintains competitive accuracy compared with multi-head attention baselines (SHA baseline 1.25x faster than MHA).
- iFormer-L은 객체 탐지(MS COCO) 및 시맨틱 분할(ADE20K) 같은 다운스트림 작업에서 모바일 대기 시간을 낮추면서도 고해상도 입력에 대해 우수한 성능을 보인다.
- 조건부 위치 인코딩이 있는 모듈레이션 어텐션이 테스트된 변형들 중 최적의 Pareto-적합성 정확도-지연 트레이드오프를 제공한다.
- 아키텍처는 모바일 하드웨어에서 이미지 분류, 객체 탐지, 인스턴스 분할, 시맨틱 분할에서 강력한 결과를 달성한다.

이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.