NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Models

Chenwei Wu, Patrick haffner, Li Erran Li, Stefano Ermon, Rong Ge

Abstract

Compositionality is a common property in many modalities including text and images, but the compositional generalization of multi-modal models is not well-understood. In this paper, we identify two sources of visual-linguistic compositionality: linguistic priors and the interplay between images and texts. We show that current attempts to improve compositional generalization rely on linguistic priors rather than on information in the image, as the strength of the language model in detecting sentences that are syntactically and semantically likely overwhelms the vision part of the model. We find in particular that a benchmark for compositionality mostly favors pure language models. Finally, we propose a new benchmark for compositionality without such linguistic priors.

Introduction: Are Models Seeing or Guessing?

Compositional generalization—the ability to understand novel combinations of known concepts, such as identifying a "blue bike" after seeing "blue cars" and "red bikes"—is a hallmark of human intelligence. While generative models like DALL-E 2 appear to excel at this, discriminative vision-language models (VLMs) like CLIP often struggle.

A critical question arises: are these models truly performing visual-linguistic reasoning, or are they simply relying on linguistic priors? If a model is asked to choose between "The plate is on the table" and "The table is on the plate," it can often guess the correct answer based solely on world logic and grammar without ever looking at the image. This paper investigates how such linguistic biases inflate performance on popular benchmarks.

Methodology: Isolating Visual Reasoning

To expose the extent of linguistic reliance, the researchers introduced two key concepts:

  1. Hard Test Accuracy: This metric evaluates model performance specifically on "hard instances"—data points where a pure language model (like GPT-2) would pick the wrong caption because the incorrect option sounds more linguistically natural than the correct one.
  2. Linguistic Gap: This is defined as the difference between a model's overall accuracy and its accuracy on hard instances. A large gap indicates that the model is leaning heavily on text-based "cheats" rather than visual evidence.

Datasets: The ARO Benchmark

The study utilized the ARO (Attribution, Relation, and Order) dataset, which tests a model's ability to distinguish correct captions from corrupted ones that use the same set of words in different compositions.

Examples of true (T) and false (F) captions from the ARO dataset across different tasks like attribution, relation, and ordering.

Results and Discussion

The Dominance of Pure Language Models

Surprisingly, pure language models outperformed multi-modal ones on several tasks. For instance, on the Visual Genome (VG) Relation task, GPT-2 achieved 85.07% accuracy without seeing any images, significantly higher than CLIP's 59.79%. This suggests that many benchmark questions are essentially tests of syntax and common sense rather than vision.

The NegCLIP Illusion

NegCLIP, a version of CLIP fine-tuned to improve compositionality, initially appeared to be a major breakthrough. However, the "Linguistic Gap" analysis revealed a different story. While NegCLIP achieved high total accuracy, its performance plummeted on hard instances. Its linguistic gap was 13.24, compared to the original CLIP’s 3.43. This indicates that NegCLIP primarily learned to be a better "text guesser" by internalizing the patterns of the hard negatives used during its training.

Accuracy heatmaps for CLIP, CLIP_FT, and NegCLIP. The axes represent the perplexity (linguistic likelihood) of true and false captions. NegCLIP shows a high dependency on linguistic likelihood for its accuracy.

In contrast, models like BLIP and FLAVA showed much smaller linguistic gaps, suggesting they rely more honestly on visual information, even if their overall benchmark scores were lower.

Conclusion

To build vision-language models that truly understand the visual world, we must move beyond benchmarks where the answers are effectively hidden in the grammar of the captions. The "Linguistic Gap" serves as a vital reality check, ensuring that improvements in model performance stem from genuine multi-modal reasoning rather than sophisticated linguistic guesswork.

Summary updated

BibTeX
@inproceedings{wu2023role,
  author = {Chenwei Wu and Patrick haffner and Li Erran Li and Stefano Ermon and Rong Ge},
  title = {{The Role of Linguistic Priors in Measuring Compositional Generalization of Vision-Language Models}},
  booktitle = {ICBINB @ NeurIPS},
  year = {2023},
  url = {https://openreview.net/forum?id=JZaTnRVuuN},
}
Figure