Visual Primitives and Engineering Evaluation Methods in Multimodal Visual Reasoning
Evaluating multimodal visual reasoning requires going beyond basic image recognition to assess a model's ability to organize observations, maintain object references, and validate intermediate reasoning against image constraints. This article explores the evaluation of visual reasoning systems across three layers: perception, representation and reasoning, and execution. It discusses the gaps in perception and reference, introduces visual primitives for establishing stable spatial references, and compares them with image tool-assisted reasoning. Furthermore, it outlines methods to verify whether a system actually uses visual primitives, establishes a reproducible task evaluation framework for counting, localization, and pathfinding, and emphasizes the importance of execution configurations and ablation studies in distinguishing model capabilities from system engineering.
1. Evaluating Visual Reasoning: Beyond Just “Recognizing Images”
In multimodal applications, recognizing image content is merely the starting point of the capability chain. The fact that a model can describe “a group of people in the picture” does not mean it can accurately count every individual; knowing “this is a maze” does not guarantee it can generate a valid path from entrance to exit.
The difficulty of these tasks lies not only in image resolution but also in how the model organizes its observations, how it consistently references the same object, and how it checks whether intermediate reasoning aligns with the actual constraints within the image.
Therefore, when evaluating a visual reasoning system, the problem should be broken down into three layers:
- Perception Layer: Whether the model sees the targets, boundaries, and local details.
- Representation and Reasoning Layer: Whether the model can stably reference targets and maintain spatial relationships and task constraints.
- Execution Layer: Whether the system provides auxiliary capabilities such as cropping, zooming, annotation, and code execution, and correctly manages the inputs and outputs of these tools.
These three layers influence each other but should not be conflated. A correct answer might come from direct model reasoning or rely on external tools; a failure might be caused by image preprocessing, task prompting, or execution configuration, rather than necessarily indicating a lack of a certain visual capability.
2. From the Perception Gap to the Reference Gap
1. Perception Gap: Information Exists in the Input Image, but the Model Fails to Reliably Extract It
The perception gap can be understood as the discrepancy between the visual input and the information actually extracted by the model. Small targets, occlusions, low contrast, complex backgrounds, and detail loss caused by image scaling can all widen this gap.
Take dense person counting as an example: people in the distance might consist of very few pixels, and occlusion can make their body contours incomplete. Even if the model understands that it “needs to count people,” it might miss edge individuals or mistake background textures for targets.
Common approaches to handling these issues include increasing the effective input resolution, observing region by region, cropping local details, and employing multi-scale analysis. However, these methods primarily improve the conditions for “seeing” and do not automatically solve subsequent reasoning.
2. Reference Gap: Seeing the Object, but Struggling to Stably Reference It During Reasoning
Natural language excels at expressing semantics, but in dense spatial tasks, relying solely on language for localization is often imprecise.
For instance, “the person in light-colored clothing on the left” might correspond to multiple targets; “the intersection slightly above the middle” might become ambiguous as the observation scope changes. When the model conducts multi-step reasoning, the same description might point to different objects at different steps.
This leads to three typical types of errors:
- The same target is counted repeatedly;
- Identified targets are omitted in subsequent steps;
- Spatial relationships drift during the reasoning process.
Therefore, visual reasoning requires not only obtaining information but also a representation method capable of continuously binding objects and locations. The value of visual primitives mainly lies in this step.
3. Visual Primitives: Establishing Clear Spatial References for Reasoning
Visual primitives are foundational representations used to express locations, regions, or geometric structures within an image. Common forms include points, bounding boxes, and polygons.
- Points are suitable for representing target centers, path nodes, or interaction locations.
- Bounding boxes are suitable for representing the approximate coverage area of an object.
- Polygons are suitable for expressing irregular regions or complex boundaries.
Compared to “that object on the right,” coordinates and geometric regions provide a much clearer reference. However, this clarity is conditional: the coordinate system, image dimensions, scaling methods, and cropping transformations must remain consistent. If these conventions are unclear, even if coordinates are output, they might point to incorrect locations.
1. Coordinate Representations Must Have Context
A common approach is using normalized coordinates:
x_norm = x / W
y_norm = y / H
Where W and H are the image width and height. Normalized representation facilitates transferring positions across images of different sizes, but it does not eliminate transformation issues caused by cropping and scaling.
Suppose the model observes a locally cropped image; the output point coordinates belong to the cropped region. If the final result needs to be annotated on the original image, the local coordinates must be mapped back to the original image coordinates. If padding, rotation, or non-uniform scaling occurs in between, the corresponding transformations must also be handled.
2. Geometric Representation Does Not Equal Correct Recognition
A bounding box can clearly point to a region, but that region might not contain the correct target. A polygon might also suffer from boundary offsets, self-intersections, or covering multiple objects.
Therefore, two things need to be evaluated separately:
- Whether the representation is structurally valid and coordinate-consistent;
- Whether the representation correctly corresponds to the actual target.
Visual primitives reduce reference ambiguity, but they do not guarantee the accuracy of the perception itself, nor can they independently prove the validity of the reasoning conclusion.
4. Visual Primitives and Image Tool-Assisted Reasoning Are Not Mutually Exclusive
Another common approach is allowing the model to call image processing tools during reasoning, such as cropping a local region, zooming in on details, or drawing candidate paths, and then reading the processed image.
The problems these two approaches solve are somewhat different:
| Technical Mechanism | Primary Role | Typical Risks |
|---|---|---|
| Visual Primitives | Stably express objects and spatial locations | Coordinate errors, target binding errors |
| Image Tool-Assisted Reasoning | Obtain local details, verify visual hypotheses | Cropping omissions, inconsistent transformations |
| Execution Framework | Manage tools, states, and result flow | Configuration errors, context loss |
In actual systems, these mechanisms can be used in combination. For example, the model first outputs bounding boxes for suspected targets; the system crops the image based on these boxes, and then the model confirms the target category. Alternatively, path nodes are formed first, geometric checks reveal wall-penetrating segments, and the corresponding region is then zoomed in for re-observation.
Therefore, seeing a system call image tools does not directly imply it isn’t using visual primitives; seeing output containing coordinates does not directly mean those coordinates participated in the model’s internal reasoning. Judgments should be based on actual trajectories and verifiable evidence.
5. How to Determine if a System Truly Uses Visual Primitives
When evaluating technical approaches, one should avoid writing weak evidence as definitive conclusions.
1. Vocabulary Evidence: Indicates Representation Conditions Exist, Does Not Prove Actual Use
If a public tokenizer vocabulary contains special tokens related to points, bounding boxes, or polygons, it indicates that the text encoding system has reserved expression methods for these structures.
However, this alone cannot confirm:
- Whether these tokens were adequately used during training;
- Whether the current model version has stable generation capabilities;
- Whether the corresponding mechanism is enabled in the current service endpoint;
- Whether the actual answer relies on these structures to complete reasoning.
The vocabulary can provide investigative leads but cannot independently prove a complete technical route.
2. Output Evidence: Indicates Structure Generation Capability, Does Not Prove Effectiveness
Model outputting valid coordinates only proves it can generate a certain format. A stronger verification method is to check whether the output structure aligns with image content and test whether these structures affect subsequent results.
For instance, a counting task can require each target to correspond to an independent marker, then check for duplicates, omissions, and obvious offsets. A pathfinding task can require providing a sequence of nodes, then verify whether the lines between adjacent nodes pass through obstacles.
3. Trajectory and Intervention Evidence: Closer to Mechanism Judgment
If the system exposes observable execution logs, you can check whether intermediate steps consistently reference the same object, whether tools actually consumed geometric structures, and whether subsequent answers were modified based on verification results.
Furthermore, controlled experiments can be conducted by altering available conditions: disabling cropping tools, removing structured output requirements, or allowing annotations but prohibiting re-observing the image, to compare changes in task results.
However, black-box experiments typically only support the conclusion that “a certain mechanism might play a role.” To confirm internal training methods or computational processes, more direct technical materials are still required.
6. Building a Reproducible Task Evaluation System
1. Dense Counting: Check Target Correspondence Beyond Total Counts
Comparing only the final count can easily mask error sources. A model might miss two targets and double-count two others, resulting in the same total.
A more reliable method is to require target-level markers in the output and match them against manually verified results. During evaluation, at least record:
- Total count error;
- Number of missed detections;
- Number of double-counted targets;
- Number of incorrect targets;
- Position matching between markers and true targets.
Additionally, counting criteria should be defined in advance, such as whether to count heavily occluded individuals, incomplete individuals at image edges, and people in posters or on screens. Otherwise, some discrepancies stem from annotation standards rather than model capability.
2. Precise Localization: Distinguish Format Correctness from Positional Accuracy
Localization tasks should separately check coordinate ranges, region legality, target matching, and positional precision.
Bounding box localization can use common metrics like Intersection over Union (IoU); point localization can calculate the distance to a reference point, but the results need to be interpreted in the context of image dimensions and task tolerance. For tasks like “clicking a button,” a slight deviation from the target center might still be acceptable; for precise measurement tasks, the same deviation could cause a significant impact.
3. Mazes and Pathfinding: Convert Answers into Verifiable Constraints
Path evaluation should not stop at “looks reasonable.” The maze can be converted into a grid or graph structure, and then check:
- Whether the start and end points are correct;
- Whether path nodes are continuous;
- Whether the path enters obstacle areas;
- Whether there are unexplainable jumps;
- If the task requires the shortest path, whether the length meets the corresponding condition.
This process actually includes two independent verifications: first confirming that the image was correctly converted into a spatial structure, and then verifying whether the planning algorithm or model output complies with that structure. If the image structure extraction is incorrect, even if the subsequent path is legal on the wrong map, it cannot be considered a task success.
7. Why Execution Frameworks and Configurations Affect Conclusions
It is not uncommon for the same model to perform differently across different endpoints. Differences can arise from image size limits, compression strategies, system prompts, available tools, context management, and output post-processing.
Therefore, before evaluation, it is necessary to verify the runtime environment rather than judging solely based on the displayed interface name:
- Whether the client version matches the usage instructions;
- Whether the current configuration is actually loaded;
- Whether the request enters the expected service endpoint;
- Whether the image input has been scaled, cropped, or compressed;
- Whether tools have the necessary permissions;
- Whether logs show successful tool calls;
- Whether there is interference from caching or automatic retries.
Troubleshooting should start with minimal tasks: first verify that the image can be read, then verify simple coordinate output, then verify a local crop, and finally run complex tasks. This approach helps progressively distinguish environmental issues from capability issues.
For enterprise applications, model versions, prompt templates, image preprocessing methods, tool versions, and failure logs should be retained. Only when these conditions are traceable do regression test results hold explanatory value.
8. Using Ablation Studies to Distinguish Model and System Contributions
To avoid attributing all system effectiveness solely to the model, several sets of experiments with similar conditions can be set up:
- Original image input, allowing direct answers only;
- Original image input, requiring structured spatial representation output;
- Allowing cropping and zooming, but without enforcing structured output;
- Allowing both visual primitives and image tools;
- Adding external constraint validation on top of the above conditions.
When comparing, not only look at task success rates but also record latency, number of tool calls, failure types, and manual verification costs. If a system achieves higher accuracy through a large number of tool calls, it is still a valid engineering solution, but its cost and applicable scope should be stated simultaneously.
Experiments should fix task definitions, input samples, and primary runtime conditions, and conduct repeated tests. A single successful case only proves that “it can complete a certain task once” and does not prove stability; a single failure case is also insufficient to negate an entire technical route.
9. Conclusion: Evaluating Verifiable Capabilities, Not Technical Labels
The significance of visual primitives lies in providing a more stable reference method for objects and spatial relationships; image tool-assisted reasoning improves observation conditions and supports verifying intermediate hypotheses; the execution framework organizes these capabilities into a runnable workflow.
The three are not mutually exclusive, nor can their internal implementation be inferred solely from vocabulary, demo screenshots, or final answers.
For developers, the reliable evaluation path is: first clarify the task criteria, then fix inputs and environments, check object-level or path-level results, and finally analyze the contribution of each mechanism through controlled experiments. Only by forming a complete chain of evidence from perception, representation, and reasoning to verification can one determine whether a visual reasoning system is suitable for actual business needs, rather than just performing well in demonstrations.
