Visual Primitives and Special Token Design in Experimental Multimodal Models

    This article examines how the special tokens in an experimental multimodal model's tokenizer, such as point, box, polygon, and ref, reveal the model's approach to visual grounding. It explains how visual primitives reduce ambiguity when referring to image regions, why these tokens may not appear in final outputs, how image placeholders differ from the number of images a model supports, and how developers can test grounding accuracy and output consistency.

    1. Observing Multimodal Model Design Through Special Tokens

    When an experimental multimodal model is released, most attention goes to parameter count, context length, and public benchmark results. However, the special tokens in the tokenizer are also an important way to understand a model’s technical approach. Compared with marketing materials, these tokens often reveal more directly how the model organizes image information, links text with images, and whether it has built structured support for visual localization tasks.

    In the tokenizer configuration of one experimental multimodal model, paired special tokens can be observed. Semantically, they broadly correspond to concepts such as polygon, point, bounding box, and referred region. A typical structure can be abstracted as:

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

    These paired tokens are not ordinary text tokens. They are special symbols in the model’s vocabulary, and they carry clear boundary meaning. They can signal that a span of content represents a visual object, a region, or a reference relationship between text and an image region.

    From an engineering perspective, special tokens usually serve three functions.

    The first is structural delimitation. Start and end markers can enclose a coordinate sequence, a visual region, or a referring expression. The model can then recognize structural boundaries without relying on natural language punctuation.

    The second is task signaling. When the model sees a point token, it can expect the following content to be closer to two-dimensional coordinates. When it sees a box token, it should attend to region parameters such as the top-left and bottom-right corners, or another format.

    The third is cross-modal alignment. Visual tokens come from an image encoder, while special text tokens can establish a mapping between language descriptions and image regions. This provides a unified representation for referring expression comprehension, visual question answering, and region grounding.

    2. What Visual Primitives Aim to Solve

    Visual primitives can be understood as the basic representation units a model uses during visual reasoning. They do not necessarily correspond directly to the text shown to the user. Instead, they work more like internal pointers that identify points, bounding boxes, polygons, or target regions in an image.

    Traditional multimodal models rely mainly on natural language to describe visual content. For example, when a user asks “How many people are in the picture?”, the model may first form an intermediate description such as “There are two people on the left and three on the right” before counting. This approach works reasonably well in simple scenes. But when an image contains dense objects, occlusion, or similar-looking objects, natural language easily becomes ambiguous.

    Two related problems arise here.

    1. Perception Gap

    The perception gap refers to a model failing to see image details clearly. The causes may include insufficient image encoding resolution, excessive visual token compression, or an encoder that struggles to preserve small objects and boundary information. If the visual input is not adequately represented, even a strong language model cannot fully recover the lost details.

    2. Referential Gap

    Even when a model has identified an object visually, it still needs to describe that object in language during reasoning. This can lead to vague expressions such as “the second one on the left” or “the person in the red clothes.” When several objects are highly similar, natural language cannot reliably distinguish them, and the reasoning chain can break down.

    Visual primitives reduce this ambiguity. Instead of “the object near the upper left corner,” the model can use normalized coordinates or region indices to refer to a target directly:

    1. point=(0.324, 0.581)
    2. box=(0.120, 0.240, 0.430, 0.760)
    3. polygon=[(x1,y1), (x2,y2), ...]

    These representations provide object pointers that are relatively stable, comparable, and composable in continuous visual space. For tasks such as dense counting, object localization, and relationship judgment, they are better suited as intermediate reasoning results than pure natural language.

    3. Why Explicit Visual Primitives May Not Appear in Output

    Visual primitive tokens may exist in the tokenizer without the model producing them in its final reasoning output.

    Adding special tokens to the vocabulary shows only that the training framework, data construction, or model architecture once reserved capacity for them. Whether they appear during inference also depends on the data mixture, the training stage, output format constraints, and the alignment strategy.

    One possibility is that the model used explicit visual primitives during pretraining or early fine-tuning. For example, training samples might take this form:

    1. <point>0.324,0.581</point>

    In later instruction tuning, however, trainers may have reduced the use of special tokens to make natural language output more readable. The model then tends to generate coordinates directly:

    1. The center of the target is approximately (0.324, 0.581).

    In this case, visual primitives have not disappeared. They have shifted from explicit symbolic representation to coordinates wrapped in natural language. The symbolic form suits machine parsing, while the natural language form suits human reading. If the final product is mainly for general conversation, the model is usually optimized to output natural language rather than expose internal markers.

    Another possibility is that visual primitives appear only in training labels or internal data pipelines. Image annotation tools may convert object boxes, polygons, or keypoints into special tokens. If the deployed inference prompt does not trigger the corresponding pattern, ordinary users rarely see them.

    A third possibility is that the model supports multiple output modes. A general conversation mode may hide structured markers, while visual grounding, region question answering, or offline evaluation modes may generate them explicitly. Whether these capabilities are exposed depends on the model’s prompt templates, sampling strategy, and post-processing logic.

    4. Can Coordinate Descriptions Replace Visual Primitives?

    Outputting coordinates directly can also express an object’s position, so special tokens may seem unnecessary. The two approaches are not fully equivalent, however.

    Coordinates are numerical representations, while visual primitives also carry type, boundary, and semantic constraints. If the model sees only two decimal numbers, it may not know whether they represent a point, the center of a box, or a normalized offset. A point token makes the role of the numbers explicit. Similarly, four numbers could be a top-left and bottom-right pair, or a center point with width and height. Special tokens and training conventions can reduce this interpretive ambiguity.

    More complete visual primitives may also include object IDs or region references. For example:

    1. Object A: box=[x1,y1,x2,y2]
    2. Object B: point=[x,y]
    3. Relationship: Object A contains Object B

    Such a representation lets the model refer to the same region repeatedly in later reasoning without generating a lengthy natural language description each time. In dense scenes, this stability matters a great deal.

    Explicit coordinates have clear limitations. Coordinate accuracy depends on image scaling, the normalization method, and the visual encoding resolution. If coordinates are generated only as text tokens, digit by digit, the model may produce results that are correctly formatted but spatially wrong. Judging whether a model truly understands visual grounding therefore requires more than checking whether it can output coordinates. It is also necessary to verify that the coordinates match the image content and remain consistent across repeated sampling and multi-turn reasoning.

    5. Why Image Placeholders Deserve Attention

    Beyond visual primitives, the tokenizer may contain many special tokens similar to “multimodal span placeholders.” These tokens are usually used for interleaved image-text input. They reserve positions in the text sequence for image content.

    A common process works as follows:

    1. The image is first converted by a vision encoder into several visual tokens.
    2. One or more placeholder tokens are inserted into the text sequence.
    3. During computation, the model maps the placeholder tokens to the visual token sequence.
    4. The language model completes understanding and generation based on the combined context.

    If there are hundreds of placeholders with different numbers, they should not simply be read as “supporting up to several hundred images.” The number of placeholders, the number of images, and the number of visual tokens per image are three separate concepts.

    For example, an image may be encoded into a fixed number of visual tokens, or it may use a variable number depending on resolution, tiling strategy, or content region. If a single image corresponds to at most several hundred positions, the placeholder numbering may be designed for visual token slots rather than image indices.

    The maximum placeholder index alone therefore cannot indicate the maximum number of images a model supports. An accurate judgment also requires the input preprocessor, the image tiling configuration, the per-image token budget, and the model’s context length. A model with a high image limit may still allocate fewer tokens per image for cost and latency reasons. Conversely, a model with many placeholders may support only a small number of high-resolution images.

    6. How Developers Should Evaluate These Models

    For multimodal models with visual grounding capability, developers should not rely only on public leaderboards. They should build test sets that cover the real difficulties of their business.

    First, test dense counting. Ask for the number of objects in an image containing many similar targets, and check whether the model misses items, counts some twice, or mistakes background elements for targets.

    Second, test coordinate consistency. After the model outputs points, boxes, or polygons, map the results back onto the original image and check the positions manually or programmatically. Pay particular attention to occlusion, rotation, small object sizes, and low-contrast scenes.

    Third, test referential stability. Have the model refer to the same target repeated