프로필

설정

불러오는 중…

← 홈

도움말·문의

자주 묻는 질문

어떤 기능에 로그인이 필요한가요?

공개 논문의 해설과 논문 정보, 모델 구조, 관련 논문, 용어는 로그인 없이 볼 수 있습니다. 논문 올리기, 내 보관함, 읽기 기록, 논문 평가, 관심 분야 추천, 메일과 알림은 로그인해야 쓸 수 있습니다.

PDF 파일로도 올릴 수 있나요?

논문은 arXiv나 DOI 링크로 올리고, 해설은 모두에게 공개됩니다. 출처와 이용 조건이 확인되지 않아 해설을 공개할 수 없는 논문은 올릴 수 없습니다. PDF 파일 올리기와 나만 보기는 구독 회원만 쓸 수 있고, 파일로 올린 논문은 나만 보기로만 저장합니다. 제목으로 공식 정보를 찾는 검색은 버튼을 누를 때만 합니다.

그림과 AI 해설은 정확한가요?

그림은 논문 원본만 쓰고 이용 허락이 확인된 것만 보여 줍니다. 해설은 AI가 쓴 글이라 틀릴 수 있습니다. 중요한 주장과 수치, 그림의 맥락은 원문 근거로 확인해 주세요.

저작권 문제를 알리고 싶어요.

이용 조건과 원문 출처는 논문 정보 탭에 있습니다. 문제가 있으면 ‘문의하기’에서 ‘논문 내용·그림·저작권’을 골라 논문 링크와 문제가 되는 부분, 권리를 확인할 수 있는 근거를 보내 주세요. 접수만으로 권리가 확정되거나 바로 삭제되지는 않습니다. 검토 결과는 ‘내 문의’에서 볼 수 있습니다.

비밀번호를 잊었어요.

이메일로 가입했다면 로그인 창의 비밀번호 찾기에서 인증한 이메일로 다시 설정할 수 있습니다. Google, 네이버, 카카오로 가입했다면 그 서비스에서 비밀번호를 바꿔 주세요.

문의할 때 무엇을 적어야 하나요?

어느 화면에서 무엇을 하다 생긴 문제인지 논문 링크와 함께 적어 주세요. 비밀번호, API 키, 인증 코드, 전화번호 같은 개인정보는 적지 마세요. 문의와 답변은 Refivu에 저장되고 ‘내 문의’에서 볼 수 있습니다.

회원탈퇴는 어떻게 하나요?

설정의 내 계정에서 회원탈퇴를 누르세요. 지워지는 내용을 확인하고 본인 확인을 마치면 탈퇴됩니다. 다른 요청은 ‘문의하기’에서 ‘계정’을 골라 남겨 주세요.

논문 해설

MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement

MESAM: 의미-시각 메모리 생성 및 정제를 통한 Few-Shot 세그멘테이션용 SAM2 성능 향상

  • 연구 문제 SAM2를 few-shot segmentation에 적용할 때 support와 query 사이의 외형 차이가 메모리 매칭을 약화시킵니다.
  • 연구 방법 범주 텍스트 기반 GradCAM 의미 메모리를 SAM2 메모리 경로에 넣고, DINOv2 기반 시각 메모리로 cross-attention 정제와 배경 억제를 수행합니다.
  • 주요 결과 PASCAL-5i와 COCO-20i의 표준 설정 및 COCO-20i에서 학습한 모델의 LVIS-92i 교차 데이터셋 설정에서 저자들이 보고한 평균 mIoU 기준으로 기존 SAM2 기반 방법들보다 높은 성능을 보입니다.

SAM2를 few-shot segmentation에 쓰기 어려운 이유

