Evaluating Multimodal Visual Reasoning: From Visual Primitives to Closed-Loop Execution
A practical framework for evaluating multimodal visual reasoning: how to separate perception from reasoning, when visual primitives like points, bounding boxes, and polygons actually contribute to inference, and how to build reproducible, evidence-based evaluations for tasks such as dense counting and maze navigation.
1. Start by Defining What You Are Actually Evaluating
When a new multimodal model is released, developers typically want to know three things: Can it recognize images accurately? Can it reason about complex spatial problems? And can it complete tasks once integrated into an agent?
These questions are related but must not be conflated. A complete visual task usually involves several layers:
- Perception: recognizing text, objects, boundaries, and local details in an image.
- Representation: establishing stable identifiers, coordinates, and spatial relationships for targets.
- Reasoning: performing counting, comparison, planning, or constraint checking based on those representations.
- Execution: invoking tools such as cropping, zooming, drawing, and calculation, and using feedback to correct results.
A single failed demo could stem from any of these: the model may not have “seen” clearly, object references may have become confused, or a tool may have failed to execute. Conversely, a successful run does not prove the base model solved everything on its own—external tools, input preprocessing, and multi-turn retries can all significantly influence the outcome.
A sound evaluation target should be defined down to “the model and its operating conditions,” rather than treating web-based interaction, direct API calls, and a full agent system as interchangeable expressions of the same capability.
2. Two Bottlenecks in Visual Reasoning: Failing to See, and Failing to Refer
2.1 Insufficient Perception: Key Information Is Not Reliably Extracted
When image resolution is low, targets are small, occlusion is heavy, or the background is cluttered, a model may fail to distinguish adjacent objects or may miss thin lines, tiny text, or boundaries.
These are perception-level failures. In crowd counting, distant people may be swallowed by the background; in maze images, a narrow passage may be mistaken for a wall.
Common mitigations include raising effective input resolution, tiling, local cropping, and targeted zooming. But these introduce new problems: local views can lose global relationships, overlapping tiles can cause double counting, and preprocessing can shift coordinate mappings.
So “answering correctly after zooming in” only shows that supplemental local information helped—it does not, by itself, prove the model has stable spatial reasoning ability.
2.2 Unstable Reference: The Model Sees It, But Doesn’t Keep Pointing at the Same Object
A second class of failure occurs after perception.
Imagine multiple visually similar people in one frame. The model may refer to “the person on the left,” “the person slightly left of center,” “the person near the front row”—and these descriptions may point to different people at different reasoning steps, or the same description may refer to different people.
Natural language can express spatial relationships, but in dense scenes and long reasoning chains, descriptions are prone to ambiguity. Typical symptoms include:
- The same object being counted multiple times;
- Processed and unprocessed objects being confused;
- The reference frame changing mid-reasoning;
- The final explanation disagreeing with the actual localization.
Complex visual tasks therefore require not just accurate recognition, but stable object identity and spatial referencing throughout the reasoning process.
3. The Value of Visual Primitives: Actionable Spatial Anchors for Reasoning
Visual primitives are basic geometric elements used to express spatial positions or regions—points, bounding boxes, polygons, and polylines. Different systems may define, encode, and execute these primitives differently, so their implementation cannot be inferred from naming alone.
3.1 Points: Marking Targets and Key Locations
Points can mark a person’s center, key parts of an object, path endpoints, or click positions.
In dense counting, assigning a marker point to each confirmed target turns “who have I already counted” into an inspectable spatial record. Reviewers can directly observe the markers to spot omissions or duplicates.
Points, however, cannot fully express object boundaries. For heavily overlapping or complexly shaped objects, a center point alone can still be ambiguous.
3.2 Bounding Boxes: Localization and Local Processing
Bounding boxes are rectangles used for object localization, region cropping, and subsequent verification.
They are compact and easy to process, but a rectangle may contain substantial background or cover several adjacent objects. Overlap between boxes therefore does not necessarily imply duplicate detection.
3.3 Polygons and Polylines: Complex Boundaries and Paths
Polygons approximate irregular regions; polylines represent routes or connections. These suit region outlines, obstacle boundaries, and path planning.
But greater representational power demands stricter validation: polygons may self-intersect, polylines may pass through obstacles, and vertex ordering can affect interpretation.
The core value of visual primitives is not making output look more intuitive—it is making objects and spatial relationships recordable, computable, and verifiable.
4. How to Tell Whether Visual Primitives Actually Participate in Reasoning
If the model’s resources contain special tokens related to points, boxes, or polygons, treat it as a clue: the system may have reserved representations for these structures.
But this clue alone cannot prove that:
- These structures were sufficiently learned during training;
- The deployed version enables the corresponding capability;
- The model uses them every time it handles a visual task;
- These structures actually contribute to the final answer.
A more reliable judgment requires a chain of evidence.
Layer 1: Representation Evidence
Confirm that the system can output or process structured spatial information—not merely generate text that happens to look well-formatted.
Layer 2: Process Evidence
Inspect intermediate records to confirm the model actually creates, references, and updates these spatial elements. Distinguish carefully between annotations used during reasoning and those drawn after the answer was produced.
Layer 3: Execution Evidence
Confirm that spatial elements are used for cropping, coordinate transforms, region checks, or path validation—not just for display.
Layer 4: Comparative Evidence
Compare task performance with the mechanism enabled versus disabled, keeping other conditions as constant as possible. Without such a comparison, performance changes cannot be attributed to the visual primitives themselves.
If you only have access to final answers, be explicit: you can evaluate external behavior, but you cannot fully reconstruct the internal reasoning mechanism from it.
5. Visual Primitives and Image-Assisted Reasoning Are Not Either/Or
Image-assisted reasoning means the system continues to operate on or generate visual material during problem solving—cropping regions, zooming into details, drawing markers, or viewing images returned by tools.
Its focus differs from that of visual primitives:
- Visual primitives address “how to express spatial objects stably”;
- Image-assisted reasoning addresses “how to supplement information through image operations and advance the solution.”
The two can form a single pipeline:
Read the original image → mark candidate targets → crop uncertain regions → re-examine → update target records → verify the final result.
In dense counting, for example, a system might first detect people by region, assign markers, zoom into boundary regions, and finally merge duplicates based on coordinates and local imagery.
So observing that a system calls a crop tool does not mean it lacks visual primitives; observing structured coordinates does not mean it never needs to look at the image again.
The evaluation focus should shift from “which route does it belong to” to “is each step necessary, is it verifiable, and does it improve the result.”
6. How to Evaluate Dense Counting Properly
Dense counting is a good test of the interplay between perception, object identity maintenance, and result verification—but success or failure on a single image is not a stable conclusion.
6.1 Define the Counting Criteria Up Front
Before testing, define whether occluded objects, edge-clipped objects, mirror reflections, and figures in posters count. Otherwise, differences between the model and human ground truth may come from task definition rather than recognition ability.
6.2 Keep Both the Total Count and Spatial Annotations
A number alone cannot reveal whether the model arrived at the correct answer through offsetting missed detections and false positives.
More useful outputs include the final total, target locations, and uncertain regions flagged for manual review. Only then can you check whether “counting right” was built on “finding right.”
6.3 Use Multi-Dimensional Metrics
Beyond whether the whole-image count is exactly correct, track:
- Absolute error between predicted and true counts;
- Object-level misses and false positives;
- Duplicate markings;
- Performance across different densities and occlusion levels;
- Stability across repeated runs;
- Tool call counts and completion time.
Count error reflects bias magnitude; object-level metrics help localize error sources. Neither should replace the other.
6.4 Handle Tiling and Deduplication Carefully
Tiling improves local visibility, but edge targets may appear in multiple tiles. Deduplication should combine position mapping, local appearance, and target scale—proximity alone is not sufficient to declare two detections identical.
7. Maze Navigation: Validate the Path, Don’t Trust the Explanation
Maze tasks involve image parsing, topology modeling, and path search simultaneously. A fluent “go right, then down” narration does not prove the path is actually traversable.
A reliable evaluation pipeline has three steps.
7.1 Build a Passability Representation
Parse the image into passages, walls, entrances, and exits. Regular mazes can use grid representations; irregular structures can be modeled as graphs of nodes and edges.
Always record the coordinate mapping between the original image and the structured representation—otherwise a correct path may still be drawn offset from its true location.
7.2 Generate a Candidate Path
Path search can be done by the model or by a deterministic algorithm. If the goal is to evaluate visual understanding, measure image-parsing quality and search quality separately to avoid conflating them.
7.3 Validate the Path Segment by Segment
The validator should check start and end points, continuity, boundary constraints, and whether the path crosses walls. Checking only that polyline vertices lie inside passages is insufficient: the segment between two legal vertices may still pass through a wall.
Even if validation passes, distinguish “the path is valid on the parsed map” from “the path is valid in the original image.” If map parsing itself is wrong, no amount of correct search guarantees a reliable final route.
8. Configuration and Runtime Environment Must Be Part of the Reproduction Record
Some anomalies in model evaluation stem not from capability gaps but from inconsistent operating conditions: an outdated client version, the wrong model actually selected, an image not fully uploaded, or an image tool failing to execute.
Before formal testing, complete these checks:
- Verify the actual configuration: rely on runtime logs and effective configuration, not just what was entered.
- Verify the input pipeline: check size, compression, cropping, orientation, and preprocessing results.
- Verify tool permissions: confirm that read, crop, and draw operations are genuinely available.
- Verify execution records: distinguish “a call was requested,” “the tool executed successfully,” and “the model read the returned result.”
- Fix the test conditions: record the client version, task prompts, retry strategy, and tool call budget.
Web, API, and agent entry points may share similar names yet differ in system prompts, context management, and tool permissions. Without these records, cross-entry comparisons should be treated with caution.
9. For Engineering Deployment: Layered Acceptance Criteria
Real-world applications should not rely on a single vague “accuracy target.” Acceptance should be split into:
- Perception quality: whether small targets, occlusion, and complex backgrounds meet requirements;
- Spatial representation quality: whether coordinates are consistent and object identity stable;
- Reasoning validity: whether counting, path, and constraint results can be independently verified;
- Execution reliability: whether the system can stop, retry, or request review after tool failures;
- Operating cost: whether latency, call volume, and manual review burden are acceptable.
When coordinates are involved, be especially explicit about units, origin, axis direction, and scaling/cropping transforms. Normalized and pixel coordinates must not be mixed directly, and coordinates from local crops must be mapped back to the original image before any unified comparison.
For results that cannot be confirmed automatically, retain an uncertain state rather than forcing a definitive answer. For high-risk operations, visual localization and automated reasoning should be paired with independent rule-based checks or human confirmation.
Conclusion
Evaluating multimodal visual reasoning is less about judging which technical route wins from a single demo, and more about building a reproducible chain of evidence: were inputs consistent, were targets clearly seen, were spatial references stable, were tools genuinely executed, and did results pass independent verification.
Visual primitives provide actionable spatial representations; image-assisted reasoning provides a means to keep observing and correcting; the execution environment determines whether these capabilities can work together reliably. Only by placing all three under the same evaluation framework can we move from “the model seems to understand” to “the system can be verified to complete the task.”
