Visual Primitives vs. Thinking with Images: Two Approaches to Multimodal Vision
This article examines two technical routes for how multimodal large language models process images: visual primitives and "thinking with images." It explains the perception gap and the reference gap, compares the engineering trade-offs of both approaches, and offers practical guidance on integration testing, enterprise architecture, and a production readiness checklist. The analysis is based on public discussions and general engineering experience, not on any official conclusions about a specific product.
This article discusses the technical routes multimodal large language models use to process images. The judgments here are based on public discussions and general engineering experience, and do not represent official conclusions about any specific product.
1. Two Gaps: The Perception Gap and the Reference Gap
The main problem for early multimodal models was the Perception Gap. Models could not reliably extract fine-grained information from images — in plain terms, they could not “see clearly.” Small text, densely packed objects, and local textures were easily missed. Increasing the vision encoder’s resolution and optimizing how visual tokens are compressed both help mitigate this issue.
Once the perception gap is alleviated, another problem becomes more prominent: the Reference Gap. During reasoning, the model still has to refer to objects in the image using natural language. For example, when counting people in an image, the model generates descriptions such as “the person in the red shirt in the upper-left corner” or “the person wearing a hat in the middle.” Natural language is highly ambiguous when describing continuous, dense visual space. The same description may match multiple objects or miss one entirely. The longer the reasoning chain, the more these ambiguities accumulate, eventually causing logical errors.
The difference between the two gaps can be summarized as follows:
| Dimension | Perception Gap | Reference Gap |
|---|---|---|
| Source of the problem | Incomplete extraction of visual information | Referring to visual objects in natural language during reasoning |
| Typical symptoms | Missed details, undetected small objects | Counting errors, confused spatial relationships, long-chain reasoning breakdowns |
| Common mitigations | Higher resolution, improved vision encoders | Structured visual representations, or reasoning directly tied to image features |
2. The Design Idea Behind Visual Primitives
Visual Primitives aim to provide an unambiguous way to refer to continuous visual space. Instead of describing positions in words, the model directly outputs structured visual markers. In practice, a set of special tokens is added to the tokenizer — for example, <|point|> for points, <|box|> for bounding boxes, and <|polygon|> for polygons.
Note that these special tokens are essentially discrete symbols. After being mapped to vectors by the embedding layer, they participate in reasoning; the model is not computing directly in continuous geometric space. Coordinate precision, training data coverage, and the decoding strategy all affect the final result.
Take maze navigation as an example. The traditional approach has the model output “move two steps left, then three steps up” in natural language. The visual primitives approach has the model directly output a sequence of coordinate points forming a complete path. Coordinate sequences reduce the ambiguity introduced by language conversion and are theoretically better suited to agent tasks that require precise spatial operations. However, they require downstream systems to correctly parse the coordinates and map the results back to the real environment.
3. A Shift in Direction: From Visual Primitives to Thinking with Images
Recent public discussions of experimental versions suggest that the teams involved appear to have shifted, at least to some extent, toward “Thinking with Images” — letting the model associate and reason directly around image features. This change is worth watching, but public information is limited, and its full rationale cannot be confirmed.
From an engineering perspective, a gap between theoretical results and real-world performance is a common reason for such a shift. In controlled paper experiments, visual primitives are usually designed and optimized for specific tasks and perform well. But once the capability is integrated into a consumer-facing web product or an agent system, the input distribution changes, and system prompts, tool calls, and decoding pipelines all change with it. Counting tasks and maze-planning tasks can both deviate from expectations, and the source of the deviation is often hard to locate.
The table below compares the typical engineering trade-offs of the two routes. This comparison is qualitative; concrete conclusions should be based on each team’s own evaluation data.
| Dimension | Visual Primitives | Thinking with Images |
|---|---|---|
| Spatial precision | Strong potential for coordinate-based tasks | Depends on the model’s internal representations; precision is harder to guarantee |
| Generalization | Sensitive to task and input format | Generally more tolerant of new tasks |
| System coupling | Requires parsers and a customized system architecture | More direct integration, fewer changes |
| Interpretability | Output coordinates are easy to inspect and visualize | The reasoning process is harder to verify step by step |
| Debugging difficulty | Both the model and the parsing pipeline must be checked | Problems are usually concentrated in the model output itself |
Therefore, the choice of route depends on the task type. If a task requires precise spatial output and the team can afford customized parsing and evaluation, visual primitives remain valuable. If the task centers on general understanding, or stability matters more, thinking with images is usually easier to put into production.
4. Integration Practice: Verify First, Then Configure
When integrating experimental multimodal capabilities, the first problem many developers encounter is incomplete documentation. Official announcements often provide only a brief model identifier, without explaining the configuration structure, environment dependencies, or version requirements. In this situation, do not copy installation commands from social media or forums. Follow these steps instead:
- Verify the installation source. Rely on the package names, version numbers, and installation commands in the official documentation. Execute commands only after confirming they come from a reliable source, and record the versions used.
- Confirm the configuration location. Find out where configuration files are stored and the priority between project-level and global configuration. Rules differ between tools, so follow the documentation of the tool you use.
- Check key fields. Common configuration items include the model identifier, the capability list, and the vision mode. The structure below is illustrative; field names and values should follow the documentation of your tool:
{"model": "<model-id>","capabilities": ["text", "vision"],"vision_mode": "<mode-from-docs>"}
- Test in an isolated environment. Use a fixed test set to validate counting, spatial relationships, and long-chain reasoning before deciding whether to move to production.
- Keep a fallback plan. Save the last working configuration. If visual capabilities behave abnormally, you can disable vision mode and fall back to a verified route or a text-only workflow.
5. Enterprise Architecture: Decouple Model Versions from Business Logic
In enterprise scenarios, the model’s own capability is only part of the picture. System stability also depends on the infrastructure built around the model. A common practice is to separate the model inference layer from the business logic layer, so that model upgrades do not affect upper-layer code.
Infrastructure can be selected by capability category:
- Object storage: manages large-scale image data, with access permissions and lifecycle policies.
- Message queues: schedules asynchronous image processing tasks, smooths traffic peaks, and prevents the inference service from being overloaded.
- Container platforms: supports elastic scaling of multimodal inference services and makes it easy to switch inference images.
- Logging and monitoring: records requests and responses, tracks metrics such as counting error rates and reference error rates, and configures alerts.
When selecting services, consider data compliance and storage region, inference latency, per-call cost, compatibility with existing systems, and the risk of vendor lock-in. These factors determine whether a solution is appropriate far more than any single vendor’s feature list.
When switching vision routes, ideally you only need to update the inference image or model configuration, with no changes to business code. This design presupposes a clear interface contract and explicit compatibility notes for output formats across versions.
6. Production Readiness Checklist
Before putting multimodal capabilities into production, implement at least the following three items:
- Model version pinning: fix the model version in production. Before upgrading, compare the old and new versions on the same evaluation set for counting accuracy, spatial task performance, and response latency.
- A vision capability switch: control vision mode through configuration so it can be turned off quickly when problems arise, without redeploying the entire service.
- Rollback metrics: define thresholds in advance — for example, the counting task error rate exceeding the baseline by a set proportion, or the reference error rate rising continuously. Once triggered, automatically switch back to a verified version or route.
There is no universal answer to choosing a multimodal vision route. Perception capability, reasoning style, and engineering cost must be compared within the same evaluation framework. Teams should make decisions based on their own task data rather than relying on any single release announcement.
