Multimodal Visual Reasoning Evaluation: Technical Approaches and Engineering Methods
This article examines how to evaluate multimodal visual reasoning by separating visual perception, reasoning representation, and execution orchestration. It discusses visual primitives for object reference, image-assisted reasoning, and the role of the agent runtime environment; explains how to verify configuration and fix test conditions; and proposes object-level checks for dense counting, stage-specific validation for maze navigation, controlled experiments, and production practices for verifiable results and diagnosable failures. The goal is a reproducible evidence chain rather than inferences from a single output or a technical label.
1. To Evaluate Multimodal Capabilities, First Ask the Question Precisely
When developers encounter a model with newly added visual capabilities, their first questions are often: Can it recognize images? Can it perform complex reasoning? Can it be connected directly to business systems? These questions are not precise enough.
Even for the same task, such as “count the people in an image,” different systems may use completely different pipelines. Some generate an answer directly from the whole image, some first zoom into local regions, some call detection tools, and some save object coordinates and deduplicate them in intermediate steps. The same final answer does not mean the underlying capabilities are the same. Likewise, different final answers cannot immediately be attributed to the model itself.
A professional evaluation should therefore be split into three layers:
- Visual perception layer: Whether the system has found the key objects, boundaries, and spatial relationships.
- Reasoning representation layer: Whether the system can stably reference these objects and maintain consistent intermediate states.
- Execution orchestration layer: Whether the runtime environment correctly performs cropping, tool calls, state persistence, and result return.
These three layers affect one another but should not be conflated. In agent scenarios in particular, what users see is the result produced jointly by the model and the runtime environment, not the output of an isolated model.
2. From “Can’t See Clearly” to “Can’t Refer Clearly”: Two Different Types of Error
2.1 Perception Problems: Image Information Is Not Correctly Extracted
Perception problems occur when visual input is converted into usable information. Examples include:
- A distant person is too small and is treated as background.
- Occlusion causes two objects to be recognized as one.
- Image compression makes thin lines and text illegible.
- Resizing causes narrow passages in a maze to lose visibility.
These problems usually need to be addressed through input quality and the visual processing pipeline. Increasing effective resolution appropriately, cropping local regions, preserving the original image, and checking the resizing method may all improve results.
However, “seeing more clearly” does not necessarily mean “reasoning more reliably.” When there are many objects, similar appearances, or complex spatial relationships, the system may still confuse them in later reasoning even after it has seen them.
2.2 Reference Problems: Seen but Not Stably Referenced
Natural language is good at expressing semantics, but it is not necessarily suitable for precisely managing a large number of visual objects.
For example, “the person in dark clothing on the left” may correspond to multiple targets in a group photo. “The exit next to it” may also become ambiguous as the observed region changes. If subsequent reasoning continues to rely on these vague descriptions, the system is prone to duplicate counting, missed objects, or mismatched relationships.
This type of problem can be understood as referential instability between visual objects and reasoning expressions. The difference from a perception problem is that image information may not be missing; what is missing is a reliable way to reference objects.
Engineering teams must distinguish the two. Otherwise, a team may keep increasing image resolution without solving duplicate counting, or keep modifying prompts while overlooking that input resizing has already destroyed critical details.
3. Visual Primitives: Making Object References More Explicit
In the context of visual reasoning, visual primitives usually refer to basic elements used to represent positions, regions, or geometric relationships, such as points, boxes, contours, masks, or paths. Different studies and systems may define this concept differently, and it should not be treated as a unified interface standard.
Their core value is to reduce the reasoning process’s complete dependence on vague natural language descriptions.
For dense counting tasks, a system can assign a stable ID to each candidate object and associate it with a location. Subsequent steps can then perform deduplication, verification, and counting around these IDs instead of repeatedly describing “the person on the left” or “the person in the upper right corner.”
One illustrative intermediate representation is shown below:
Object ID: target_012Object class: personLocalization: rectangular regionCoordinate convention: origin at top-left of image, normalized coordinatesRegion: [left, top, right, bottom]Verification status: pending review
This is only a generic data structure illustration and does not represent any product interface. A real implementation still needs to define coordinate order, boundary semantics, image dimensions, and coordinate mapping after cropping.
3.1 What Visual Primitives Can Mitigate
Explicit locations and IDs help to:
- Bind reasoning conclusions to specific image regions.
- Identify duplicate object records.
- Perform targeted re-checks of local errors.
- Pass object state between multiple processing steps.
- Provide locatable evidence for human review.
3.2 What Visual Primitives Cannot Guarantee
A structured representation does not equal correct recognition. A box with a clear location may still frame the wrong object, and a target with a stable ID may not exist at all.
Visual primitives are therefore better understood as a mechanism for improving reference and state management, not as a guarantee that visual errors are eliminated. The system still needs detection quality control, coordinate validation, overlap handling, and task-level verification.
In addition, the fact that a model outputs coordinates does not directly prove that its internal reasoning used visual primitives. Coordinates may come from external tools, or they may simply be a result expression generated in the final stage. Externally observable behavior and internal implementation mechanisms must be discussed separately.
4. Image-Assisted Reasoning: Let the Reasoning Process Re-examine the Image
Another common approach is to keep using the image during reasoning instead of fully switching to text-only reasoning after a single observation.
A typical process can be summarized as:
Read original image→ Pose a question to verify→ Select relevant region→ Crop or zoom→ Re-inspect→ Update judgment→ Check result
This approach is suitable for tasks where local details determine the final answer. For example, the system may first notice that a person may be occluded in a corner and then zoom into that region to confirm; or when encountering an uncertain passage in a maze, it may re-examine the local boundary.
This is not mutually exclusive with visual primitives. A system can use local images, object IDs, and geometric coordinates at the same time: images provide evidence, structured representations maintain references, and the reasoning module combines constraints.
What really needs evaluation is whether these mechanisms work together effectively and under what conditions they fail, rather than labeling a system with a particular technical approach based on a single output.
5. Why the Agent Runtime Environment Changes Final Performance
The agent runtime environment connects the model, tools, input/output, and task state. It typically handles the following:
- Loading the model and related configuration.
- Passing images and context.
- Managing tool calls and returned results.
- Saving intermediate artifacts such as cropped images and object lists.
- Executing retries, timeout control, and termination decisions.
- Recording logs for error diagnosis.
If the runtime environment does not correctly preserve the original image, local zooming may lose necessary information. If a tool returns coordinates based on a cropped image but subsequent steps use them as original-image coordinates, localization will be shifted globally. If the context is truncated, objects that have already been verified may be counted again.
Therefore, an important principle is:
Task results reflect the combined capability of the model, tools, and runtime environment, and cannot automatically be treated as the capability of the model alone.
When results differ across entry points, first check input processing, model version, prompt template, tool permissions, and runtime limits. The difference itself is worth investigating, but it is not sufficient to prove that a capability was adopted, removed, or replaced.
6. Before Testing, Prove That the Configuration Is Actually in Effect
Configuration errors can directly contaminate evaluation conclusions. Especially in command-line and agent environments, “the configuration file has been modified” does not mean “the running instance has used that configuration.”
It is recommended to verify in the following order.
6.1 Clarify Configuration Sources and Priority
Configuration may come from startup arguments, environment variables, local files, user-level settings, or defaults. Precedence depends on the specific implementation and cannot be assumed from experience.
Test records should note the configuration source and avoid setting the same option in multiple places where possible. Otherwise, an old setting may override a new configuration while the system still appears to run normally.
6.2 Check Component Compatibility
When the runtime environment cannot recognize new configuration or visual input, check installed versions, configuration formats, and dependency compatibility. Upgrading can be one troubleshooting step, but it should not be treated as a guaranteed solution without verification.
A more reliable approach is to inspect available version information, startup diagnostics, and the final resolved configuration. Only after confirming that the configuration has been read should formal testing begin.
6.3 Verify the Actual Execution State
If the system provides runtime metadata, record the actual model identifier, available tools, and input processing method. If this information is unavailable, explicitly state in the report that verification conditions are not available, rather than treating the expected configuration as fact.
6.4 Fix Test Conditions
At minimum, record the following:
- Input image and its dimensions.
- Whether compression, resizing, or cropping occurred.
- The complete task instruction.
- Available tools and call limits.
- Session context.
- Generation settings when configurable.
- Actual runtime and error logs.
This information determines whether an experiment can be reproduced and whether different results are comparable.
7. Dense Counting: Verify Objects, Not Just the Answer
Group photos, shelf products, and parts inventory are all suitable for testing whether visual references are stable. But comparing only the final count misses many problems.
For example, a system may miss two objects and double-count two others, while the final count remains correct. Counting evaluation should therefore include object-level verification.
7.1 Establish Clear Annotation Rules
Before testing, clarify whether partially visible objects are counted, whether people in images within the background are counted, and whether mirror reflections are treated as independent objects. When rules are unclear, differences in answers may simply reflect different conventions.
Reference annotations should include object locations where possible, not just a total number.
7.2 Count Quantity and Localization Errors Separately
Quantity error can be defined as the absolute difference between the predicted count and the reference count. At the same time, missed detections, duplicate records, and false recognition of nonexistent objects should also be counted.
If box or mask matching is used, the matching rules and thresholds must be declared in advance and kept consistent. Rules should not be adjusted temporarily for different systems, as this weakens the fairness of comparison.
7.3 Check Stability Under Perturbation
The same image can be slightly resized, cropped, or compressed to observe whether results change significantly. However, it must be ensured that these transformations do not change the actual set of objects that should be counted.
If the answer fluctuates noticeably, further check whether the cause is perception degradation, confused object references, or inconsistent preprocessing.
8. Maze Navigation: Validate “Understanding the Image” and “Walking the Path” Separately
Maze tasks involve image parsing, topology construction, and path search at the same time. A system generating a seemingly reasonable route does not mean the route is valid.
A verifiable processing flow is:
- Confirm the entrance, exit, and traversable areas.
- Convert passages into a grid or graph structure.
- Use a path search method suitable for that structure.
- Map the path back to the original image.
- Check whether the path crosses walls, breaks, or reaches the wrong endpoint.
For unweighted graphs, breadth-first search can be used to find the shortest path. For path problems with costs, the corresponding shortest-path algorithm can be used. Algorithm selection should be based on the problem structure, not on the model-generated narrative.
Evaluation should also distinguish failure stages: wall recognition errors are image parsing problems; node connection errors are topology construction problems; if the topology is correct but the route is wrong, the search or result expression stage should be checked.
This breakdown is more valuable for engineering than broadly saying “the model cannot navigate mazes.”
9. Use Controlled Experiments to Determine Where Capability Comes From
To understand the contribution of the runtime environment, set up experimental conditions that gradually add capabilities:
- Provide only the original image and task instruction.
- Add local cropping and re-inspection.
- Add object IDs and location records.
- Add external detection or path-solving tools.
- Add independent result verification.
Conditions should keep input, task definitions, and model settings as consistent as possible, and runs should be repeated. In addition to success rate, record tool call counts, latency, resource consumption, and failure types.
If performance improves after adding local cropping, this supports the judgment that re-inspection helps. If duplicate counting decreases after adding object records, this supports the judgment that structured references help. However, these results still cannot alone prove that the model internally adopts a specific mechanism.
Conclusions must match the strength of the evidence. Behavioral analysis can describe system performance, while judgments about internal implementation require more direct technical information or verifiable evidence.
10. Production Deployment: Make Results Verifiable and Failures Diagnosable
In business systems, reliability is usually more important than an accurate answer in a single demo.
For counting tasks, preserve the object list, locations, and review status. For localization tasks, output the coordinate convention and the corresponding image. For path tasks, save the node sequence and validity check results. Key outputs should not consist only of a natural-language explanation that cannot be verified.
At the same time, design handling branches for uncertainty. When images are blurry, objects are severely occluded, or verification fails, the system can request clearer input, perform a local re-check, or escalate to human review instead of forcing a precise conclusion.
Retries should also target specific errors. Re-running the same prompt may not improve stability. Re-inspecting missed regions, remapping shifted coordinates, or re-parsing paths that cross walls is more likely to produce effective corrections.
For images involving people, identification documents, or business sites, also implement data minimization, access control, retention limits, and audit requirements to avoid expanding the exposure of sensitive information through debugging screenshots and runtime logs.
Conclusion
The key to evaluating multimodal visual reasoning is not to infer a technical approach from a name or a single output, but to build a reproducible, diagnosable, and verifiable evidence chain.
Visual primitives mainly improve object reference and state management. Image-assisted reasoning mainly increases opportunities to reacquire visual evidence. The agent runtime environment is responsible for organizing these capabilities into a complete workflow. The three can work together and can also impair one another.
For developers, the most valuable conclusion is not “it looks smarter,” but a clear answer to these questions: Is the input processed correctly? Are objects stably referenced? Are tools actually executed? Does the result pass verification? And under what conditions should the system stop making automatic decisions?
