Zero-Shot Visual Reasoning by Vision-Language Models: Benchmarking and Analysis

Aishik Nagar, Shantanu Jaiswal, Cheston Tan

TL;DR

This paper investigates whether the impressive performance of Vision-Language Models (VLMs) on visual tasks stems from genuine reasoning or just vast world knowledge. By testing models on synthetic datasets that require "pure" logic rather than factual trivia, the authors discover a surprising "textual advantage": Large Language Models (LLMs) provided with text-based scene descriptions consistently outperform VLMs that "see" the image through visual embeddings.

What Problem Does This Paper Address?

Standard Visual Question Answering (VQA) benchmarks often conflate visual reasoning with world knowledge. For example, answering "What phylum does this animal belong to?" requires biological facts, not just the ability to process an image. Consequently, it’s unclear if a VLM is a powerful "reasoning engine" or simply a massive lookup table.

Furthermore, most benchmarks involve only a few reasoning steps. This paper seeks to isolate "pure" visual reasoning—spatial logic, attribute detection, and part-whole relationships—and evaluate how well models handle complex, multi-step problems in a zero-shot setting (without specific training on the task).

Methods

The researchers conducted a systematic comparison using two primary setups:

  1. VLM (Visual Embedding): A standard VLM (like BLIP-2) receives an image and a question. The image is processed by a "visual frontend" and passed to an underlying LLM as embeddings.
  2. LLM (Textual Description): The underlying LLM (like Flan-T5) is given a precise, symbolic textual description of the scene (metadata) instead of the image.

They also compared Standard Prompting (asking for a direct answer) against Chain-of-Thought (CoT) Prompting ("Let's think step by step") to see if breaking down the logic improved performance across different model scales, ranging from 3B to 175B+ parameters.

Datasets

The study utilized synthetic datasets to minimize the influence of "world knowledge":

  • CLEVR: Images of simple geometric objects (cubes, spheres) requiring logic about counts, colors, and spatial relations.
  • PTR (Part-Whole Relationship): A more complex dataset focusing on objects with distinct parts (e.g., a chair with specific legs) and physical properties like stability.
  • GQA: Used as a "real-world" validation set containing natural images with associated scene graphs to ensure findings weren't limited to synthetic data.

Key Insights and Ideas

  • The "Visual Frontend" Bottleneck: VLMs consistently lagged behind their pure LLM counterparts. This suggests that current VLM architectures have a bottleneck where the visual encoder fails to extract or pass along all the relevant details the "reasoning brain" (the LLM) needs.
  • Text is a Better Interface (For Now): Providing the LLM with a ground-truth text description of a scene resulted in significantly higher accuracy than providing the image itself. The LLM is a more capable reasoner when it doesn't have to "interpret" raw pixels through a noisy visual bottleneck.
  • CoT is an Emergent Property of Scale: Chain-of-Thought prompting actually hurt performance on smaller models (like Flan-T5 3B). It only became beneficial at massive scales (GPT-3.5 175B), suggesting that the ability to self-correct or follow logical steps in visual reasoning is a "luxury" of very large models.
  • Complexity Matters: The performance gap between LLMs and VLMs was much wider on the PTR dataset (~18%) than on CLEVR (~7%). This indicates that as visual tasks become more granular (looking at parts of objects), the visual frontend of current VLMs struggles even more.

Key Results

  • LLM Superiority: On the PTR dataset, the Flan-T5 LLM (using text descriptions) achieved roughly 18% higher accuracy than the BLIP-2 VLM (using visual embeddings).
  • GPT-4 vs. GPT-4V: GPT-4 (text) was approximately 17% more accurate than its multimodal sibling, GPT-4V (vision), on the CLEVR benchmark.
  • Scaling CoT: For GPT-3.5-Turbo, CoT prompting provided a marginal boost, but for smaller models, it often led to "gibberish" or repetitive logic, failing to adhere to the required output format.
  • Zero Contamination: The authors confirmed their results weren't due to models "memorizing" the datasets by running image-free baselines, which resulted in near-random chance performance.

Limitations and Future Work

The primary limitation is the reliance on ground-truth scene metadata for the LLM baselines. In the real world, we don't have perfect text descriptions of every scene. This highlights a "feedback gap": current VLMs are "one-pass" systems where the LLM cannot ask the visual frontend for more clarification if a detail is missing.

Future Directions: * Developing VLMs with iterative feedback loops, allowing the LLM to "re-examine" specific parts of an image based on the reasoning steps. * Improving the "visual vocabulary" of encoders to better handle part-whole relationships and complex physical attributes. * Exploring why CoT fails so significantly on smaller models in the visual domain compared to the language domain.

Summary updated

BibTeX
@inproceedings{nagar2024zero,
  author = {Aishik Nagar and Shantanu Jaiswal and Cheston Tan},
  title = {{Zero-Shot Visual Reasoning by Vision-Language Models: Benchmarking and Analysis}},
  booktitle = {IJCNN},
  year = {2024},
  url = {https://openreview.net/forum?id=YoBwQq6k9B},
}

Loading related content...

Figure