Bongard-OpenWorld: Few-Shot Reasoning for Free-form Visual Concepts in the Real World

Rujie Wu, Xiaojian Ma, Zhenliang Zhang, Wei Wang, Qing Li, Song-Chun Zhu, Yizhou Wang

TL;DR

The paper introduces Bongard-OpenWorld, a new benchmark designed to evaluate few-shot visual reasoning using real-world images and free-form, open-vocabulary concepts. Despite testing state-of-the-art few-shot learners, large language models (LLMs), vision-language models (VLMs), and specialized neuro-symbolic approaches, the best machine model only achieved 64% accuracy, leaving a massive gap compared to the 91% accuracy achieved by humans.

What Problem Does This Paper Address?

While modern vision models excel at recognizing objects or captioning single images when given massive amounts of training data, they struggle with few-shot visual reasoning—the human ability to rapidly grasp complex, compositional concepts from just a few examples.

Existing benchmarks fall short in evaluating this capability:

  • Datasets like miniImageNet focus on simple, single-object category identification.
  • Classical abstract reasoning benchmarks, such as the original Bongard Problems (BPs) or Raven's Progressive Matrices (RPM), rely on synthetic, geometric diagrams rather than complex real-world imagery.
  • Recent real-world extensions like Bongard-HOI are restricted to a closed vocabulary and a rigid structure (e.g., <human, interaction, object>).

Bongard-OpenWorld addresses this gap by requiring models to perform few-shot concept induction on real-world images using an open vocabulary that spans abstract attributes, relationships, and commonsense factual knowledge.

Methods

The authors formulate the task as a "2-way, 6-shot" problem: given 6 positive images (which share a common concept $C$) and 6 negative images (which do not), the model must determine if a query image depicts concept $C$. To tackle this, they explore four distinct architectural approaches:

  1. Canonical Few-Shot Learners: Models like ProtoNet, MetaOptNet, and SNAIL paired with powerful pretrained image encoders (e.g., ImageNet-22K, OpenCLIP). They also test an auxiliary captioning task to boost concept grounding.
  2. Single-Round VLM+LLM: A VLM (like BLIP-2 or InstructBLIP) captions each image individually, and an LLM (ChatGPT/GPT-4) reasons over these text descriptions to classify the query image.
  3. Multi-Round VLM+LLM (ChatCaptioner): The LLM iteratively prompts the VLM with questions to extract finer, more relevant details from the images before making a final decision.
  4. Neuro-Symbolic Approach: A VLM generates initial captions, an LLM extracts discrete visual concepts, and a symbolic logic reasoner performs set operations (intersections of positives, unions of negatives) to systematically deduce the true concept.
Figure 1: Task illustration of Bongard-OpenWorld. Given two set of images P and N, the model needs to identify which set the query image Iq belongs to by inferring the concepts C that is exclusively depicted by P. Note that the captions and the concepts C won’t be provided to the model. To further increase the difficulty of our task, we introduce distractors as additional contents of the positive images other than the concept C, and hard negatives to ensure the content of negative images partially overlaps with the concepts C. These practices could force the model to reason about the visual concepts by contrasting the positives and the negatives.

Datasets

The authors introduce the Bongard-OpenWorld dataset, consisting of 1.01K unique visual concepts split into a 610/200/200 train/validation/test structure.

To build it, they extracted free-form image descriptions from the massive web-crawled Conceptual Captions (CC-3M) dataset using a novel grid-sampling technique to preserve long-tailed concept diversity. They also crowd-sourced highly challenging commonsense concepts (e.g., "Felidae animals", "Refraction of light on a glass cup").

Crucially, they used ChatGPT to introduce distractors into positive images and create hard negatives (images that partially overlap with the target concept), ensuring models cannot rely on simple shortcut learning.

Key Insights and Ideas

  • The Failure of Separated Perception and Reasoning: The VLM+LLM pipeline pipeline fails because individual image captioning is not "reasoning-aware." A VLM captioning a single image doesn't know what the other 11 images look like, causing it to miss the subtle, shared concept (e.g., focusing on a bird in the foreground while ignoring the snow-covered branches in the background that actually define the positive set).
  • Open-Vocabulary Pretraining is Essential but Insufficient: Moving from closed-set pretraining (ImageNet) to open-vocabulary pretraining (OpenCLIP) consistently improved few-shot learners, proving that a broad semantic foundation helps, though it doesn't fully solve the underlying reasoning challenge.
  • Memory-Based Architectures Win the Day: Among standard few-shot methods, SNAIL—a transformer-based architecture with internal memory—performed the best, likely because its retrieval-like mechanism is highly data-efficient when training episodes are limited.

Key Results

The benchmark revealed a stark human-machine performance gap:

  • Human Participants: 91.0% accuracy.
  • SNAIL (with OpenCLIP & Auxiliary Captioning): 64.0% accuracy (the best performing model overall).
  • GPT-4 (via InstructBLIP captions): 63.8% accuracy.
  • GPT-4V (Direct multi-image input): 54.0% accuracy (barely above the 50% random chance baseline).
  • Neuro-Symbolic Approach: 55.5% accuracy.

Models consistently struggled more as the length of the free-form text concepts increased, and performed significantly worse on subsets requiring abstract commonsense knowledge.

Limitations and Future Work

The primary limitation identified is the lack of holistic perception-reasoning in current vision models. Models either look at images individually without a reasoning goal (VLMs) or reason over text descriptions that lack visual nuance (LLMs). Even native multi-image models like GPT-4V struggle to jointly contrast multiple images effectively.

The authors conclude that future research must focus on developing unified architectures capable of simultaneous multi-image comparison and reasoning-aware visual perception to truly close the human-machine gap.

Summary updated

BibTeX
@inproceedings{wu2024bongard,
  author = {Rujie Wu and Xiaojian Ma and Zhenliang Zhang and Wei Wang and Qing Li and Song-Chun Zhu and Yizhou Wang},
  title = {{Bongard-OpenWorld: Few-Shot Reasoning for Free-form Visual Concepts in the Real World}},
  booktitle = {International Conference on Learning Representations},
  year = {2024},
  url = {https://openreview.net/forum?id=hWS4MueyzC},
}
Figure