[논문 리뷰] Local-Global Attention: An Adaptive Mechanism for Multi-Scale Feature Integration
이 논문은 다중 척도 컨볼루션, 위치 인코딩, 학습 가능한 $α$ 파rameter를 사용하여 국소적 및 전역적 특징 표현을 동적으로 균형 잡는 새로운 어텐션 메커니즘인 Local-Global Attention을 제안한다. 이는 소형 객체 및 다중 클래스 검출에서 최소한의 계산 부담으로도 최신 기준 성능을 달성한다.
In recent years, attention mechanisms have significantly enhanced the performance of object detection by focusing on key feature information. However, prevalent methods still encounter difficulties in effectively balancing local and global features. This imbalance hampers their ability to capture both fine-grained details and broader contextual information-two critical elements for achieving accurate object detection.To address these challenges, we propose a novel attention mechanism, termed Local-Global Attention, which is designed to better integrate both local and global contextual features. Specifically, our approach combines multi-scale convolutions with positional encoding, enabling the model to focus on local details while concurrently considering the broader global context. Additionally, we introduce a learnable parameters, which allow the model to dynamically adjust the relative importance of local and global attention, depending on the specific requirements of the task, thereby optimizing feature representations across multiple scales.We have thoroughly evaluated the Local-Global Attention mechanism on several widely used object detection and classification datasets. Our experimental results demonstrate that this approach significantly enhances the detection of objects at various scales, with particularly strong performance on multi-class and small object detection tasks. In comparison to existing attention mechanisms, Local-Global Attention consistently outperforms them across several key metrics, all while maintaining computational efficiency.
연구 동기 및 목표
- 기존 객체 검출을 위한 어テン션 메커니즘에서 국소적 및 전역적 특징 표현 간의 균형을 개선한다.
- 세밀한 세부 사항과 맥락적 이해를 향상시켜 소형 객체 및 다중 클래스 객체 검출 성능을 향상시킨다.
- MobileNetV3 및 ResNet과 같은 기존 아키텍처에 쉽게 통합할 수 있는 계산 효율적인 어텐션 메커니즘을 개발한다.
- 다양한 작업 요구사항에 맞게 국소적 및 전역적 특징의 기여도를 동적으로 학습 가능한 $α$ 파rameter로 조절할 수 있도록 한다.
- COCO, VOC, VisDrone, DOTA, GWHD 등 다양한 데이터셋에서 강건성과 이식 가능성을 확보한다.
제안 방법
- 국소 어텐션을 위해 작은 커널을 사용한 다중 척도 컨볼루션을 적용하여 국소적이고 고해상도 특징을 추출한다.
- 더 큰 커널을 사용한 컨볼루션과 함께 위치 인코딩을 조합하여 전역적 맥락을 포괄하는 전역 어텐션을 확보한다.
- 전용 컨볼루션 경로를 통해 국소 및 전역 어텐션 맵을 별도로 생성한다.
- 학습 가능한 $α$ 파rameter를 사용하여 국소 및 전역 특징의 기여도를 동적으로 조정하는 방식으로 두 어텐션 맵을 융합한다.
- 통합된 어텐션 맵을 네트워크에 통합하여 특징을 정교화하고 정보성 있는 특징에 대한 선택적 집중을 가능하게 한다.
- 모듈러리티와 경량성을 고려하여 YOLOv8와 같은 기존 모델에 플러그 앤 플레이 방식으로 통합 가능하도록 설계한다.
![Figure 1 : The mAP@50 and mAP@50:95 results on the COCO2017 [ 16 ] and VOC2007 [ 6 ] datasets compare the performance of MobileNetV3 [ 10 ] with its enhanced version using the Local-Global Attention mechanism. On COCO2017 [ 16 ] , all models were trained for 20 epochs using the Adam optimizer, while](https://ar5iv.labs.arxiv.org/html/2411.09604/assets/photo/both.jpg)
실험 결과
연구 질문
- RQ1계산 효율성을 희생시키지 않고도 국소적 및 전역적 특징 표현을 효과적으로 균형 잡는 통합 어텐션 메커니즘이 가능한가?
- RQ2위치 인코딩의 통합이 다중 척도 특징 학습에서 모델의 공간적 이해도를 어떻게 향상시키는가?
- RQ3학습 가능한 $α$ 파arameter는 다양한 검출 작업 및 데이터셋에서 성능 향상에 얼마나 기여하는가?
- RQ4Local-Global Attention 메커니즘이 SE, CBAM, MHSA와 같은 기존 어텐션 모듈보다 소형 객체 및 다중 클래스 검출 벤치마크에서 일관되게 뛰어난 성능을 보이는가?
- RQ5항공 이미지 검출(예: DOTA, GWHD) 및 세밀한 특징을 요구하는 데이터셋(TinyPerson, Fashion-MNIST)과 같은 복잡하고 고해상도 환경에서 이 메커니즘이 얼마나 강건한가?
주요 결과
- COCO2017에서 Local-Global Attention은 MobileNetV3 기준선 대비 mAP@50에서 0.1 향상되고, mAP@50-95에서 0.7 향상되었다.
- VisDrone2019-DET 데이터셋에서 기준선 대비 mAP@50에서 0.4% 절대적 향상, mAP@50-95에서 0.3% 향상되었다.
- COCOminitrain 데이터셋에서 mAP@50(15.1)과 mAP@50-95(9.08) 모두 최고 기록을 달성하여, MHSA 및 CBAM을 포함한 모든 기준선을 초월했다.
- DOTAv1.0에서 Local-Global Attention은 mAP@50-95 최고 기록 32.8을 기록했으며, 기준선 대비 0.4% 향상되었다.
- GWH2020에서 mAP@50는 95.8, mAP@50-95는 60.1을 기록하여 각각 기준선 대비 0.3% 및 0.1% 향상되었다.
- 메커니즘은 매우 낮은 계산 비용을 유지하였으며, 파라미터 수와 GFLOPs에 대한 증가가 극히 미미하여 실용적이고 효율적인 실세계 적용 가능성을 입증했다.

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