Can Vision-Language Models Solve Visual Math Equations?

Monjoy Narayan Choudhury, Junling Wang, Yifan Hou, Mrinmaya Sachan · DOI

TL;DR

Vision-Language Models (VLMs) excel at many tasks, but struggle with visually grounded math. This paper reveals that VLMs fail at solving visual math equations primarily due to difficulties in accurately counting object icons to determine coefficients, rather than issues with recognizing objects or performing symbolic math.

What Problem Does This Paper Address?

Modern AI systems, particularly those powered by Vision-Language Models (VLMs), are increasingly expected to perform complex reasoning tasks that integrate visual perception with symbolic understanding. While VLMs have shown impressive capabilities in areas like image captioning and visual question answering, their ability to perform grounded mathematical reasoning, especially when equations are presented visually, remains largely untested and poorly understood. This paper investigates this gap by focusing on the task of solving visual math equations, where mathematical variables are represented by object icons and coefficients are determined by counting these icons. The core problem is to understand why VLMs, despite their proficiency in symbolic math and visual recognition, falter when these two modalities are combined in a practical, grounded reasoning task.

Methods

The authors designed a controlled experiment to dissect the challenges VLMs face in visual equation solving. They created a synthetic dataset of visual math problems based on systems of linear equations. To isolate different aspects of the task, they evaluated VLMs in several settings:

  • Fully Visual Equations: Variables are represented by object icons, and coefficients are determined by the number of repeated icons.
  • Symbolic Equations: Equations are presented as plain text within an image, testing OCR and symbolic reasoning in isolation.
  • Visual-Symbolic Equations: Variables are icons, but coefficients are given as numeric text, isolating the need for counting.
  • Isolated Counting Tasks: Directly evaluating the models' ability to count object instances.

They employed two prompting strategies: direct zero-shot prompting and a two-step chain-of-thought (CoT) prompting to encourage intermediate reasoning. Performance was measured by exact match accuracy.

Datasets

The authors constructed a synthetic dataset of visual math problems. This dataset is based on systems of linear equations where variables are represented by object icons. The icons were sourced from the IconQA dataset, and a set of 28 generic object types (e.g., apples, bananas, flowers) were used. The dataset is publicly available under a CC BY 4.0 license.

Key Insights and Ideas

  • Counting is the Primary Bottleneck: The most significant finding is that VLMs struggle most with accurately inferring coefficients by counting repeated object icons. This is the main reason for their failure in fully visual equation solving.
  • Symbolic Reasoning is Strong: VLMs demonstrate near-perfect accuracy on symbolic equations presented as text, indicating that their core mathematical reasoning and OCR capabilities are robust.
  • Recognition is Generally Good: VLMs can recognize object-based variables with high accuracy, suggesting that identifying what an object is is not the primary issue.
  • Compositional Reasoning is Challenging: Even when individual components (recognition, symbolic solving) are strong, combining them (e.g., recognizing an icon and then using its count as a coefficient) leads to significant performance degradation.
  • Complexity Exacerbates Weaknesses: As equation systems become more complex (e.g., three variables instead of two), the limitations in both visual perception (counting) and symbolic reasoning become more pronounced.

Key Results

  • In fully visual equation solving, VLMs achieved an overall accuracy of less than 12%.
  • On symbolic equations (text within images), VLMs achieved near-perfect accuracy (over 97%) with CoT prompting.
  • In visual-symbolic equations (icons for variables, numbers for coefficients), accuracy improved to 64.45%, confirming that counting is a major obstacle.
  • Direct counting tasks showed that accuracy declines sharply as the number of icons increases (Pearson correlation of -0.90 between result value and accuracy).
  • For three-variable equations, accuracy dropped significantly across all formats, highlighting limitations in handling increased mathematical complexity.

Limitations and Future Work

The authors acknowledge several limitations:

  • Simplified Math: The evaluation primarily focused on linear equations with integer solutions and addition-only operators, not capturing the full spectrum of mathematical reasoning.
  • Synthetic Data: The diagnostic tasks were synthetic and might not fully reflect real-world scenarios with noisy or diverse visual contexts.
  • Prompting-Based Evaluation: The reliance on prompting might under-represent the potential of models fine-tuned for structured reasoning or equipped with external tools.

Future work could involve developing new training objectives, compositional architectures, or integrating VLMs with external symbolic solvers to address these limitations. The benchmark presented in this paper serves as a diagnostic tool for understanding and improving grounded, multi-step reasoning in VLMs.

Summary updated

BibTeX
@misc{choudhury2025can,
  author = {Monjoy Narayan Choudhury and Junling Wang and Yifan Hou and Mrinmaya Sachan},
  title = {{Can Vision-Language Models Solve Visual Math Equations?}},
  year = {2025},
  eprint = {2509.09013},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.09013},
}
Figure