Visual Primitives: Bridging the Referential Gap in Multimodal Perception
Multimodal large models perform well on joint image-text understanding, but they still struggle with fine spatial grounding, dense object counting, and complex geometric reasoning. A key cause is not only limited visual encoder resolution but also the model’s reliance on natural language paraphrase during internal reasoning. Natural language is ambiguous and discrete, making it hard to anchor specific regions in continuous visual space. This article explains how visual primitives—structured tokens that act as unambiguous pointers to polygons, points, and bounding boxes—help close this referential gap. It distinguishes the referential gap from the perception gap, describes tokenizer and training implementation, discusses implicit use and explicit output, and reviews engineering trade-offs, limitations, and future directions for spatial reasoning.
Multimodal large models have demonstrated strong general capabilities in joint image-text understanding. However, in scenarios that require fine-grained spatial localization, dense object counting, or complex geometric relationship reasoning, they still tend to produce logical breakdowns or description drift. These problems do not simply come from insufficient resolution in the visual encoder. They also arise because the model still relies heavily on natural language paraphrase of image content during internal reasoning. Natural language is inherently ambiguous and discrete, making it difficult to precisely anchor specific regions in continuous visual space. This creates what is often called the “referential gap.”
To address this challenge, the industry has been exploring the introduction of “visual primitives” into the reasoning pipeline. Visual primitives can be understood as a set of specially designed structured markers that act as unambiguous pointers in a continuous visual coordinate system. Instead of using natural language words to describe “the red rectangle in the upper left corner,” they directly point to geometric entities such as polygons, points, or bounding boxes. This separates spatial information from vague linguistic description and reduces uncertainty in subsequent logical reasoning.
The essential difference between the perception gap and the referential gap needs further clarification. The perception gap mainly refers to the model’s inability to extract sufficiently fine-grained visual features from pixels, leading to failures in recognizing small objects, occluded objects, or regions with similar textures. As visual encoder resolution increases and multi-scale feature fusion techniques mature, this gap is gradually being narrowed. The referential gap occurs after perception: even if the model has “seen” the target, it still uses natural language for reference during internal thinking. As a result, the same object may be given different descriptions at different reasoning steps, ultimately causing counting errors or localization drift. Visual primitives are proposed specifically to address the latter.
At the implementation level, visual primitives are usually realized through a set of special tokens. These tokens are added to the tokenizer vocabulary and correspond to polygons, points, bounding boxes, and reference relationships. They are marked as special tokens and do not participate in ordinary text normalization, ensuring that they can be accurately identified during the encoding stage. During training, the model learns to align these tokens with the corresponding geometric coordinates, so that when fine localization is needed, it can directly output or internally use these structured pointers instead of generating lengthy natural language descriptions.
It is worth noting that although these visual primitive tokens appear explicitly in training data and paper descriptions, they are often not directly presented to users in actual inference outputs. This is an intentional design choice: the model uses primitives for precise anchoring during internal thinking, then converts the results into human-readable natural language. This “implicit use, explicit output” strategy preserves both reasoning accuracy and a natural user experience. When debugging, developers need to inspect the model’s internal attention distribution or intermediate representations to observe the actual role of primitives.
The value of visual primitives is especially prominent in complex tasks. Take dense counting as an example. Traditional methods require the model to repeatedly describe “which object” in language, which easily leads to missed or repeated counts due to referential confusion. With point or polygon primitives, the model can assign a unique geometric identifier to each instance, turning the counting problem into a set operation and significantly improving stability. In object localization tasks, bounding box primitives can directly provide normalized coordinates, avoiding vague expressions such as “roughly middle-left” that are common in natural language descriptions. For scenarios requiring precise boundaries, polygon primitives can provide finer-grained contour information.
From an engineering practice perspective, introducing visual primitives requires coordinated consideration of three areas: tokenizer extension, training data annotation, and inference post-processing. When extending the tokenizer, the uniqueness of special tokens must be guaranteed, and conflicts with existing vocabulary must be avoided. Training data needs to convert geometric annotations into corresponding primitive sequences while retaining natural language descriptions as auxiliary supervision. In the inference stage, a post-processing module can convert internal primitives into user-friendly output formats, such as rendering bounding box coordinates as visual boxes. The coordinated design of these components determines whether primitive technology can truly be deployed.
In addition, visual primitives are not a universal solution. They mainly address ambiguity at the referential level and have limited impact on improving feature extraction at the perception level. Therefore, in practical systems they still need to be combined with high-resolution visual encoders, multi-scale fusion, and targeted data augmentation. At the same time, introducing primitives increases the model’s dependence on structured outputs and raises higher requirements for annotation quality and consistency in training data. Developers need to weigh accuracy gains against data costs.
Looking ahead, visual primitives are expected to be further integrated with more advanced spatial reasoning mechanisms. For example, primitives could be embedded into attention computation as differentiable geometric constraints, or coordinated with external geometric solvers, thereby achieving stronger spatial consistency while maintaining end-to-end training. For application scenarios that require high-precision spatial understanding—such as industrial quality inspection, remote sensing interpretation, or interactive editing—this technical route provides a clear direction for improvement.
In summary, visual primitives effectively alleviate the referential gap in complex visual tasks by introducing unambiguous geometric pointers. Their core value lies in freeing spatial information from the ambiguity of natural language, enabling the model to perform precise anchoring in continuous visual space. In practice, developers should focus on the design of special tokens, the implicit use of internal reasoning, and coordinated optimization with perception capabilities. This can significantly improve the reliability of localization and counting tasks while maintaining natural output.
