Why Multimodal Image Recognition Needs Visual Primitives
This article explains why image recognition modes in multimodal models often fail at precise reference tasks, tracing the root cause to the use of natural language as the intermediate representation for continuous visual space. It introduces Thinking with Visual Primitives, an approach that interleaves points and bounding boxes into the chain of thought to anchor reasoning to spatial coordinates. The article also covers the cognitive and engineering motivations, practical recommendations for data, inference, evaluation, and operations, as well as current limitations and future directions.
1. Where the Problem Starts: Why Image Recognition Can See but Cannot Explain
Over the past year, most multimodal large models have introduced an “image recognition mode,” in which the model first observes and describes an image, then continues reasoning based on that description. A recurring pattern shows up in engineering practice: the model performs reasonably well on low-resolution thumbnails, but once a task requires precise reference—dense counting, small object localization, chart reading, or UI element interaction—accuracy drops sharply, accompanied by a large number of hallucinations that look plausible but point to the wrong target.
The root cause is not insufficient resolution in the vision encoder, nor is it entirely a matter of inadequate alignment training. It lies in the choice of intermediate representation: most approaches force the continuous visual space into a passage of natural language description, then ask the model to reason a second time over that text. Language is inherently vague, elliptical, and context-dependent. It is good at expressing categories and relationships, but poor at expressing “which one,” “at what coordinate,” or “where the boundary lies.”
2. An Analogy: Why “First Cannon, Then Horse” Is Not Enough to Replay a Chess Game
When beginners learn Chinese chess, two short phrases seem enough to describe an opening. But a follow-up question immediately exposes the ambiguity: which cannon? Which file does “head” refer to? The horse on which side? Press further, and “right” raises another question—right from Red’s perspective or from Black’s? To remove the dispute, Chinese notation switched to structured coordinate notation such as “Cannon 2 to 5” and “Horse 8 to 7,” replacing vague colloquial speech with an encoding that can be located unambiguously.
The model in image recognition mode is exactly that player who must replay a game based only on a third party’s narration. If the narration is “the piece on the left moved a bit,” no amount of skill will let the player reconstruct the position. This is not a reasoning ability problem; it is a mismatch between the description system and the task. In technical terms: natural language is not sufficient to serve as an unambiguous pointer in a continuous visual space, and forcing it into that role loses the visual entity that the intent refers to, which further induces hallucinations.
3. The Core Idea: Thinking with Visual Primitives
The fix is to turn “look, speak, then think” into “look, mark, and think while marking.” Visual Primitives here specifically refer to two kinds of spatial markers:
- Point: used to refer to a single entity, anchor, inflection point, or endpoint;
- Bounding Box: used to enclose a region, form a group, or scope a range of effect.
They are interleaved into the chain of thought in structured form, continuously anchoring abstract language reasoning to concrete spatial coordinates. An illustrative intermediate representation can be written as:
{"step": 3,"thought": "First locate the densest target cluster on the far left, then count cluster by cluster","visual_primitives": [{"type": "bbox", "xyxy": [0.08, 0.42, 0.31, 0.77], "label": "cluster_1"},{"type": "point", "xy": [0.142, 0.503], "label": "counted_1"}]}
The key point is that coordinates are normalized continuous values, and labels are only annotations for humans to read; what the model actually relies on is the numeric pointer.
4. Cognitive and Engineering Motivations
On the cognitive side, people naturally point at a group of ducklings while counting them. This deictic gesture reduces cognitive load and keeps the logic coherent, producing a synergy of “pointing to promote thinking”: attention is externalized into space, so working memory no longer has to hold both “individual identity” and “counting state” at the same time.
On the engineering side, visual primitives bring three direct benefits:
- Reference disambiguation: replacing “that one” with coordinates eliminates disputes over perspective and relative direction;
- Trackable state: counted or already-checked targets are explicitly recorded with point markers, avoiding duplicates and omissions;
- Verifiable process: intermediate steps can be read by programs, making automated checking and error localization possible rather than relying only on comparing final answers.
5. Practical Recommendations
When building such capabilities on a general cloud environment (for example, general-purpose capabilities such as object storage, container platforms, log services, and monitoring and alerting on Baidu AI Cloud), it is worth focusing on:
- Data: build intermediate-step corpora with point and box annotations, covering long-tail scenarios such as dense counting, chart reading, and UI element localization;
- Inference: adopt a two-stage strategy that first produces candidate markers and then performs aggregation and judgment based on them, keeping the length of a single chain of thought under control;
- Evaluation: in addition to final answer accuracy, add process metrics such as reference consistency, duplicate counting rate, and box coverage;
- Operations: write intermediate markers and chains of thought into a log service, and use monitoring and alerting to locate quality regressions.
6. Limitations and Outlook
Visual primitives are not a cure-all: under occlusion, deformation, cross-frame consistency requirements, and extremely dense scenes, the markers themselves may become unstable; coordinate precision is also affected by input resolution and quantization error. A reasonable direction of evolution is to combine points and boxes with finer-grained region descriptions and depth cues to form a hierarchical spatial representation, and to explicitly supervise intermediate markers during training rather than only prompting for them at inference time.
Overall, the next stage of competition in image recognition modes will not be about how fluently a model speaks, but about whether the intermediate representation is precise, addressable, and verifiable. Anchoring verbal reasoning to spatial coordinates is currently one of the most cost-effective paths to improving the reliability of multimodal reasoning.
