Multimodal Visual Primitives vs. Thinking with Images: How to Evaluate Visual Referencing in Multimodal Models
This article breaks down two common failure modes in multimodal large models—the perception gap and the reference gap—and compares two technical approaches: visual primitives that give models unambiguous geometric pointers, and thinking with images that treats image operations as iterative reasoning tools. It outlines observable signals for verifying whether a multimodal pipeline actually uses structured visual markers, a minimal reproducible evaluation setup covering perception, reference, and reasoning metrics, key engineering details such as coordinate normalization and marker parsing tolerance, and common misconceptions to avoid when judging a solution's capability boundary.
1. Background: Why Multimodal Models Both “Miss Details” and “Misstate Targets”
In real-world multimodal LLM applications, developers often run into two problems that look similar but have different root causes. In the first, image details are not fully perceived—for example, biased counts in dense scenes or missed small regions. In the second, the model does “see” the target but cannot consistently point to the same object during subsequent reasoning, which leads to localization drift, confused references, and failed multi-step planning. The former is usually described as a “perception gap”; the latter is closer to a “reference gap.”
Understanding where these two gaps begin and end is a prerequisite for judging whether a multimodal approach is reliable. Raising input resolution or adding more visual encoder layers usually only eases perception problems. If the reasoning process still relies entirely on natural language to describe image content, the reference problem remains. This is why the industry has started exploring structured visual markers to carry “pointing” semantics, giving models a stable way to refer to things within a continuous visual space.
2. Comparing the Two Technical Routes at an Abstract Level
2.1 The Visual Primitives Route
The core idea of visual primitives is to abstract targets in an image into basic geometric or structural units that the model can reference directly, such as points, bounding boxes, and polygons. These units appear as special markers along the input and reasoning pipeline, so the model does not need a natural language passage to “describe a position” and can instead reference an unambiguous visual pointer.
The advantages are clear: reference relationships are explicit, traceable, and composable. For tasks such as counting, localization, region comparison, and path planning, structured references substantially reduce ambiguity. The cost is extra marker design and training alignment, plus higher demands on marker parsing, rendering, and consistency checks.
A schematic marker set can be abstracted as:
<POINT> ... </POINT><BOX> ... </BOX><POLYGON> ... </POLYGON>
Each marker wraps structured data bound to the image coordinate system, not a natural language description.
2.2 The Thinking with Images Route
“Thinking with images” emphasizes that the model repeatedly returns to the image itself during multi-step reasoning, observing iteratively through cropping, zooming, annotating, and re-inputting. It does not require geometric primitives; instead, it treats image operations as part of the reasoning toolchain. This route is relatively straightforward to implement, compatible with existing visual encoding schemes, and well suited to quick integration into coding assistants, document understanding, or multimodal question answering flows.
The two routes are not mutually exclusive. A common practice is to let thinking with images handle “multi-round evidence gathering” while visual primitives handle “stable referencing,” combining flexibility with consistency.
3. How to Tell Whether a Multimodal Solution Actually Uses Visual Primitives
Developers can verify this from several observable angles without relying on any specific product documentation:
- Vocabulary and special markers: Check whether the input template and serialized output contain geometry-type special markers. Paired markers for points, boxes, or polygons usually mean structured references are part of the input protocol.
- Output parseability: Observe whether model output can be reliably parsed into coordinates or region objects. If the output is only natural language directional description, it leans toward pure language-based reference.
- Multi-turn consistency: Ask about multiple targets on the same image in sequence and check whether reference IDs or region identifiers stay consistent, or whether “reference drift” occurs.
- Failure mode distribution: Tally failure types on tasks such as dense counting, occluded localization, and complex maze paths. If failures concentrate on “target recognized but pointed to incorrectly,” the reference gap is the main bottleneck.
- Toolchain coupling: Determine whether visual operations are performed inside the model or by an external orchestration layer. External orchestration is more typical of the thinking with images route.
4. Evaluation Design: Reproducible Experiments That Separate Sources of Capability
It is advisable to build a minimal evaluation loop that covers both perception and reference metrics:
- Perception metrics: small object detection rate, dense counting error, fine-grained attribute judgment accuracy.
- Reference metrics: multi-target reference consistency, repeated reference stability, robustness after region swaps.
- Reasoning metrics: multi-step planning success rate, path length reasonableness, number of backtracking steps.
Experimental variables should be strictly controlled: fix image resolution, fix the prompt template, fix decoding parameters, and only toggle whether structured visual markers are enabled. Only then can capability differences be attributed to the route itself rather than to prompt engineering or sampling randomness.
A simplified evaluation pseudocode:
for sample in dataset:out_plain = run(sample.image, prompt=plain_prompt)out_marked = run(sample.image, prompt=marked_prompt)record(perception_score(out_plain), reference_score(out_plain))record(perception_score(out_marked), reference_score(out_marked))
5. Key Engineering Details in Production
- Coordinate normalization: Visual primitives must be bound to a unified coordinate system; otherwise cross-resolution reasoning produces systematic offsets.
- Marker parsing tolerance: The parser must handle duplicate, nested, and out-of-bounds markers so that a single formatting error does not break an entire reasoning round.
- Context cost control: Primitives such as polygons can significantly increase sequence length, so combine region cropping with hierarchical referencing to control overhead.
- Toolchain observability: Record input and output snapshots for every image operation to help determine whether the issue is insufficient perception or an incorrect reference.
- Offline and online consistency: The marker protocol used in offline evaluation must match online orchestration, otherwise conclusions do not transfer.
6. Common Misconceptions
- Treating “can look at images” as equivalent to “can reference.” Successful recognition does not mean references stay stable during multi-step reasoning.
- Assuming geometric markers necessarily improve results. Without sufficient training alignment, markers add noise instead.
- Overlooking the orchestration layer. Many capability differences come from toolchain design rather than the model itself.
- Drawing conclusions from a single task. Counting, localization, and planning place very different demands on capability and must be evaluated per task.
7. Conclusion
Visual primitives and thinking with images address the reference gap and evidence-gathering efficiency in multimodal reasoning, respectively. For developers, what is truly valuable is not following one route, but building an observable, reproducible evaluation framework, identifying the main bottleneck in their own scenario, and then deciding whether to adopt structured visual markers, external image operation orchestration, or a combination of both. Only by validating perception, reference, and reasoning metrics separately can you make a rigorous judgment about the capability boundary of a multimodal solution.
