[Paper Review] LISA: Reasoning Segmentation via Large Language Model
LISA introduces reasoning segmentation by embedding a <SEG> token into a multimodal LLM to output segmentation masks from implicit queries, establishes ReasonSeg benchmark, and shows zero-shot capability with reasoning-free training and further gains from 239 reasoning-segmentation fine-tuning pairs.
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.
Motivation & Objective
- 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.
Proposed method
- 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.
Experimental results
Research questions
- 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?
Key findings
- 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.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.