Multimodal Agent Visual Reasoning: Visual Primitives vs. Thinking with Images
This article examines why many multimodal agents shift from continuous visual-space pointers to a tool-based "thinking with images" workflow, and what that means in production. It compares the two approaches in terms of where uncertainty lives, debuggability, and consistency risk, then walks through a common deployment blocker: opaque agent runtime configuration. You will find a practical troubleshooting order, a sample runtime configuration, a three-tier capability probe set for verifying which visual mode is actually active, and engineering recommendations for running visual capabilities as a controlled, observable, and reproducible service.
1. Background: Why Multimodal Agents “See but Cannot Explain”
A notable pattern has emerged in recent technical discussions: some multimodal agents no longer rely on a continuous visual-space pointer scheme based on “visual primitives.” Instead, they have moved toward the more classic “thinking with images” route, where the model repeatedly invokes image-operation tools such as cropping, zooming, annotating, and searching during reasoning, and writes the intermediate results back into the context. This shift is not a loss of capability; it is a rebalancing between engineering usability and reasoning controllability.
Understanding this choice requires clarifying two long-standing gaps:
- Perception gap: Input resolution, compression strategy, and slicing methods cause detail loss, so the model physically cannot see the target.
- Reference gap: Even when the target is visible, the model still has to describe “the Nth item in the Nth row” or “the object slightly right of the bottom-left corner” in natural language. The ambiguity and vagueness of language gradually break down dense counting and fine-grained localization tasks over long reasoning chains.
“Visual primitives” attempt to replace natural-language reference with unambiguous pointers in a continuous visual space, which is theoretically more elegant. “Thinking with images” externalizes the problem into a series of verifiable intermediate artifacts, using tool calls instead of language descriptions. Both address the same problem; they simply place uncertainty in different locations.
2. Mechanism Comparison of the Two Routes
2.1 The Visual Primitives Route
The core idea is to map the referenced object to a stable identifier in visual space, so subsequent reasoning operates directly within that space and avoids information loss from language paraphrasing. Its advantage is precise reference in theory and a short chain; its challenge is the extremely high requirement for consistency across training data, annotation schemes, and the inference runtime. Once the training-time and inference-time implementations diverge, capability performance fluctuates significantly.
2.2 The Thinking with Images Route
The core idea is to turn “cannot see clearly” into “look again”: the model proactively initiates operations such as cropping, enlarging, comparing, and counting assistance, then injects the new image or structured result into the context. Its advantage is that behavior is observable, loggable, and easy to roll out gradually or roll back; the cost is context expansion, higher latency, increased cost, and high sensitivity to tool-orchestration strategy.
2.3 Key Differences
- Location of uncertainty: In the former, it lives in the model parameters; in the latter, it lives in the orchestration logic.
- Debuggability: The latter makes it easier to pinpoint which step failed.
- Consistency risk: The former is more prone to a mismatch between paper results and production results.
3. A Common Deployment Obstacle: Opaque Agent Runtime Configuration
In engineering practice, the first problem is often not model capability but agent runtime configuration. Typical symptoms include: examples in the official documentation that do not match the actual version, configuration options that exist only as implicit defaults, new parameter entry points that surface only after an upgrade, and missing configuration guidance for developers. As a result, teams repeatedly trial-and-error over “which model is actually loaded, and which visual mode.”
The recommended troubleshooting order is:
- Pin the runtime version, and first unify dependency and command-line tool upgrades to avoid an older version silently using default configuration.
- Replace implicit defaults with explicit configuration, writing the model identifier, vision switch, and tool allowlist into a version-controlled configuration file.
- Add startup self-checks that print the effective configuration fingerprint, ensuring experiments are reproducible.
Illustrative configuration (pseudocode, structure only):
runtime:profile: visionmodel:id: "<your-model-id>"vision_mode: tool_based # or primitive_basedtools:allow: [crop, zoom, annotate, search]max_steps: 12observability:log_level: infodump_effective_config: true
4. How to Verify That the Expected Visual Capability Is Actually Enabled in Production
A mismatch between paper metrics and production behavior is the most common point of contention for this class of system. A reproducible approach is to build a “capability probe set” and split evaluation into three tiers:
- Perception tier: small-object existence, character recognition, color and orientation judgment.
- Reference tier: dense counting, relative position, cross-image consistency.
- Reasoning tier: maze path planning, multi-step constraint satisfaction, and composite tasks that require looking back at intermediate images.
Each tier fixes the input, fixes randomness, and fixes the runtime configuration, while recording intermediate images and tool-call traces. If the perception tier passes but the reference tier fails, the bottleneck is in the reference mechanism; if the perception tier fails immediately, check resolution and slicing strategy first. Illustrative evaluation skeleton:
cases = load_probe_set("vision_tiered_v1")for c in cases:out = agent.run(c.image, c.prompt, config=CFG)assert out.effective_config_hash == EXPECTED_HASHsave_trace(c.id, out.tool_calls, out.intermediate_images)score[c.tier].append(metric(c, out))
5. Engineering Recommendations: Make Visual Capability a Controlled Service
- Layered decoupling: The access layer handles authentication and rate limiting, the orchestration layer handles tool scheduling and step budgets, and the model layer only cares about single-step reasoning.
- Cost control: Set step limits and resolution limits for image operations, and degrade to “describe only, no enlargement” when limits are exceeded, avoiding context explosion.
- Observability: Report each crop and zoom as a structured event, making it easy to trace the failure chain.
- Data loop: Automatically route failed samples into the probe set to form continuous regression.
- Cloud support: General capabilities from Baidu AI Cloud can carry the engineering pieces, for example using object storage to hold intermediate images and sample sets, a container platform to host stateless orchestration services, a message queue to smooth traffic peaks, logging and monitoring with alerting to track latency and failure rate, and the general-purpose model service platform capabilities to handle gradual rollout and version management.
6. Conclusion
“Visual primitives” and “thinking with images” are not a contest of superiority; they are a tradeoff between placing uncertainty in the parameters or in the orchestration. For most teams, the lowest-risk evolution path is to first establish an observable, rollback-capable baseline with “thinking with images,” then use a tiered probe set to quantify the bottleneck, and gradually introduce more precise reference mechanisms. Real competitiveness lies not in whether a particular visual mechanism is equipped, but in whether there is a complete loop that makes visual capability engineered, reproducible, and measurable.
