[De|Re]constructing VLMs' Reasoning in Counting
Preprint
Abstract
Vision-Language Models (VLMs) have recently gained attention due to their competitive performance on multiple downstream tasks, achieved by following user-input instructions. However, VLMs still exhibit several limitations in visual reasoning, such as difficulties in identifying relations (e.g., spatial, temporal, and among objects), understanding temporal sequences (e.g., frames), and counting objects. In this work, we go beyond score-level benchmark evaluations of VLMs by investigating the underlying causes of their failures and proposing a targeted approach to improve their reasoning capabilities. We study the reasoning skills of seven state-of-the-art VLMs in the counting task under controlled experimental conditions. Our experiments show that VLMs are highly sensitive to the number and type of objects, their spatial arrangement, and the co-occurrence of distractors. A layer-wise analysis reveals that errors are due to incorrect mapping of the last-layer representation into the output space. Our targeted training shows that fine-tuning just the output layer improves accuracy by up to 21%. We corroborate these findings by achieving consistent improvements on real-world datasets.Keywords
All Related Versions
This publication has 11 references indexed in Scilit:
- A Survey on Open-Vocabulary Detection and Segmentation: Past, Present, and FutureIEEE Transactions on Pattern Analysis and Machine Intelligence, 2024
- Few-Shot Object Counting With Dynamic Similarity-Aware in Latent SpaceIEEE Transactions on Geoscience and Remote Sensing, 2024
- Plant Detection and Counting: Enhancing Precision Agriculture in UAV and General ScenesIEEE Access, 2023
- Artificial intelligence for digital and computational pathologyNature Reviews Bioengineering, 2023
- Visual Spatial ReasoningTransactions of the Association for Computational Linguistics, 2023
- OpenCLIP2021
- Microscopy cell counting and detection with fully convolutional regression networksComputer Methods in Biomechanics and Biomedical Engineering: Imaging & Visualization, 2016
- Why are small and large numbers enumerated differently? A limited-capacity preattentive stage in vision.Psychological Review, 1994
- The Child’s Understanding of Number1986
- Process of enumeration.Psychological Review, 1966