Introduction
Multi-modal Large Language Models (MLLMs), such as LLaVA and GPT-4V, have demonstrated remarkable capabilities in image description and complex reasoning. However, bridging the gap between high-level reasoning and pixel-level "pointing"—known as image segmentation—remains a significant challenge.
Previous state-of-the-art approaches, notably LISA, addressed this by fine-tuning MLLMs to output a specialized segmentation token. While effective at the task, this method often results in "catastrophic forgetting," where the model's general conversational and reasoning intelligence degrades because its internal weights are modified for the new task. LLaVASeg introduces a novel framework that empowers MLLMs with segmentation abilities while keeping their core reasoning engine entirely intact.
The LLaVASeg Framework
LLaVASeg shifts the paradigm from fine-tuning to structured prompting. Instead of altering the MLLM's weights, it utilizes a Chain-of-Thought (CoT) prompting strategy to extract visual attributes that guide a separate segmentation model.
Core Components
- Frozen MLLM: The base model remains frozen, ensuring 100% preservation of its original dialogue and reasoning capabilities.
- Chain-of-Thought Prompting: The model is guided through three logical steps:
- Reasoning: Explaining why an object matches the query.
- Target Identification: Naming the specific target.
- Attribute Extraction: Describing unique visual traits (e.g., color, location, texture).
- Multi-Scale Language-Aware Adapters: These adapters project the MLLM’s text descriptions into a visual feature space, which is then fused with image pixels to feed a frozen Segment Anything Model (SAM) decoder.
Key Insights and Results
LLaVASeg leverages the inherent strength of MLLMs in describing visual attributes rather than predicting numerical coordinates. This approach provides an "explainability bonus," as the system generates a natural language justification for its segmentation choices.
Quantitative Performance
On the ReasonSeg benchmark, which requires complex logic to identify targets, LLaVASeg-13B achieved a 59.1 gIoU (generalized Intersection over Union), surpassing LISA's 57.3. More importantly, while LISA’s dialogue quality (CIDEr metric) plummeted from 0.796 to 0.107 after fine-tuning, LLaVASeg maintained the full 0.796 score.
Qualitative Comparison
A comparison on a reasoning task: LLaVASeg correctly identifies the snail's shell as the protective object, whereas LISA and the base LLaVA fail to reason correctly, segmenting the background rocks instead. Source, p. 6
As shown in the snail example above, LLaVASeg's reasoning-first approach allows it to identify the correct object (the shell) based on the functional query of "protection," whereas previous models often default to segmenting visually prominent but contextually incorrect objects like rocks or leaves.
Conclusion
LLaVASeg demonstrates that MLLMs do not need to be "lobotomized" via fine-tuning to gain new visual skills. By using natural language attributes as a bridge, LLaVASeg achieves superior segmentation performance while preserving the model's original intelligence. Future work will focus on improving inference speed and extending the framework to support multi-round interactive dialogues.
Summary updated