Visual Reasoning in Multimodal Agents: Visual Primitives vs. Thinking with Images

    This article examines why multimodal agents often misread images and compares two emerging technical approaches to closing the gap: explicit visual primitives that turn references into addressable objects, and image-based reasoning that lets models crop, zoom, annotate, and revisit images through tool calls. It explains the trade-offs of each paradigm, why the agent harness (context management, tool design, state consistency, and observability) often matters more than the base model, and how to align runtime configuration, build a reproducible evaluation set, handle common failure modes, and operate reliably after launch.

    1. Background: Why Multimodal Agents “Can’t See Clearly”

    Over the past year, the capability boundaries of multimodal large models have been pushed forward rapidly. Yet in real-world applications, the most common complaint from developers is still that “the model misread the image.” Typical symptoms include counting errors on dense small objects, ambiguous references in complex scenes, and loss of visual grounding partway through long reasoning chains.

    The industry has gradually reached a consensus: closing the “perception gap” first—ensuring the model can genuinely distinguish pixel-level information—is not enough to solve the problem. The real bottleneck is that the model still relies on natural language to describe images during reasoning, which creates a “reference gap.” Text descriptions are inherently ambiguous; in dense scenes, a phrase like “it” or “that object” may correspond to dozens of candidates.

    Two distinct technical routes have emerged around this bottleneck.

    The first is the explicit visual primitives route: represent objects as unambiguous pointers in continuous visual space, and perform reasoning directly on those pointers to avoid information loss from natural-language paraphrasing.

    The second is the image-based thinking route: allow the model to repeatedly crop, zoom, annotate, and revisit images during reasoning, carry intermediate conclusions in visual form, and replace pure text descriptions with a “look—operate—look again” loop.

    The former is theoretically more elegant; the latter is more robust in engineering. The trade-off between them is the core issue in current multimodal agent design.

    2. Technical Comparison of the Two Paradigms

    2.1 Explicit Visual Primitives: Turning References into Computable Objects

    The key value of visual primitives is addressability. When the model needs to discuss the 7th pedestrian, it no longer generates a vague description but references a stable spatial identifier, and all subsequent reasoning revolves around that identifier. This brings three direct benefits:

    • Counting tasks no longer depend on a one-time global scan; objects can be enumerated, deduplicated, and verified one by one.
    • Localization tasks can be precise to a region rather than “roughly on the left.”
    • References stay consistent across multiple reasoning turns, reducing logic drift.

    The costs are equally clear: an additional representation layer and training objectives are required, and the model becomes more tightly coupled with the inference framework. If the runtime environment does not fully support this representation layer, capability degrades silently—showing up as “works in the paper, fails in actual calls.”

    2.2 Image-Based Thinking: Rebuilding Visual Context via Tool Calls

    Image-based thinking treats visual operations as first-class tools: cropping, zooming, drawing boxes, stitching, and comparing. At each step, the model obtains new, clearer visual input, equivalent to a human leaning in, using a magnifying glass, or making annotations.

    Its advantage is generality: it relies almost entirely on no special representation layer, and any agent framework with image input and tool-calling capability can support it. The intermediate process is also observable and reproducible, making debugging easier.

    The limitation lies in context cost and latency: repeatedly revisiting images significantly increases tokens and time, and a poor tool-selection strategy can easily fall into unproductive loops.

    3. The Agent Harness Is the Key to Delivering Capability

    An often underestimated fact is that model capability does not equal product capability. The same base model can perform very differently under different agent harnesses, for four main reasons:

    • Context management: image resolution, tiling strategy, and the number of retained history frames directly determine the upper limit of what the model can “see.”
    • Toolset design: whether lossless cropping, coordinate annotation, and local zoom are provided determines whether image-based thinking can form a closed loop.
    • State consistency: whether visual references remain stable across turns determines whether long reasoning chains hold up.
    • Observability: whether intermediate steps are logged determines whether issues can be reproduced and fixed.

    Therefore, when evaluating a multimodal agent, you must treat “model + harness + parameter configuration” as a whole rather than focusing only on the model name.

    4. Engineering Practice: Configuration, Validation, and Tuning

    4.1 Align the Runtime Environment First

    CLI tools for multimodal agents often iterate quickly, and configuration methods in official documentation and blog posts may lag behind. In practice, upgrade to the latest version first, then switch runtime modes via configuration profiles instead of assembling parameters manually. For example:

    1. # Upgrade the agent runtime framework to the latest version
    2. npm update -g <agent-cli>
    3. # Start in web mode with the corresponding configuration profile
    4. <agent-cli> --profile web

    Common fields in the configuration file include the model identifier and image-related thresholds. It is recommended to manage them centrally and keep them versioned:

    1. {
    2. "model": "<vision-model-id>",
    3. "image": {
    4. "max_side": 1536,
    5. "tile": true,
    6. "keep_history_frames": 3
    7. }
    8. }

    4.2 Build a Reproducible Evaluation Set

    The evaluation set should cover four task types: dense counting, precise reference, spatial relationship judgment, and multi-step planning. Prepare 20 to 50 samples per category, fix the random seed and input resolution, and record three metrics: task success rate, average number of tool calls, and end-to-end latency. Only by looking at success rate and call count together can you tell whether an improvement reflects real capability or brute-force enumeration.

    4.3 Common Failure Modes and Mitigations

    • Counting errors: first increase input resolution and enable tiling, then consider multi-sample voting.
    • Reference drift: enforce stable IDs in the prompt and restate the current referenced object each turn.
    • Planning failures: break long tasks into subgoals, with each step producing a verifiable intermediate artifact.
    • Idle tool loops: set a maximum call count and repeated-action detection to avoid unproductive loops.

    4.4 Operational Recommendations After Launch

    Write image inputs, model outputs, and tool-call chains into a logging service, and use monitoring and alerting to compare success rate and latency against baselines. When upgrading the model or framework, run a small-traffic canary first and regress with the same evaluation set to avoid “upgrade equals regression.” For large-scale image processing, object storage and container platforms can provide elastic compute, decoupling the inference service from the image processing pipeline.

    5. Conclusion

    Visual primitives and image-based thinking are not mutually exclusive: the former provides rigor at the representation layer, while the latter provides engineering universality. For most teams, the more pragmatic path is to build a stable closed loop with image-based thinking, gradually introduce addressable visual representations at the framework layer, and continuously validate with a unified evaluation set. What ultimately determines success is often not the model choice itself, but the harness’s ability to manage visual context and whether the team has established a reproducible, observable tuning process.