Introduction
Generating accessible image descriptions (alt-text) is vital for visually impaired users and overall web accessibility. Traditionally, evaluating these descriptions requires comparing them to "ground truth" human references using metrics like BLEU or CIDEr. However, human references are expensive to collect and often unavailable in real-world scenarios.
To solve this, researchers have turned to referenceless metrics (like CLIPScore), which use pretrained vision-language models to score a description based solely on the image. While these methods facilitate rapid progress, they are often "context-blind." For instance, an image of a park might need a description focused on a "sculpture" in an art article, but "landscaping" in an urban planning article.
This paper introduces ContextRef, a new benchmark designed to stress-test these referenceless metrics to see if they truly align with human preference judgments when context is involved, and whether they are robust enough to catch common AI errors.
The ContextRef Benchmark
The authors developed ContextRef using a specialized evaluation set derived from the Wikipedia Image-Text (WIT) dataset. It includes images, their original alt-text, and the full surrounding article context (title, section text, captions). The benchmark consists of two main evaluation components:
- Human Quality Ratings: The researchers collected 768 distinct ratings from human annotators across several established quality dimensions, including overall accessibility, relevance, "imaginability" (how well one can visualize the image from text alone), and image fit.
- Robustness Checks: To uncover fundamental weaknesses, they created 10 types of "data augmentations"—systematic ways to degrade a description—to see if the metrics would correctly lower their scores. These included shuffling words, replacing proper names (hallucinations), and adding irrelevant or repetitive text.
Key Insights: The "Context Gap"
Evaluating two types of scoring strategies—Similarity-based (measuring how close the image and text are in a shared embedding space, like CLIP) and Likelihood-based (measuring how "probable" the text is given the image, using generative models like Flamingo or BLIP-2)—revealed significant gaps between AI metrics and human judgment.
- Context Sensitivity: Humans are highly sensitive to whether a description fits the article context. Current metrics struggle to integrate this information, often giving high scores to descriptions that are technically accurate but contextually irrelevant.
- Similarity vs. Likelihood Trade-offs: Similarity metrics are excellent at catching when a description doesn't match an image, but they are "grammar-blind" and might highly score a scrambled "word salad" if the keywords match. Conversely, likelihood metrics are sensitive to grammar but suffer from a "language prior" bias. They often prefer descriptions with exact repetitions or generic filler simply because the text looks highly probable to the underlying language model.
- Humans Hate Lies: The largest discrepancy occurred when descriptions contained factual errors (e.g., a swapped proper name). While humans severely penalized these descriptions, AI metrics often failed to notice the hallucination.
Results and Performance
Out of the box, no existing metric passed all of ContextRef's robustness checks. For example, likelihood-based models (like Frozen) actually awarded higher scores to descriptions containing exact repetitions or irrelevant final sentences.
While the metrics showed a moderate correlation with human judgments overall, this correlation proved brittle, often disappearing when descriptions were subtly corrupted by the data augmentations.
However, the authors demonstrated that fine-tuning works. By jointly training a model on both human ratings and the robustness augmentations, they achieved substantial improvements. A fine-tuned CLIP model, for instance, jumped from 65.9% to 100% accuracy in detecting exact repetitions while maintaining its correlation with human judgments.
Conclusion and Future Work
ContextRef remains a challenging benchmark, largely due to the difficulty of modeling context dependence. While fine-tuning offers a promising path forward, the study highlights that the next generation of metrics must treat image description as a communicative act—one that depends entirely on who is reading the description and where they are reading it. Building models that truly understand the "why" behind an image's presence in a text remains an open challenge for the field.
Summary updated