Technical Analysis of Visual Primitives in Experimental Multimodal Models

    This article explores the technical evolution of "Visual Primitives" in an experimental multimodal model by examining its tokenizer design and actual inference behavior. It discusses how spatial referencing mechanisms address the "Reference Gap" in visual reasoning and provides practical evaluation and deployment guidelines for developers working with multimodal models.

    A New Experiment in Multimodal Models: The Technical Evolution of Visual Primitives

    Recently, an experimental multimodal model released by the open-source community has garnered significant attention. As the first exploration version in its model series focused on visual understanding, it reveals several technical signals worth deep investigation, particularly in its tokenizer design and visual representation mechanisms. Instead of discussing the model’s download and deployment, this article focuses on a crucial technical pathway—“Visual Primitives”—and analyzes its significance for the capability boundaries of multimodal models based on the tokenizer structure and actual inference behavior.

    1. Uncovering Design Intent Through the Tokenizer: What Special Tokens Reveal

    One of the most intuitive ways to understand a large model’s behavior is to examine its tokenizer configuration. In this model’s tokenizer configuration file, a set of paired special tokens can be observed, roughly corresponding to the start and end tags for three types of geometric elements:

    • Point: Used to accurately mark a specific coordinate position in an image;
    • Box: Used to select a rectangular region in an image;
    • Polygon: Used to describe the contour of an irregularly shaped region.

    Additionally, there is a set of paired reference (ref) tags used to refer back to visual regions mentioned earlier in the text. These tokens have consecutive IDs and are all marked as special tokens, meaning they will not be broken down during the tokenization phase but will participate in the model’s computation as independent semantic units.

    This design closely aligns with the academic research direction of “thinking with visual primitives” proposed earlier this year. Its core argument is that the bottlenecks of multimodal models can be understood on two levels.

    The first level is the “Perception Gap”, where the model’s visual encoding capability is limited, and it cannot “see clearly” the details in an image. This issue is gradually being mitigated by increasing the resolution of visual encoders and optimizing visual token compression strategies.

    The second level is the “Reference Gap”, which is a more hidden and tricky problem: even if the model “sees” the image content, it can still only use natural language to describe what it sees during reasoning. Natural language is ambiguous—“the third cup in the upper left corner”—and such descriptions easily lead to errors in tasks involving dense counting or complex spatial relationship reasoning, causing the chain of thought (CoT) to collapse logically midway.

    Visual primitives were proposed precisely to solve this second-level problem. They turn geometric elements like points, boxes, and polygons into “unambiguous pointers” that can be directly embedded into the CoT, allowing the model to accurately point to objects in continuous visual space rather than taking a detour to approximate descriptions using natural language. This is equivalent to adding a precise spatial coordinate language to the model’s “inner monologue.”

    2. A Puzzling Phenomenon: Where Did the Explicit Primitives Go?

    According to the vision of the technical pathway mentioned above, the model’s CoT during reasoning should explicitly feature structured markers like “There is a target at point (x, y)” or “The boxed region [a, b, c, d] contains something.” However, actual testing revealed a puzzling phenomenon: the model’s CoT output did not contain these special primitive tags.

    Instead, a large number of coordinate values appeared directly in plain text. For example, when the model describes an object’s position, it directly writes normalized coordinates or pixel coordinates, but the coordinates are not wrapped in predefined start and end tags.

    There are several possible explanations for this:

    1. Post-training ablation: The model might have been exposed to explicit primitive tags during the pre-training phase, but in subsequent instruction tuning or reinforcement learning phases, the training data more often used direct coordinate writing, causing the trigger probability of explicit tags to be suppressed. This is a common trade-off in engineering—plain text coordinates are more readable for humans and easier to align with traditional object detection datasets.
    2. Implicit usage: The primitive tags may only appear in the supervision signals during training. During inference, the model learned to “internalize” this spatial pointer capability, completing accurate referencing without explicitly outputting tags.
    3. Output-side filtering: It is possible that the inference framework or post-processing layer masks special tokens. However, considering that these tags are retained in the tokenizer and have not been deleted, this explanation is relatively less likely.

    Regardless of the truth, this phenomenon gives developers an important insight: special tokens in the tokenizer are clues to the “capability ceiling,” not a guarantee of “actual behavior.” When evaluating a multimodal model, one must look not only at what expression mechanisms it has reserved but also confirm through extensive testing whether these mechanisms are truly activated.

    3. Mixed Text-Image Placeholders: The Mystery of Span Mechanisms and Token Budgets

    Besides visual primitive tags, another set of special tokens in the tokenizer is worth noting: a series of consecutively numbered multimodal span placeholders, ranging from 0001 to 0442, totaling 442.

    Intuitively, the purpose of such placeholders is to mark the position of image embeddings in mixed text-image input—inserting a placeholder in the text stream allows the model to align that position with the visual features of the corresponding image when processing the sequence. However, the upper limit of 442 brings up two discrepancies:

    • If each placeholder corresponds to one image, then 442 falls short of the officially claimed specification of “supporting up to several hundred images per request” (e.g., 600 images). The number of placeholders is insufficient to cover the upper limit.
    • Looking at it from another angle, if “span” is understood as multiple regional slices within a single image, meaning one image is jointly described by multiple span placeholders, then based on a common visual token budget estimate, a single image expands to about 384 visual tokens, which still does not match 442.

    This suggests that there might be more complex scheduling logic behind this numbering mechanism, such as: the placeholder pool being recycled in multi-turn dialogues, some numbers being reserved for expansion, or the number of spans occupied by an image dynamically changing under different resolution tiers. Without official implementation details, developers should not reverse-engineer hard limits based on the upper limit of the numbering. A more reliable approach is to base conclusions on actual stress testing: gradually increase the number and resolution of images in a single request, observe the error boundaries and VRAM usage curves, and derive the true capacity applicable to their own business.

    4. Practical Recommendations for Developers

    Based on the above analysis, several general methodologies can be distilled for evaluating and using such multimodal models:

    1. Read the tokenizer as technical documentation. The types, quantities, and ID continuity of special tokens often reflect the model’s true architectural orientation better than marketing copy. It is recommended to check the tokenizer configuration before any model selection.
    2. Distinguish between “declared capabilities” and “observed behaviors”. The fact that visual primitives are designed does not mean they will be used during inference. For tasks heavily dependent on spatial precision, such as object detection, counting, and OCR localization, test sets containing dense objects, occlusions, and small targets should be constructed for targeted validation.
    3. Normalize coordinate output formats. When the model outputs coordinates in plain text, the business side needs robust parsing and validation logic, including coordinate system confirmation (normalized vs. absolute pixels), numerical range clipping, and exception fallbacks, to prevent downstream crashes caused by occasional format drifts in the model.
    4. Monitor the consistency between the CoT and the final answer. In models that incorporate spatial reasoning, the coordinates in the CoT and the conclusions might contradict each other. It is recommended to log and spot-check the intermediate reasoning process in critical scenarios rather than just looking at the final output.
    5. Plan deployment resources rationally. Multimodal inference requires significantly more VRAM and compute power than pure text scenarios. For enterprise-level deployment, you can leverage cloud-based container platforms for elastic deployment, use object storage to manage image assets, and track inference latency and error rates through monitoring and alerting services to build a complete observability loop.

    5. Conclusion

    From “letting the model see clearly” to “letting the model describe clearly,” visual primitives represent an important direction in the evolution of multimodal technology: liberating spatial referencing from ambiguous natural language and endowing the model with precise geometric expression capabilities. Although there is still a puzzling gap between explicit primitive tags and actual inference behavior in the current experimental model, the design traces reserved in the tokenizer have clearly pointed out the exploration path for the next generation of vision-language models. For developers, understanding these underlying signals and replacing paper parameters with rigorous testing is the key to grasping technological trends and making correct engineering decisions.