Visual Reasoning: from State to Transformation

Xin Hong, Yanyan Lan, Liang Pang, Jiafeng Guo, Xueqi Cheng · DOI

TL;DR

This paper introduces "Transformation-Driven Visual Reasoning" (TVR), a new paradigm that moves beyond static image analysis to understand how objects change between states. To facilitate this, they introduce two new datasets, TRANCE (synthetic) and TRANCO (real-world), and a human-inspired framework, TranNet, to tackle this challenging problem.

What Problem Does This Paper Address?

Current visual reasoning tasks, like Visual Question Answering (VQA), primarily focus on understanding static scenes (e.g., "What color is the cat?"). However, human cognition, as described by Piaget, also heavily relies on understanding transformations – the dynamics of how things change from one state to another. Existing methods fail to adequately test this crucial aspect of visual intelligence. This paper argues that to truly advance machine visual reasoning and better reflect real-world scenarios like visual storytelling or commonsense inference, we need tasks that explicitly model and evaluate the ability to infer transformations between initial and final states.

Methods

The core contribution is the Transformation-Driven Visual Reasoning (TVR) task. Given an initial state (image S) and a final state (image S'), the goal is to predict the transformation (T) that caused this change, such that S + T = S'.

The authors propose a novel framework called TranNet, inspired by human reasoning processes:

  • Observe: Extract features from the initial and final states.
  • Analyze: Identify changes and relationships between the states.
  • Conclude: Infer the sequence of atomic transformations that explains the observed changes.

TranNet consists of three modules:

  • Encoder: Processes the input image pair to extract relevant features.
  • Decoder: Iteratively decodes information from the encoder and previous transformations to predict the next atomic transformation.
  • Predictor: Translates the decoder's output into a specific atomic transformation (e.g., an object attribute change or a video clip).

Datasets

  1. TRANCE (Transformation on CLEVR): A synthetic dataset built upon CLEVR. It features three settings:
  2. Basic: Single-step attribute changes (e.g., color change).
  3. Event: Multi-step attribute changes.
  4. View: Multi-step attribute changes with varying camera viewpoints for the final state.
  5. TRANCO (Transformation on COIN): A real-world dataset derived from the COIN instructional video dataset. This dataset focuses on "open-world" transformations, meaning models must generalize to unseen transformations, making it more challenging and realistic. Atomic transformations here are represented by video clips.

Key Insights and Ideas

  • The Importance of Dynamics: Static visual reasoning is insufficient. Understanding how things change is as critical as understanding what they are.
  • Human-Inspired Reasoning: TranNet's three-stage observe-analyze-conclude approach mirrors human problem-solving, suggesting a promising direction for building more robust visual reasoning systems.
  • Synthetic vs. Real-World Challenges: While models perform reasonably well on simple, synthetic transformations (TRANCE's Basic setting), they struggle significantly with multi-step transformations (Event, View) and especially with diverse, real-world scenarios (TRANCO).
  • Sequence Length Matters: The difficulty of inferring transformations increases dramatically with the number of steps involved.
  • Pretrained Models are Crucial for Real Data: For tasks involving real-world images and videos (like TRANCO), leveraging pretrained models (e.g., CLIP) significantly boosts performance, highlighting the need for strong visual recognition capabilities.
  • Transformer Architectures Excel: Transformer-based decoders generally outperform GRUs, especially for longer transformation sequences, due to their ability to model long-range dependencies.

Key Results

  • TRANCE - Basic: State-of-the-art models achieve high accuracy, approaching human performance.
  • TRANCE - Event & View: A significant performance gap exists between models and humans. For example, models struggle with multi-step transformations, with accuracy dropping sharply as the number of steps increases (e.g., CNN-G accuracy drops from 92% for 1 step to 8% for 4 steps).
  • TRANCO: Models perform considerably worse on TRANCO than on TRANCE, indicating the difficulty of generalizing to unseen, diverse real-world transformations. Even with a small candidate set (20 clips), models struggle, and performance drops significantly when using the full candidate set (4918 clips).
  • TranNet Variants: Early fusion encoders generally perform better on the Basic setting. Transformer decoders show advantages over GRUs in Event and View settings.
  • Human Performance: Humans consistently outperform models across all settings, especially in complex scenarios like Event and View, demonstrating a significant gap in current AI capabilities.

Limitations and Future Work

  • Model Performance Gap: Current models are far from human-level intelligence on complex transformation reasoning tasks (Event, View, TRANCO).
  • Sequence Length: Handling long sequences of transformations remains a major challenge.
  • Real-World Complexity: TRANCO highlights the difficulty of generalizing to unseen transformations and the need for robust image/video recognition.
  • Future Work: The authors suggest focusing on models with better image recognition and contextual reasoning abilities to handle longer transformation sequences. They also point to the need for more advanced methods to tackle the challenges presented by real-world data and open-world transformation reasoning. Further investigation into the trade-offs between model complexity, training data size, and performance is also warranted.

Summary updated

BibTeX
@article{hong2023visual,
  author = {Xin Hong and Yanyan Lan and Liang Pang and Jiafeng Guo and Xueqi Cheng},
  title = {{Visual Reasoning: from State to Transformation}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2023},
  doi = {10.1109/tpami.2023.3268093},
}
Figure