SAM2는 비디오에서 프레임 사이의 같은 객체를 메모리로 매칭하는 데 강점이 있습니다. 그러나 few-shot segmentation(FSS)에서는 support 이미지의 객체와 query 이미지의 객체 외형이 크게 달라, support 샘플로 만든 SAM2 메모리와 query가 잘 맞지 않습니다. 저자들은 기존 SAM2 기반 방법인 FSSAM이 support에 일부만 보이는 객체(예: 보트의 선체만 있는 경우, 가방의 어깨끈만 있는 경우)에서 query의 보이는 부분만 분할한다고 보고합니다. 저자들은 이 원인을 현재 방법들이 시각 단서만으로 SAM2 메모리를 만들기 때문이라고 해석합니다.

Figure 1: Illustration of the large support-query appearance
divergence challenge. With only partial visual cues provided
by the support image, existing method…

Figure 1 : Illustration of the large support-query appearance divergence challenge. With only partial visual cues provided by the support image, existing methods segment only visu- ally similar parts in the query, instead of the entire object. In contrast, with the refined semantic memory, our MESAM method yields better segmentation results. The orange and blue circles indicate foreground (FG) misses and background (BG) misactivations, respectively.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 2쪽에서 그림 영역을 추출했습니다.

이 논문은 이 문제를 메모리 구성 단계에서 다룹니다. 범주 텍스트에서 얻은 의미 정보가 support-query 외형 차이의 영향을 덜 받는다는 관찰을 출발점으로 삼아, 의미 메모리를 SAM2의 메모리 경로에 넣는 방법을 제안합니다.

의미 메모리와 시각 메모리의 구성과 정제

MESAM은 SVMG와 ISMR 두 모듈로 구성됩니다. SVMG는 세 종류의 메모리를 만듭니다. 첫째, query 의미 메모리는 CLIP 텍스트 분류기로 얻은 FG 클래스 점수에 GradCAM을 적용해 만든 query 의미 prior mask를 SAM2 메모리 인코더에 넣어 만듭니다. 둘째, query FG 시각 메모리는 DINOv2 특징에서 support 전경 prototype과 query 특징의 코사인 유사도를 min-max 정규화한 prior mask로 만듭니다. 셋째, support adaptive 시각 메모리는 support 마스크로 배경 응답을 걸러낸 prior mask로 만듭니다.

ISMR은 의미 메모리를 정제합니다. 의미 메모리를 query, query FG 시각 메모리를 key와 value로 두고 cross-attention을 계산하여 시각 세부 정보를 흡수합니다. 이때 support 시각 메모리에서 얻은 cosine 유사도 맵으로 query 특징 위치의 배경 가능성을 추정하고, 그 값을 attention 점수에 더해 배경 활성화를 억제합니다. 저자들은 이 억제 계수 α를 10으로 설정했다고 보고합니다. 정제된 의미 메모리는 SAM2의 memory attention과 mask decoder를 거쳐 최종 마스크를 냅니다.

의미 메모리가 시각 메모리보다 나은 이유에 대한 분석

저자들은 FG와 DISC 시각 메모리 대신 의미 메모리를 쓰면 mIoU가 높아지는지를 먼저 확인합니다.

Table 1: Performance comparison between the visual memo-
ries constructed in FSSAM and our semantic memory

Table 1 : Performance comparison between the visual memo- ries constructed in FSSAM and our semantic memory.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.

다음으로 저자들은 prior mask의 FP와 FN 비율을 비교합니다. 시각 메모리의 prior mask는 FP가 높고 FN이 낮은 경향을 보이며, 의미 메모리는 FP가 낮고 FN이 높습니다. 이 패턴을 설명하기 위해 저자들은 침식과 팽창 toy 실험을 설계합니다. 그 결과 목표 골격을 보존한 skeleton-erosion이 팽창 메모리보다 나았고, 골격을 보존하지 않은 vanilla-erosion은 성능이 낮았습니다. 저자들은 이를 근거로 배경 잡음을 넣는 것이 전경 정보 일부를 잃는 것보다 SAM2에 더 해롭고, 핵심 전경 특징을 보존하는 것도 중요하다고 해석합니다.

