The Evolution of Visual Reasoning in Multimodal Agents: Visual Primitives vs. Thinking with Images
This article examines why multimodal agents still struggle with dense counting, precise localization, and complex spatial reasoning, and argues that the core bottleneck is the Reference Gap rather than the Perception Gap alone. It compares two technical routes—Visual Primitives, which turn references into unambiguous pointers, and Thinking with Images, which externalizes reasoning into visual operations—then explains why agent harness orchestration is becoming the key differentiator. A sample orchestration pipeline, a reproducible evaluation checklist, and practical engineering recommendations with common pitfalls are included.
1. Where the Problem Starts: Why Multimodal Agents “Can’t See Clearly”
Over the past year, multimodal agents have seen a rapid rise in adoption across real business scenarios, yet one recurring problem remains unresolved: models are still highly unstable on tasks such as dense counting, precise localization, and complex spatial relationship judgment. The industry is gradually converging on a shared view—the bottleneck is not only the Perception Gap, meaning whether a model can convert pixels into usable visual information. The more critical issue is the Reference Gap: when a model still describes targets in a scene using natural language during reasoning, the ambiguity inherent in language amplifies uncertainty and eventually breaks the reasoning chain.
Consider a typical example: asking a model to count the people in a group photo, or to plan a feasible path through a maze. If the reasoning process relies on natural-language references such as “the third person from the left” or “the passage near the exit,” the model can easily waver over “which one exactly.” In the maze task, natural-language descriptions cannot reliably carry coordinates and topological relationships, so the planning steps fail.
2. The Essential Difference Between the Two Technical Routes
2.1 Visual Primitives: Turning References into Unambiguous Pointers
The core idea of Visual Primitives is to establish, in continuous visual space, an “unambiguous pointer” that the model can reference directly for each target (for example, structured symbols such as points, boxes, or numbered markers), so that reasoning revolves around these pointers rather than around natural-language descriptions. The advantages are:
- Stable references: counting and localization no longer depend on the linguistic ambiguity of “which one”;
- Traceable reasoning: every step can point back to a specific visual object, making verification easier;
- More robust on complex tasks: failure rates drop significantly in dense and occluded scenes.
2.2 Thinking with Images: Externalizing the Reasoning Process onto the Image
Another route, more classic and more engineering-friendly, is Thinking with Images: the model actively crops, scales, annotates, and re-feeds images during reasoning, externalizing the “thinking process” into a series of visual operations. Its characteristics are:
- Low implementation cost: it does not require the model to have special built-in structured-pointer capabilities;
- Good compatibility with existing toolchains: cropping, scaling, and overlaying annotations can all be orchestrated externally;
- Strong interpretability: intermediate artifacts are “visible images,” making manual review easy.
From an engineering perspective, the former is closer to a built-in model capability, while the latter is closer to an agent harness orchestration capability. This also explains a common phenomenon: the web experience, the open API experience, and the agent harness experience from the same vendor may follow different routes, and their performance naturally differs.
3. Why Harness Orchestration Is Becoming the Key Variable
As model capabilities converge, what truly separates solutions is often the quality of the agent harness’s orchestration of visual operations. A mature harness needs to cover at least the following stages:
- Image preprocessing: adaptive resolution, long-image splitting, EXIF orientation correction;
- Visual operation primitives: cropping, scaling, rotation, overlaying grids/indices;
- Intermediate-state management: storing each step’s image aligned with the reasoning text, supporting backtracking;
- Result verification: secondary confirmation for counting and localization tasks (such as repeated sampling with voting);
- Failure fallback: automatically switching strategies when confidence at a step is low (such as changing scale or changing the split).
Illustrative pseudocode (expressing orchestration logic only, not pointing to any specific product):
def visual_agent(image, task):# 1) Preprocessing: unify scale and orientationimg = normalize(image)# 2) Generate referenceable visual markers (grid/index)marked = overlay_grid(img, cell=64, with_index=True)# 3) Reasoning: require the model to answer around the markersplan = model.reason(marked, task, mode="think_with_images")# 4) Verification: multi-scale voting for counting tasksif task.type == "count":votes = [model.count(scale(img, s)) for s in (0.75, 1.0, 1.25)]plan.answer = majority_vote(votes)return plan
4. How to Evaluate Whether a Solution Truly Has Visual Primitive Capabilities
When selecting a solution, many teams are easily misled by marketing claims. A more reliable approach is to use a reproducible evaluation set to discriminate between routes, focusing on whether structured pointers appear in the reasoning chain rather than only looking at the final answer.
Recommended evaluation dimensions:
- Dense counting: crowds, shelves, cell images, measured by absolute error;
- Precise identification: given a target description, output coordinates and evaluate with IoU;
- Spatial relationships: left/right, up/down, occlusion, and containment judgments;
- Path planning: mazes and grid maps, evaluating path feasibility and step count;
- Robustness: performance degradation curves after adding noise, compression, and rotation.
A practical signal for determining whether Visual Primitives are enabled is whether structured markers (such as indices, points, or boxes) appear consistently in the reasoning chain and are repeatedly referenced in subsequent steps. If they only appear after explicitly adding instructions like “annotate first, then reason” in the prompt, this suggests the behavior is more likely orchestrated by the harness rather than a built-in model capability.
5. Engineering Implementation Advice and Common Pitfalls
- Don’t rely blindly on a single prompt: route differences can cause the same prompt to perform very differently across entry points, so evaluate each entry point separately.
- Treat “visualized intermediate states” as first-class citizens: logging services and object storage should save each intermediate image to support retrospection.
- Watch quality metrics with monitoring and alerting: counting error, localization IoU, and planning success rate should go onto a monitoring dashboard.
- Put version management first: model, prompt, and orchestration strategy must be version-bound together, avoiding “we changed the prompt but blamed model degradation.”
- Account for total cost: Thinking with Images increases repeated image inputs, so evaluate compute and bandwidth overhead, and use a container platform for elastic scaling when necessary.
- Don’t skip security and compliance: image data anonymization, access auditing, and permission isolation should be completed at the architecture design stage.
6. Conclusion
Competition among multimodal agents is shifting from “can the model see images” to “can the agent harness use images.” Visual Primitives represent the route of built-in structured references in the model, while Thinking with Images represents the route of externalized visual operations in the harness; the two are not mutually exclusive, and mature solutions are often a hybrid of “harness orchestration first, model capability second.” For developers, the most pragmatic strategy is to build a reproducible evaluation set, visualize intermediate states, manage models and prompts in a versioned way, and strike a balance between monitoring and cost.
