[Paper Review] Seeing past words: Testing the cross-modal capabilities of pretrained V&L models on counting tasks
This paper evaluates the cross-modal reasoning and grounding abilities of three pretrained vision-and-language (V&L) models—ViLBERT, ViLBERT 12-in-1, and LXMERT—on two tasks: image-sentence alignment and visual counting. Despite strong performance on alignment, all models fail to generalize on counting, showing reliance on dataset bias and poor entity individuation, indicating limited grounding capabilities despite their multimodal pretraining.
We investigate the reasoning ability of pretrained vision and language (V&L) models in two tasks that require multimodal integration: (1) discriminating a correct image-sentence pair from an incorrect one, and (2) counting entities in an image. We evaluate three pretrained V&L models on these tasks: ViLBERT, ViLBERT 12-in-1 and LXMERT, in zero-shot and finetuned settings. Our results show that models solve task (1) very well, as expected, since all models are pretrained on task (1). However, none of the pretrained V&L models is able to adequately solve task (2), our counting probe, and they cannot generalise to out-of-distribution quantities. We propose a number of explanations for these findings: LXMERT (and to some extent ViLBERT 12-in-1) show some evidence of catastrophic forgetting on task (1). Concerning our results on the counting probe, we find evidence that all models are impacted by dataset bias, and also fail to individuate entities in the visual input. While a selling point of pretrained V&L models is their ability to solve complex tasks, our findings suggest that understanding their reasoning and grounding capabilities requires more targeted investigations on specific phenomena.
Motivation & Objective
- To assess whether pretrained V&L models can perform accurate cross-modal reasoning beyond their pretraining tasks.
- To investigate whether models can generalize to out-of-distribution quantities in visual counting tasks.
- To evaluate the extent of dataset bias and failure in entity individuation in multimodal models.
- To examine whether models exhibit catastrophic forgetting on pretraining tasks after multitask fine-tuning.
- To challenge the assumption that general-purpose V&L models inherently possess strong grounding and reasoning abilities.
Proposed method
- The study uses a foiling strategy to create adversarial image-sentence pairs for evaluating alignment and counting capabilities.
- Three models—ViLBERT, ViLBERT 12-in-1, and LXMERT—are evaluated in both zero-shot and fine-tuned settings on image-sentence alignment and counting tasks.
- A counting probe is constructed using natural images and unambiguous numerical statements to test grounding and counting accuracy.
- The models are evaluated on their ability to detect incorrect image-sentence pairs and to correctly judge the number of entities in an image.
- Performance is measured using accuracy, with comparisons to random baseline and analysis of failure cases.
- The study investigates model behavior through qualitative analysis of attention patterns and dataset bias exploitation.
Experimental results
Research questions
- RQ1Can pretrained V&L models accurately detect incorrect image-sentence alignments in a zero-shot setting?
- RQ2To what extent can these models perform accurate visual counting without task-specific fine-tuning?
- RQ3Do the models generalize to out-of-distribution quantities in counting tasks, or do they rely on dataset bias?
- RQ4Is there evidence of catastrophic forgetting in models fine-tuned on multiple tasks, particularly on image-sentence alignment?
- RQ5Do the models effectively individuate visual entities, a prerequisite for accurate counting?
Key findings
- All three models perform well on image-sentence alignment in zero-shot settings, confirming their strong pretraining on this task.
- None of the models achieve meaningful performance on the counting probe, even after fine-tuning, with results close to random baseline.
- Models show strong reliance on dataset bias, particularly in counting tasks, failing to generalize to unseen quantities.
- Evidence of catastrophic forgetting is observed in LXMERT and, to a lesser extent, ViLBERT 12-in-1, especially on alignment tasks after multitask fine-tuning.
- All models fail to properly individuate visual entities, indicating a fundamental limitation in grounding linguistic references to visual instances.
- Despite their multimodal architecture and pretraining, models lack robust cross-modal grounding, especially for numerical reasoning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.