BiVLC: Extending Vision-Language Compositionality Evaluation with Text-to-Image Retrieval

Imanol Miranda, Ander Salaberria, Eneko Agirre, Gorka Azkune

TL;DR

BiVLC introduces a new benchmark to test if AI truly understands how objects and attributes combine in both directions: picking the right text for an image and the right image for a text. The researchers discovered that while current models are decent at the former, they struggle significantly with the latter, revealing a major gap in multimodal "compositional" reasoning compared to humans.

The Missing Direction in Vision-Language Models

In the world of Vision-Language Models (VLMs), "compositionality" is the ability to understand that a "black dog and a white cat" is fundamentally different from a "white dog and a black cat," even though the individual words are the same.

Until now, most benchmarks (like the popular SUGARCREPE) have been one-way streets: given one image, can the model pick the correct caption out of two options? This is known as Image-to-Text (I2T) retrieval. However, the authors argue that true understanding should be bidirectional. A model should also be able to perform Text-to-Image (T2I) retrieval: given a caption, can it pick the correct image out of two?

The problem is that current models often "cheat" by relying on language biases (e.g., knowing that "grass" is usually "green" without really looking at the image). By only testing one direction, we’ve been missing a huge part of the picture—specifically, the part where models fail to visualize the world correctly based on text.

Introducing BiVLC: A Bidirectional Benchmark

To address this gap, the authors created the BiVLC (Bidirectional Vision-Language Compositionality) dataset using a clever semi-automatic pipeline.

The BiVLC dataset structure introduces a synthetic negative image to create four distinct retrieval tasks per instance.

The creation process involved several steps:

  1. Start with the Best: They took the existing SUGARCREPE dataset, which already has pairs of correct captions and "hard negative" captions (captions that are wrong in subtle, compositional ways).
  2. Generate the "Wrong" Image: For every "hard negative" caption, they used a state-of-the-art image generator (SDXL-DPO) to create a synthetic image that matches the wrong caption.
  3. Human-in-the-Loop: They hired human annotators to filter the results. Annotators had to pick the best-generated image and discard any instances where the AI-generated image was ambiguous or accidentally matched the "correct" caption.
  4. The Test: This results in a "quadruplet": two images and two captions. A model is tested on four retrieval tasks per instance. To get a perfect "Group Score," the model must succeed at all four.
An example of a BiVLC instance where a synthetic negative image (zebra) is generated to match the hard negative caption.

The resulting BiVLC dataset contains 2,933 instances (nearly 12,000 retrieval tasks) across categories like "Replace," "Swap," and "Add." To help models learn these hard negatives, the authors also created large-scale training datasets called TROHN-TEXT and TROHN-IMG.

Key Insights and Results

The experiments on BiVLC uncover a significant weakness in current multimodal models:

  • The T2I Performance Gap: Humans perform almost equally well whether they are picking text for an image or an image for text (achieving a 90.4% I2T score and a 93.0% T2I score, with an 86.8% Group Score). Multimodal models, however, are significantly worse at Text-to-Image retrieval. This suggests that the "mapping" between vision and language in AI is currently lopsided.
  • Model Failure: Most contrastive models (like CLIP) saw their scores plummet in the T2I direction. For example, standard CLIP scored 75.8% on I2T but only 52.4% on T2I.
  • Directional Difficulty: The authors found that bidirectional VLC is much harder than I2T alone. A model might rank the correct caption highest for an image, but when given that same caption, it might not rank the correct image highest. The "SWAP" category (e.g., swapping attributes between two objects) remains the most difficult for all models, with scores often hovering just above random chance.
  • Synthetic Data is a Feature, Not a Bug: Training models on synthetic "hard negative" images (images designed to be "wrong" in specific ways) significantly boosts their performance on both natural and synthetic benchmarks. It forces the model to pay attention to fine-grained details it would otherwise ignore. The authors' proposed model, CLIPTROHN-IMG (trained on their new hard-negative image dataset), outperformed other contrastive models, achieving a 69.25% Group Score.
  • Language Priors are a Crutch: Generative models with large LLM backbones (like VQAScore) do well on I2T because they have strong language "common sense," but they are often penalized in the bidirectional setting where they must rely more on visual grounding.

Limitations and Future Work

The current version of BiVLC is English-only, which limits its global applicability. Additionally, the authors focused primarily on contrastive models (like CLIP); they suggest that future work should explore how to fine-tune generative models (like LLaVA or GPT-4V) using these hard-negative strategies. Finally, while synthetic images are useful, they still contain "artifacts" that might allow models to distinguish them from natural images without actually understanding the composition—a hurdle the team aims to address in future iterations.

Summary updated

BibTeX
@inproceedings{miranda2024bivlc,
  author = {Imanol Miranda and Ander Salaberria and Eneko Agirre and Gorka Azkune},
  title = {{BiVLC: Extending Vision-Language Compositionality Evaluation with Text-to-Image Retrieval}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=NNh7LNyMcW},
}
Figure