Skip to main content
QUICK REVIEW

[Paper Review] CLEVR-Ref+: Diagnosing Visual Reasoning with Referring Expressions

Runtao Liu, Chenxi Liu|arXiv (Cornell University)|Jan 3, 2019
Multimodal Machine Learning ApplicationsComputer Science21 citations
TL;DR

This paper introduces CLEVR-Ref+, a synthetic diagnostic dataset for referring expression comprehension that enables precise control over bias and provides automatic, programmatic ground truth for intermediate reasoning steps. Using a module network approach, the authors propose IEP-Ref, which achieves state-of-the-art performance and demonstrates for the first time that neural modules can be visually inspected step-by-step, with strong robustness to false-premise referring expressions.

ABSTRACT

Referring object detection and referring image segmentation are important tasks that require joint understanding of visual information and natural language. Yet there has been evidence that current benchmark datasets suffer from bias, and current state-of-the-art models cannot be easily evaluated on their intermediate reasoning process. To address these issues and complement similar efforts in visual question answering, we build CLEVR-Ref+, a synthetic diagnostic dataset for referring expression comprehension. The precise locations and attributes of the objects are readily available, and the referring expressions are automatically associated with functional programs. The synthetic nature allows control over dataset bias (through sampling strategy), and the modular programs enable intermediate reasoning ground truth without human annotators. In addition to evaluating several state-of-the-art models on CLEVR-Ref+, we also propose IEP-Ref, a module network approach that significantly outperforms other models on our dataset. In particular, we present two interesting and important findings using IEP-Ref: (1) the module trained to transform feature maps into segmentation masks can be attached to any intermediate module to reveal the entire reasoning process step-by-step; (2) even if all training data has at least one object referred, IEP-Ref can correctly predict no-foreground when presented with false-premise referring expressions. To the best of our knowledge, this is the first direct and quantitative proof that neural modules behave in the way they are intended.

Motivation & Objective

  • To address the limitations of real-world referring expression datasets, which suffer from strong annotation biases and lack of intermediate reasoning supervision.
  • To develop a diagnostic benchmark that enables detailed analysis of model behavior beyond final prediction accuracy.
  • To enable the evaluation of visual reasoning processes through automatically generated functional programs linked to referring expressions.
  • To propose a model architecture that supports interpretable, modular reasoning and can be inspected at every intermediate step.
  • To demonstrate that neural modules can be verified to perform their intended functions through direct visualization of intermediate outputs.

Proposed method

  • Construct CLEVR-Ref+ by transforming CLEVR questions into referring expressions, with outputs in the form of segmentation masks or bounding boxes.
  • Use a synthetic environment to ensure uniform sampling and minimize dataset bias through controlled scene generation.
  • Automatically associate each referring expression with a functional program that encodes the step-by-step reasoning process.
  • Design IEP-Ref as a neural module network where each module performs a specific reasoning operation (e.g., Find, Relate, Count) on feature maps.
  • Attach the trained Segment module to intermediate module outputs to visualize the reasoning process step-by-step without additional training.
  • Evaluate model performance using IoU and accuracy, and analyze sub-category performance to diagnose model weaknesses.

Experimental results

Research questions

  • RQ1Can a synthetic dataset reduce bias and enable precise evaluation of intermediate reasoning steps in referring expression models?
  • RQ2To what extent can neural module networks be interpreted by visualizing intermediate outputs using a shared segmentation module?
  • RQ3Do models trained on data with only valid referring expressions generalize to false-premise expressions that refer to non-existent objects?
  • RQ4Which reasoning concepts—such as ordinality or same-attribute relationships—are most challenging for current models?
  • RQ5Can the functional program associated with a referring expression be used to verify that each module performs its intended task?

Key findings

  • IEP-Ref achieves state-of-the-art performance on CLEVR-Ref+, significantly outperforming existing models in both segmentation mask IoU and accuracy.
  • The model demonstrates robustness to false-premise referring expressions: it predicts zero foreground pixels in more than 25% of cases and ≤8 foreground pixels in over 33% of cases, even though such examples were not in the training data.
  • Attaching the trained Segment module to intermediate outputs reveals a clear, interpretable reasoning path, with high IoU at each step, confirming that modules perform as intended.
  • The Unique module exhibits unexpected behavior—often acting like a complement operation—but this is corrected by subsequent modules such as Same or Relate, indicating learned functional adaptation.
  • Ordinality and same-attribute relationships are the most difficult reasoning concepts, with models performing significantly worse on these sub-categories compared to others.
  • This work provides the first direct, quantitative evidence that neural modules in a module network behave as intended, with visualizations confirming correct functional execution at each step.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.