Technical Evaluation and Practice of the Visual Primitive Approach in Multimodal Models
This article examines the technical distinction between two dominant approaches in multimodal model development: natural-language-based visual reasoning and structured visual primitive representation. It explains what visual primitives are, why web-based test results may differ from documented performance, and how developers can design reliable evaluation methods to determine whether a model truly performs spatial reasoning. It also provides practical guidance for building reproducible test environments and selecting models for tasks that require precise localization, dense counting, and multi-step visual inference.
Recent advances in multimodal models have shifted the focus from “whether the model can understand an image” to “whether the model can perform stable, verifiable reasoning based on an image.” In this context, two representative technical approaches have emerged. The first converts image content into natural language and then leverages a language model for analysis. The second introduces a more structured visual intermediate representation, allowing the model to directly reference positions, objects, or regions in the image during reasoning.
Discussions around a particular experimental multimodal model are not merely about evaluating the model’s performance in isolation—they serve as an observation of these two technical paths. Does the model actually use visual primitives? Does it perform spatial reasoning in complex image tasks, or does it rely on the traditional “describe first, then think” pipeline? Why might its performance differ between the web interface, the API endpoint, and an agent environment? These questions are directly relevant to developers who need to choose models, design evaluation sets, or build vision-based agents.
What Are Visual Primitives?
The conventional visual question-answering pipeline can be abstracted as follows:
- An encoder reads the image.
- The model identifies objects and relations in the image.
- Visual information is converted into natural language.
- The language model performs reasoning based on the description.
- The model outputs a final answer.
This approach has the advantage of being relatively straightforward to implement, and the results are easy for humans to understand. For instance, a model might first state, “There are three red circular objects on the left side of the image,” and then answer the question “How many red circular objects are there?” based on that description.
However, when tasks become more complex, the natural language intermediate representation introduces noticeable loss. Consider an image containing dozens of similar objects, where the model must determine the precise spatial relationship between two specific objects, or trace a non-repeating path through a maze. Under these conditions, language-based descriptions such as “on the left,” “nearby,” or “in the second row” are prone to referential ambiguity, ordering errors, and loss of spatial relationships.
The core idea of visual primitives is to preserve a more precise and stable intermediate representation within the continuous visual space. A visual primitive can be an object region, a point, a bounding box, a mask, a coordinate, a visual token, or any structured object that the model can repeatedly reference. Compared with natural language, this representation stays closer to the image itself and reduces the following problems:
- Difficulty in distinguishing between multiple similar objects;
- Positional errors introduced by language descriptions;
- Loss of referential relations between complex objects;
- Context drift during multi-turn reasoning;
- Unstable intermediate results in counting and spatial planning tasks.
It is important to note that visual primitives are not equivalent to “the model can recognize coordinates.” What matters is whether the model can actively generate, store, reference, and revise these visual objects during the reasoning process.
Characteristics of the “Thinking in Images” Approach
Another common approach can be described as “thinking in images.” Models following this path do not necessarily output explicit visual primitives. Instead, they accomplish tasks through a longer visual reasoning process. The model may repeatedly inspect the image, compare different regions, try multiple hypotheses, and gradually reach a conclusion through natural language or implicit states.
This approach is closer to the chain-of-thought mechanism found in large language models. Its advantages include:
- Better compatibility with existing language model architectures;
- No need to define additional complex visual token systems;
- Greater flexibility in open-domain image understanding and common-sense reasoning;
- Easier to guide the model toward different analysis strategies through prompting;
- The output process is relatively easy for users to read and debug.
However, it also has limitations. First, language is not a precise geometric representation. Second, the model may repeatedly describe the image during multi-step reasoning without establishing a stable object index. Third, a longer reasoning process does not necessarily mean more accurate visual localization. For tasks such as dense counting, fine-grained localization, topological relationship judgment, and path planning, simply increasing text-based reasoning length often fails to solve the underlying problem.
Therefore, determining whether a model actually uses visual primitives requires more than checking whether it outputs detailed analytical text or produces the correct final answer. The key is to observe whether the model forms a verifiable visual referencing mechanism during its intermediate steps.
Why Web-Based Test Results May Differ from Technical Documentation
In practice, users often find that the example outputs in technical documentation do not exactly match their experience on the web interface. This does not necessarily mean one side is being misleading. The discrepancy can be caused by differences in the runtime environment.
1. Model Versions May Differ
Web interfaces often select different model configurations based on load, gray release strategy, or task type. The API endpoint, the test environment, and the public web page may also be running different versions released at different times. Even if the model names appear similar, the underlying weights, vision encoders, prompt templates, and inference strategies may differ.
2. Image Preprocessing May Differ
Before an image enters the model, it typically goes through resizing, cropping, compression, or tiling. For tasks such as crowd counting, small-text recognition, and maze pathfinding, preprocessing has a direct impact on results.
For example, when a high-resolution image is downscaled, small distant objects may be lost. Center cropping may remove edge regions. Excessive compression can blur the boundaries between objects.
3. System Prompts and Task Templates May Differ
Official examples usually come with carefully designed prompts, including format constraints, step-by-step instructions, and auxiliary markers. When a regular user enters a question directly on the web interface, the model may not adopt the same analysis pipeline.
When reproducing an experiment, it is not enough to copy the image and the question. The following elements should also be aligned as closely as possible:
- Image size and format;
- Prompt content;
- Output format requirements;
- Whether multi-turn interaction is allowed;
- Whether tool calling is enabled;
- Whether automatic retry or result filtering is in place.
4. Agent Environments May Introduce Additional Effects
When a model operates inside an agent framework, the final performance is no longer determined by the model alone. The framework may be responsible for loading images, organizing context, calling tools, compressing history messages, and even automatically correcting model outputs.
This means the result a user sees may be the combined output of model capability, prompt templates, tool orchestration, and runtime strategies. When evaluating a multimodal model, these factors need to be separated; otherwise, the framework’s capabilities may easily be mistaken for native model capabilities.
How to Determine Whether a Model Truly Has Visual Primitives
Instead of relying solely on open-ended questions like “Describe this image,” developers can design a set of tests with increasing difficulty.
1. Dense Counting Test
Prepare images containing a large number of similar objects and ask the model to:
- Provide the total number of objects;
- Assign an index to each object;
- Return the position of each object;
- Explain the numbering order;
- Remove one object and recount.
If the numbering order changes significantly each time, or if the model cannot consistently reference the same object, it likely relies primarily on natural language descriptions rather than a stable visual object representation.
2. Precise Localization Test
Ask the model to point to the region where an object is located, then follow up with questions such as:
- Which object is closest to the target?
- Does the target intersect with a specific line?
- In which region is the center point of the target located?
- If the target is occluded, do the relationships among the remaining objects change?
These tests check whether the model sustains spatial referencing throughout the interaction.
3. Relational Reasoning Test
Construct multiple objects with similar colors, shapes, and positions, then ask compound questions, for example:
“Find the object that is to the right of the blue triangle and below the red circle.”
If the model can only produce vague descriptions and cannot lock onto a unique object, its spatial relation modeling is likely insufficient.
4. Path Planning Test
In a maze, grid, or topological graph, ask the model to output a complete route from a start point to an end point, and then verify:
- Whether the route passes through non-walkable areas;
- Whether it skips over grid cells;
- Whether coordinate ordering errors occur;
- Whether the model can re-plan when the start point changes;
- Whether the route can be corrected when obstacles are added.
Path planning is especially suitable for testing whether visual reasoning operates in the actual image space. If the model merely describes the path in vague language (“go right, then go up”), cumulative errors tend to appear in longer routes. If the model can stably maintain grid coordinates or visual markers, the results are generally more reliable.
Recommendations for Building Reproducible Evaluation Environments
To obtain credible conclusions, the evaluation process should be standardized as much as possible.
First, fix the input image. The image should retain its original resolution, and the format, file size, and compression method should be recorded. For tasks requiring precise localization, do not rely on saved web screenshots, as screenshots can alter pixel aspect ratios and text clarity.
Second, fix the prompt. Avoid adding extra guidance between different rounds; otherwise, it becomes difficult to determine whether performance changes come from the model or from prompt variation. It is recommended to build a separate template for each task and record the full request content.
Third, run repeated tests. Visual models exhibit some degree of randomness. A single correct answer does not prove stability. Use identical inputs across multiple runs and record answer consistency, positional error, counting error, and path validity rates.
Finally, separate model output from framework post-processing. If the system supports automatic retry, tool calls, image cropping, or result filtering, record the raw output and the final output separately. Only this way can it be determined whether improvements come from the model itself or from surrounding engineering.
Practical Takeaways for Developers
For general image question answering, document summarization, and scene description tasks, traditional vision-language approaches are usually sufficient. However, in the following scenarios, visual primitives or other structured visual representations deserve serious consideration:
- Defect localization in industrial inspection;
- Region annotation in medical images;
- Parsing of complex tables and flowcharts;
- Robot navigation and environment modeling;
- Multi-object tracking;
- High-density counting;
- Multi-turn conversations that repeatedly reference the same object.
If an application demands high positional accuracy and verifiable results, it is best not to rely solely on the natural language conclusions generated by the model. Instead, structured output, coordinate validation, region cropping, external detectors, or rule-based engines should be introduced for cross-checking.
At the same time, visual primitives are not a universal solution. They may increase training cost, inference complexity, and system design difficulty. For open-domain tasks, excessive structuring can reduce model flexibility. A more sensible direction may not be a binary choice. The model could instead select dynamically based on the task type: natural language for simple descriptions, structured visual representations for precise localization and complex planning, with a unified reasoning module making the final decision.
Conclusion
Evaluating an experimental multimodal model requires more than looking at marketing examples or relying on one or two web-interface experiences. The more important question is understanding the underlying visual reasoning mechanism: whether the model can establish stable object references, maintain spatial consistency in complex tasks, output verifiable intermediate results, and whether different runtime environments use the same model and preprocessing pipeline.
Visual primitives address the problem of “language descriptions are not precise enough,” while “thinking in images” addresses “how to use visual information for multi-step reasoning.” These two approaches are not entirely opposed. Future multimodal systems are likely to combine both natural language reasoning and structured visual manipulation capabilities.
For developers, the most valuable practice is not to chase the name of a specific model, but to build a repeatable, explainable, and quantifiable evaluation framework. Only by combining counting, localization, relational reasoning, path planning, and multi-turn referencing tasks can one truly determine whether a system possesses reliable visual reasoning ability.
