Visual Primitives and the Referring Gap in Multimodal Models
This article explains why multimodal models still fail at counting, maze path planning, and object localization, even when they handle document and image QA well. It separates the perception gap from the referring gap, compares the visual primitives approach with thinking with images, and explains why the surrounding harness affects results. It ends with practical steps for testing multimodal models in real deployments.
1. The Starting Point: Can’t See Clearly, or Can’t Reason Clearly?
Multimodal large models have improved significantly on tasks such as image question answering and document understanding. Yet they still often fail on tasks that seem simple: counting how many people are in a team photo, planning a valid path through a maze diagram, or precisely locating an object in an image. These tasks share one trait. They are not knowledge questions. They are reasoning problems that take vision as input.
The developer community often reports the same pattern. A model performs well on the examples in its official technical report, but in the web interface or client app, it miscounts objects and plans paths incorrectly. This gap between published results and real-world behavior is a useful starting point for understanding the technical choices behind multimodal models.
2. Two Gaps: The Perception Gap and the Referring Gap
To understand the debate over visual reasoning approaches, we first need to separate two different kinds of gaps.
1. The Perception Gap
The perception gap refers to a model’s lack of resolution for low-level image information. Early vision-language models usually compressed an image into a lower-resolution sequence of features. Small text, dense small objects, and fine textures were lost at this stage. Any later reasoning, however strong, is built on incomplete perception. Common fixes in the industry include dynamic resolution tiling, high-resolution image encoding, and multi-level feature fusion. The perception gap has been substantially narrowed over the past two years.
2. The Referring Gap
The referring gap is more subtle. Even when perception is clear enough, a model still describes image content in natural language while it reasons. Natural language is inherently lossy and ambiguous.
- A description such as “the third person from the left” is severely ambiguous in dense scenes.
- Language tokens cannot express exact positions in a continuous coordinate space.
- In long reasoning chains, each ambiguous reference adds error. This eventually breaks the logic of counting and localization tasks.
In other words, the bottleneck has shifted from “cannot see clearly” to “cannot say it precisely.” When a model describes what it sees in a paragraph, precise spatial relationships are flattened during verbalization.
3. Two Technical Routes: Visual Primitives and Thinking with Images
The industry has developed two representative approaches to the referring gap.
Route 1: Visual Primitives
The visual primitives approach gives the model a set of unambiguous, structured expressions that act as precise pointers into a continuous visual space. During reasoning, the model no longer describes object positions in natural language. Instead, it references or generates structured geometric objects directly.
One observable technical signal is the design of special tokens in the tokenizer. For example:
<|box|> ... <|/box|> rectangular region<|point|> ... <|/point|> point<|polygon|> ... <|/polygon|> polygon
These tokens open a structured channel within the language sequence. When the model outputs content wrapped in <|box|>, the meaning is not text. It is a region with explicit boundaries in the image coordinate system. Dense counting can become the operation of annotating each object with a point. Object localization can become the operation of generating a box. Structured expression removes the ambiguity.
Route 2: Thinking with Images
Thinking with images is closer to a tool-calling paradigm. During its reasoning chain, the model actively calls image operations such as cropping, zooming, annotating, and viewing again. It brings visual information into its context step by step. This approach does not change the token system. Instead, through multi-turn, agent-style interaction, the model looks and reasons in alternating steps. Its advantages are good compatibility with existing model architectures and strong interpretability. Its costs are longer reasoning chains, higher latency, and results that depend heavily on the quality of the outer orchestration logic.
4. From Model to System: The Importance of the Harness
A telling detail in community practice is that the same multimodal capability can perform very differently across three setups: a raw API call, a web interface, and a command-line agent. This suggests that evaluating modern large models cannot rely only on the model itself. The surrounding runtime framework, the harness, matters as well.
The harness determines how images are split and fed into the context, how tool calls are parsed and executed, and how reasoning steps are organized. A well-designed harness can lift a moderately capable model. Conversely, poor orchestration can weaken even a strong model. The takeaway for developers is this: when evaluating a multimodal solution, test it in the target setup. Do not rely only on evaluation reports.
5. Practical Recommendations for Evaluating Multimodal Capabilities
Based on the analysis above, here are several actionable evaluation recommendations:
- Design a referring-sensitive test set. Dense counting, fine-grained localization, and spatial relationship reasoning are key tasks for checking whether the referring gap has been addressed. They expose weaknesses better than general image-text QA.
- Separate perception issues from reasoning issues. When the model makes a recognition error, first crop and enlarge the relevant image region, then ask again. If the answer becomes correct, the problem lies in perception or in how the context is organized. If it is still wrong, the problem is more likely in reasoning or referring.
- Use structured output to verify localization. Ask the model to output bounding box coordinates in JSON, then draw them on the original image with a script. This quantifies localization accuracy.
- Check the token system and the interface documentation. Special tokens often reveal which visual primitives a model supports. Reviewing how the interface documentation expresses coordinates, regions, and annotations can help you identify the technical approach.
- Retest in the real harness. Web, API, and agent setups handle preprocessing and orchestration differently, so conclusions may change. Base your selection on the production setup.
6. Conclusion
Multimodal reasoning is moving from “feeding images into the model” toward “letting the model interact with visual information in a structured way.” Whether the approach is a structured channel like visual primitives or a tool-based interaction like thinking with images, the goal is the same: removing the ambiguity that natural language introduces into visual reasoning. For developers, understanding the trade-offs between these two routes is more valuable over the long term than remembering any single product name. These trade-offs shape how you design tests, build orchestration, and decide whether a multimodal solution can truly understand what it sees in your business use case.