Figure 2: The priors and the segmentation results of two visual memories (i.e., FG, DISC) and our semantic memory

Figure 2 : The priors and the segmentation results of two visual memories (i.e., FG, DISC) and our semantic memory.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Table 2: The false positive (FP) and false negative (FN) rates
of the prior masks used for generating FG and DISC visual
memories, and our semantic memory

Table 2 : The false positive (FP) and false negative (FN) rates of the prior masks used for generating FG and DISC visual memories, and our semantic memory.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 3쪽에서 그림 영역을 추출했습니다.
Figure 3: Performance comparison between different memo-
ries obtained under varying dilation and erosion ratios

Figure 3 : Performance comparison between different memo- ries obtained under varying dilation and erosion ratios.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 4쪽에서 그림 영역을 추출했습니다.
Figure 7: Qualitative comparisons between dilation, vanilla-erosion, and skeleton-erosion operations with varying target ratios

Figure 7 : Qualitative comparisons between dilation, vanilla-erosion, and skeleton-erosion operations with varying target ratios.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 12쪽에서 그림 영역을 추출했습니다.

표준 설정과 교차 데이터셋 설정의 결과

표준 설정에서 MESAM은 PASCAL-5i와 COCO-20i의 SAM2 기반 비교 방법들보다 높은 평균 mIoU를 보고합니다. 저자들은 시각 단서만 쓰는 SAM2 기반 모델들에 대해 PASCAL-5i에서 4.0%-11.9%(1-shot), 1.6%-12.2%(5-shot), COCO-20i에서 5.0%-12.0%(1-shot), 0.9%-11.8%(5-shot)의 평균 mIoU 향상을 보고합니다.

Table 3: Performance comparisons on PASCAL-5𝑖 . “5𝑖 ” shows the mIoU scores of 5 novel classes in fold 𝑖, “Mean” denotes the
averaged mIoU score across all fou…

Table 3 : Performance comparisons on PASCAL-5𝑖 . “5𝑖 ” shows the mIoU scores of 5 novel classes in fold 𝑖, “Mean” denotes the averaged mIoU score across all four folds. The best and second-best results are highlighted in bold and underlined, respectively.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Table 4: Performance comparisons on COCO-20𝑖 . “20𝑖 ” shows the mIoU scores of 20 novel classes in fold 𝑖, “Mean” denotes the
averaged mIoU score across all fo…

Table 4 : Performance comparisons on COCO-20𝑖 . “20𝑖 ” shows the mIoU scores of 20 novel classes in fold 𝑖, “Mean” denotes the averaged mIoU score across all four folds. The best and second-best results are highlighted in bold and underlined, respectively.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 7쪽에서 그림 영역을 추출했습니다.
Figure 5: Qualitative comparisons between FSSAM and MESAM on PASCAL-5 𝑖 , COCO-20𝑖 and LVIS-92𝑖 under the 1-shot setting

Figure 5 : Qualitative comparisons between FSSAM and MESAM on PASCAL-5 𝑖 , COCO-20𝑖 and LVIS-92𝑖 under the 1-shot setting.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

다만 이 수치는 해당 교차 데이터셋 프로토콜에서의 결과이며, 표준 설정과 같은 조건으로 묶어 해석하지 않습니다.

Table 12: Performance comparisons under COCO-20 𝑖→
PASCAL-5𝑖 cross-dataset setting. The 1-shot results are re-
ported, where the best results are highlighted i…

Table 12 : Performance comparisons under COCO-20 𝑖→ PASCAL-5𝑖 cross-dataset setting. The 1-shot results are re- ported, where the best results are highlighted in bold.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 15쪽에서 그림 영역을 추출했습니다.

메모리 구성과 ISMR 설계의 절제 실험

COCO-20i 1-shot에서 수행한 절제 실험은 메모리 구성을 나눠 봅니다. 의미 메모리만 쓴 설정 A는 평균 mIoU 58.9%입니다.

