[논문 리뷰] Mask Matching Transformer for Few-Shot Segmentation
MM-Former는 먼저 질의 이미지에 대한 클래스-무관 마스크 제안을 생성하고 그 후 지원과 함께 마스크 수준의 소-대 매칭을 수행하여 최종 세그먼테이션을 산출함으로써 학습 복잡성을 낮추고 강한 전이 가능성을 가능하게 한다.
In this paper, we aim to tackle the challenging few-shot segmentation task from a new perspective. Typical methods follow the paradigm to firstly learn prototypical features from support images and then match query features in pixel-level to obtain segmentation results. However, to obtain satisfactory segments, such a paradigm needs to couple the learning of the matching operations with heavy segmentation modules, limiting the flexibility of design and increasing the learning complexity. To alleviate this issue, we propose Mask Matching Transformer (MM-Former), a new paradigm for the few-shot segmentation task. Specifically, MM-Former first uses a class-agnostic segmenter to decompose the query image into multiple segment proposals. Then, a simple matching mechanism is applied to merge the related segment proposals into the final mask guided by the support images. The advantages of our MM-Former are two-fold. First, the MM-Former follows the paradigm of decompose first and then blend, allowing our method to benefit from the advanced potential objects segmenter to produce high-quality mask proposals for query images. Second, the mission of prototypical features is relaxed to learn coefficients to fuse correct ones within a proposal pool, making the MM-Former be well generalized to complex scenarios or cases. We conduct extensive experiments on the popular COCO-$20^i$ and Pascal-$5^i$ benchmarks. Competitive results well demonstrate the effectiveness and the generalization ability of our MM-Former.
연구 동기 및 목표
- 기존의 few-shot segmentation 방법에서의 높은 복잡성 및 제한된 유연성 문제를 해결한다.
- 세그먼테이션(POS)과 매칭(MM)을 분리하는 두 단계 프레임워크를 제안하여 마스크 수준의 간단하고 효과적인 매칭을 가능하게 한다.
- 질의 마스크 품질과 데이터셋 간 강건성을 개선하기 위해 클래스-무관 마스크 제안 생성기를 활용한다.
- 마스크 중심의 패러다임을 통해 데이터셋 간 일반화 및 전이성을 향상시킨다(예: COCO에서 Pascal로).
제안 방법
- 1단계: Potential Objects Segmenter (POS)는 Mask2Former에서 영감을 받은 트랜스포머 디코더를 사용하여 고정 백본으로부터 추출한 특징으로 질의 이미지에 대한 다중 클래스-무관 마스크 제안을 예측한다.
- 2단계: Mask Matching Module (MM)은 Feature Alignment Block(자체 정렬 및 교차 정렬)을 통해 질의와 지원 특징을 맞춘 후 학습 가능한 마스크 매칭을 수행하여 제안된 마스크를 최종 세그먼테이션으로 융합한다.
- Feature Alignment Block은 비매개 파라미터 방식의 채널별 정규화인 Self-Alignment와 공유 트랜스포머를 사용한 Cross-Alignment 블록을 포함하여 지원과 질의 특징을 정렬한다.
- 정렬된 특징으로부터 마스크된 글로벌 평균 풀링으로 프로토타입을 생성하고, 지원 프로토타입과 질의 마스크 제안 간의 코사인 유사도가 Learnable Mask Matching Block을 안내하여 마스크를 융합한다.
- POS 제안에는 Dice 손실을(헌가-매칭을 통해) 사용하고, MM에는 Dice 손실과 교차 정렬 대조 손실을 사용한다. 결합 및 학습 복잡성을 줄이기 위해 POS 학습과 MM 학습을 분리하는 2단계 학습 전략을 채택한다.
실험 결과
연구 질문
- RQ1 segmentation과 매칭의 분리가 few-shot segmentation 성능 및 학습 효율성을 개선할 수 있는가?
- RQ2마스크 수준의 소-대 매칭을 갖춘 2단계 POS+MM 프레임워크가 전통적인 few-shot, few-to-many 접근법보다 데이터셋 간 일반화에 더 나은가?
- RQ3특징 정렬 및 학습 가능한 마스크 매칭이 few-shot 설정에서 세그먼트 품질과 강건성을 어떻게 향상시키는가?
- RQ4COCO와 같은 큰 데이터셋에서 학습하고 Pascal에서 테스트하는 경우와 Pascal에서 직접 학습하는 경우 MM-Former의 전이성은 어떠한가?
주요 결과
- MM-Former는 COCO-20i에서 SOTA 수준에 근접한 성능을 달성하고 COCO에서 Pascal-5i로의 강한 전이성을 보여준다.
- POS-다음 MM의 2단계 학습 전략은 공동 엔드-투-엔드 학습에 비해 성능과 학습 효율성을 크게 향상시킨다.
- Self-Alignment 및 Cross-Alignment를 포함한 Feature Alignment는 성능을 크게 향상시키며, 학습 가능한 Cross-Alignment가 이득에 필수적이다.
- 다중 마스크 제안을 융합하기 위해 학습 가능한 마스크 매칭 블록을 사용하는 것이 간단한 코사인 유사도 기반 선택보다 성능(평균 IoU)을 높인다.
- POS에서 마스크 제안 수를 늘리면 상한선(오라클 포텐셜)이 올라가며 새로운 마스크 매칭 패러다임에서 추가 개선의 여지가 있음을 보여준다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.