Towards Robust Referring Expression Segmentation for Complex Reasoning in the Wild

Dong-Hee Kim, Hyunjee Song, Donghyun KimOpenReview 2026 · Submission to ICLR 2026 · Rejected

TL;DR

This paper introduces WildRES, a challenging new benchmark for Referring Expression Segmentation (RES) that tests a model's ability to handle long, attribute-heavy queries and multi-target scenarios across diverse real-world domains. To help models meet this challenge, the authors present SynRES, an automated pipeline that generates high-quality synthetic training data with a focus on semantic alignment and attribute-level reasoning.

What Problem Does This Paper Address?

Referring Expression Segmentation (RES) is the task of producing a binary mask for an object described by a natural language query (e.g., "the person in the red hat sitting next to the dog"). While current models perform well on classic benchmarks like RefCOCO, the authors argue these datasets are "too easy." They typically feature short queries with minimal attributes and focus on single targets within a narrow domain (mostly COCO images).

In the "wild," queries are often much more complex. You might need to distinguish between multiple similar objects using a long list of specific traits, or identify a group of objects that share a particular attribute. Existing models often overfit to object categories (the "what") rather than reasoning about the specific attributes (the "how"). When tested on more complex, out-of-distribution data, the performance of state-of-the-art models like LISA and GSVA drops significantly.

Methods

The authors propose SynRES, a three-step pipeline to generate "densely paired" synthetic data that forces models to learn fine-grained reasoning:

  1. Synthetic Expression & Image Generation: Using image captioning models, they generate distinctive, attribute-rich captions for objects in real images. These captions are then fed into a Text-to-Image (T2I) model (SANA) to create new synthetic images that embody those specific traits.
  2. Reliable Mask Generation (Image-Text Aligned Grouping): T2I models are stochastic and don't always perfectly render every attribute in a prompt. SynRES uses a "multi-view consensus" approach: it generates multiple images from the same prompt, uses a pretrained RES model to predict masks, and then clusters these masks based on Intersection-over-Union (IoU). This filters out "hallucinations" and ensures the final synthetic mask accurately matches the text.
  3. Domain-Aware Augmentation:
    • Mosaic Augmentation: Combines multiple synthetic and real images into a single grid to simulate complex, multi-target scenes.
  4. Superclass Replacement: A text-augmentation trick where specific nouns (e.g., "woman") are replaced with broader categories (e.g., "person"). This forces the model to ignore the category label and focus on the descriptive attributes to find the target.

Datasets

  • WildRES (New Benchmark): A test-only benchmark consisting of 724 images and 941 expressions. It includes:
  • WildRES-ID: In-distribution data from MSCOCO with "Many Attribute" (MA) and "Shared Attribute" (SA) queries.
  • WildRES-DS: Domain-shifted data from CrowdHuman (dense crowds), Cityscapes (autonomous driving), and ARMBench (robotics).
  • Classic Benchmarks (Evaluation): RefCOCO, RefCOCO+, RefCOCOg, and gRefCOCO.
  • Training Data: SynRES was used to generate ~130k synthetic images based on RefCOCO+ targets.

Key Insights and Ideas

  • The Complexity Gap: WildRES queries average over 11 attributes, whereas classic RES datasets average fewer than 4. This creates a massive "reasoning gap" that current models struggle to bridge.
  • Attribute vs. Category: Models are currently too reliant on identifying the object class. By using "Superclass Replacement," the authors demonstrate that you can train a model to be more robust by making the object class less informative, forcing it to "read" the rest of the description.
  • Synthetic Quality Control: Simply adding more synthetic data isn't a silver bullet. The "Step 2" alignment process is crucial; without it, the noise in synthetic masks can actually degrade model performance.
  • Gender Bias Mitigation: Interestingly, the superclass replacement (e.g., "person" instead of "man/woman") significantly reduced gender bias in the models, as they learned to rely on visual attributes rather than gendered nouns.

Key Results

  • Performance Degradation: State-of-the-art models (like LISA-7B) showed substantial performance drops when moved from classic benchmarks to WildRES, confirming the new benchmark's difficulty.
  • SynRES Gains: Training with SynRES provided consistent improvements across the board. On WildRES-ID, it improved LISA's performance by +2.0 to +2.8 gIoU.
  • Cross-Domain Robustness: The gains were even more pronounced on domain-shifted data (WildRES-DS), with improvements ranging from 3.8 to 6.2 gIoU.
  • Generalization: SynRES didn't just help on the new benchmark; it also boosted performance on classic sets like RefCOCO, proving that the synthetic data helps the model learn more fundamental reasoning skills.

Limitations and Future Work

  • Over-segmentation: The authors noted that models still struggle with "over-segmentation" in very dense scenes (e.g., CrowdHuman), where the model might include adjacent, similar-looking people in the mask.
  • Mosaic Density: The current mosaic augmentation is limited to a 3x3 grid. The authors suggest that exploring more complex "copy-and-paste" augmentations could help models handle even higher object densities.
  • Dataset Availability: While the code is available, the full WildRES-DS (domain-shifted) subset is slated for release at a later date.

Summary updated

Abstract

Despite the advances in Referring Expression Segmentation (RES) benchmarks, their evaluation protocols remain constrained, primarily focusing on either single targets with short queries (containing minimal attributes) or multiple targets from distinctly different queries on a single domain. This limitation significantly hinders the assessment of more complex reasoning capabilities in RES models. We introduce WildRES, a novel benchmark that incorporates long queries with diverse attributes and non-distinctive queries for multiple targets. This benchmark spans diverse application domains, thus enabling more rigorous evaluation of complex reasoning capabilities in real-world settings. Our analysis reveals that existing RES models demonstrate substantial performance deterioration when evaluated on WIldRES. To address this challenge, we introduce SynRES, an automated pipeline generating densely paired compositional synthetic training data through three innovations: (1) a dense caption-driven synthesis for attribute-rich image-mask-expression triplets, (2) reliable semantic alignment mechanisms rectifying caption-pseudo mask inconsistencies via Image-Text Aligned Grouping, and (3) domain-aware augmentations incorporating mosaic composition and superclass replacement to emphasize generalization ability and distinguishing attributes over object categories. Experimental results demonstrate that models trained with SynRES achieve consistent improvements on not only our complex WildRES benchmark but also classic RES benchmarks (e.g. RefCOCO/+/g). Code is available at https://anonymous.4open.science/r/SynRES-Review-4B1F. Dataset will be available upon acceptance.
BibTeX
@misc{kim2026towards,
  author = {Dong-Hee Kim and Hyunjee Song and Donghyun Kim},
  title = {{Towards Robust Referring Expression Segmentation for Complex Reasoning in the Wild}},
  year = {2026},
  url = {https://openreview.net/forum?id=cgr5OAXe3q},
  howpublished = {OpenReview},
  note = {Submitted to ICLR 2026},
}
Figure