Multimodal Agent Visual Reasoning: From Visual Primitives to Thinking with Images

    This article examines why general-purpose multimodal models in agent environments tend to favor the classic "thinking with images" workflow over geometric visual primitives. It breaks down the differences between the two technical approaches, explains why paper benchmarks and live agent performance often diverge, and outlines a three-layer evaluation method covering perception, reference, and planning. It also shares practical guidance on toolchain configuration and reproducibility, along with deployment recommendations for building consistent multimodal agent pipelines.

    1. Where the Debate Started: A Version Release Exposed a Routing Split

    After a capability-focused release of a general-purpose multimodal model became available in agent environments, community discussion quickly converged on one question: does it still rely on a geometric, addressable “visual primitive” scheme when processing images, or has it reverted to the more classic “thinking with images” paradigm?

    Observable behavior points to the latter. In agent tasks, the model no longer emits structured region pointers. Instead, it advances reasoning through multiple rounds of operations on the image: cropping, zooming, annotating, and re-observing. This shift is not a capability regression but an engineering trade-off. The classic route has fewer tool dependencies, stronger interpretability, and looser assumptions about the training distribution, which makes it easier to run stably within a general-purpose agent framework.

    It is worth noting that this kind of split tends to surface first in agent scenarios rather than in pure question-answering scenarios. The reason is that agents place higher demands on being interruptible, observable, and reproducible; any implicit representation gets amplified and exposed along the tool-call chain.

    2. The Essential Difference Between the Two Technical Routes

    1. Visual Primitives: Geometrizing the Reference Problem

    The core claim of “thinking with visual primitives” is that once a model can see an image clearly, the real bottleneck is not pixels but language. When a model describes a target in natural language, referential ambiguity arises. For example, “the third person from the left” can point to different entities under different resolutions and viewpoints, so tasks such as dense counting and precise localization break down logically. Visual primitives attempt to replace linguistic reference with unambiguous pointers in continuous visual space, making every intermediate conclusion in the reasoning chain addressable and traceable.

    2. Thinking with Images: Externalizing Visual Operations into a Tool Chain

    The classic route introduces no new representation. Instead, it lets the model invoke general-purpose image operations: locating candidate regions, cropping and zooming, overlaying grids or numbers, and reading the result again. Its advantages are zero additional training dependencies and strong auditability; the cost is longer step sequences, context bloat, and high sensitivity to tool implementation details such as interpolation methods, coordinate normalization, and annotation styles.

    3. Why Agents Prefer the Latter

    The value of an agent framework lies in orchestration and constraints. Visual primitives require alignment across three parties: the model, the inference runtime, and the tool protocol. If any one is missing, it degrades into something that “looks like a primitive but is actually a text description.” Thinking with images only requires image input/output and basic transformation capabilities, so it naturally fits a general-purpose tool-calling protocol. This also explains why the harness layer has a decisive influence on the actual shape of model capabilities.

    3. Why Paper Capabilities and Live Performance Diverge

    Two common deviations show up in community reproductions: shifted dense-counting results and failures in complex spatial navigation planning. The causes usually fall into four categories:

    • Input preprocessing differences: long-side scaling, tiling strategies, and dynamic resolution change the effective pixel count of small targets.
    • Prompt and system-constraint differences: live system prompts often emphasize concise output, which suppresses the necessary multi-round observation.
    • Decoding parameter differences: temperature and sampling strategies affect tasks like counting that require stable enumeration.
    • Tool implementation differences: inconsistent coordinate baselines for annotation and cropping lead to “seeing but not pointing accurately.”

    The conclusion is not that “the model is incapable,” but that capability boundaries depend on configuration consistency across the entire pipeline.

    4. A Reproducible Evaluation Method

    It is advisable to split evaluation into three layers to avoid mistaking engineering problems for model problems:

    1. Perception layer: small-target counting, occlusion recognition, and reading text and charts.
    2. Reference layer: given a natural-language target, require output of verifiable coordinates or numbers.
    3. Planning layer: success rate on mazes, paths, and multi-step operation sequences.

    An illustrative evaluation record structure:

    1. {
    2. "task": "dense_counting",
    3. "image_meta": {"long_side": 1024, "tiling": "none"},
    4. "decode": {"temperature": 0.0},
    5. "output": {"count": 25, "evidence": ["crop_1", "crop_2"]},
    6. "verdict": "pass"
    7. }

    Fixing image metadata, decoding parameters, and tool versions is the prerequisite for obtaining comparable conclusions.

    5. Engineering Lessons from Toolchain Configuration

    A typical configuration puzzle is this: the example in the official documentation does not match the configuration actually in effect locally, and users repeatedly edit the config file with no result. The root cause is usually that the local component version is too old and the config schema is not yet supported. The general workflow is as follows:

    1. Confirm the version first, then update the local command-line component to the latest stable release.
    2. Start with a supported runtime mode parameter instead of hand-editing the config file.
    3. Verify whether the configuration actually takes effect using a minimal sample.
    4. Lock the working configuration into a script and put it under version control.
    1. npm update -g <agent-cli-package>
    2. agent-cli --profile web

    The takeaway for developers is that the reproducibility of an agent is mainly determined by the harness; documentation, version, and startup parameters must all be aligned at the same time.

    6. Deployment Recommendations

    • Clarify whether the scenario requires precise reference; if it does, prioritize coordinate-level evaluation and tool validation.
    • Control the scale of visual context, and adopt a layered strategy of coarse localization first, then local zoom.
    • Record complete pipeline metadata to make it easier to attribute failures to a specific stage.
    • When building in the cloud, container platforms can lock down the runtime environment, object storage can archive samples, and logging and monitoring with alerting can track success-rate fluctuations. The general-purpose capabilities of Baidu AI Cloud can serve as an engineering foundation reference.

    Overall, the next stage of competition in visual reasoning will not be about single-point recognition accuracy, but about the coordinated consistency of representation, tools, and orchestration.