Vision-language models often go wrong on diagram, chart and geometry questions for one of two quite different reasons. Sometimes they misread the picture: a wrong axis value, a missed label, a confused angle. Other times they read the picture correctly but do not know or cannot apply the theorem or procedure the problem needs. Each failure has a different fix. A misreading calls for looking again, by zooming into a region, converting a chart into a table, or running an object detector. A knowledge gap calls for retrieval: fetching the relevant theorem or a worked example from an external corpus. Current systems that ask for outside help use a single "how confused am I" signal. They cannot tell these two cases apart, so they either apply every remedy at every step, which is costly and adds distracting context, or they reflect internally, which does not help when the input was misread.
We propose a two-stage, inference-time gate for a vision-language model reasoning step by step. The first stage fires when the entropy of the model's next-step output spikes. Entropy here means how spread out its probability is over candidate continuations. The second stage then runs a cheap diagnostic: it re-scores the same reasoning prefix under a few meaning-preserving perturbations of the image. If the step's output distribution moves a lot, the confusion is attributed to perception and the model re-grounds the image. If it barely moves, the confusion is attributed to missing knowledge and the model retrieves. The claim is that routing the right kind of help to the right kind of confusion beats both an undifferentiated confusion gate and "do everything everywhere," at a fraction of the external calls. The design includes an ablation that swaps the routes, so if the claim is false the experiments will show it.
Core Claim
Recent work supplies the motivation. Diagnostic studies show that both failure types are common and distinct. In MATH-Vision, 31.9% of GPT-4V errors are vision recognition errors and 42.2% are reasoning errors made with correctly recognised visuals. In Plot Twist, models fail elementary coordinate reading and lean on chart titles, with accuracy falling from up to 79% to the 30% range when titles are neutralised. These results imply that the remedy for one failure type is useless or harmful for the other. Can Large Reasoning Models do Analogical Reasoning under Perceptual Uncertainty? shows the harmful direction sharply: o3-mini falls from 86.6% to 17.0% under perceptual noise while spending 3.4x more reasoning tokens. In that setting, thinking harder about a misread input amplifies the error.
The method comes from Dual-Uncertainty Guided Policy Learning, or DUPL. It separates perceptual uncertainty, measured as the symmetric divergence between output distributions on clean and perturbed images, from output entropy. DUPL uses this split only to shape rewards during reinforcement-learning training. We reuse the measurement at test time, where it decides which external action to take. Inference-time gating already exists in AdaNav, which uses action-entropy spikes to trigger internal reasoning modes in navigation, and in RaDIO, which uses a learned hallucination detector to trigger text retrieval. Both use one undifferentiated signal and one kind of remedy. Neither asks whether the confusion came from the input.
Formally, at reasoning step $t$ with prefix $y_{<t}$, image $x$, and next-step distribution $p_t(\cdot \mid x, y_{<t})$, we compute output entropy $H_t$. Only when $H_t$ exceeds a threshold $\tau_H$ do we compute
$$u^{per}_t = \frac{1}{K}\sum_{k=1}^{K} D_{sym}\big(p_t(\cdot\mid x, y_{<t}) \,\|\, p_t(\cdot\mid \tilde{x}_k, y_{<t})\big),$$
where $\tilde{x}_k$ are $K$ meaning-preserving perturbations of $x$ and $D_{sym}$ is symmetric KL divergence. The step is routed to re-grounding if $u^{per}_t > \tau_P$ and to retrieval otherwise.
We deliberately depart from DUPL's perturbation set. Flips and rotations change the answer to chart and geometry questions, because left becomes right. We therefore use mild rescaling, JPEG compression, small crop jitter and low-amplitude noise.
Research Program
The base model is Qwen2.5-VL-7B. It is the model DUPL was evaluated on, its weights are open, and it exposes the logits we need. We also run it on a DUPL-trained checkpoint, to test whether training-time disentanglement makes the test-time signal sharper.
The perception route depends on the question type. For charts, it calls a chart-to-table converter in the style of DePlot, as used in Synthesize Step-by-Step, and appends the table. For diagrams, it crops and enlarges the region with the highest attention mass, or calls a detector with box drawing, following the visual-prompting idea in DCoT. The knowledge route queries a hybrid corpus built like the one in Progressive Multimodal Reasoning via Active Retrieval, or AR-MCTS: Wikipedia and math-theorem text plus a worked-example pool. Examples are selected by cross-modal similarity as in MM-Retrieval. After either action, the step is regenerated.
The thresholds $\tau_H$ and $\tau_P$ are set on a held-out development split. As a second phase, we replace the hand-set thresholds with a small classifier trained on step-level features. This parallels AdaNav's move from heuristic rules to learned triggers, but it is supervised by which action actually fixed the step.
We validate the router directly, not only through end-task accuracy. We annotate roughly 300 failed items from MathVista and MATH-Vision as perceptual or reasoning errors, using MATH-Vision's error taxonomy, and measure how often the router's attribution matches. We also build a controlled diagnostic split. In one half, we degrade images on questions the model answers correctly when the images are clean. In the other half, we strip the needed theorem from questions it solves only when the theorem is given. This produces cases with a known cause.
Baselines
The naive reference is the base model with zero-shot chain-of-thought and no external help. MATH-Vision reports that chain-of-thought sometimes lowers accuracy for multimodal models, so both direct answering and chain-of-thought are reported.
The strongest existing competitor is AR-MCTS, which retrieves at every expansion step. It reports an 8.3% boost for Qwen2-VL-7B on We-Math, and +7.7% (physics) and +12.5% (mathematics) for GPT-4o on GAOKAO-MM. It is the strongest competitor because it already closes part of the reasoning gap with retrieval. We re-run it with our corpus and our base model, so that only the triggering policy and the availability of re-grounding differ. We report accuracy against the number of external calls and generated tokens. Our method beats it if, at equal or lower compute, it matches or exceeds its We-Math and GAOKAO-MM accuracy. It also beats it if, at equal accuracy, it uses substantially fewer calls; we would count a two-fold reduction as meaningful.
For retrieval of worked examples alone, the relevant result is MM-Retrieval: GPT-4V gains 2.7% on average over zero-shot on MathVista and ScienceQA. We re-run its retrieval on our base model as the always-retrieve example baseline.
Three gating baselines isolate the key ingredient, and all of them use identical action tools and tuning budgets. The entropy-only gate is AdaNav-style: the same $\tau_H$ fires, but an undifferentiated remedy is applied. We test two versions, one that always retrieves and one that always both re-grounds and retrieves. The swapped-route ablation sends perceptual confusion to retrieval and knowledge confusion to re-grounding. A random-route ablation preserves the trigger rate but assigns routes at random. If the disentanglement idea is real, the routed method must beat the entropy-only gate at matched call counts, and the swapped route must do clearly worse than both. We also include a self-report router, in which the model is asked whether it cannot see or does not know.
Why not just…?
Why not just gate on total entropy and apply both remedies whenever it fires? This is the most serious threat. Re-grounding and retrieval are each fairly cheap, and running both may cost little more than diagnosing first. The risk of applying both is that irrelevant context hurts. Thinking in a Crowd and its SciAux resource report that misleading auxiliary information can catastrophically lower reasoning accuracy. We have not shown that a spurious theorem or a redundant table does so in our setting. The entropy-only "both" baseline at matched trigger rate settles this. If it ties the routed method, we would conclude that the value lies in the gate rather than the routing, and the paper's claim would shrink accordingly.
Why not just think longer or sample more paths and vote? The perceptual-uncertainty study shows reasoning models collapse under input noise despite 3.4x more tokens. Voting over paths that share the same misreading only reinforces it. We include self-consistency with a token budget matched to our method. The decisive test is the degraded-image half of the diagnostic split, where we expect voting to gain little.
Why not just caption or tabulate the image once and run mature text retrieval? GeoSQA found that even human-written diagram descriptions left models near chance, scoring 23–26.22% on four-way questions. Converting the image up front also discards spatial detail that geometry questions need. We nonetheless run "DePlot or caption first, then text retrieval" as a baseline. It is likely strong on ChartQA, and we report where it wins.
Why not just fine-tune with DUPL and skip test-time routing? DUPL's reported gains average 7.1% on visual math for the 7B model, but it gives no access to external knowledge at deployment. We test whether the two combine by running our router on top of a DUPL checkpoint. If routing adds nothing there, training-time disentanglement suffices.
Proposed Experiments
The main evaluation covers MathVista, MATH-Vision, We-Math and GAOKAO-MM for reasoning, and Chart101 and ChartQA for perception-heavy reading. For MATH-Vision, the published reference is GPT-4o at 30.39% against 68.82% for humans. We report accuracy, external calls per question, generated tokens and wall-clock latency, and plot accuracy–compute curves by sweeping the thresholds. The router is evaluated by its agreement with the 300 annotated errors and its accuracy on the controlled split. We report No reported result found on Lacuna for routing accuracy, because no prior work measures it.
The decisive checks are three. First, the routed method must beat the entropy-only "both remedies" gate at equal call count. Second, the swapped route must underperform both by a clear margin. Third, on the controlled split, the perception route should recover the degraded-image items and the knowledge route the theorem-stripped items, with little crossover. If the second check fails, the perturbation signal is not tracking perception, and we would replace it rather than defend it. A learned probe on vision-token attention is one alternative signal we would try.
References
- Measuring Multimodal Mathematical Reasoning with MATH-Vision Dataset
- Plot Twist: Multimodal Models Don't Comprehend Simple Chart Details
- Can Large Reasoning Models do Analogical Reasoning under Perceptual Uncertainty?
- VOGUE: Guiding Exploration with Visual Uncertainty Improves Multimodal Reasoning
- AdaNav: Adaptive Reasoning with Uncertainty for Vision-Language Navigation
- RaDIO: Real-Time Hallucination Detection with Contextual Index Optimized Query Formulation for Dynamic Retrieval Augmented Generation
- Synthesize Step-by-Step: Tools, Templates and LLMs as Data Generators for Reasoning-Based Chart VQA
- DCoT: Dual Chain-of-Thought Prompting for Large Multimodal Models
- Progressive Multimodal Reasoning via Active Retrieval
- Retrieval-Augmented Multi-Modal Chain-of-Thoughts Reasoning for Large Language Models
- Thinking in a Crowd: How Auxiliary Information Shapes LLM Reasoning
- GeoSQA: A Benchmark for Scenario-based Question Answering in the Geography Domain at High School Level