[논문 리뷰] LISA: Reasoning Segmentation via Large Language Model
LISA는 여러 모달 LLM에 <SEG> 토큰을 삽입해 추론 세분화를 수행하고 암시적 질의에서 분할 마스크를 출력하며, ReasonSeg 벤치마크를 수립하고 추론 없는 학습으로 제로샷 능력을 보여주고 239개의 추론-세분화 미세조정 쌍으로 추가 이득을 얻습니다.
Although perception systems have made remarkable advancements in recent years, they still rely on explicit human instruction or pre-defined categories to identify the target objects before executing visual recognition tasks. Such systems cannot actively reason and comprehend implicit user intention. In this work, we propose a new segmentation task -- reasoning segmentation. The task is designed to output a segmentation mask given a complex and implicit query text. Furthermore, we establish a benchmark comprising over one thousand image-instruction-mask data samples, incorporating intricate reasoning and world knowledge for evaluation purposes. Finally, we present LISA: large Language Instructed Segmentation Assistant, which inherits the language generation capabilities of multimodal Large Language Models (LLMs) while also possessing the ability to produce segmentation masks. We expand the original vocabulary with a token and propose the embedding-as-mask paradigm to unlock the segmentation capability. Remarkably, LISA can handle cases involving complex reasoning and world knowledge. Also, it demonstrates robust zero-shot capability when trained exclusively on reasoning-free datasets. In addition, fine-tuning the model with merely 239 reasoning segmentation data samples results in further performance enhancement. Both quantitative and qualitative experiments show our method effectively unlocks new reasoning segmentation capabilities for multimodal LLMs. Code, models, and data are available at https://github.com/dvlab-research/LISA.
연구 동기 및 목표
- 암시적이고 추론이 풍부한 질의 텍스트와 이미지에서 이진 마스크를 생성하는 추론 세분화 작업을 도입한다.
- 추론 기반 세분화를 평가하기 위해 1,200개가 넘는 이미지-지시 쌍으로 구성된 ReasonSeg 벤치마크를 만든다.
- 임베딩-투-마스크 디코딩으로 분할 마스크를 생성하기 위해 <SEG> 토큰이 보강된 다중모달 LLM인 LISA를 개발한다.
- ReasonSeg에서 제로샷 능력을 시연하고, 추론 중심 데이터의 소량 미세조정을 통해 추가 이득을 얻는다.
제안 방법
- 다중모달 LLM의 어휘에 새로운 <SEG> 토큰을 추가해 세분화 출력을 요청한다.
- <SEG>에 해당하는 최종 층 임베딩을 추출하고, MLP로 투사한 뒤 디코더를 통해 비전 백본 특징과 융합해 이진 마스크를 생성한다.
- 텍스트 생성 손실과 분할 마스크 손실(BCE + Dice)을 결합한 종단 간 학습으로 훈련한다.
- 의미론적 세분화, 참조 세분화, VQA 데이터셋으로부터 QA 스타일 프롬프트로 변환하여 세분화 마스크를 얻도록 학습 데이터를 준비하고; 선택적으로 작은 ReasonSeg 하위집합(239 쌍)으로 미세조정한다.
- 비전 백본을 동결한 채 디코더를 LoRA로 미세조정해 기본 LLM(LLaVA)을 세분화 작업에 효율적으로 적응시킨다.
실험 결과
연구 질문
- RQ1암시적이고 복잡한 언어 질의를 조건으로 세분화를 수행하는 LLM 기반 시스템은 어떻게 작동할 수 있는가?
- RQ2마스크를 토큰 출력으로 임베딩하고 그 임베딩에서 디코딩하여 세분화 가능한 모델을 실현할 수 있는가?
- RQ3다른 비전 백본과 데이터 구성의 변화가 추론 기반 세분화 성능에 미치는 영향은 무엇인가?
- RQ4제로샷 능력을 넘어 추론-세분화 성능을 향상시키기 위해 필요한 작업 특화 데이터 규모는 어느 정도인가?
주요 결과
- LISA는 추론이 없는 데이터셋에 대해 학습되었을 때도 강력한 제로샷 추론 세분화 성능을 달성한다.
- 239개의 추론-세분화 이미지–지시 쌍으로 미세조정하면 추가 성능 이득이 있다.
- <SEG> 토큰이 추가된 임베딩-로 마스크 패러다임은 다중모달 LLM 프레임워크에서 엔드-투-엔드 세분화를 가능하게 한다.
- LISA는 기존 방법들보다 추론 세분화 벤치마크에서 우수하며 표준 참조 세분화 작업에서도 효과적이다.
- 이 접근법은 다양한 비전 백본과 여러 데이터 소스(의미론적 세분화, 참조 세분화, VQA)에 대해 유연하게 작동한다.
- 더 강력한 기본 LLM(예: LISA-13B 대 7B)은 성능을 향상시키며, 특히 더 길고 복잡한 질의에서 큰 개선을 보인다.
이 논문 읽기
누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.
누빈트에서 이 논문 읽기이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.