TL;DR
This paper introduces CORA, a novel semi-supervised framework for reasoning segmentation that tackles the challenge of limited labeled data. By leveraging unlabeled images through consistency-guided learning and enriching supervision with conditional visual instructions, CORA significantly improves reasoning segmentation performance, achieving state-of-the-art results on challenging benchmarks.
What Problem Does This Paper Address?
Reasoning segmentation aims to go beyond simple object detection or segmentation by understanding complex, implicit instructions that require reasoning about object relationships and scene context. For example, in autonomous driving, it's not enough to just segment a pedestrian; understanding their intent (e.g., about to cross) is crucial for safety. Similarly, in medical imaging, identifying a tumor is just the first step; understanding its malignancy and surrounding tissue is vital for diagnosis.
The primary bottleneck for these advanced systems is the scarcity of high-quality, pixel-accurate annotations paired with rich linguistic supervision. Creating such datasets is expensive and time-consuming, limiting the generalization capabilities of current models, especially when faced with distribution shifts. While semi-supervised learning has been successful in traditional semantic segmentation, adapting it to the more complex reasoning segmentation task, which involves open-vocabulary concepts and contextual relations, is non-trivial. This paper addresses this gap by proposing a framework that effectively utilizes abundant unlabeled data to enhance reasoning segmentation performance with minimal labeled data.
Methods
CORA introduces three key components to achieve semi-supervised reasoning segmentation:
- Conditional Visual Instructions: This component enriches the supervision from limited labeled data. Instead of just using raw segmentation masks, CORA generates diverse, spatially grounded queries that describe relationships between objects. For instance, it might ask the model to "Segment the car to the left of the truck." This approach multiplies the available training instructions and encourages the model to learn spatial context.
- Output Consistency Filtering: To effectively leverage unlabeled data, CORA employs a strategy to filter out noisy pseudo-labels. It measures the consistency of predictions across semantically equivalent query rephrasings. If a model's prediction for a target object remains stable across slightly different but semantically similar instructions, it's considered more reliable. This helps down-weight unstable regions and retain more accurate pseudo-labels.
- Token-Level Feature Alignment: This component ensures that the learned features from labeled and unlabeled data are semantically aligned. Inspired by contrastive learning, CORA enforces consistency between the object representations (specifically, the
<SSEG>tokens output by the multimodal LLM) of same-class objects from both labeled and unlabeled datasets. This helps improve the robustness of class representations.
The training process is staged: first, pretraining on semantic and attribute-based instructions to learn object categories; then, training with conditional visual instructions to capture spatial relationships; and finally, incorporating unlabeled data with consistency filtering and token-level alignment.
Datasets
CORA is evaluated on two widely used datasets:
- Cityscapes: A benchmark dataset for urban scene understanding, consisting of 30 classes (19 used for evaluation).
- PanNuke: A histopathology dataset with 19 tissue types, used for fine-grained reasoning and localization.
The paper also mentions the ReasonSeg dataset for evaluating reasoning segmentation performance.
Key Insights and Ideas
- Bridging the Gap: CORA effectively bridges the gap between traditional semantic segmentation datasets and the requirements of reasoning-based segmentation by enabling the use of unlabeled data.
- Leveraging MLLM Consistency: The core idea of using the consistency of multimodal LLM outputs across semantically equivalent queries is a clever way to derive reliable pseudo-labels without explicit human annotation of these queries.
- Enriching Supervision: Moving beyond simple masks to generate conditional visual instructions is crucial for teaching models complex spatial and contextual reasoning.
- Complementary Components: The three proposed components (CVI, OCPL, TFCA) are shown to be complementary, with each contributing significantly to the overall performance improvement.
Key Results
CORA achieves state-of-the-art results on both Cityscapes and PanNuke datasets under semi-supervised settings:
- Cityscapes: CORA surpasses baselines by +2.3% with as few as 100 labeled images.
- PanNuke: CORA improves performance by +2.4% with only 180 labeled images.
- The framework also demonstrates strong performance on the ReasonSeg dataset.
- Qualitative results show CORA producing more accurate segmentations, especially in challenging scenarios where context and relationships are key.
Limitations and Future Work
The authors acknowledge that CORA still makes segmentation errors on complex queries, particularly those involving compound verbs and compositional spatial relations. While the framework trains the model to capture relationships, handling more intricate linguistic structures requires further research. This suggests a future direction for developing more sophisticated query generation and model architectures to handle such complexities.
Summary updated