CLEVR_HYP: A Challenge Dataset and Baselines for Visual Question Answering with Hypothetical Actions over Images

Shailaja Keyur Sampat, Akshay Kumar, Yezhou Yang, Chitta Baral

In the field of computer vision, AI systems have become remarkably proficient at identifying objects within a static image. However, a deeper level of intelligence involves reasoning about the "what if"—the ability to mentally simulate changes to a scene. Humans perform these simulations effortlessly, but for machines, imagining the consequences of an action remains a significant frontier.

Introduced at NAACL 2021 by researchers from Arizona State University, CLEVR_HYP is a new challenge dataset designed to push Visual Question Answering (VQA) beyond simple recognition and into the realm of hypothetical reasoning.

An example of a hypothetical VQA task: identifying the state of a scene after a specific action (hiding cylinders) is performed.

The Challenge of Implicit Information

Standard VQA benchmarks typically focus on explicit information present in an image. If a red cube exists, the model identifies it. True intelligence, however, requires reasoning about implicit information and future states. For AI to be effective in robotics or safety-critical navigation, it must be able to "imagine" outcomes without executing them.

CLEVR_HYP formalizes this task as Visual Question Answering with Hypothetical Actions, where the input consists of an image ($I$), a textual description of an action ($T_A$), and a question about the resulting state ($Q_H$).

The CLEVR_HYP Dataset

The primary contribution of this work is a massive dataset of 175,000 image-action-question samples. The actions are categorized into four types:

  • Add: Introducing a new object to the scene.
  • Remove: Deleting an existing object.
  • Change: Altering attributes like color or material.
  • Move: Shifting an object's position (in-plane or out-of-plane).
The CLEVR_HYP dataset creation pipeline, illustrating how scene graphs are updated based on hypothetical actions to generate new images and ground-truth answers.

The dataset includes both "Original" (naturally distributed) and "Balanced" (de-biased) versions, along with "2-hop" test sets that require models to process two sequential actions or complex logical queries.

Evaluated Baselines

The authors tested four distinct architectures to compare different reasoning paradigms:

  1. Text-only (RoBERTa): Converts the image into a text-based scene graph and treats the task as pure reading comprehension.
  2. Vision-Language Transformer (LXMERT): An end-to-end transformer receiving concatenated image and text data.
  3. Text-editing Image Baseline: A two-step approach that attempts to generate a modified image before performing standard VQA.
  4. Scene Graph Update Model (Neural-Symbolic): Parses the action into a functional program, updates a structured scene graph, and executes a second program to answer the question.

Key Insights and Results

The study revealed a significant performance gap between humans and AI, as well as between different action types:

  • The Symbolic Advantage: The Scene Graph Update Model achieved the highest overall accuracy at 70.5%. This suggests that explicit, structured reasoning is currently more effective for "mental simulation" than the implicit learning found in end-to-end transformers like LXMERT (which scored 63.9%).
  • Hallucination vs. Deletion: Models performed significantly better on "Remove" and "Change" actions (~88-91%) than on "Add" and "Move" (~53-66%). Adding or moving objects requires the model to "hallucinate" new spatial relationships, a much harder task than simply ignoring existing data.
  • The Human Gap: While the best models struggle around 70%, humans achieve nearly 98% accuracy. This highlights a fundamental lack of "world models" in current AI—systems that understand physical persistence and spatial logic.

Limitations and Future Directions

While CLEVR_HYP provides a rigorous testbed, it is currently limited to the synthetic CLEVR environment of simple geometric shapes. Moving these concepts to "natural" images with complex textures, lighting, and fluid dynamics (e.g., "pouring water") remains a major hurdle. Future research will likely focus on relaxing these constraints and developing models that can handle a broader, more realistic action space.

Summary updated

BibTeX
@inproceedings{sampat2021clevr,
  author = {Shailaja Keyur Sampat and Akshay Kumar and Yezhou Yang and Chitta Baral},
  title = {{CLEVR\_HYP: A Challenge Dataset and Baselines for Visual Question Answering with Hypothetical Actions over Images}},
  booktitle = {Conference of the North American Chapter of the Association for Computational Linguistics},
  year = {2021},
  doi = {10.18653/v1/2021.naacl-main.289},
}
Figure