How to Evaluate the Visual Primitive Approach in Vision-Language Models

    A practical framework for determining whether a vision-language model truly uses structured visual representations such as points, bounding boxes, and polygons. This article explains how to distinguish perception errors from reference and reasoning failures, validate visual primitives through reproducible tests, assess the impact of agent frameworks, and build a layered evaluation system for complex visual tasks.

    1. The Core Question: How Does the Model “See” and “Think”?

    Evaluating a newly released vision-language model requires more than checking whether it can recognize text, objects, or people in an image. The more important question is how the model internally represents visual information—and whether that representation remains reliable when tasks become more demanding, such as dense counting, precise localization, path planning, and multi-step reasoning.

    Most vision-language models can be broadly understood as following one of two approaches.

    The first is the more common vision encoder plus language reasoning approach. The model uses a vision encoder to extract image features and then maps those features into a representation that a language model can process. Subsequent reasoning primarily relies on natural language or language-like intermediate steps. For example, the model might first describe an image as “there is a car on the left, with three people beside it,” and then use that description to answer a question.

    This approach is highly general-purpose and integrates well with existing language models and agent frameworks. However, when an image contains many objects or complex spatial relationships, it can suffer from omissions, duplicate counting, and reference confusion.

    The second is the visual primitive approach. It attempts to represent important objects or regions as more precise structured symbols, such as points, bounding boxes, polygons, or other spatial markers. Instead of relying entirely on a natural-language description such as “the object is in the upper-left corner,” the model can directly reference a visual pointer with coordinate semantics.

    In theory, this can reduce ambiguity introduced by language descriptions, especially in object localization, region selection, object counting, and geometric reasoning.

    Therefore, when evaluating a new model, the key question is not whether it can produce fluent answers. The real issue is whether it can reliably preserve the identity, location, and relationships of visual objects throughout the reasoning process.

    2. What Problem Do Visual Primitives Solve?

    The challenges in visual tasks generally fall into two categories.

    The first is the perception gap: the model fails to correctly identify what is in the image. Small objects, heavy occlusion, blurry text, or a highly complex layout can cause information to be lost at the input stage.

    The second is the reference gap: the model has roughly understood the image but cannot accurately refer to the visual content during reasoning. For example, an image may contain more than 20 similar objects. The model may recognize that multiple people are present but fail to preserve each person’s identity during counting. Alternatively, it may describe an object correctly but fail to identify its exact location in the image.

    Visual primitives primarily target the second problem. Their purpose is not to replace the vision encoder, but to provide an intermediate representation that is better suited to spatial reasoning.

    For example, a natural-language description of an object’s location might be:

    1. The target is near the center-right of the image, below the blue object.

    This description may be intuitive to a human, but it contains several uncertainties for a model:

    • Are there multiple blue objects?
    • Does “below” refer to the geometric center or the object boundary?
    • What is the distance between the target and the reference object?

    If the target is represented by a point or bounding box, many of these ambiguities can be converted into coordinate relationships.

    Visual primitives are not a universal solution, however. They require additional training data, special tokens, coordinate normalization methods, and inference mechanisms. If a model merely produces symbols that resemble coordinates without ensuring that those symbols correspond to real image regions, visual primitives may degrade into another unreliable text format.

    3. How to Determine Whether a Model Actually Uses Visual Primitives

    When a complete technical report is unavailable, the model’s design can be investigated from several angles.

    1. Inspect Special Tokens in Public Model Files

    If the model and its related configuration files are publicly available, inspect the vocabulary, tokenizer configuration, and generation templates for special symbols used to represent points, boxes, polygons, or region boundaries.

    For example, a model may contain token categories such as:

    1. <point> ... </point>
    2. <box> ... </box>
    3. <polygon> ... </polygon>

    These tokens only show that the model has the vocabulary needed to express visual structures. They do not prove that the model uses visual primitives for every task. Further investigation should address the following questions:

    • Do these tokens appear in the training data format?
    • How are coordinates encoded?
    • Are coordinates discretized?
    • Do visual primitives participate in intermediate reasoning?
    • Can generated results be mapped back to the original image?
    • Can the model use the primitives to perform classification, counting, or planning?

    Vocabulary inspection is therefore useful for forming hypotheses, but it should not be treated as conclusive evidence.

    2. Observe the Stability of Spatial Outputs

    Create a set of images and ask the model about the same target multiple times. You can also make small changes to image dimensions, crop boundaries, or background content, then compare the model’s coordinate or region outputs.

    If the target’s location remains unchanged but the model’s output shifts substantially, its spatial representation may not be robust. Conversely, if the model produces relatively consistent results across different resolutions and crops, and the predicted region continues to cover the target, it is more likely to have a usable structured visual representation.

    3. Verify Whether Primitives Participate in Subsequent Reasoning

    Generating a bounding box does not necessarily mean that the model actually uses that box. A useful method is a primitive closed-loop test:

    1. Ask the model to locate a target in the image.
    2. Crop the image using the region returned by the model.
    3. Ask the model to classify the region or identify its attributes or quantity.
    4. Compare the result with direct recognition of the original image.
    5. Replace or obscure the region and observe whether the answer changes.

    If the model’s subsequent judgment is strongly related to the predicted region, the visual primitive may be participating in the reasoning process. If the coordinates appear to be decorative output and obscuring the target region has little effect on the answer, the primitive’s actual role should be evaluated cautiously.

    4. Why Web-Based Experience Does Not Directly Represent Model Capability

    Many vision models are available in several forms, including base models, inference services, application interfaces, and agent toolchains. The result seen in a web interface is often determined by more than the model itself. Relevant factors include:

    • Whether the image is compressed or resized
    • How the system prompt is structured
    • Whether automatic image tiling is used
    • Whether external recognition or cropping tools are called
    • Whether conversation history affects the current judgment
    • Whether the service uses a different model version
    • How generation length and timeout policies are configured

    As a result, a single web-based failure to count people correctly or plan a path does not prove that the underlying model lacks visual primitives. Likewise, one successful example does not demonstrate stable visual-spatial reasoning.

    A more rigorous approach is to create a reproducible evaluation environment. Keep the image, prompt, resolution, sampling parameters, and output format fixed, and run multiple trials.

    For agent tasks, also record which tools the model calls, how many steps it executes, and whether a failure occurs during perception, planning, or execution.

    5. How Agent Frameworks Affect Model Performance

    The final performance of a vision model is often the result of both model capability and execution framework. A well-designed agent framework typically needs to address the following areas.

    Input Preprocessing

    This includes image resizing, cropping, orientation correction, text-region enhancement, and multi-image composition. Poor preprocessing can prevent the model from recognizing important details, even when the underlying model is capable.

    Tool Calling

    Maps, tables, code, and complex images may require external tools. Tool-call formats, parameter validation, and error-retry mechanisms can all affect the final task success rate.

    State Management

    Multi-step visual tasks require the model to remember objects that have already been identified and their locations. If the framework stores only a natural-language summary instead of structured coordinates and object lists, the model can easily lose important information in later steps.

    Failure Recovery

    Errors in visual tasks are often progressive rather than isolated. For example, the model may first localize an object incorrectly and then plan based on that incorrect location. The framework should support new screenshots, local zooming, re-identification, and result validation instead of simply repeating the same instruction.

    For this reason, model evaluation should not ask only, “Did it get the answer right?” It should also examine how the answer was produced and why a failure occurred.

    A complete evaluation plan can be divided into four layers.

    Layer 1: Basic Perception

    This layer covers optical character recognition, object classification, color and attribute recognition, simple visual question answering, and single-object localization.

    Layer 2: Spatial Understanding

    This layer evaluates multi-object counting, relative positions, occlusion relationships, region containment, and cross-image correspondence.

    Layer 3: Structured Reasoning

    This layer tests whether the model can use a region to determine attributes, sort objects by location, identify path constraints, and perform multi-step operations based on visual objects.

    Layer 4: Agent Capability

    This layer covers tool calling, state memory, error recovery, long-term planning, and overall task completion rate.

    Each layer should record accuracy, repeatability, localization error, output-format validity, and failure type.

    For counting tasks, do not record only the final number. Check whether the model counted the same object more than once. For localization tasks, do not evaluate only whether the coordinate format is valid; also measure the overlap between the predicted region and the ground-truth region.

    7. Overall Assessment: Do Not Confuse Technical Approach with Product Performance

    A reasonable evaluation of a newly released vision-language research model should cover three levels.

    First, determine whether it has representation capabilities related to visual primitives. This requires examining model files, output formats, and coordinate-based closed-loop tests rather than relying only on promotional descriptions.

    Second, determine whether visual primitives actually improve performance on complex tasks. Testing should focus on dense counting, distinguishing similar objects, precise localization, and spatial planning—not just simple image question answering.

    Third, evaluate how well the model works with its agent framework. Even if the model has a strong visual representation, poor input preprocessing, state management, or tool integration can still produce unstable results.

    Overall, visual primitives are a promising approach because they aim to address spatial reference problems in complex vision-language reasoning. Their value, however, must be validated through reproducible, interpretable, and closed-loop experiments.

    For developers and enterprise users, the priority should not be a model’s occasional impressive result. Instead, they should establish an evaluation system that distinguishes perception errors, representation errors, reasoning errors, and engineering errors. Only then is it possible to determine whether a vision model is suitable for production scenarios such as visual question answering, document understanding, image analysis, or automated AI agents.