Multimodal Agents and Visual Reasoning: Comparing Explicit Visual Primitives with Thinking with Images

    This article examines two paradigms for image understanding in multimodal agents: explicit symbolic visual primitives and "thinking with images," where the model crops, zooms, counts, and compares regions on demand across multiple reasoning turns. It explains the perception gap and reference gap behind visual errors, why experimental behavior is often hard to reproduce, and how to fix variables such as entry point, image resolution, sampling parameters, and tool usage. It also covers configuration discovery for agent harnesses, probe experiments for detecting explicit visual primitives, and practical advice on pipelines, external validation, regression sets, and cost control.

    1. Where the Problem Starts: Two Routes to Visual Processing

    In the engineering practice of multimodal agents, image understanding generally falls into two paradigms.

    The first is the explicit symbolic route: the model first transcribes an image into structured “visual symbols” or “visual primitives”—for example, abstracting target objects into addressable pointers, region IDs, or coordinate tokens—and then performs logical operations on those symbols during reasoning. Its advantage is a stable, interpretable intermediate representation; the cost is that symbolization itself may lose information, and once the conversion goes wrong, all downstream reasoning rests on a false premise.

    The second is the route that calls vision during thinking (often called “Thinking with images”): the model does not fix an image description in advance, but instead performs operations such as cropping, zooming, counting, and comparison on the image as needed across multiple reasoning turns, feeding each visual result back as new context. Its advantage is that it closely resembles the human way of “looking while thinking” and is more robust on open-ended tasks; the cost is more calls, longer context, a longer chain, and greater sensitivity to the implementation details of the harness.

    Recent experimental multimodal versions have clearly leaned toward the second route in agent scenarios. This shift is not a capability regression but an engineering trade-off: task distributions in agent scenarios are highly open-ended, defining a complete symbolic system in advance is extremely costly, and “looking at the image on demand” generalizes more easily.

    2. Why Models “Can’t See Clearly”: The Perception Gap and the Reference Gap

    Understanding the route choice requires breaking down two kinds of obstacles.

    Perception Gap: factors such as image resolution, target scale, occlusion, and lighting prevent the model from obtaining enough detail in a single forward pass. Typical symptoms are counting errors on dense small targets and misrecognition of distant text.

    Reference Gap: even when the perception problem is mitigated, the model still refers to objects in natural language within its chain of thought—“the one on the left,” “the row near the top.” Natural language is inherently ambiguous in dense scenes: when there are more than twenty similar targets, “that one” cannot uniquely identify an object, the logical chain starts to drift at the third step, and the final result is a counting error or mislocalization.

    The idea of explicit visual primitives is precisely to replace natural-language reference with unambiguous pointers in continuous visual space; the “thinking with images” idea instead rebuilds reference relations by repeatedly re-sampling the image. Both attack the same root cause, differing only in when they intervene.

    3. The First Pitfall When Reproducing Experiments: Documentation Does Not Match Actual Behavior

    When evaluating this kind of experimental capability, the most common frustration is not model capability but non-reproducible behavior. Typical phenomena include:

    • Examples in papers or technical reports (such as counting team members or planning a maze path) produce inconsistent results on the web interface or across different entry points;
    • The same prompt flips its conclusion under different context lengths and sampling parameters;
    • Experimental and official versions give different counts for the same image.

    Therefore, the first step in evaluation is not scoring but fixing variables. At minimum, fix and record the following:

    1. - Entry point and version identifier (experimental channel / official channel)
    2. - Original image resolution and whether it was recompressed
    3. - Sampling parameters: temperature, top_p, maximum output length
    4. - Whether tool calls (crop / zoom / retrieval) are enabled
    5. - Full prompt text and turn structure

    Only by writing these variables into the experiment record are results across batches comparable. In practice, recompression before an image enters the model is one of the main sources of divergence, so always use the original file rather than a screenshot thumbnail.

    4. Runtime Environment and Configuration: The Discoverability Problem of CLI Tools

    Another frequent pain point is that the configuration of agent harnesses is not intuitive. A common pattern in the industry is that official documentation is published as a blog post or push article that only says “set the model name to a certain experimental identifier,” without explaining the configuration file location, format, or precedence; users who follow the natural-language description often edit the wrong file or assume the value must be passed through interactive parameters.

    In reality, most such tools use a two-layer structure of “configuration file plus command-line override,” with a typical precedence of: command-line arguments > environment variables > configuration file > built-in defaults. A general troubleshooting order is as follows:

    1. Confirm the tool version; experimental capabilities are often available only in newer versions, so perform a global upgrade first;
    2. Use the help command to view supported subcommands and configuration item names; do not fill in values by guessing;
    3. Locate the configuration directory (most tools place it in a hidden directory under the user’s home directory, or in a configuration file at the project root);
    4. Start with a minimal configuration, then add parameters one by one to identify which one changes the behavior.

    An illustrative configuration snippet (field names are generic expressions, not the interface of any specific product):

    1. {
    2. "model": "<experimental model identifier>",
    3. "profile": "web",
    4. "tools": { "image_crop": true, "image_zoom": true },
    5. "sampling": { "temperature": 0.2, "max_output_tokens": 4096 }
    6. }

    A notable signal is that when an official channel needs to add “setup instructions for third-party users,” it usually means the tool’s primary design target is internal integration rather than direct end-user operation. The engineering response is to bring configuration under version control and wrap the launch command in a script, avoiding the drift that comes from word-of-mouth.

    5. How to Tell Whether Explicit Visual Primitives Are Present

    Rather than relying on marketing claims, you can infer this indirectly with three types of probe experiments:

    • Reference stability probe: provide an image with dense similar targets, ask the model to output IDs first and then answer, and observe whether the IDs stay consistent across turns. If the IDs are reordered every turn, a stable pointer is missing.
    • Observability of intermediate steps: ask the model to explicitly write out each visual operation and its basis. If the model gives only a conclusion and cannot explain “which region it looked at,” it is more likely doing implicit sampling.
    • Perturbation consistency: apply a semantically neutral translation or slight scaling to the image and observe whether the conclusion stays stable. Explicit symbolic schemes are usually more stable, while implicit schemes fluctuate more.

    6. Implementation Recommendations

    • Treat multimodal capability as an orchestrable pipeline rather than a single call: preprocessing (decompression, slicing) → visual operations → reasoning → validation.
    • Introduce external validation for counting and localization tasks, for example cross-checking with traditional object detection or connected-component statistics, instead of fully trusting the language model’s self-report.
    • Build a regression set: turn failure cases into fixed test cases and rerun them after every upgrade to avoid silent regressions from version updates.
    • Factor cost and latency into the design: multi-turn visual calls significantly increase latency and context overhead, which can be controlled by caching intermediate images and limiting the maximum number of call turns.
    • If you rely on general cloud capabilities, you can use object storage to keep original and intermediate images, a message queue for asynchronous decoupling, and logging and monitoring with alerting to trace the call chain, building an observable, reproducible evaluation loop in a general cloud environment such as Baidu AI Cloud.

    7. Conclusion

    Explicit visual primitives and “thinking with images” are not a matter of better versus worse, but a trade-off between controllability and generalizability. The former suits perception tasks with clear, enumerable targets; the latter is better suited to open-domain agents. For developers, what usually determines success is not which route the model takes, but whether evaluation variables are fixed, whether configuration is reproducible, and whether results have external validation. Get these three things solid, and only then does a conclusion about route superiority hold up.