Skip to main content
QUICK REVIEW

[论文解读] LISA: Reasoning Segmentation via Large Language Model

Xin Lai, Zhuotao Tian|arXiv (Cornell University)|Aug 1, 2023
Multimodal Machine Learning ApplicationsComputer Science被引用 44
一句话总结

LISA 引入通过在多模态大语言模型中嵌入一个 <SEG> 标记来输出来自隐式查询的分割掩码,建立 ReasonSeg 基准,并展示在 reasoning-free training 下的零-shot 能力,以及通过 239 对 reasoning-segmentation 微调对获得的进一步提升。

ABSTRACT

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.

研究动机与目标

  • Introduce the reasoning segmentation task where a binary mask is produced from an implicit, reasoning-rich query text and an image.
  • Create ReasonSeg, a benchmark of over 1,200 image–instruction pairs to evaluate reasoning-based segmentation.
  • Develop LISA, a multi-modal LLM augmented with a <SEG> token to generate segmentation masks via embedding-to-mask decoding.
  • Demonstrate zero-shot capabilities on ReasonSeg and further gains through lightweight fine-tuning on a small set of reasoning-focused data.

提出的方法

  • Extend a multi-modal LLM with a new <SEG> token in the vocabulary to request segmentation output.
  • Extract the last-layer embedding corresponding to <SEG>, project it with an MLP, and fuse it with vision backbone features through a decoder to produce a binary mask.
  • Train end-to-end with a combined loss: text-generation loss and segmentation-mask loss (BCE + Dice).
  • Prepare training data from semantic segmentation, referring segmentation, and VQA datasets by converting into QA-style prompts that elicit segmentation masks; optionally fine-tune on a small ReasonSeg subset (239 pairs).
  • Use LoRA to fine-tune the decoder while freezing the vision backbone, enabling efficient adaptation of the base LLM (LLaVA) to segmentation tasks.

实验结果

研究问题

  • RQ1How can an LLM-based system perform segmentation conditioned on implicit and complex linguistic queries?
  • RQ2Can a segmentation-capable model be realized by embedding the mask as a token output and decoding from its embedding?
  • RQ3What is the impact of different vision backbones and data compositions on reasoning-based segmentation performance?
  • RQ4How much task-specific data is necessary to boost reasoning-segmentation performance beyond zero-shot capability?

主要发现

  • LISA achieves robust zero-shot reasoning segmentation performance when trained on reasoning-free datasets.
  • Fine-tuning on 239 reasoning segmentation image–instruction pairs yields additional performance gains.
  • Using an embedding-as-mask paradigm with an added <SEG> token enables end-to-end segmentation in a multimodal LLM framework.
  • LISA outperforms prior methods on reasoning segmentation benchmarks and remains effective for standard referring segmentation tasks.
  • The approach works with various vision backbones and is flexible to different data sources (semantic segmentation, referring segmentation, VQA).
  • Stronger base LLMs (e.g., LISA-13B vs 7B) improve performance, especially on longer, more complex queries.

阅读本论文

在 Nubint 阅读器中打开原文,边读边就任意段落提问。

在 Nubint 中阅读本论文

本解读由 AI 根据论文原文生成,引用前请核对原文。