Abstract
Large Vision and Language (V&L) models have demonstrated remarkable zero-shot capabilities, yet their understanding of fundamental visual attributes remains inconsistent. We introduce ColorFoil, a benchmark designed to evaluate color perception through "foiling"—a technique where models must distinguish a correct caption from one where a color word has been incorrectly swapped. Our evaluation of seven state-of-the-art models reveals a significant "perception gap." Notably, architecture proves more critical than training scale; models with deep cross-modal fusion, such as BridgeTower, vastly outperform dual-encoder models like CLIP, which often rely on linguistic priors rather than visual grounding.
1. Introduction
While large-scale V&L models are often praised for their ability to describe complex scenes, the extent to which they truly understand fundamental visual building blocks like color is unclear. This "perception gap" poses risks in real-world applications—such as autonomous driving or medical diagnostics—where distinguishing between a red and green signal is vital. This paper quantifies this gap by testing models' ability to identify "foils": captions that are accurate in every respect except for a single, swapped color attribute.
2. Methodology
The ColorFoil benchmark utilizes a foiling methodology. Models are presented with an image and a set of captions: one ground-truth description and several "foils" where color words are replaced (e.g., "A blue bus" becomes "A brown bus").
To construct the benchmark, researchers extracted 2,511 image-text pairs from the MS COCO 2017 validation set and 2,500 pairs from Flickr30k. Using the webcolors library, they identified the 10 most common colors to ensure a practical and standardized evaluation. Seven state-of-the-art models were tested in a zero-shot setting, comparing the logit scores assigned to correct versus foiled captions.
3. Results and Discussion
The evaluation revealed a clear performance hierarchy. BridgeTower achieved the highest accuracy (97.31% on MS COCO 1-foil), followed by ViLT (95.69%). In contrast, CLIP lagged significantly at 84.42%.
3.1 The Importance of Architecture
A key finding is that architecture trumps scale. CLIP, despite being trained on 400 million image-text pairs, was outperformed by BridgeTower and ViLT, which were trained on only 4 million pairs. BridgeTower’s "bridge layers" facilitate deep interaction between vision and language encoders, allowing the model to more effectively ground specific color words in image pixels.
3.2 Linguistic Priors vs. Visual Grounding
The failure of CLIP and its variants to distinguish between visually distinct colors (e.g., blue vs. brown) suggests these models may rely heavily on linguistic patterns—predicting colors based on object associations—rather than actual visual perception. As the number of foils increased, performance dropped across all models, though BridgeTower remained the most robust.
4. Conclusion and Future Work
The ColorFoil benchmark demonstrates that linguistic proficiency does not equate to visual understanding. While models like BridgeTower show promise, the "color blindness" of many popular V&L models highlights a need for improved cross-modal fusion. Future research will extend the foiling methodology to other attributes, including gender, size, and emotion, to develop a comprehensive framework for evaluating model robustness.
Summary updated