Skip to main content
QUICK REVIEW

[논문 리뷰] PP-MobileSeg: Explore the Fast and Accurate Semantic Segmentation Model on Mobile Devices

Shiyu Tang, Ting Sun|arXiv (Cornell University)|2023. 04. 11.
Advanced Neural Network ApplicationsComputer Science인용 수 15
한 줄 요약

PP-MobileSeg는 StrideFormer, Aggregated Attention Module (AAM), 및 Valid Interpolate Module (VIM)을 도입하여 ARM 디바이스에서 정확도, 모델 크기 및 지연 시간을 균형 있게 달성하는 최첨단 모바일 시맨틱 분할을 구현합니다.

ABSTRACT

The success of transformers in computer vision has led to several attempts to adapt them for mobile devices, but their performance remains unsatisfactory in some real-world applications. To address this issue, we propose PP-MobileSeg, a semantic segmentation model that achieves state-of-the-art performance on mobile devices. PP-MobileSeg comprises three novel parts: the StrideFormer backbone, the Aggregated Attention Module (AAM), and the Valid Interpolate Module (VIM). The four-stage StrideFormer backbone is built with MV3 blocks and strided SEA attention, and it is able to extract rich semantic and detailed features with minimal parameter overhead. The AAM first filters the detailed features through semantic feature ensemble voting and then combines them with semantic features to enhance the semantic information. Furthermore, we proposed VIM to upsample the downsampled feature to the resolution of the input image. It significantly reduces model latency by only interpolating classes present in the final prediction, which is the most significant contributor to overall model latency. Extensive experiments show that PP-MobileSeg achieves a superior tradeoff between accuracy, model size, and latency compared to other methods. On the ADE20K dataset, PP-MobileSeg achieves 1.57% higher accuracy in mIoU than SeaFormer-Base with 32.9% fewer parameters and 42.3% faster acceleration on Qualcomm Snapdragon 855. Source codes are available at https://github.com/PaddlePaddle/PaddleSeg/tree/release/2.8.

연구 동기 및 목표

  • 제약된 자원을 가진 모바일 기기에서 고해상도 시맨틱 분할 필요성을 동기부여하고 해결한다.
  • 모델 크기, 지연 시간, 정확도의 균형을 맞춘 모바일 친화적 아키텍처를 설계한다.
  • 피처를 효율적으로 융합하고 모바일 하드웨어에서 추론 지연을 줄이는 모듈을 개발한다.

제안 방법

  • MobileNetV3 블록을 사용하는 4단계 StrideFormer 백본, 마지막 두 단계에 적용된 스트라이드 SEA 어텐션.
  • 이질적 특징을 앙상블해 상세 융합을 개선하는 Aggregated Attention Module (AAM)을 통한 피처의 집합화.
  • 최종 보간 및 ArgMax를 대체하기 위한 Valid Interpolate Module (VIM)으로 예측 클래스에 해당하는 채널만 업샘플링한다.
  • 다른 채널 폭과 SEA 헤드를 갖춘 두 가지 아키텍처 변형(PP-MobileSeg-Base 및 PP-MobileSeg-Tiny)을 제시하여 상이한 복잡도 요구에 대응.
  • ImageNet1K 프리트레이닝, 교차 엔트로피 및 Lovasz 손실을 4:1 비율로 사용하고, AdamW 옵티마이저 및 이전 모바일 시맨틱 분할 연구와 정렬된 데이터 증강을 사용한다.
  • 칩셋 Qualcomm Snapdragon 855에서 PaddleLite로 추론 지연 프로파일링을 수행하고, 대형 클래스 데이터셋에 대해 VIM을 활성화한다.

실험 결과

연구 질문

  • RQ1제안된 하이브리드 CNN-트랜스포머 백본이 파라미터 수가 제한된 상태에서 모바일 분할 정확도를 크게 향상시킬 수 있는가?
  • RQ2최종 보간/ArgMax를 클래스 인식 업샘플링 모듈로 대체하여 모바일 기기의 지연 시간을 얼마나 줄일 수 있는가?
  • RQ3제안된 StrideFormer, AAM, 및 VIM 모듈이 ADE20K 및 Cityscapes 데이터셋에서 정확도와 지연 시간을 함께 향상시키는 상호 작용을 보이는가?

주요 결과

  • PP-MobileSeg-Tiny는 ADE20K에서 36.39 mIoU, 지연 215.3 ms, 파라미터 1.44 M으로, 여러 경량 기준선보다 우수한 성능을 보인다.
  • PP-MobileSeg-Base는 ADE20K에서 41.57 mIoU, 지연 265.5 ms, 파라미터 5.71 M로 SeaFormer-Base보다 작은 크기이면서도 경쟁력 있는 정확도를 제공한다.
  • Cityscapes에서 PP-MobileSeg-Tiny는 70.82 mIoU, 지연 158.3 ms, 파라미터 1.44 M으로 SeaFormer-Small을 능가하고 모바일 효율성 기대치를 충족한다.
  • Cityscapes에서 PP-MobileSeg-Base는 74.14 mIoU, 지연 323.7 ms, 파라미터 5.71 M으로 더 높은 정확성을 합리적 지연으로 제공한다.
  • 아블레이션 연구는 VIM이 지연 시간을 약 49.5% 감소시킴을 보여주고, 앙상블 보 voting 및 AAM의 최종 시맨틱이 정확도 향상에 기여함을 시사한다.
  • StrideFormer 네 단계 백본은 다른 대안들에 비해 파라미터 오버헤드를 약 32.19% 줄이고 정확도를 약 0.78% 향상시킨다.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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