[논문 리뷰] Adaptive Frequency Filters As Efficient Global Token Mixers
AFF는 FFT 기반 필터링을 주파수 도메인에서 사용하는 전역 토큰 믹서로서 적응 주파수 필터링(AFF)을 도입하여 대 커널의 의미론적으로 적응적인 토큰 믹싱을 저비용으로 가능하게 하며 AFFNet 백본을 형성합니다.
Recent vision transformers, large-kernel CNNs and MLPs have attained remarkable successes in broad vision tasks thanks to their effective information fusion in the global scope. However, their efficient deployments, especially on mobile devices, still suffer from noteworthy challenges due to the heavy computational costs of self-attention mechanisms, large kernels, or fully connected layers. In this work, we apply conventional convolution theorem to deep learning for addressing this and reveal that adaptive frequency filters can serve as efficient global token mixers. With this insight, we propose Adaptive Frequency Filtering (AFF) token mixer. This neural operator transfers a latent representation to the frequency domain via a Fourier transform and performs semantic-adaptive frequency filtering via an elementwise multiplication, which mathematically equals to a token mixing operation in the original latent space with a dynamic convolution kernel as large as the spatial resolution of this latent representation. We take AFF token mixers as primary neural operators to build a lightweight neural network, dubbed AFFNet. Extensive experiments demonstrate the effectiveness of our proposed AFF token mixer and show that AFFNet achieve superior accuracy and efficiency trade-offs compared to other lightweight network designs on broad visual tasks, including visual recognition and dense prediction tasks.
연구 동기 및 목표
- 가볍게 구성된 네트워크가 비용이 많이 드는 자기 주의(self-attention)나 큰 완전연결층 없이도 효율적인 전역 토큰 믹싱을 달성하도록 동기를 부여합니다.
- FFT 기반 필터링을 통해 구현되는 의미-적응적 글로벌 토큰 믹셔로서 Adaptive Frequency Filtering (AFF)을 제안합니다.
- AFF 토크 믹서가 계산 복잡도를 낮추면서 큰 효과적 믹싱 커널을 가능하게 함을 보여줍니다.
- AFF 블록을 AFFNet으로 구성하고 비전 작업 전반에서 강한 정확도-효율성 트레이드오프를 시연합니다.
제안 방법
- 2D FFT를 사용해 잠재 토큰을 주파수 공간으로 전이합니다.
- 주파수 표현에 작용하는 경량 MLP를 통해 인스턴스-적응 주파수 도메인 마스크를 학습합니다.
- 학습된 마스크와 주파수 표현 간 Hadamard 곱을 적용하고 역 FFT를 통해 업데이트된 토큰을 얻습니다.
- 컨볼루션 정리에 의해 AFF를 공간 도메인에서 동적이고 큰 커널 깊이별 합성이라고 해석합니다.
- 채널 혼합(MBConv + LN)과 잔차 연결이 있는 AFF Block에 AFF 토큰 믹서를 통합해 AFFNet을 형성합니다.
- 세 가지 AFFNet 변형(AFFNet-T, AFFNet-ET, AFFNet)을 제공하고 용량을 증가시키며 분류, 검출, 분할에서 평가합니다.
실험 결과
연구 질문
- RQ1잠재 공간에서의 적응 주파수 필터링이 가벼운 비전 백본에 효과적인 글로벌 토큰 믹서를 제공할 수 있는가?
- RQ2AFF가 정확도와 효율성 측면에서 기존의 주파수 도메인 연산자와 공간 도메인 토큰 믹서와 어떻게 비교되는가?
- RQ3채널별 의미-적응 마스킹이 토큰 믹싱 성능에 미치는 영향은 무엇인가?
- RQ4ImageNet, COCO, ADE20K, VOC에서 AFFNet의 정확도와 효율성 트레이드오프는 어떤가?
주요 결과
- 학습 가능한 주파수 도메인 마스크를 통한 AFF 토큰 믹싱은 의미적 적응성을 갖춘 대 커널 동적 합성에 해당하는 전역 토큰 믹싱을 제공합니다.
- AFFNet은 ImageNet-1K에서 5.5M 파라미터와 1.5G FLOPs로 79.8% Top-1 정확도를 달성하며, 유사 규모의 다른 경량 모델을 능가합니다.
- AFFNet-ET은 1.4M 파라미터와 0.4G FLOPs로 73.0% Top-1을 달성하며 극도로 경량일 때도 강한 효율성을 보여줍니다.
- AFFNet- T, -ET, 그리고 표준 AFFNet은 분류, 검출, 분할 작업에서 기준선 및 다른 주파수 도메인 접근법(AFNO, GFNet, FNO 등)보다 더 나은 정확도-효율성 트레이드오프를 제공합니다.
- 아블레이션 결과 AFF를 항등으로 대체하거나 원래 도메인에서 필터링을 적용하면 성능이 저하되어 주파수 도메인, 채널별 설계의 중요성이 강조됩니다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.