Hidden in Plain Sight: Evaluating Abstract Shape Recognition in Vision-Language Models

Arshia Hemmat, Adam Davies, Tom A. Lamb, Jianhao Yuan, Philip Torr, Ashkan Khakzar, Francesco Pinto

TL;DR

Researchers have introduced IllusionBench, a new benchmark revealing that even top-tier Vision-Language Models (VLMs) like GPT-4o struggle to recognize abstract shapes formed by arrangements of objects in a scene. While humans identify these "hidden" shapes with over 95% accuracy, current AI models remain heavily biased toward local textures and individual scene elements, often failing to perceive the global geometric structure.

What Problem Does This Paper Address?

Human vision is remarkably robust because it prioritizes shape perception. We can recognize a "car" whether it’s a 3D object, a line drawing, or even a clever arrangement of clouds in the sky. This invariance to color, texture, and lighting is a cornerstone of biological visual intelligence.

In contrast, early deep learning models were notoriously "texture-biased," often identifying a cat solely by its fur pattern rather than its silhouette. While modern Vision-Language Models (VLMs) like CLIP and GPT-4o have shown improvement on older benchmarks, the authors of this paper argue that these benchmarks (like Stylized-ImageNet) are limited by "unnatural" textures and low-quality style transfers.

An example of an abstract shape (a car) hidden within the arrangement of a medieval village scene.

The core question is: Can VLMs recognize abstract shapes when they emerge from the arrangement of naturalistic scene elements? If a VLM sees a "medieval village" arranged to look like a giant "car" from a distance, does it see the village, the car, or both?

Methods

The authors developed a sophisticated data-generation pipeline to create IllusionBench. They used ControlNet paired with Stable Diffusion to "bake" specific geometric shapes into complex, naturalistic scenes.

The IllusionBench data generation pipeline using ControlNet and Stable Diffusion.

The study evaluates VLMs across three distinct paradigms:

  1. Zero-Shot Recognition: Asking models to identify the hidden shape without any prior examples.
  2. In-Context Learning (ICL): Providing the model with a few "shots" (example image-label pairs) to see if it can learn the pattern on the fly. They tested four specific ICL tasks to see if models could disentangle the shape from the background.
  3. Domain Generalization: Training a model (CLIP) on certain scene types (e.g., "ocean") and testing its ability to recognize the same shapes in unseen environments (e.g., "Times Square").

Datasets

The paper introduces IllusionBench, which consists of over 32,000 images across three sub-datasets:

  • IllusionBench-IN: Based on 16 standard ImageNet classes (e.g., bird, car, dog).
  • IllusionBench-LOGO: Features 21 iconic brand logos (e.g., Apple, Nike, Adidas).
  • IllusionBench-ICON: Uses 456 emojis categorized into 6 hypernym classes (e.g., "animal," "vehicle").

For comparison, they also evaluated models on the older Stylized-ImageNet (SIN) benchmark. To validate the dataset, the authors recruited 60 human participants, who achieved an average accuracy of 95.6% to 97.1%, confirming that the shapes are easily visible to the human eye.

Key Insights and Ideas

  • The "Forest vs. Trees" Problem: VLMs are excellent at identifying the "trees" (the components of the scene, like a house or a tree) but fail to see the "forest" (the abstract shape the components form).
  • Texture Bias Persists: Even the most advanced models exhibit a "scene recall" that is significantly higher than their "shape recall." They are still anchored to local pixel distributions rather than global geometry.
  • The Copying Phenomenon: In few-shot settings, some models (like LLaVA) appeared to improve, but the researchers found this was often a "copying" trick. If the model saw a "Tesla" logo in the examples, it would simply guess "Tesla" for the test image regardless of the actual shape, rather than learning the concept of abstract shape recognition.
  • Latent Potential: Interestingly, while zero-shot performance was poor, fine-tuning a CLIP model allowed it to reach ~73% accuracy. This suggests that the information about the shape is present in the model's internal embeddings, but the model doesn't know how to prioritize or "attend" to it by default.

Key Results

  • Zero-Shot Failure: Most models scored between 10-30% on shape recall for IllusionBench, whereas they scored much higher on the older Stylized-ImageNet. This proves IllusionBench is a significantly harder and more "natural" challenge.
  • Proprietary vs. Open Source: GPT-4o and Gemini-Flash generally outperformed open-source models, but even they lagged far behind human performance.
  • ICL Limitations: Increasing the number of examples (shots) did not consistently improve performance. In many cases, it actually confused the models or led to verbose, descriptive hallucinations instead of a clear classification.
  • Human-AI Gap: There remains a massive gap between human perception (95%+) and AI perception (~30% max zero-shot) when it comes to pareidolia-like illusions.

Limitations and Future Work

The authors acknowledge that IllusionBench currently only hides a single shape per image. Real-world visual complexity often involves multiple overlapping abstract structures.

Future research directions include:

  • Developing tasks for compositional understanding (e.g., "A cat chasing a mouse" where both are abstract shapes).
  • Improving prompt engineering to help models "squint" and see the global structure.
  • Using IllusionBench as a training set to develop more robust, shape-aware vision systems that aren't easily fooled by changes in texture or context.

Ultimately, this work suggests that if we want AI to achieve human-level visual robustness, we need to move beyond simple object recognition and teach models to perceive the "hidden" geometry of the world.

Summary updated

BibTeX
@inproceedings{hemmat2024hidden,
  author = {Arshia Hemmat and Adam Davies and Tom A. Lamb and Jianhao Yuan and Philip Torr and Ashkan Khakzar and Francesco Pinto},
  title = {{Hidden in Plain Sight: Evaluating Abstract Shape Recognition in Vision-Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=XRXZwRyHXp},
}

Loading related content...

Figure