Visual Primitives for Multimodal VLMs: Breaking Perception and Referencing Bottlenecks
This article examines why vision-language models can detect image details yet still struggle with precise spatial reasoning. It explains how visual primitives encode coordinates and region pointers as special tokens, reviews tokenizer design and reasoning-chain observations, clarifies the role of `place_holder_mm_span` tokens, and outlines use cases, practical prompting strategies, and the trend toward de-languaged visual reasoning.
Introduction: Why Multimodal Models Still “See Poorly” and “Explain Poorly”
As large language models evolve toward multimodality, vision-language models (VLMs) have shown strong potential in image recognition, visual question answering, embodied intelligence, and related tasks. Yet even as parameter counts grow and image encoders improve, an awkward problem remains: when asked basic but precise questions such as “How many people are in the image?” or “What are the exact coordinates of the object in the lower-left corner?”, models still often produce confused logic or inaccurate localization.
Early industry explanations attributed this to the “perception gap”: the visual encoder was not extracting enough image detail. Recent research, however, suggests that once a model can “see” details, the real bottleneck in fine-grained reasoning is that the model still uses natural language to describe spatial positions during its thinking process, which causes the reasoning chain to break. This phenomenon is collectively referred to as the “referencing gap.” Simply put, between “looking at an image” and “reasoning about it,” the model lacks an intermediate representation that can unambiguously point to a location in visual space. The “visual primitives” introduced by a recent open-source vision-language model are designed to address exactly this problem.
1. What Are Visual Primitives? From Natural-Language Descriptions to Unambiguous Coordinate Pointers
“Visual primitives” is not an entirely new concept. Its academic origins can be traced to a re-examination of the limitations of language intervention in visual reasoning. In traditional VLM architectures, the visual encoder converts pixels into feature vectors, and the language model “reads” these features through attention mechanisms. The problem is that when the model needs to describe a specific target—for example, a red book on the third row of a bookshelf—it is difficult for the natural-language modality to establish a precise mapping between discrete words and continuous image coordinates.
The core idea of visual primitives is to embed object position information directly into the model’s output vocabulary in the form of special tokens. For example, the model can directly output a special token representing a “point,” with coordinate values carried in its parameters. During the model’s internal reasoning stage, this avoids ambiguous natural-language references such as “the one on the left” or “the third one” and instead uses precise coordinate references.
In the technical implementation of the open-source model, its vocabulary file (tokenizer.json) does contain several special tokens related to visual primitives, such as start and end markers for “polygon,” “point,” “box,” and “ref.” The table below shows the vocabulary entry design for these tokens, using illustrative data:
| ID | Content | Type | ||
|---|---|---|---|---|
| 129271 | `<\ | /polygon\ | >` | Special visual primitive end token |
| 129272 | `<\ | polygon\ | >` | Special visual primitive start token |
| 129273 | `<\ | /point\ | >` | Point coordinate end token |
| 129274 | `<\ | point\ | >` | Point coordinate start token |
| 129275 | `<\ | /box\ | >` | Box region end token |
| 129276 | `<\ | box\ | >` | Box region start token |
| 129277 | `<\ | /ref\ | >` | Reference target end token |
| 129278 | `<\ | ref\ | >` | Reference target start token |
From the vocabulary design perspective, these tokens are not intended for final natural-language output. Instead, they serve as a “visual intermediate language” during the model’s internal reasoning. This mechanism allows the model to translate complex spatial relationships into a series of coordinate parameters when analyzing an image, and then perform counting, localization, or attribute discrimination based on those parameters.
2. Empirical Observations in Reasoning Chains: The Disappearance of Explicit Markers and the Emergence of Coordinate-Based Descriptions
Although the vocabulary design explicitly supports calling visual primitives, developers have observed a noteworthy phenomenon during practical testing: in the model’s Chain-of-Thought (CoT) output, explicit visual primitive markers such as <|point|[[x,y]]|/point|> do not appear. Instead, when answering reasoning details, the model tends to describe entity positions with coordinates directly in natural language.
This observation leads to a key inference: visual primitives may not always participate in reasoning as explicit text. After training, they may be transformed into an implicit spatial attention mechanism, or may take effect only in internal intermediate-layer features, with coordinate-based descriptions being the final result after externalization.
In other words, during later instruction tuning or reinforcement learning, the model may have learned to evolve visual primitives from “explicit text-token invocation” to “implicit coordinate awareness.” That is, it builds spatial pointers in attention layers, while natural-language output acts only as a translator of the result. This shift has clear engineering rationale: explicitly textualizing visual primitives increases token overhead during inference and also increases the complexity of sequence parsing.
3. Interleaved Text-Image Input and the Placeholder Mechanism: Discussing place_holder_mm_span
In addition to visual primitives, the model’s vocabulary contains a series of placeholder tokens with clearly defined functions, named in the pattern place_holder_mm_span_xxxx, ranging from 0001 to 0442. Such placeholders exist in the vocabularies of most multimodal models. Their main role is to mark the embedding positions of image features in interleaved text-image input so that the language model can accurately associate the corresponding visual feature vectors.
Many developers have questioned the order-of-magnitude difference between this token count and the “maximum supported image count” mentioned in official technical descriptions. Before analyzing this difference, it is necessary to clarify the core concepts:
- Image count refers to the upper limit on the number of image files allowed in a single input, such as the 600 images mentioned in official descriptions.
- Placeholder count refers to the total number of visual token segments the model can process in a single request.
The key point is that one image does not correspond to one placeholder. A high-resolution image may require multiple placeholders to fully describe different regions. In multimodal large models, high-resolution images are often dynamically split into multiple patches, and the feature vector of each patch interacts with the language model through an independent placeholder. Therefore, total placeholders = image count × dynamic patch count per image.
If calculated using 442 placeholders, and assuming one image can occupy up to 384 visual tokens—a common feature-length setting in some models—then 442 placeholders are intended to cover concurrent input scenarios involving multiple images. This setting can also accommodate analysis of complex document images containing multiple charts, multi-region screenshots, and similar content.
4. From “Seeing” to “Calculating Accurately”: Capability Boundaries and Practical Recommendations for Visual Primitive Models
The introduction of visual primitives provides significant gains for tasks requiring precise spatial reasoning, especially in the following application scenarios:
- Dense object counting: In crowd-density estimation, cell counting, inventory checks, and similar scenarios, traditional VLMs output vague values such as “about a dozen,” while visual primitive models can output precise structured data such as “12 in region 1 and 7 in region 2.”
- Complex layout structuring: In document understanding, table recognition, GUI automation testing, and similar tasks, visual primitives can precisely locate bounding boxes for different columns and sections, assisting information extraction and process automation.
- Multimodal agents and robotic manipulation: When a vision-language model acts as a robot’s “brain,” the coordinate localization accuracy of a target directly determines manipulation success. Visual primitives provide a more reliable intermediate representation for spatial coordinate reasoning.
For developers using such models, the following practical strategies are recommended:
- Prompt design: When asking about specific positions, consider specifying in the prompt that the model should “output in coordinates or bounding-box format” to activate the underlying visual primitive encoding capability.
- Chain-of-Thought guidance: Adopt a reasoning strategy of “summarize the whole first, then refine step by step,” so that the model preserves spatial coordinate information in intermediate steps.
- Resolution and input specifications: Such models have weaker adaptability to input image resolution. Inputs that are too small weaken the localization precision of visual primitives, so reasonable super-resolution or cropping should be applied during preprocessing.
5. Technology Outlook: “De-Languaging” Reasoning in Vision-Language Models
The emergence of visual primitives marks an inflection point at which multimodal large models begin to move from “understanding vision with language” toward “understanding vision with spatiotemporal structure.” In the past, visual reasoning was constrained by the expressive framework of language models. Visual primitives discretize continuous visual space into coordinate symbols, greatly reducing the interference of language ambiguity in perception tasks.
Of course, the current visual primitive mechanism is still evolving. How to balance reasoning precision and token overhead, how to perform lossless compression of coordinate sequences, and how to build a generalizable cross-domain visual primitive system are all research topics for the next stage. It is foreseeable that in future generations of vision-language model architectures, visual primitives will not be limited to coordinates and geometric markers. They may also extend to color primitives, texture primitives, and material primitives, ultimately building a complete visual thinking language system.
Conclusion
The open-source model’s exploration of visual primitive technology reveals an important direction for the coordination between perception and reasoning in current multimodal large models. By decoupling fine-grained spatial information from natural language, the model gains a reasoning path closer to the regularities of the physical world. For developers following multimodal technology frontiers and AI application deployment, a deep understanding of the design philosophy and practical forms of visual primitives will help them gain technical advantage in more complex visual intelligence scenarios. At the same time, through details observed in the open-source vocabulary and reasoning chains, we can also see the independent thinking and trade-offs of a frontline model team in architecture selection.
