SegLLM: Multi-round Reasoning Segmentation

Xudong Wang, Shaolun Zhang, Shufan Li, Konstantinos Kallidromitis, Kehan Li, Yusuke Kato, Kazuki Kozuka, Trevor Darrell · OpenReview

Abstract

We present SegLLM, a novel multi-round interactive reasoning segmentation model that enhances LLM-based segmentation by exploiting conversational memory of both visual and textual outputs. By leveraging a mask-aware multimodal LLM, SegLLM re-integrates previous segmentation results into its input stream, enabling it to reason about complex user intentions and segment objects in relation to previously identified entities, including positional, interactional, and hierarchical relationships, across multiple interactions. This capability allows SegLLM to respond to visual and text queries in a chat-like manner. Evaluated on the newly curated MRSeg benchmark, SegLLM outperforms existing methods in multi-round interactive reasoning segmentation by over 20%. Additionally, we observed that training on multi-round reasoning segmentation data enhances performance on standard single-round referring segmentation and localization tasks, resulting in a 5.5% increase in cIoU for referring expression segmentation and a 4.5% improvement in [email protected] for referring expression localization.

Introduction

Large Vision-Language Models (LVLMs) have recently demonstrated impressive capabilities in reasoning segmentation—tasks that require identifying objects based on complex, high-level instructions (e.g., "segment the food that is heart-healthy"). However, existing systems like LISA are primarily "one-and-done" architectures. They struggle with multi-round interactions because information flows unidirectionally from the LLM to the mask decoder. Consequently, the LLM lacks an internal representation of the masks it has previously produced, leading it to "forget" the visual context in subsequent turns.

SegLLM addresses this fundamental architectural disconnect by introducing a closed-loop communication protocol. By feeding previously generated segmentation masks back into the model’s input stream, SegLLM enables "conversational memory" for image segmentation. This allows the system to handle complex, multi-turn reasoning, such as identifying a person and then segmenting their specific accessories or related objects in the scene.

Methodology

The core of SegLLM is its Mask-aware Multimodal LLM architecture, which facilitates a feedback loop between the segmentation head and the language model through two primary components:

  1. Mask-Encoding Module: This module enables the model to incorporate its previous outputs into its current reasoning. For each generated mask, the system computes Mask Embeddings (semantic features from a CLIP-ViT encoder) and Bounding Box Embeddings (spatial coordinates). These embeddings are re-integrated into the LLM’s input stream for the next round.
  2. Mask-Aware Decoding Module: To process these historical inputs, the researchers introduced specialized tokens: [REF] to extract features from previously identified objects and [SEG] to target new objects. This allows the decoder to understand complex relationships, such as "the bag held by instance [1]."
SegLLM supports diverse multi-round query types, including referring, hierarchical, interactional, and relational queries, by maintaining a history of previous segmentations.

SegLLM utilizes a LLaVA-v1.5-7B base with a HIPIE-R50 mask decoder, fine-tuned on a specialized multi-round dataset.

The MRSeg Benchmark

To evaluate multi-round capabilities, the authors introduced MRSeg, a comprehensive benchmark curated from existing datasets (RefCOCO/+/g, Visual Genome, PACO-LVIS, and MSCOCO) re-processed into conversational formats. MRSeg covers positional, interactional, hierarchical, and attribute-oriented queries. To ensure linguistic robustness, GPT-4 was used to generate hundreds of diverse natural language templates for each query type, reducing the model's sensitivity to specific phrasing.

Results and Key Insights

SegLLM demonstrates significant improvements in both stability and accuracy compared to existing state-of-the-art models:

  • Performance and Stability: On the MRSeg benchmark, SegLLM outperformed models like LISA and GLaMM by 18–30%. Crucially, while baseline models see their accuracy plummet as conversation length increases (e.g., from 2 to 8 rounds), SegLLM remains remarkably stable.
  • Single-Round Gains: Surprisingly, training on multi-round data improved performance on standard single-turn tasks. SegLLM achieved a 5.5% increase in cIoU on RefCOCO and a 4.5% improvement in localization accuracy ([email protected]), suggesting that tracking objects through dialogue fosters more robust visual feature learning.
  • Robustness: By training on a wide variety of GPT-generated templates, SegLLM achieved a 9.6% performance gain in robustness over "prompt-brittle" models.
Quantitative comparison on the MRSeg benchmark shows that SegLLM maintains high performance (cIoU) across multiple rounds, whereas the LISA baseline degrades significantly.

Conclusion

SegLLM successfully bridges the gap between language reasoning and visual segmentation in multi-turn dialogues. While the model shows some sensitivity to the order of conversation history and occasional over-reliance on spatial keywords, its ability to maintain a visual memory represents a significant step forward. Future work will focus on making the model invariant to history permutation and expanding the complexity of inter-object relationships it can comprehend.

Summary updated

BibTeX
@inproceedings{wang2025segllm,
  author = {Xudong Wang and Shaolun Zhang and Shufan Li and Konstantinos Kallidromitis and Kehan Li and Yusuke Kato and Kazuki Kozuka and Trevor Darrell},
  title = {{SegLLM: Multi-round Reasoning Segmentation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=Pm1NXHgzyf},
}
Figure