How Multimodal Agents Represent Images During Reasoning
This article examines why multimodal agents often struggle with dense counting, precise localization, and path planning, arguing that the bottleneck is the symbol system used to refer to objects rather than pixel encoding alone. It compares natural-language image reasoning with unambiguous visual primitives, discusses treating the image as an external workspace managed through tool orchestration, and outlines practical guidance on harness configuration, evaluation consistency, common failure modes, and cost, safety, and compliance considerations.
1. Background: Why Multimodal Agents See but Cannot Count Reliably
Most multimodal agents released in the past two years accept image input, yet they remain unstable on tasks such as dense counting, fine-grained localization, and path planning. A shared conclusion is emerging in the field: the bottleneck is usually not whether pixels are encoded into the model, but which symbol system the model uses to refer to objects in an image during reasoning.
When a model can only describe a scene in natural language, two layers of loss are introduced:
- Perception gap: resolution compression, tiling strategies, and insufficient encoding granularity cause details to be discarded at the input stage.
- Reference gap: even when details are visible, the model refers to objects in its chain of thought with vague expressions such as “the third person from the left” or “the red region near the exit.” References drift across multiple reasoning steps, and the logic breaks down.
The phenomena mentioned in the original discussion—a method that counts accurately in paper examples but produces count deviations in an interactive web interface, and planning tasks that fail in real conversations—are essentially problems exposed by inconsistent evaluation conditions and reasoning chains, not differences in a single “recognition capability.”
2. Two Technical Paths
Path 1: Image Reasoning Through Natural-Language Description
The model transcribes an image into a text summary during reasoning and then reasons over that text. The advantages are a simple pipeline, strong interpretability, and good compatibility with the existing tool ecosystem. The drawback is noticeable error accumulation on high-precision tasks and the inability to express “that exact one target.”
Path 2: Unambiguous Reference Through Visual Primitives
This approach maps targets in an image to stable pointers in a continuous visual space—understandable as coordinates, region identifiers, or reference handles that can be passed back—and performs operations directly on those pointers during reasoning instead of repeatedly restating them in natural language. For counting, deduplication, sorting, and localization, the reference relationships then stay consistent across multiple steps.
The key point is that this is not “more advanced recognition” but “more reliable symbol binding.” Recognition determines whether an object can be found; reference determines whether it can be reused stably after being found.
An Engineering Compromise: The Image as External State
A widely adopted practice is to treat the image as an external workspace that can be read, written, cropped, and annotated: the model calls tools to crop, zoom, label, and measure the image, and writes intermediate results back into the context. This preserves high-fidelity visual information while letting the harness take responsibility for state management. The observation in the original discussion that the approach “leans more toward the classic image reasoning path” points to exactly this division of labor, with tool orchestration at the core and model capability as the inner layer.
3. Harness Configuration: From “It Runs” to “It Reproduces”
The first obstacle many teams hit during evaluation is not the model but the runtime environment. Typical problems include version mismatches, configuration formats that disagree with the documentation, differences in command-line default values, and third-party integration that deviates from the official examples. A reusable approach is as follows:
- Pin versions: upgrade and lock the runtime version to avoid undeclared behavior changes.
- Externalize configuration: put model parameters, the image resolution limit, and the tool allowlist into a version-controlled configuration file.
- Start minimal: get single-turn image recognition working with the simplest configuration first, then add multi-turn interaction and tool calls step by step.
- Log the full chain: save request parameters, tiling strategies, and tool call sequences so results can be traced back.
Illustrative configuration (pseudocode, structure only):
profile: vision-evalmodel:name: <your-model-id>image_detail: highmax_image_side: 1536tools:allow: [crop, annotate, measure, search]runtime:temperature: 0seed: 42logging:trace_tool_calls: true
Setting temperature to 0, fixing the seed, and enabling tool call tracing are the lowest-cost ways to improve reproducibility.
4. Evaluation Consistency: Why Paper Results Are Hard to Reproduce
Reproduction failures usually come from four kinds of drift:
- Input drift: different tiling counts, compression rates, and maximum long-side limits.
- Prompt drift: different system prompts and output format constraints.
- Tool drift: whether cropping and zooming are allowed, and which tools are available.
- Scoring drift: different grading criteria for counting and localization, such as tolerance radius and whether partial overlap is allowed.
A three-layer evaluation is recommended:
- Perception layer: sharpness, occlusion, and small-target recall.
- Reference layer: whether references to the same target remain stable across turns and whether deduplication is correct.
- Task layer: end-to-end completion rate, number of steps, and tool call cost.
Only when all three layers are reported together can you tell whether a given “improvement” comes from better recognition, better reference handling, or simply a prompt that fits the evaluation set more closely.
5. Deployment Advice and Common Pitfalls
- Establish a baseline first: use the plain “crop, zoom, annotate, write back” approach as a control so that the psychological appeal of complex solutions does not mislead you.
- Control the context: intermediate image artifacts expand easily, so define retention policies and a summarization mechanism.
- Label failure modes explicitly: tag count deviations, reference drift, and path interruptions separately to build an iterable problem set.
- Cost and latency: high resolution and multi-turn tool calls significantly amplify overhead, so schedule by task tier and route simple requests through a lightweight path.
- Security and compliance: images may contain sensitive information, so uploads, storage, and log retention should follow the data minimization principle, and sensitive scenarios should prefer on-premises or local processing.
