Introduction
While modern Vision Language Models (VLMs) demonstrate remarkable capabilities in high-level reasoning and natural language understanding, they exhibit a surprising "blindness" when faced with fundamental geometric properties. Tasks that are trivial for humans—such as determining if two lines are the same length or if two wedges represent the same angle—frequently baffle even state-of-the-art models like GPT-4o. This deficiency, termed a failure in "visual arithmetic," represents a significant hurdle for applications requiring precise chart analysis and mathematical problem-solving.
Diagnosing the Bottleneck: Eyes vs. Brain
A central question in this research is whether the failure stems from the "eyes" (the vision encoder) or the "brain" (the language decoder). To investigate, the researchers probed common pre-trained encoders, including CLIP and SigLIP.
By visualizing the embeddings using t-SNE, they discovered that the visual information necessary for geometric reasoning is indeed present. As shown in the clustering analysis, these encoders naturally group images by geometric properties like angle magnitude and line length. This suggests that the vision encoders are capturing the relevant features, but the language decoders are failing to effectively "decode" or utilize this information for arithmetic reasoning in zero-shot settings.
COGALIGN: A Piaget-Inspired Solution
To bridge this gap, the authors introduce COGALIGN (Cognitive Alignment), a post-training strategy inspired by Jean Piaget’s theory of cognitive development. The method focuses on two key developmental concepts:
- Conservation: The understanding that certain quantitative properties (like length or volume) remain invariant despite changes in the physical appearance or orientation of the object.
- Decentration: The ability to move beyond a single, salient feature of a visual scene to consider multiple aspects simultaneously.
Rather than relying solely on standard Supervised Fine-Tuning (SFT), COGALIGN utilizes Direct Preference Optimization (DPO). By presenting the model with pairs of positive and negative responses, DPO provides a more nuanced learning signal, forcing the model to distinguish between correct and subtly incorrect geometric interpretations.
Training and Evaluation
The researchers trained COGALIGN on 64,000 synthetically generated instances covering eight fundamental visual tasks: angle, length, distance, quantity, volume, position, slope, and intersection. The model's performance was then evaluated across several benchmarks:
- Probing Tasks: Custom diagnostic tasks like Angle Comparison and Chart Projection.
- CHOCOLATE: A benchmark for detecting factual errors in chart captioning.
- MATH-VISION: A dataset for geometric problem-solving across 16 mathematical disciplines.
Key Results
The results demonstrate that COGALIGN significantly enhances a model's grasp of visual arithmetic. For instance, the LLaVA-OV-0.5B model saw a 54% accuracy improvement on Angle Comparison. Beyond these "atomic" tasks, the model showed improved performance on downstream benchmarks, with gains of 4.6% on CHOCOLATE and 2.9% on MATH-VISION.
Importantly, this specialized training did not lead to "catastrophic forgetting." Instead, performance on general benchmarks like MME and MMMU actually improved, suggesting that visual arithmetic is a foundational skill that bolsters broader multimodal reasoning. Furthermore, COGALIGN proved highly efficient, achieving superior results to SFT while requiring 60% less training data.
Conclusion and Future Directions
COGALIGN demonstrates that the "visual arithmetic" gap in VLMs can be addressed by aligning the language decoder with fundamental geometric principles. While the current work focuses on atomic tasks, future research will explore composite tasks that require simultaneous assessment of multiple properties. Additionally, scaling these cognitive alignment techniques to larger frontier models and incorporating more complex natural language rationales remain promising avenues for achieving human-level chart and geometry understanding.
Summary updated