Table 6: Ablation study on the effect of different memories

Table 6 : Ablation study on the effect of different memories.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

이 결과는 각 변형이 제거하거나 바꾼 구성요소의 역할을 보여 주지만, 모든 요소가 같은 크기로 기여한다는 뜻은 아닙니다.

Table 7: Ablation study on the effect of different ISMR

Table 7 : Ablation study on the effect of different ISMR.

원문 · CC BY 4.0 · Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong · MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement · 원문 그림 인용 · 원본 PDF 8쪽에서 그림 영역을 추출했습니다.

적용 범위와 한계

저자들은 5-shot 설정에서 여러 support 샘플의 prior mask와 cosine 유사도 맵을 단순 평균하기 때문에, 여러 support 정보를 충분히 활용하지 못해 5-shot 향상이 상대적으로 작다고 설명합니다. 또한 MESAM은 target dataset에 맞추기 위해 파라미터를 업데이트하는 학습 과정을 요구하므로, 학습 없는 방식과 비교해 계산 부담이 남습니다.

본 논문의 결과는 PASCAL-5i, COCO-20i, LVIS-92i에서 보고된 설정에 한정됩니다. 특히 COCO-20i 절제 실험과 교차 데이터셋 결과는 각각의 조건에서 읽어야 합니다.

논문 정보

저자
Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong
학회·저널
arXiv · 프리프린트
최초 공개일
2026년 11월 6일
등록일
2026년 11월 9일
수정일
2026년 11월 6일
버전
v1
arXiv
2611.08943
분류
cs.CV
원문 이용 조건
CC BY 4.0
제공 범위
논문 정보, 해설, 허용된 원문 그림

AI 해설은 논문 원문과 별개의 설명이며 오류가 있을 수 있습니다. 원문과 그림은 각 출처의 이용 조건과 따로 표시된 권리를 따릅니다.

초록

This paper investigates how to leverage the powerful capabilities of the Segment Anything Model 2 (SAM2) to tackle few-shot segmentation (FSS) tasks. One major challenge lies in the substantial appearance differences between the support and query images, which may diminish the effectiveness of the memory-matching process in SAM2. Through systematic analysis, we find that the memory generated based on the categorical semantic information is robust to this appearance divergence and is more compatible with SAM2. Based on these observations, we propose a new Memory-Enhanced SAM2 (MESAM) method, which first introduces a Semantic-Visual Memory Generation (SVMG) module to separately construct a query semantic memory, a query foreground visual memory, and a support adaptive visual memory. Then, in our designed Interactive Semantic Memory Refinement (ISMR) module, we further enrich the obtained semantic memory with fine-grained visual details, and suppress its misatcivated background responses. Extensive experiments on the PASCAL-$5^i$, COCO-$20^i$, and LVIS-$92^i$ datasets demonstrate that MESAM consistently outperforms existing FSS methods, achieving new state-of-the-art segmentation performance. Our source code is available at: \href{https://github.com/tianyu-zou/MESAM}{https://github.com/tianyu-zou/MESAM}.

원문 인용

Tianyu Zou, Shengwu Xiong, Rui Wu, Ruilin Yao, Yi Rong (2026). MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement. arXiv:2611.08943v1. https://arxiv.org/abs/2611.08943v1

BibTeX
@misc{zou2026mesam,
  title = {{MESAM: Enhancing SAM2 for Few-Shot Segmentation through Semantic-Visual Memory Generation and Refinement}},
  author = {Tianyu Zou and Shengwu Xiong and Rui Wu and Ruilin Yao and Yi Rong},
  year = {2026},
  eprint = {2611.08943},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08943v1}
}

관련 논문 보기다른 논문 둘러보기

논문 미리 보기
계정 보안

Google 계정 연결

Google 계정을 연결하면 그 계정으로도 로그인할 수 있습니다.

Refivu

회원탈퇴

Refivu
Refivu

회원가입