Understanding Visual Primitives in Multimodal Models: From Perception Gaps to Referential Gaps
This article explains the concept of visual primitives in multimodal large models and why they matter for visual reasoning. It breaks down two core bottlenecks—the perception gap and the referential gap—and shows how structured pointers such as region coordinates, mask IDs, candidate box indices, and feature vector indices can replace ambiguous natural language references. The article also covers general engineering practices for configuration and invocation, along with evaluation suggestions across perception, referential, and compositional tasks. Readers will learn how visual primitives reduce language ambiguity, support compositional reasoning, and lower the logical burden on models without relying on any specific product or tool.
1. Background: From “Can’t See Clearly” to “Can’t Describe Accurately”
In the engineering practice of multimodal large models, poor image recognition is often simply attributed to the model “not seeing clearly.” However, the industry has gradually reached a consensus: once basic perception reaches a certain level, the real bottleneck is often not the image itself, but how the model expresses image content during its reasoning stage.
The source material describes a technical approach that splits the problem into two layers. The first is the “perception gap,” where the model fails to capture enough image detail. The second is the “referential gap,” where the model can see the target but can only describe it in natural language, such as “the second cup on the left” or “the small object near the edge.” Such descriptions work in simple scenarios, but in tasks like dense counting, complex occlusion, and fine-grained localization, language-based reference is inherently ambiguous and the reasoning chain can easily break down.
Rather than focusing on any specific product or tool, this article abstracts a general technical question: how to enable multimodal models to use more precise, computable, and reusable references during visual reasoning.
2. Core Concept: What Are Visual Primitives
A visual primitive can be understood as an unambiguous pointer that defines a target within continuous visual space. Instead of relying on vague language like “the reddish one roughly in the middle-left,” it represents a target as a structured entity that the model can directly reference, such as region coordinates, mask identifiers, candidate box indices, or feature vector indices.
Its core value lies in three points:
- Eliminating language ambiguity: The same target may be interpreted differently under different expressions, while a unified pointer ensures consistent reference.
- Supporting compositional reasoning: The model can take multiple primitives as input for counting, comparison, sorting, and spatial relationship判断.
- Reducing logical burden: Language only handles step planning, while precise localization is delegated to visual primitives, reducing the error accumulation from “describing while guessing.”
A schematic logical expression can be written as:
natural language instruction -> task decomposition -> generate/select visual primitives -> reason over the primitive set -> output result
The key here is that language is no longer the only intermediate representation.
3. Why Complex Tasks Experience “Logic Collapse”
Take dense counting as an example. If the model can only rely on language descriptions, it needs to keep generating sentences like “there is one more in the upper right corner” and maintain the counting state in context. Once the number of targets grows, or they become similar to each other or occlude one another, the language context expands rapidly and referential conflicts increase.
Another example is complex object localization. When a user says “that red button that is half covered,” a model that can only paraphrase in text can easily interpret “half covered” as another similar object. By providing a stable reference, visual primitives allow the model to focus on “which primitive satisfies the condition” instead of repeatedly guessing “which one do you mean.”
4. Engineering Implementation: General Approach to Configuration and Invocation
The source material also reflects a common engineering pain point: the configuration methods of intelligent coding tools or model runtime frameworks are inconsistent, and users often spend time on configuration file formats, command-line parameters, and upgrade procedures. The following general practices are recommended:
- Clarify the runtime mode first: Distinguish among local debugging, service-based invocation, and batch evaluation to avoid mixing configurations.
- Centralize configuration items: Put model identifiers, input modalities, output formats, timeout and retry policies into the same configuration layer.
- Make version upgrades traceable: Dependency packages and runtime versions should be pinned and recorded, and a minimal regression check should be performed after upgrades.
- Provide a minimal working example: Use a minimal input to verify that the pipeline works before extending to complex tasks.
A general configuration example:
{"model": "vision-reasoning-general","input_modalities": ["image", "text"],"output_schema": "structured","timeout_ms": 30000,"retry": 2}
It should be emphasized that field naming may differ across platforms, and developers should refer to the actual documentation rather than assuming a unified interface exists.
5. Evaluation Suggestions: How to Verify Whether Visual Primitives Are Effective
Evaluation should cover three types of tasks:
- Perception tasks: whether a target exists, and judgments of color and shape;
- Referential tasks: selecting a specified target among multiple targets;
- Compositional tasks: counting, sorting, spatial relationships, and cross-image comparison.
For metrics, it is recommended to observe task accuracy, referential consistency (whether repeated references to the same target remain stable), and changes in the number of reasoning steps. If introducing visual primitives significantly reduces the length of language descriptions while accuracy rises, it usually indicates that the intermediate representation has indeed become more efficient.
6. Conclusion
The essence of visual primitives is to advance multimodal reasoning from “describing images with language” to “operating images with structured pointers.” For developers, understanding the boundary between the perception gap and the referential gap is more valuable than chasing a single model name. In engineering, keeping configurations clear, evaluations rigorous, and interfaces neutral is what allows such capabilities to be reliably applied in real business scenarios.
