Multimodal Agents and Visual Chain-of-Thought: How "Thinking with Images" Works
This article explains why recent gains in multimodal agents come from coupling visual operations with reasoning rather than from higher-resolution visual encoders. It covers the perception gap and the referring gap, contrasts explicit visual primitives with classic image-operation approaches, and shows how the surrounding harness shapes the capability ceiling. It also breaks down why evaluation results look inconsistent across settings, proposes a three-layer evaluation method (perception, grounding, planning) with a code skeleton, and lists prompt, configuration, and engineering practices for reproducible deployment.
1. Background: From “Describing Images” to “Thinking with Images”
The recent capability jump in multimodal agents comes less from stacking higher-resolution visual encoders and more from a change in how the reasoning stage and the visual stage are coupled. Early designs encoded an image into visual features once, then handed everything to the language space for reasoning; the model could only describe what it saw. Newer designs let the model revisit the image repeatedly during reasoning, crop regions, zoom into details, and mark candidate locations, making visual operations first-class citizens of the chain of thought. This is what the industry often calls “thinking with images.”
Two gaps drive this shift.
The first is the perception gap. When target objects are too small, too dense, or too low in contrast, a single global encoding does not retain enough detail to support a judgment. The model is not unable to count; it simply did not see clearly.
The second is the referring gap. Even after seeing clearly, the model must describe the target in natural language before it can reason over it, and natural language is inherently ambiguous for dense counting, exact coordinates, and complex occlusion. A phrase like “the person slightly right of the top-left corner” can drift inside the reasoning chain, and once it drifts, the downstream logic collapses.
2. Two Technical Routes
Two representative approaches have emerged around the referring gap.
The first is the explicit visual primitives route. It introduces a set of structured, unambiguous pointers into the visual space, such as points, boxes, and index markers in normalized coordinates, which become addressable objects during reasoning. Language only handles composition and reasoning, while localization is delegated to the primitives, bypassing description ambiguity. Its advantage is a high theoretical ceiling; its drawback is demanding requirements on training data and inference budget, and its behavioral predictability depends on whether the model has genuinely internalized this symbol system.
The second is the classic image-operation route, the general form of thinking with images: the model emits actions such as crop, zoom, and re-observe, gradually bringing visual evidence to a granularity where a judgment is possible. It relies more on the toolset and state management provided by an external execution framework, requires little change on the model side, has low migration cost, and is easier to reproduce reliably in engineering.
Note that the two routes are not mutually exclusive. Mature implementations often let the framework provide the action space while the model decides whether and how to use structured markers. The maturity of that framework, the layer the industry calls the harness, directly determines the ceiling of model capability.
3. Why Evaluation Looks Inconsistent
A typical observation is worth examining: the same model performs well in paper examples but shows counting errors and failed path planning in an interactive web interface. Such inconsistency usually does not mean the model’s capability changed abruptly; it comes from four variables that can be checked one by one.
- Action space differences: the web interface may not expose explicit marker actions, leaving the model to degrade into pure language description.
- Context budget differences: thinking length gets truncated, and long-chain tasks lose their visual anchors midway.
- Image preprocessing differences: resolution scaling strategies and tiling methods differ, directly changing how much detail is available.
- System prompt differences: whether an instruction such as “localize first, then reason” is injected significantly changes the output shape.
Any cross-interface conclusion should therefore align these variables first; otherwise engineering differences are easily misread as model differences.
4. A Reproducible Evaluation Method
Split evaluation into three layers and attribute failures layer by layer.
Layer one, perception. Use tasks such as counting small targets and fine-grained region recognition to test only whether the model can see clearly, without requiring complex reasoning.
Layer two, grounding. Require the model to output structured localization results, then have a script verify whether the coordinates fall inside the target regions, testing how accurately it points.
Layer three, planning. Use path tasks with obstacles and multi-step operation tasks to test whether visual anchors are maintained across a long chain.
A schematic evaluation skeleton looks like this:
def evaluate(case, model, executor):# 1. Perception: global observationobs = model.see(case.image)# 2. Grounding: emit structured pointers to avoid natural language ambiguitypoints = model.locate(case.prompt, obs) # expected to be a list of normalized coordinateshit = check_points(points, case.gt_regions)# 3. Planning: multi-step actions, progressively zooming in on evidencetrace = []for step in range(case.max_steps):action = model.next_action(obs, trace)obs = executor.apply(action) # crop / zoom / annotateif action.done:breakreturn {"perception": obs.score, "grounding": hit, "plan": trace}
The evaluation report should also record thinking length, number of actions, and truncation rate; these three are often the real cause of failures.
5. Prompt and Configuration Interventions
Without changing the model, prompts and configuration can yield noticeable gains.
- Constrain the output structure explicitly: require candidate point coordinates before the conclusion to reduce description drift.
- Zoom in step by step: locate the region globally first, then crop locally to verify, then aggregate the count.
- Control the budget: set an upper limit on thinking length and monitor truncation so long-chain tasks do not fail silently.
- Keep configuration portable: write model parameters, the action whitelist, and preprocessing strategy into a versioned configuration file to ensure consistency across interfaces.
One caveat: the discoverability of configuration entry points is often underestimated. If the official documentation only provides field descriptions aimed at integrators, ordinary users can easily get stuck at initialization, which is a common starting point for evaluation results that cannot be reproduced.
6. Engineering Implementation and Risk Control
Four points matter in implementation. First, minimize the action whitelist: expose only the visual actions a task truly needs to reduce misuse. Second, make the full pipeline observable: persist every image operation and intermediate result so runs can be traced back. Third, control cost: visual actions amplify context and compute consumption, so set a per-task budget. Fourth, use canary releases and regression testing: run any prompt or preprocessing change against a fixed evaluation set to prevent capability regressions.
On the cloud, container platforms can host the inference and execution framework, object storage can hold images and intermediate artifacts, message queues can decouple long-running tasks, and logging services with monitoring and alerting can track truncation and failure rates. This turns a one-off “seems to work” into a capability that can be measured continuously.
7. Conclusion
The competition among multimodal agents is shifting from “does it accept image input” to “how reliably can it acquire and reference visual evidence during reasoning.” Explicit visual primitives and classic thinking with images each involve tradeoffs: the ceiling of the former depends on training and budget, while the floor of the latter depends on harness maturity. For developers, the most pragmatic strategy is to align evaluation variables and version the action space and configuration first, then choose a route, rather than drawing conclusions from a single interactive experience.
