Response Wide Shut: Surprising Observations in Basic Vision Language Model Capabilities

Shivam Chandhok, Wan-Cyuan Fan, Leonid SigalarXiv 2024

TL;DR

This paper dives deep into the "black box" of Vision-Language Models (VLMs), analyzing their performance not just on final outputs, but also on intermediate representations. They reveal surprising weaknesses in fundamental visual tasks like fine-grained recognition and spatial understanding, suggesting that current training paradigms might be overlooking crucial aspects of visual reasoning.

What Problem Does This Paper Address?

Vision-Language Models (VLMs) are rapidly becoming powerful tools for tasks that combine vision and language. While they excel at complex challenges like understanding charts or humor in images, there's a growing suspicion that they might be missing fundamental visual understanding skills. This paper aims to pinpoint these weaknesses by dissecting how VLMs process visual information, moving beyond just looking at their final answers to understanding how they arrive at them. The core problem is to identify where in the VLM architecture these basic visual capabilities falter, and why.

Methods

The authors propose a novel approach to analyze VLMs by examining their performance across different internal "spaces": the visual latent space (output of the image encoder), the vision-language shared latent space (output of the projection layer), and the language response space (final output). Instead of just evaluating the VLM's end-to-end performance, they train simple linear probes on the intermediate representations to assess what visual knowledge is captured at each stage. This allows them to trace the flow of information and identify bottlenecks. For the final response space, they use standard VQA (Visual Question Answering) prompts.

Datasets

The study utilizes a combination of established and specialized datasets:

  • PaintSkills: A compositional diagnostic dataset designed to evaluate fundamental visual reasoning, including classification, counting, and spatial arrangement.
  • PASCAL VOC: A widely used dataset for coarse-grained object recognition.
  • CUB (Caltech-UCSD Birds-200-2011) and Stanford Dogs: Datasets specifically chosen for fine-grained recognition tasks.

For analysis, a subset of 15 classes was used across datasets to ensure comparable task difficulty.

Key Insights and Ideas

  • Fine-grained recognition is a major hurdle: While VLMs perform well on coarse-grained object recognition, there's a significant drop in performance for fine-grained categories, especially in the final response.
  • The projection layer is a key bottleneck: The authors hypothesize that the vision-language projection layer, which bridges the visual encoder and the language decoder, is largely responsible for the poor fine-grained recognition performance. The visual encoder itself seems to capture fine-grained information well, but it's not effectively transferred to the final output.
  • Spatial understanding is surprisingly weak: VLMs, particularly their visual encoders, struggle significantly with understanding spatial relationships between objects.
  • Instruction tuning helps bridge gaps: VLMs that have undergone instruction fine-tuning (like InstructBLIP and LLaVA) show improved performance in spatial understanding, likely by leveraging embedded language priors.
  • Counting is also challenging: Similar to fine-grained recognition, VLMs show good performance in intermediate spaces for object counting but a notable decline in the final response.

Key Results

  • Coarse-grained Recognition: All tested VLMs performed very well (>90%) across all three analyzed spaces (visual latent, text latent, and response) on PASCAL VOC and PaintSkills.
  • Fine-grained Recognition: Performance dropped significantly in the response space for CUB and Stanford Dogs datasets. For example, BLIP-2 (7B) showed 93.6% in visual and text latents but only 23.5% in the response space. CLIP's visual encoder performed well (>90%), but the final response was poor (~49%).
  • Object Counting: Intermediate spaces showed good performance (>90%), but the response space performance dropped considerably (e.g., BLIP-2 (7B) dropped from 95.3% to 25.0%).
  • Spatial Understanding: This task showed a reversal of trends. Visual latent representations performed worst, while text latent and response spaces showed improvement, especially for instruction-tuned models. LLaVA (13B) achieved 73.0% in the response space, a significant improvement over its visual latent performance.

Limitations and Future Work

The authors acknowledge that their analysis is based on a subset of VLMs and a limited set of fundamental tasks. They suggest that future work should aim to evaluate a broader range of VLMs and tasks to make their observations more comprehensive and reliable. They also propose that improvements in fine-grained recognition could be achieved by better training of projection layers, potentially through more representative image-caption datasets or hierarchical loss functions. For spatial understanding, improving the visual encoder is highlighted as a key direction.

Summary updated

Abstract

Vision-Language Models (VLMs) have emerged as general purpose tools for addressing a variety of complex computer vision problems. Such models have been shown to be highly capable, but, at the same time, also lacking some basic visual understanding skills. In this paper, we set out to understand the limitations of SoTA VLMs on fundamental visual tasks: object classification, understanding spatial arrangement, and ability to delineate individual object instances (through counting), by constructing a series of tests that probe which components of design, specifically, maybe lacking. Importantly, we go significantly beyond the current benchmarks, that simply measure final performance of VLM, by also comparing and contrasting it to performance of probes trained directly on features obtained from visual encoder (image embeddings), as well as intermediate vision-language projection used to bridge image-encoder and LLM-decoder ouput in many SoTA models (e.g., LLaVA, BLIP, InstructBLIP). In doing so, we uncover nascent shortcomings in VLMs response and make a number of important observations which could help train and develop more effective VLM models in future.
BibTeX
@misc{chandhok2024response,
  author = {Shivam Chandhok and Wan-Cyuan Fan and Leonid Sigal},
  title = {{Response Wide Shut: Surprising Observations in Basic Vision Language Model Capabilities}},
  year = {2024},
  eprint = {2408.06721},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2408.06721},
}
Figure