Multimodal Agent Visual Reasoning: Comparing Visual Primitives and Thinking with Images

    This article examines why visual reasoning in multimodal agents often breaks down not at the perception stage but at the reasoning medium, where objects can only be referred to in ambiguous natural language. It compares two technical approaches—visual primitives that introduce unambiguous spatial pointers, and thinking with images that treats cropping, zooming, and annotation as reasoning actions—and explains their engineering trade-offs in cost, context length, and reproducibility. A four-layer evaluation method is presented (perception, reference, operation, consistency), along with prompt templates, configuration checklists, common failure modes, and practical recommendations for building reproducible visual reasoning pipelines.

    1. Background: From Describing Images to Reasoning with Them

    Over the past year, the central challenge in multimodal agent capability has shifted from “can it see” to “how does it think after seeing.” Early approaches encoded an image into a set of visual tokens, appended them to the language context, produced a natural language description, and passed that to a downstream reasoning chain. This works well for coarse-grained tasks such as scene classification and subject recognition, but it frequently breaks down on dense counting, small object localization, and path planning.

    The industry often attributes the first class of failures to a “perception gap”: input resolution, tiling strategy, and encoding compression cause loss of detail. But the more critical issue is often the second class—even when the model genuinely “sees clearly,” it can still only refer to objects in natural language, for example “that slightly reddish block in the upper-left corner.” Such vague references quickly become ambiguous in multi-object scenes, creating a “reference gap.” Put abstractly, the bottleneck limiting complex visual reasoning is often not on the image side but in the expressive power of the reasoning medium.

    This has produced two typical technical routes:

    • The visual primitives route: introduce unambiguous pointers in continuous visual space (points, boxes, region identifiers, and other structured markers) so the reasoning process references spatial entities directly instead of paraphrasing them.
    • The thinking with images route: allow the model to repeatedly crop, zoom, annotate, and revisit the image during reasoning, treating image operations as part of the thinking action and forming an “observe—operate—observe again” loop.

    The two routes are not mutually exclusive, but they differ markedly in engineering implementation cost, context length consumption, and reproducibility.

    2. What the Route Difference Means in Engineering

    The value of visual primitives lies in compressing reference cost: one marker can be reused across multiple subsequent reasoning steps, which is theoretically more token-efficient and more stable. The cost is the introduction of extra output format constraints and a parser; once the format drifts, the chain degrades.

    The value of thinking with images lies in generality: it does not depend on a special marker protocol. The model completes cropping and zooming through tool calls, turning “I can’t see it clearly” into “let me fetch evidence again.” The cost is more interaction turns, context expansion, and higher demands on the engineering framework’s tool orchestration. The term harness refers to the outer engineering structure that carries model invocation: system prompts, tool registration, context management, retry and truncation policies, result write-back formats, and so on. The same model can show observable capability differences across harnesses that sometimes exceed the differences between model versions.

    A common mistake is attributing evaluation conclusions directly to model capability. A more rigorous approach treats “model + prompt + harness” as a single system under test and isolates variables one by one.

    3. A Reusable Evaluation Method

    To determine whether visual capability is genuinely effective, run layered verification in the order below rather than a single composite test.

    Layer 1, perception. Use low-ambiguity material to test basic recognition: single-object attribute judgments, simple counting, obvious positional relations. If this layer is unstable, there is no need to continue.

    Layer 2, reference. Construct scenes with multiple objects of the same type and observe whether the reasoning process shows a stable spatial reference method (coordinates, numbering, regions), or repeatedly produces vague expressions like “that one” and “the one next to it.” This layer is key to distinguishing the two routes.

    Layer 3, operation. Provide cropping, zooming, and annotation tools, and observe whether the model calls them proactively, whether the timing is reasonable, and whether it revises prior conclusions after obtaining new evidence.

    Layer 4, consistency. Run the same input multiple times and compare the variance of conclusions and reasoning paths. Stability problems in visual tasks often affect usability more than accuracy problems do.

    An illustrative evaluation record structure (pseudocode, expressing field design only):

    1. case_id: count_red_blocks_01
    2. input: image + question
    3. harness_profile: default | vision_tool_enabled
    4. prompt_variant: none | grounding_hint | pointing_hint
    5. observed:
    6. tool_calls: [crop(2), zoom(1)]
    7. explicit_pointer_used: true | false
    8. final_answer: "7"
    9. reasoning_steps: 6
    10. latency_ms: 8200
    11. verdict: pass | fail
    12. note: conclusion revision happened after the second crop

    4. Prompt and Configuration Details

    In practice, many judgments that a capability “does not exist” turn out to be configurations that never took effect. Typical cases include: a config file format that does not match the documented example, outdated dependencies that leave new features disabled, a command-line argument typo silently ignored, and a default profile that does not enable the vision toolset.

    A minimal verification checklist is therefore recommended:

    1. First confirm the version and dependencies are the latest stable release, and restart the session after upgrading to avoid an old process reusing an old configuration.
    2. Use a minimal prompt to confirm tools are registered, for example asking the model to answer only with the “list of available tools” rather than performing a complex task directly.
    3. Explicitly declare the output format and reference conventions to reduce format drift.
    4. Fix randomness and temperature parameters before comparing different prompt variants.
    5. Record a complete configuration snapshot for each run to keep conclusions reproducible.

    At the prompt level, two contrasting templates can be given. The first guides spatial reference:

    1. During reasoning, assign a stable ID to each target and reference it as (x, y) or [x1,y1,x2,y2];
    2. every conclusion step must cite the ID it relies on; describing things only as "that one/next to it" is prohibited.

    The second guides proactive evidence gathering:

    1. If you are unsure about a region, call the crop tool to zoom in on it first, then give a conclusion;
    2. after each tool return, state in one sentence whether the evidence supports or overturns the previous judgment.

    Note that prompts can only raise the probability of a specific behavior; they cannot replace the model’s inherent capability boundary. Overly long guidance also significantly increases reasoning length, creating truncation risk and actually lowering reproducibility.

    5. Common Failure Modes and Troubleshooting

    • Format drift: structured markers gradually deform during long reasoning and parsing fails. Mitigate with regex validation and a fallback strategy on failure.
    • Context expansion: multiple rounds of cropped images cause tokens to grow rapidly, pushing early evidence out of the window. Mitigate with summary compression and evidence cards.
    • No conclusion revision: the initial judgment is kept even after new evidence arrives. Enforce an “evidence—conclusion” binding in the prompt.
    • Silent degradation: the configuration never took effect but the API still returns normally, appearing as a capability “disappearing.” You must run capability probes rather than only checking return codes.
    • Evaluation contamination: test material closely resembles the examples, inflating results. Prepare an independent held-out set.

    6. Conclusion and Practical Recommendations

    Evaluation of multimodal agents should shift from “does the model support a certain visual mechanism” to “is visual reasoning stable and reproducible under specific harness and prompt conditions.” Visual primitives and thinking with images each fit different scenarios: the former suits structured tasks with dense targets that need repeated reference; the latter suits exploratory, open-ended tasks that need multi-step evidence gathering. The more robust engineering approach is to combine both—use tool calls to supplement perception and structured references to ensure grounding and citation.

    For implementation, proceed in three steps: first build a layered evaluation set, then isolate variables in configuration and prompts, and finally incorporate the evidence chain and configuration snapshots into logging and monitoring/alerting so that every degradation in visual capability can be located and traced. If large volumes of image material and evaluation artifacts are involved, object storage can hold samples, a message queue can decouple evaluation tasks, a container platform can host inference services, and log services with monitoring alerts can continuously observe stability. This general capability combination is vendor-neutral and applies to any multimodal engineering pipeline.