Why Multimodal Image Recognition Needs Visual Primitives
This article explains why multimodal models often fail at counting, localization, comparison, and coreference resolution even when the target is clearly visible, arguing that the bottleneck lies in the intermediate representation between vision and language rather than the visual encoder. It introduces "Thinking with Visual Primitives," a four-layer framework that interleaves points and bounding boxes into the reasoning chain, and covers grounding rationale, engineering practices, common pitfalls, and evaluation design.
1. Where the Problem Starts: Seeing Clearly but Describing Vaguely
Once a multimodal model enters image recognition mode, a familiar pattern appears: the target is plainly present in the image, yet the model stumbles on counting, localization, comparison, and coreference resolution. The root cause is usually not the visual encoder but the intermediate representation sitting between vision and language. Most approaches convert an image into a passage of natural language description and then ask the model to reason over that text. The trouble is that natural language is inherently an ambiguous communication medium: it expresses intent well, but it is poor at acting as an unambiguous pointer within a continuous visual space.
An analogy helps. A beginner at chess can open with “cannon in the center, horse leaps forward,” and it sounds like two sentences fully describe the opening. Press further — which cannon, where exactly is the center, which side’s horse, red’s right or black’s right — and the ambiguity surfaces immediately. Mature notation systems therefore switch to structured, coordinate-style expressions such as “Cannon 2 to 5” and “Horse 8 to 7.” A model in image recognition mode is like a player who can only review a game through a third party’s narration: if the narration is muddled, even a strong player cannot reconstruct the board. This is not a reasoning capability problem; it is a mismatch of the descriptive medium.
2. The Core Argument: Natural Language Cannot Serve as a Pointer in Continuous Space
Abstracting the analogy into a technical claim: entities in a continuous visual space need stable, repeatable addresses, and natural language phrases do not provide that addressing capability. The consequence chain is clear:
- Referential drift: “the thing on the left” or “the object just mentioned” does not resolve uniquely in multi-object, occluded, or dense scenes.
- Entity loss: targets introduced early are silently dropped in later steps of a long reasoning chain.
- Hallucination amplification: the model uses language priors to “fill in” missing referents, producing plausible details that do not exist.
- Error accumulation: small ambiguities at each step compound across serial reasoning until the final conclusion is unusable.
So the direction for improving image recognition mode is not to make language more detailed, but to introduce a marking system isomorphic to the visual space.
3. The Framework: Thinking with Visual Primitives
The representative idea is to think with visual primitives: use points and bounding boxes as spatial markers, interleaved into the chain of thought, so that abstract language reasoning is anchored to concrete coordinates. The framework breaks into four layers:
- Perception layer: encode the image and output candidate regions and pixel-level features.
- Primitive layer: generate or select points and boxes, forming a referenceable table of spatial symbols.
- Reasoning layer: language steps and primitive steps alternate, producing “state one thing, point at one thing.”
- Verification layer: run consistency checks on primitive references, and fall back to relocation on conflict.
Illustrative pseudocode (expressing flow only, not a specific API):
primitives = [] # spatial symbol table: id -> {type, coords}def step(thought):if need_locate(thought):p = detector.point_or_box(thought.target_desc)primitives.append(p)return f"{thought.text} [ref#{p.id}]"return thought.textchain = [step(t) for t in planner(image)]chain = verify_refs(chain, primitives) # relocate dangling references
4. Cognitive Basis: Pointing to Aid Thinking and Cognitive Load
When people count dense small objects, they instinctively point and tally. This deictic gesture does two things at once: it lowers working memory load and preserves logical coherence. Visual primitives digitize that behavior — externalized spatial markers replace internal memory burden, letting language-based thinking and spatial indexing work together. The engineering payoff: references become traceable, steps become auditable, and errors become locatable.
5. Engineering Implementation
- Primitive granularity: points suit counting and keypoints; boxes suit region comparison and occlusion inference. Choose dynamically per task.
- Insertion timing: insert before steps that require localization, counting, or comparison, avoiding pointless markers that bloat the context.
- Consistency verification: maintain a reference table and detect dangling references, out-of-bounds coordinates, and duplicate ids.
- Context budget: serialize primitives compactly to control token overhead.
- Evaluation design: add dedicated sets for coreference resolution, dense counting, relative position, and occlusion reasoning, and report them separately.
- Failure fallback: trigger relocation when verification fails instead of generating a conclusion directly.
6. Common Pitfalls and Boundaries
First, treating primitives as a universal patch: if the visual features themselves are insufficient, no amount of marking precision will help. Second, ignoring serialization cost: too many primitives crowd out the reasoning budget. Third, generating without verifying: without consistency checks, the approach degrades into “hallucination with coordinates.” Fourth, evaluating only end-to-end accuracy: without breaking out referential errors, the bottleneck cannot be located.
7. Conclusion
The next stage of competition in image recognition mode will not be about longer descriptions, but about more reliable addressing. Unambiguous spatial pointers built from points and boxes, combined with alternating “point to aid thinking” reasoning and strict verification, can substantially suppress referential drift and hallucination. For teams building multimodal capabilities in their own products, general-purpose foundations such as object storage, message queues, container platforms, logging services, and monitoring and alerting can support a reproducible data loop and evaluation pipeline, so primitive strategies and verification rules can be iterated continuously.
