Multimodal Agent Visual Reasoning: Visual Primitives vs. Thinking with Images

    This article examines why multimodal agents often fail at visual tasks such as dense counting and precise object localization, tracing the root cause to the perception gap and the referential gap that appear when a model must describe visual information to itself in natural language. It compares two technical routes—explicit visual primitives that use unambiguous pointers, and thinking with images that relies on repeated revisits and local crops—framing the choice as a trade-off between protocol strictness and framework integration cost. The article then outlines a reproducible evaluation method with three layers of observation (protocol, behavior, and results), a sample evaluation record, practical engineering guidance on prompting, reasoning length, tool observability, configuration management, and regression baselines, and a conclusion on building an observable evaluation loop instead of picking sides.

    1. Background: Why Multimodal Agents Still Struggle with Images

    In multimodal agent scenarios, image understanding has long been a weak spot. Two failure patterns are commonly observed in the field. The first is dense counting, where the numbers a model reports show systematic deviation from human annotations. The second is object localization and path planning in complex scenes, where the model’s description sounds plausible but the coordinates do not match the actual positions.

    Separating these two problems shows that the root cause is not entirely about “failing to see clearly,” but about “how to express what has been seen.” When a model has to restate visual information to itself in natural language, references become ambiguous: something like “the slightly reddish square in the top-left corner” may point to different objects across reasoning turns, and the error accumulates and amplifies along the chain of thought. In engineering terms, this is often called the perception gap and the referential gap.

    2. Two Technical Routes: Explicit Visual Pointers and Iterative Image Revisiting

    2.1 The Visual Primitives Route

    The core of this route is to abstract visual objects into unambiguous pointers within a continuous visual space, for example as normalized coordinates, point markers, or region identifiers that are referenced repeatedly during reasoning. Its advantage is stable reference, which suits strongly structured tasks such as counting, localization, and comparison. The cost is that the model and the reasoning framework must stay consistent on the output protocol, and it is more sensitive to training and prompt constraints.

    2.2 The Thinking with Images Route

    This route introduces no extra marker protocol. Instead, it allows the model to repeatedly look back at the image across multiple reasoning turns, crop local regions, and zoom in on details, using natural language to drive the next round of observation. It has lower engineering coupling and is friendlier to existing reasoning frameworks, which makes it easier to adopt in general-purpose agents. However, its stability is usually weaker than the explicit pointer approach for ultra-dense counting and exact coordinate output.

    From an engineering perspective, this is more a trade-off between the strength of protocol constraints and the cost of framework adaptation than a simple question of which is better. A mature agent platform often keeps both capabilities and lets the task type decide which one to invoke.

    3. A Reproducible Evaluation Method: Making “Whether Visual Primitives Are Used” Observable

    To judge whether a route actually works, you cannot look only at the final answer; you have to look at the reasoning process. Three layers of observation are recommended:

    • Protocol layer: count whether structured visual markers appear in the chain of thought, and check the reference consistency between those markers and the final output.
    • Behavior layer: count image revisits, local crops, and the proportion of ineffective repeated observations.
    • Result layer: compute accuracy and coordinate error separately on three task types—counting, localization, and maze navigation.

    The structure of a sample evaluation record is shown below (the fields are generic illustrations and do not represent any specific product interface):

    1. {
    2. "task": "counting",
    3. "protocol_markers": 0,
    4. "image_revisit_count": 3,
    5. "final_answer": 27,
    6. "ground_truth": 25,
    7. "coord_error": null
    8. }

    When protocol_markers stays at 0 while the result-layer error is relatively large, you can basically conclude that the current implementation follows the iterative image-revisiting route. If markers do appear but references are misplaced, the protocol constraint is not truly in effect, and the prompt and decoding constraints need further hardening.

    4. Engineering Implementation Notes

    First, the prompt must explicitly declare the output protocol. If you expect the model to use visual pointers, the instruction should specify the marker format, the coordinate system definition, and the reference rules, and enforce the order of “mark first, reason next, answer last.”

    Second, control the reasoning length. A common problem in practice is that an overly long chain of thought scatters attention and actually reduces localization accuracy. This can be mitigated by segmenting observations and limiting the number of observation targets per turn.

    Third, make the toolchain observable. Wrap cropping, zooming, and revisiting as recorded tool calls so that behavior-layer metrics can be collected.

    Fourth, keep configuration and version management clear. Command-line tools, configuration file formats, and upgrade methods should be documented internally so that team members do not end up with incomparable results due to configuration differences. If cloud capabilities are used, general categories such as container platforms, log services, and monitoring and alerting can help standardize and track evaluation tasks.

    Fifth, establish a regression baseline. After each model or framework upgrade, rerun the same evaluation set and watch for drift in the protocol layer and the result layer.

    5. Conclusion

    Visual primitives and thinking with images are not replacements for each other, but engineering choices under different constraint strengths. For developers, what really matters is not taking sides with one route, but building an observable and reproducible evaluation loop: first determine whether the task requires unambiguous reference, then choose the protocol strength accordingly, and finally verify with behavior-layer and result-layer metrics whether the choice lives up to its name. Only this way can “looking at images” be turned from guesswork into engineering in the iteration of multimodal agents.