Visual Primitives and Cross-Modal Representations in Experimental Multimodal Models
This article explains how experimental multimodal models use visual primitives such as points, boxes, polygons, and region references to reduce ambiguity between visual perception and language reasoning. It examines paired special tokens, why explicit primitives may be hidden in final outputs, when coordinate-only representations are practical, how multi-image placeholders should be interpreted, and a layered method for evaluating spatial understanding and engineering reliability.
In recent years, the focus of multimodal model capabilities has gradually shifted from “can the model recognize an image” to “can it accurately understand spatial relationships within an image.” For simple image question answering, a model only needs to determine whether an object is present or summarize the main content of the image. However, for tasks such as dense counting, fine-grained localization, overlapping object recognition, and regional relationship reasoning, relying solely on natural language is often unstable.
A recent class of experimental technical approaches introduces “visual primitives” between visual information and language reasoning. These approaches attempt to use structured forms such as points, boxes, polygons, and reference regions to directly point to objects or areas in an image, thereby reducing the ambiguity caused by natural language descriptions. By analyzing the vocabulary structure, special tokens, and actual output results of relevant models, it is possible to better understand how such models organize visual information and why explicit representations used during training may appear in different forms during inference.
1. From the Perception Gap to the Reference Gap
When multimodal models process images, they usually face two different levels of problems.
The first level is the perception problem: whether the model can extract sufficiently accurate visual information from the image. For example, the model needs to recognize object categories, colors, textures, text, poses, and basic spatial positions. If image resolution is insufficient, targets are too small, or occlusion is severe, the model may fail to obtain correct visual evidence from the start. This can be called the perception gap.
The second level is the reference problem. Even if the model has seen a target in the image, it may not always be able to refer to it accurately in subsequent reasoning. For example, if an image contains multiple cups with similar appearances, the model may know “how many cups are in the image,” but when the question asks it to “determine the object next to the second cup from the left,” relying only on natural language descriptions such as “the cup on the left” or “the cup near the edge of the table” can easily lead to reference drift.
These errors are not entirely visual recognition errors. Rather, visual objects lack a stable and unambiguous way to be referenced during language reasoning. Natural language is suitable for expressing semantics, but it is not good at precisely representing positional relationships in continuous space. Visual primitives are structured supplements proposed to address this problem.
2. Basic Forms of Visual Primitives
Visual primitives can be understood as an intermediate representation connecting image space and language space. Common forms include the following categories.
- Point representation
Points are usually used to represent a target center, a key part, or a precise location. They can be written as normalized coordinates:
<point>[x, y]</point>
Here, x and y usually fall within a unified coordinate range, such as 0 to 1, or a discretized integer grid. Point representations are suitable for describing target centers, fingertip positions, character positions within text regions, and similar elements.
- Bounding box representation
Bounding boxes are used to represent the outer region of an object and usually contain the coordinates of the top-left and bottom-right corners:
<box>[x1, y1, x2, y2]</box>
They are suitable for tasks such as object detection, region cropping, and “find all objects that meet certain conditions.” Compared with natural language, bounding boxes can explicitly express the spatial extent of an object.
- Polygon representation
For targets with irregular shapes, a bounding box may include a large amount of background area. In such cases, polygons can be used:
<polygon>[(x1, y1), (x2, y2), ...]</polygon>
Polygons can describe contours more precisely and are suitable for instance segmentation, road areas, building boundaries, complex graphics, or irregular objects.
- Reference markers
The role of reference markers is not to describe a new geometric shape, but to bind subsequent language reasoning to a specific visual object. For example, a model can first generate different region references for multiple targets, then use the corresponding references in text for comparison, counting, or relationship judgments.
These primitives share a common characteristic: they are not ordinary text, but symbols with clear structure and spatial meaning. The model can use them as “pointers” during reasoning, reducing reliance on ambiguous natural language descriptions.
3. Why Paired Special Tokens Appear in Vocabularies
In a model’s tokenizer or vocabulary, paired special tokens are often visible, such as start and end markers for a certain primitive. The main purposes of paired structures include:
- Clearly marking the start and end range of a visual structure;
- Separating coordinate sequences from ordinary text;
- Helping training programs identify different types of visual information;
- Reducing boundary ambiguity during parsing;
- Supporting the consecutive occurrence of multiple primitives.
For example, a structured output containing multiple targets may logically resemble:
<box>[0.12, 0.20, 0.31, 0.46]</box><point>[0.58, 0.64]</point>
Start and end markers help both the model and external parsers determine which content belongs to box coordinates, which content belongs to point coordinates, and which content is ordinary answer text.
It is important to note that the presence of special tokens in a vocabulary does not mean the model will always display them exactly as they are in every output. The vocabulary is the set of symbols available to the model, while the final output format also depends on training objectives, inference templates, decoding strategies, and post-processing logic at the service layer.
4. Why Explicit Visual Primitives May Be Absent from Visible Reasoning
In practical testing, users sometimes see only natural language explanations and coordinate information, without complete visual primitive tags. This phenomenon is not contradictory and may result from a combination of the following factors.
1. Training representation and presentation representation differ
During training, the model may use structured markers to help establish connections between visual regions and text reasoning. However, when producing external output, the system may convert these markers into more readable coordinates, descriptions, or natural language.
This is similar to how a compiler internally uses an abstract syntax tree, while the end user sees source code or execution results. The existence of an internal representation does not mean it must be exposed exactly as it is.
2. The post-processing layer hides structured tags
A multimodal system usually includes not only the model itself but also input preprocessing, visual encoding, text decoding, and output cleaning. To prevent users from seeing large numbers of control symbols, the service layer may remove special tokens, retain only the coordinate content, or convert it into visualized boxes and highlighted regions.
Therefore, observing the final text cannot directly prove whether the model used these markers internally.
3. The model has compressed primitive capability into coordinate patterns
During later training, the model may gradually learn to generate coordinate sequences directly rather than frequently outputting explicit primitive names. In other words, the “semantic function” of the primitive may be retained, but its external form may be compressed into a shorter expression.
For example, training data may originally require the model to output complete box tags, while a later system may only require it to generate four coordinate values. As long as the context already makes clear that these four numbers represent a box, the model does not need to repeatedly generate start and end tags.
4. Visible reasoning is not equal to the complete internal state
Any visible reasoning process is only a filtered, formatted, or summarized result and cannot be simply equated with the model’s true intermediate activation state. Even if visual primitives do not appear in the output text, this cannot prove that the model has not performed region-level reasoning internally.
Therefore, when studying such models, three concepts should be distinguished: the representation used during model training, the intermediate structures actually used during inference, and the output format that users can ultimately see.
5. Why Coordinate Expressions May Be a More Practical Compromise
Explicit visual primitives have the advantage of clear structure, but they also introduce additional costs.
First, special tokens increase vocabulary and training format complexity. Second, complex nested structures may reduce generation stability. Third, if users ultimately only need target positions, complete tags may create redundancy.
Coordinate-based expressions are more concise and are particularly suitable for the following scenarios:
- Passing object detection results;
- Cropping image regions;
- Sorting multiple targets;
- Position references in visual question answering;
- Structured interaction with external programs.
However, coordinates are not inherently reliable. A system must clearly define the coordinate system, origin position, aspect ratio, whether coordinates are normalized, and coordinate precision. In engineering practice, it is recommended to fix a unified format, for example:
{"type": "box","coordinates": [0.12, 0.20, 0.31, 0.46],"coordinate_system": "normalized","origin": "top-left"}
Compared with outputting a bare sequence of numbers, a structure with type and coordinate system information is easier to validate and can reduce interpretation differences between modules.
6. How Should Placeholder Tokens in Multi-Image Input Be Understood?
Multimodal models usually need to insert images, video frames, or other visual segments into a text sequence. Because a text encoder cannot directly process raw images, the system places special placeholders in the text to mark where visual content should be inserted.
Such placeholders do not necessarily correspond one-to-one with the “number of images.” A single placeholder may represent:
- One image;
- A set of visual features;
- An image region;
- Several visual encoding blocks;
- A cross-modal segment in a mixed text-image layout.
Therefore, one cannot infer the maximum number of images a model supports solely from the numbering range of placeholders, nor can the number of placeholders be directly equated with the number of image tokens.
A more reasonable interpretation is that visual input is usually first divided into several image patches, then encoded and compressed, and finally inserted into the language sequence as one or more cross-modal segments. Different resolutions, cropping strategies, image layouts, and compression methods may all affect the number of segments required.
If a system claims to support many images, this usually means the interface layer can manage a larger collection of visual inputs. However, how much visual representation a single image occupies inside the model still depends on the specific encoding strategy. These are limitations at different levels and cannot be directly compared.
7. Recommended Methods for Analyzing Experimental Multimodal Models
To avoid drawing conclusions based solely on surface-level output, a layered analysis method can be used.
Step 1: Inspect the vocabulary and special tokens to confirm whether the model has reserved symbols for points, boxes, polygons, references, and visual placeholders.
Step 2: Construct controlled test samples. Do not use only natural images; prepare synthetic images with clear target counts and regular positions, such as multiple geometric shapes in different colors, regularly arranged characters, and objects with occlusion relationships.
Step 3: Test recognition, localization, counting, and relational reasoning separately. Correct recognition alone does not mean the model has stable spatial reference capability.
Step 4: Compare different output formats. Ask the model to output natural language, coordinates, structured objects, and visualized regions separately, and observe whether they are consistent.
Step 5: Check coordinate reliability. Focus on coordinate ranges, top-left and bottom-right ordering, out-of-bounds cases, the ability to distinguish overlapping targets, and the position stability of the same target across multiple turns.
Step 6: Distinguish model errors from interface errors. If the model output structure is correct but the rendering result is abnormal, the problem may lie in post-processing or coordinate mapping. If the model output itself does not conform to the format, the investigation should start from the prompt template, training distribution, or decoding strategy.
8. Engineering Implications for Developers
The value of visual primitives is not only in helping models “see more clearly,” but more importantly in providing a stable reference mechanism for visual reasoning. In practical systems, model output can be divided into three layers:
- Semantic layer: describes what an object is and what attributes it has;
- Geometric layer: provides points, boxes, or polygons;
- Relational layer: describes relative positions, containment relationships, and interaction relationships between objects.
The three layers of information are best transmitted through structured formats and accompanied by strict validation. For high-risk tasks, the original image, model output, coordinate mapping, and final decision should also be retained for traceability.
Overall, visual primitives are not simply a few additional special tokens. They represent a design idea that enables language models to access visual space more reliably. They may appear as explicit tags, or they may be compressed into coordinates, region references, or other structured representations during training and deployment. To determine whether they are truly effective, one should not only check whether a certain marker appears in the output, but also examine the model’s stability in complex localization, dense counting, and multi-object relational reasoning. Only when visual representation, language reasoning, and engineering interfaces are consistently connected can the spatial understanding capability of multimodal models become genuinely useful.
