Evaluating Multimodal Visual Reasoning: Methods and Agent Engineering Practices
How should you evaluate a multimodal model's visual reasoning capabilities? This article breaks visual evaluation into three distinct layers—perception, reasoning, and agent execution—covers common failure modes such as unstable object referencing, explains visual primitives and image-assisted reasoning, and provides a practical framework for building reproducible evaluation pipelines for dense counting, spatial localization, and maze planning tasks.
One: Separate Three Different Questions Before Evaluating a Vision Model
When a new multimodal model is released, developers typically ask: Can it count objects in an image accurately? Can it localize targets precisely? Can it plan complex tasks based on an image?
These questions all seem to fall under “image understanding,” but they actually involve three related yet distinct layers:
The first layer is visual perception. Did the system receive a sufficiently clear image? Can it distinguish adjacent objects, recognize fine details, and understand local structure?
The second layer is visual reasoning. Can the model consistently refer to the same object? Can it maintain spatial relationships between objects? Can it avoid double-counting or omissions across multi-step analysis?
The third layer is agent execution. Does the runtime environment allow the model to crop images, read local regions, invoke auxiliary tools, and correctly feed tool results back into subsequent reasoning?
Therefore, a counting failure does not directly prove the model lacks a particular visual mechanism; a task that succeeds with cropping does not prove the model internally uses a specific visual representation. A more reasonable evaluation target is the complete system formed by “the model, input processing, reasoning strategy, and runtime environment” together.
Two: From Insufficient Perception to Unstable Referencing—Two Bottlenecks in Visual Reasoning
1. Perception Problems: Does the Information Actually Reach the Model?
Low resolution, excessive compression, occlusion, tiny targets, and image scaling can all prevent the model from obtaining reliable visual evidence.
For example, in a group photo with many people, if the image is downscaled before entering the model, the heads of people in the background may occupy only a few pixels. Even if the subsequent reasoning logic is entirely correct, the count may still be wrong, because the input already lacks enough distinguishing information.
When debugging perception issues, first verify:
- Whether the original image dimensions match what was actually submitted;
- Whether compression, scaling, or format conversion occurred;
- Whether automatic cropping, tiling, or size limits were applied;
- Whether small targets remain discernible after processing;
- Whether different API entry points use the same image preprocessing.
These checks are the foundation of visual evaluation. Comparing final answers without verifying inputs easily misattributes preprocessing differences to model capability differences.
2. Referencing Problems: After Seeing an Object, Can the Model Refer to It Consistently?
Another class of errors occurs after the model has already seen the target.
Natural language descriptions work well for explaining images but are not always suitable for precisely managing many similar objects. Descriptions like “the person in dark clothes on the left” or “the person in the middle of the back row” can become ambiguous when objects are dense, look alike, or when the analysis involves many steps.
When the model says “the person in the middle” the first time and uses the same phrase the second time, it may not refer to the same object. This easily leads to double-counting, omissions, confused relationships, and position drift.
Dense visual tasks therefore require solving not just “seeing clearly,” but also “pointing to the correct object at every step of reasoning.”
Three: Visual Primitives and Image-Assisted Reasoning—Technical Approaches at Different Levels
1. Visual Primitives: Locatable Visual References
In general technical discussion, visual primitives can be understood as basic representations for expressing visual objects or spatial locations—points, bounding boxes, region masks, and other structures carrying localization information.
Their value lies in converting vague language descriptions into verifiable visual references.
For example, during counting, instead of only recording “found another person,” also record the object’s identifier and location:
Object ID: target-ALocation: bounding box or regionCategory: personCount status: countedUncertainty: lower body occluded
This structure helps build an object ledger, allowing later steps to check for duplicates, omissions, and uncertain items.
However, coordinates and IDs do not automatically eliminate errors. If the initial localization is inaccurate, two objects are merged, or the same object receives multiple IDs, the final count can still fail. Visual primitives improve the conditions for expression and verification—they do not directly guarantee correct answers.
Additionally, the fact that a model outputs coordinates does not prove it internally uses a specific mechanism. Coordinates may be generated directly by the model, or may come from tool results or post-processing. Judging mechanisms requires clearer technical documentation and experimental evidence.
2. Image-Assisted Reasoning: Continuing to Gather Visual Evidence During the Process
The core of image-assisted reasoning is letting the system continuously use image operations during analysis, rather than reading the image once at the start and then relying entirely on text-based deduction.
Common operations include:
- Cropping or zooming into uncertain regions;
- Dividing a large image into multiple local regions;
- Checking overlaps between adjacent regions;
- Re-reading relevant locations based on intermediate results;
- Using annotated images for subsequent verification.
This can form a loop:
Observe the full image→ Identify uncertain regions→ Acquire local images→ Update object or spatial relationship records→ Check for conflicts→ Output conclusion
These two approaches are not mutually exclusive. A system can crop images for clearer evidence and then use structured location representations to maintain object identity. Observing image tool calls only shows that tools participated in the task; it cannot support claims that visual primitives are absent or abandoned.
Four: Why Different Entry Points Produce Different Results
It is not uncommon for the same visual task to perform differently in a chat interface versus an agent environment. The causes can appear at multiple points along the entire processing chain.
1. Different Input Processing
Different entry points may use different scaling strategies, compression methods, or image tiling approaches. Users see the same picture, but the model may not receive the same visual input.
2. Different Prompts and Task Constraints
Some entry points require direct answers; others allow multi-round checking. Whether the model is asked to list objects, mark uncertain regions, or validate routes also affects results.
3. Different Tool Permissions
Which tools the agent can call, what format tool results return, and whether local image inspection is allowed can all change task success rates.
4. Different Runtime Configurations
Outdated client versions, configurations that never took effect, sessions that were not rebuilt, or runtime defaults can all cause a situation where “you thought you tested the new configuration, but you didn’t.”
Therefore, developers should not only check target values in configuration files but also confirm the actual runtime state. It is recommended to log:
- Client and runtime environment versions;
- Whether requests succeeded;
- The runtime configuration actually in effect;
- Whether defaults or fallbacks were used;
- Image processing steps;
- Tool call records and execution status.
If the environment does not provide sufficient runtime information, state this limitation explicitly in the report rather than treating unverifiable configurations as established facts.
Five: Building a Reproducible Visual Evaluation Pipeline
1. Fix Inputs and Task Definitions
First, save the original images, record dimensions, and fix the prompt content.
Dense counting needs explicit rules: Are occluded objects counted? Are reflections in the image counted? Are people in posters or on screens counted? Spatial localization needs an explicit coordinate convention for outputs. Maze planning needs explicit allowed movement directions, start and end points, and passage rules.
Without these definitions, two different answers may stem from different task interpretations rather than capability differences.
2. Set Different Experimental Conditions
Three conditions can be designed:
- Direct image reading: no external image operations;
- Image-assisted: cropping, zooming, and local re-inspection allowed;
- Structured verification: require outputs of object locations, deduplication records, or route validation results.
If the system allows, add combined conditions to compare how image assistance and structured representations perform together.
For variables you cannot control, label them explicitly. In closed-source systems, users typically cannot disable the model’s internal representation mechanisms. Such experiments are therefore better suited for comparing “visible workflows” and should not be treated as ablation studies of internal mechanisms.
3. Use Diverse Samples, Not a Single Image
Test sets should cover:
- Sparse and dense objects;
- Similar-looking and clearly distinct objects;
- Varying degrees of occlusion;
- Large and small targets;
- Simple and complex spatial structures.
Run each test multiple times and record result stability. A single success only proves that one task was completed; a single failure cannot adequately characterize overall capability.
Six: How to Evaluate Three Typical Task Types
1. Dense Counting: Look at Both Totals and Error Sources
Comparing only the final count is insufficient. A prediction matching ground truth may still contain one omission and one double-count that cancel out.
A more reliable approach is to build object-level annotations and check:
- Which true objects were missed;
- Which objects were recorded more than once;
- Which non-targets were miscounted;
- Which regions carry uncertainty;
- Whether per-region statistics are consistent with whole-image statistics.
For image tiling, overlapping regions are especially prone to duplicates. In practice, define explicit region ownership rules and verify boundary-crossing objects separately. For heavily occluded images, reporting confident counts plus uncertain objects is more valuable than giving a precise number with no basis.
2. Spatial Localization: Check Coordinate Conventions and Target Consistency
When outputting locations, specify whether pixel or normalized coordinates are used, along with the coordinate origin, axis directions, and bounding box format.
If the model viewed a cropped image, local coordinates must be converted back to original-image coordinates before comparison. Ignoring this can misjudge correct local localization as an error.
For bounding boxes, use Intersection over Union (IoU) to measure overlap with annotated regions; for point localization, check whether the target is hit and measure position deviation. But automatic metrics still need to be combined with image inspection, especially when target boundaries are ambiguous or annotations disagree.
3. Maze Planning: Separate Image Reading from Pathfinding
A maze task involves at least two stages: recovering the traversable structure from the image, and finding a path over that structure.
If walls and passages are misrecognized, even a sound search algorithm cannot produce a valid route. The recommended approach is to first convert the maze into a grid or graph structure, then validate paths with deterministic search methods.
Final checks should include:
- Whether start and end points are correct;
- Whether each move follows the rules;
- Whether any obstacles are crossed;
- Whether adjacent path points are contiguous;
- Whether the route actually reaches the destination.
A route that “looks reasonable” is not necessarily valid. For tasks that can be verified programmatically, use verifiers rather than relying solely on the model’s self-confirmation.
Seven: Why the Agent Runtime Environment Affects Visual Capability
The agent runtime environment connects the model, tools, image inputs, and execution feedback. It is not a simple wrapper but a critical component determining whether capabilities can be effectively exercised.
A reliable vision toolchain should at minimum:
- Let the model know which tools are available and what they do;
- Validate inputs such as crop regions and image dimensions;
- Preserve the mapping between original images and local crops;
- Distinguish tool execution failures from model judgment errors;
- Provide clear feedback on timeouts and failures;
- Log enough process information to enable reproduction.
For example, if a crop operation succeeds but the returned image is downscaled again before the next turn, the value of local zooming may be lost. Likewise, if the model outputs an inspection plan but never actually triggers tool calls, the so-called “multi-step visual reasoning” may exist only at the text level.
Debugging therefore requires checking the plan, the calls, the execution results, and how results are used downstream—reading only the final explanation is not enough.
Eight: How to Write Evaluation Conclusions for Practical Applications
Technical evaluation should separate observation, interpretation, and conclusion.
“Crop operations appear in the execution log” is an observation. “Local inspection may improve detail recognition” is an interpretation. “A certain internal visual mechanism has been replaced” is a stronger conclusion requiring additional evidence.
A useful evaluation report may include:
- Task definition and sample scope;
- Input and runtime conditions;
- Visible tool call traces;
- Accuracy and stability across repeated runs;
- Main failure types;
- Time and resource consumption;
- Technical details that could not be confirmed.
For enterprise applications, traceability, failure recovery, and human review also matter. Critical business operations should not execute directly based on a model’s counts, locations, or routes alone; add rule-based validation or human confirmation according to risk level.
The key to evaluating multimodal visual capability is not inferring some internal mechanism from a handful of cases, but building a verifiable chain of evidence: Was the input clear? Were objects referenced consistently? Were tools executed correctly? Did results pass validation? Only by measuring these links separately and then analyzing them together can you judge which tasks the system is suited for, where failures occur, and which layer of engineering improvement deserves priority investment.
