NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Seeing vs. Counting: Complexity Twins Show Where Multimodal LLMs Fail on Diagrams

Yin LiuarXiv 2026

TL;DR

When a Multimodal Large Language Model (MLLM) miscounts elements in a diagram, is it because it can't "see" the structure or because it can't "do the math"? This paper introduces Complexity Twins—pairs of questions about the same image that vary in computational difficulty—to reveal that models are primarily limited by the size of the answer in reasoning tasks and by a curious "horizontal-edge blind spot" in visual perception.

What Problem Does This Paper Address?

Counting is often viewed as a basic perceptual task, but for diagrams and graphs, it is deeply computational. Existing benchmarks often confound visual complexity (clutter, density) with algorithmic hardness. For example, counting nodes in a messy graph is hard for the eyes, but counting all possible paths between two nodes is hard for the brain (computationally).

The authors aim to disentangle these two failure modes. They ask: if we hold the image perfectly still and just change the question, where does the model break? Does it fail because the algorithm required is too complex (e.g., an NP-hard problem), or simply because the resulting number is too large for the model to track in its "head"?

Methods

The researchers developed a benchmark called VISCOUNT-COMPLEXITY based on the concept of "Complexity Twins." These are pairs of counting tasks performed on the exact same pixels but belonging to different rungs of the "counting-complexity ladder."

Figure 1. One image, two questions. (a) On this 4×5 drawing #ST (GapL, one determinant) is 324,268 and #Paths from vertex 0 to vertex 19 (#P-complete) is 200: the harder question has the smaller answer. (b) For gemini-3.8-flash (low; also in (c)), chain-of- thought exact match follows answer size far more than class (Visual, n = 721; dashed: m50, where accuracy crosses 50%). (c) Code from an exact edge list solves almost all extra-large pairs; from pixels, on 96 fresh grids one upright view misses 2.8% of horizontal and 0.8% of vertical edges, and a second reading of a rotated copy with crop checks reads 86 of them exactly, against 57 for a repeated upright reading.

Key components of their attribution protocol include:

  • Transcription Probes: Asking the model to first describe the graph's structure (e.g., an edge list) before answering.
  • Text-only Controls: Providing the model with the ground-truth structure as text to see if it can solve the problem without the visual component.
  • Code Generation: Allowing the model to write and execute Python code to perform the count, offloading the arithmetic and algorithmic work.
  • Multi-view Reading: To test the limits of vision, they compared standard upright reading against a pipeline that transcribes the image twice (upright and rotated) and adjudicates disagreements.

Datasets

The study uses three families of synthetic images:

  1. Binary Images: Counting connected components vs. calculating the Euler characteristic.
  2. Grid Drawings: Counting spanning trees (tractable) vs. counting simple paths (#P-complete).
  3. Eulerian Drawings: Counting directed vs. undirected Eulerian circuits.

The benchmark includes 344 core instances, ranging from small 3×3 grids to "extra-large" 10×10 grids where answers can reach $10^{37}$.

Figure 2: The three families of images used in the VISCOUNT-COMPLEXITY benchmark.

Key Insights and Ideas

  • The Magnitude Law: In Chain-of-Thought (CoT) reasoning, the complexity class (how "hard" the problem is mathematically) matters much less than the size of the answer. For every tenfold increase in the true answer, the odds of a model getting the exact right number drop by a factor of 2.38.
  • Thinking Budget as a Currency: Increasing the "thinking tokens" (CoT length) effectively "buys" the ability to handle larger magnitudes. A tenfold increase in thinking tokens moves the 50% accuracy threshold by about 3.2 decades of answer size.
  • The Anisotropic Blind Spot: MLLMs have a systematic visual bias. On large grids, they miss horizontal edges significantly more often than vertical ones.
  • Code is the Great Equalizer: When models are allowed to write code, the computational bottleneck vanishes. Even for $10 \times 10$ grids with astronomical answers, models count correctly—provided they can "see" the structure accurately.

Key Results

The authors tested several state-of-the-art models, including Gemini 1.5 Flash/Pro, Gemma 2, and Qwen3-VL.

  • Reasoning Failures: In CoT mode, models rarely solved problems where the answer exceeded 1,000,000 (only 2/292 exact matches for the primary model).
  • Vision Failures: On extra-large grids, a single upright view missed 2.8% of horizontal edges but only 0.8% of vertical edges.
  • The Multi-view Fix: By rotating the image 90° and checking for disagreements, the primary model's ability to read large grids exactly jumped from 57/96 to 86/96.

Limitations and Future Work

The study focuses on synthetic, schematic diagrams. While these are essential for isolating complexity, they don't capture the challenges of natural scenes, such as occlusion, perspective distortion in the wild, or varying lighting.

The authors suggest that future work should investigate whether this "horizontal-edge blind spot" is a fundamental property of current vision encoders (like CLIP) or an artifact of how these models are trained on document-heavy datasets. Additionally, extending this to more diverse model families and more complex, non-grid graph layouts remains an open frontier.

Summary updated

BibTeX
@misc{liu2026seeing,
  author = {Yin Liu},
  title = {{Seeing vs. Counting: Complexity Twins Show Where Multimodal LLMs Fail on Diagrams}},
  year = {2026},
  eprint = {2611.08998},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.08998},
}
Figure