How to Determine if a Multimodal Model Employs Visual Primitives

    As multimodal models rapidly advance in image understanding, distinguishing between a model that can "describe" an image and one that can "reason" about it spatially becomes critical. This article explores how to evaluate whether a newly released visual model truly employs visual primitives—such as points, bounding boxes, and polygons—rather than relying solely on natural language. By analyzing model interfaces, output formats, agent orchestration, and behavioral testing, it provides a comprehensive framework and practical evaluation strategies for developers to verify structural visual reasoning capabilities.

    In recent years, the image understanding capabilities of multimodal models have improved rapidly. However, a model being able to “understand an image” is not the same as it being able to “reliably reason about an image.” This discrepancy is especially evident in tasks such as dense counting, precise localization, complex path planning, and multi-object relationship judgment. In these scenarios, models often exhibit a typical phenomenon: they can describe the general content of an image but fail to provide reliable, verifiable spatial conclusions.

    To address this issue, two representative technical approaches have emerged in the industry. The first is a natural language-centric visual chain-of-thought approach, where the model observes the image, generates a text description, reasons step-by-step, and outputs an answer. The second introduces visual primitives, allowing the model to use structured symbols like points, boxes, and polygons to directly represent positions and regions within the image. Evaluating whether a newly released visual model genuinely employs visual primitives should not rely solely on marketing materials or a single web demo. Instead, it requires a comprehensive assessment across four dimensions: model interface, output format, task behavior, and agent systems.

    1. What Problem Do Visual Primitives Actually Solve?

    The challenges faced by multimodal models can generally be divided into two stages.

    The first stage is the perception problem: whether the model can extract sufficiently clear information from the image. For example, whether text in the image can be recognized, whether objects can be detected, and whether boundaries between targets are clear enough. This is known as the perception gap, where the visual information seen by the model is not fully converted into usable internal representations.

    The second stage is the reference and reasoning problem. Even if the model has identified the targets in the image, subsequent reasoning may still rely on natural language. For instance, the model might convert spatial information like “the second object in the top left” or “the target near the red area” into text, and then continue reasoning based on that text. While natural language is suitable for expressing semantics, it is not necessarily suited for precisely expressing coordinates, boundaries, and topological relationships in continuous space.

    This creates a reference gap. When the number of targets is small, vague descriptions usually do not cause severe issues. However, when an image contains a large number of similar objects, or when a task requires precise judgment of boundaries, relative positions, and paths, language descriptions can lead to target confusion, sequence disorder, and coordinate drift.

    The core idea behind visual primitives is to use structured symbols as “unambiguous pointers” to visual objects. Common forms include:

    • Points: Representing target centers, key locations, or path nodes.
    • Bounding Boxes: Representing the enclosing regions of objects.
    • Polygons: Representing irregular targets or complex regions.
    • Line Segments and Paths: Representing movement trajectories, connection relationships, or planning results.

    These representations may not be directly displayed to the user, but they can serve as intermediate states during the model’s internal reasoning or tool-calling processes. Compared to linguistic expressions like “the third object on the left,” coordinates or regional markers are more suitable for programmatic verification and easier to pass to subsequent modules for processing.

    2. Why Special Tokens Are Not Enough to Determine the Technical Approach

    When analyzing a multimodal model, developers often examine its tokenizer configuration, vocabulary, or model outputs. If special tokens related to points, boxes, or polygons are present, it does indicate that the model’s text interface has reserved the possibility for structured visual representation.

    However, this only constitutes “interface traces” and does not directly prove that the model consistently uses visual primitives during actual reasoning.

    There are three main reasons for this. First, special tokens might just be compatibility symbols from the training data. The model might recognize these symbols but not actively generate them during complex tasks, nor necessarily establish a stable correspondence between them and actual image coordinates.

    Second, visual primitives might only serve specific tasks. For example, detection, segmentation, and visual question answering might use different output heads or different prompt templates. An interface supporting polygons does not mean all image Q&A undergoes polygon reasoning.

    Finally, the agent system may perform secondary encapsulation on the model’s inputs and outputs. The web results seen by users may have gone through image preprocessing, prompt concatenation, tool calling, result filtering, and natural language rewriting. The content ultimately presented to the user may not equal the intermediate representations generated internally by the model.

    Therefore, determining whether a model employs visual primitives should be based on an evidence chain rather than relying on a single clue. More reliable evidence includes: whether the model can output valid structured coordinates, whether the coordinates align with the image dimensions, whether the same target remains stable under different prompts, whether the structured results can be verified by external programs, and whether these representations genuinely improve the success rate of complex visual tasks.

    3. The Agent Orchestration Layer Can Change Final Performance

    Many visual models are not called directly by users but operate through an agent or orchestration layer. This layer might be responsible for:

    1. Receiving user questions and images;
    2. Determining whether cropping, zooming, or multi-turn observation is needed;
    3. Selecting an appropriate prompt template;
    4. Calling the visual model or image processing tools;
    5. Parsing structured results;
    6. Rewriting intermediate results into natural language;
    7. Performing repeated checks or error correction when necessary.

    This means that model capability and agent capability must be evaluated separately.

    For example, a model might inherently be able to output bounding boxes, but if the agent layer fails to parse the coordinates correctly, the final result the user sees might still be an incorrect answer. Conversely, a model that natively lacks complex spatial reasoning capabilities might yield good results if the agent performs multiple crops, object detection, and external computation. In this case, the final effect cannot be entirely attributed to the model itself.

    Configuration methods also affect test results. Developers need to confirm whether the current usage involves the base model, a visual agent, an experimental configuration, or a workflow enhanced with additional tools. If the configuration file does not take effect, or if the entry point automatically switches to a default mode, the test conclusions might completely differ from expectations.

    A standardized testing process should at least record the following information:

    • The invoked model category and version identifier;
    • Whether an agent or toolchain was used;
    • Whether the image was preprocessed;
    • The prompts and system instructions used;
    • Whether multi-turn observation was allowed;
    • Whether external computation was allowed;
    • The final answer and intermediate structured results.

    Only by preserving this context can we later explain why the model answered correctly or incorrectly.

    4. Why Web Experiences and Paper Results Might Be Inconsistent

    Results in research papers are typically achieved under fixed datasets, fixed prompts, and fixed evaluation procedures. Web products, however, are closer to open environments and may involve multiple variable differences.

    First, image preprocessing differs. Web platforms might automatically compress, scale, or crop images, leading to the loss of small targets, thin lines, and text information.

    Second, prompt templates differ. A paper might explicitly require the model to output coordinates or check target counts step-by-step, whereas a web platform might use much shorter user instructions.

    Third, the inference budget differs. Research environments might allow for longer thinking processes or multiple samplings, while online services need to balance response latency and resource consumption.

    Fourth, the toolchain differs. Path planning in a paper might rely on specific visual representations and path validation modules, while a standard Q&A mode on a web platform might only generate text descriptions.

    Fifth, output post-processing differs. To make answers more readable on the web, coordinates might be hidden, multiple intermediate steps merged, or only the final conclusion retained. Without seeing the internal process, it is difficult to determine whether an error occurred during recognition, reasoning, or format conversion.

    Therefore, a counting discrepancy in a web test cannot directly prove that a model lacks visual primitives entirely. Similarly, occasional coordinate outputs on the web cannot prove that the model uses visual primitives for all tasks. A more reasonable approach is to establish repeatable controlled experiments.

    5. An Executable Evaluation Plan

    1. Basic Counting Test

    Prepare multiple sets of images, controlling target quantity, target size, color similarity, and occlusion level. Do not just test “how many objects are in the image”; also require the model to return the location or bounding box of each target.

    Evaluation metrics include:

    • Whether the total count is correct;
    • Whether each target was double-counted;
    • Whether edge targets were missed;
    • Whether coordinates fall within the target area;
    • Whether results are consistent across multiple runs.

    If the model only provides a number, it cannot be confirmed whether it truly performed per-target localization. Requiring structured output significantly increases verifiability.

    2. Spatial Relationship Test

    Design images containing left-right, up-down, front-back, overlapping, intersecting, and inclusive relationships. Require the model to return both the relationship judgment and the corresponding target positions.

    For instance, instead of just asking “which object is to the right of the red area,” also ask the model to list the two targets involved in the judgment and their coordinates. This helps distinguish whether the model actually completed spatial matching or simply guessed the answer based on language patterns.

    3. Path Planning Test

    For mazes, grids, or obstacle scenarios, require the model to output discrete path points rather than just describing “go right, then go up.”

    During testing, verify:

    • Whether the start and end points are correct;
    • Whether each path point is located in a passable area;
    • Whether adjacent path points are continuous;
    • Whether the path cuts through obstacles;
    • Whether results are stable when testing the same map repeatedly.

    If the model only generates a natural language route but cannot provide executable coordinates, its spatial planning capability remains limited.

    4. Adversarial Testing

    To verify whether visual primitives are truly taking effect, introduce the following interferences:

    • A large number of targets with similar appearances;
    • Irregular boundaries;
    • Partial target occlusion;
    • Low-contrast backgrounds;
    • Targets distributed at image edges;
    • Rotation, scaling, and different aspect ratios;
    • Noise elements similar to the targets added to the image.

    The value of visual primitives lies in reducing the ambiguity of linguistic references in these situations. If a model only performs well on simple images but fluctuates significantly in complex scenarios, its structured visual capability may not yet form a stable closed loop.

    6. Understanding the Different Levels of “Employing Visual Primitives”

    Whether a model “employs visual primitives” is not an absolute binary question; it can be divided into several levels.

    Level 1: Vocabulary Support. The model can recognize special symbols like points, boxes, and polygons, but does not necessarily generate or use them.

    Level 2: Format Generation. The model can output structured tokens that conform to syntax, but the coordinates might be inaccurate or lack a stable correspondence with the image content.

    Level 3: Visual Alignment. The points, boxes, and polygons output by the model correctly point to targets in the image and maintain a reasonable scaling relationship across different image sizes.

    Level 4: Reasoning Usage. The model can not only localize targets but also use these primitives for counting, comparison, relationship judgment, and path planning.

    Level 5: Closed-Loop Verification. The model can generate structured results, call external programs to check their validity, and make corrections based on error feedback.

    What truly holds engineering value usually lies in Levels 4 and 5. Merely possessing a few special tokens does not mean the model has solved complex visual reasoning problems.

    7. Practical Advice for Developers

    When integrating a multimodal model, it is recommended not to treat natural language answers as the sole output. For tasks involving localization, detection, counting, and planning, require the model to simultaneously output structured fields, such as target ID, category, center point, bounding box, and confidence. Subsequently, perform format validation and spatial validation programmatically.

    Meanwhile, decouple model calls from agent logic. The model is responsible for recognition and reasoning, while the agent is responsible for task decomposition, tool calling, and result verification. This way, even if the model is replaced, a stable evaluation framework can be retained.

    For production systems, record failure samples rather than just calculating final accuracy. A complete error analysis should at least distinguish between:

    • The image was not seen clearly;
    • Target recognition error;
    • Coordinate mapping error;
    • Language reference error;
    • Invalid planning process;
    • Output format cannot be parsed;
    • Agent configuration did not take effect.

    Only by pinpointing the specific stage can you determine whether to optimize the model, prompts, image preprocessing, or tool orchestration workflow.

    Conclusion

    Evaluating whether a multimodal model possesses visual primitives depends not on the presence of relevant tokens in its vocabulary, nor on occasional coordinate outputs on a web interface. The key is whether these structured representations genuinely participate in visual reasoning and bring repeatable, verifiable benefits in complex tasks.

    A more robust evaluation method is: first check interface capabilities, then track actual outputs; distinguish the base model from the agent system, and conduct controlled experiments through counting, localization, spatial relationships, and path planning; finally, use programmatic verification for structured results and analyze the consistency of multi-round tests.

    From an engineering perspective, visual primitives are not just a marketing label; they are a technical mechanism connecting perception, reasoning, tool calling, and result verification. Only when a model can convert visual information into stable structured representations and use these representations to complete closed-loop reasoning can it be considered to truly possess visual primitive capabilities for complex scenarios.