Visual Primitives vs. Thinking with Images: Two Technical Paths for Visual Reasoning in Multimodal LLMs

    An experimental multimodal model with visual capabilities recently sparked debate in the developer community over which visual reasoning approach it actually uses. This article examines the two dominant paradigms—visual primitives and "Thinking with Images"—explaining the perception and reference gaps they address, how to verify a model's approach by inspecting its tokenizer, and the practical implications for AI agent development.

    Visual Primitives vs. Thinking with Images: Two Technical Paths for Visual Reasoning in Multimodal LLMs

    Introduction

    A major LLM vendor recently released an experimental multimodal model with visual capabilities, sparking widespread discussion in the developer community. The debate is not about benchmark scores, but about a deeper technical question: which visual reasoning path does the model actually take? Does it follow the “visual primitives” approach the team had previously proposed, or does it return to the more classic “Thinking with Images” paradigm?

    This question matters because it touches on a core tension in the current development of multimodal LLMs—the structural bottleneck language models face when processing visual information. This article sets aside product specifics and examines the problem from a general technical perspective.

    1. The Two Gaps in Multimodal Models

    1.1 The Perception Gap: The Model “Can’t See Clearly”

    The primary bottleneck of early multimodal models was the perception gap: insufficient visual encoder resolution and coarse image-tiling strategies prevented models from capturing fine details. For example, given a photo of a dense crowd, a model couldn’t accurately answer even a basic counting question like “how many people are there?” With the widespread adoption of high-resolution visual encoders and dynamic image slicing, this problem has been significantly mitigated.

    1.2 The Reference Gap: The Model “Can’t Reason Precisely”

    The deeper bottleneck is the reference gap. Even when a model “sees” an image clearly, it must still describe visual content in natural language during reasoning—phrases like “the third person from the left” or “the button slightly above the center of the screen.” Natural language is inherently ambiguous when referring to specific spatial locations. When tasks involve dense counting, complex object localization, or fine-grained spatial reasoning, this ambiguity compounds step by step and eventually causes the reasoning chain to collapse.

    Typical failure cases include: in counting tasks, the model cannot precisely “anchor” targets it has already counted, leading to double counting or omissions; in maze navigation tasks, the model cannot describe the pixel-level position of turning points in natural language, so the planned path fails completely in the actual image coordinate system.

    2. Visual Primitives: One Approach to Closing the Reference Gap

    2.1 Core Idea

    One representative approach to the reference gap is the introduction of “visual primitives”: a set of special tokens added to the model’s vocabulary that can precisely “point” to objects in continuous visual space, acting as unambiguous pointers.

    Common types of visual primitives include:

    • Point: marks an exact coordinate location in the image;
    • Box: delimits a target region with a bounding box;
    • Polygon: outlines the boundary of an irregular object with a polygon contour.

    In engineering terms, these primitives are typically implemented as special tokens in the tokenizer—for example, paired start and end tokens wrapping a sequence of normalized coordinates. During inference, the model can “output” these structured coordinates, converting references to visual targets from ambiguous natural language into precise geometric descriptions.

    2.2 How to Verify Whether a Model Uses This Approach

    For open-weight models, there is a simple and effective engineering verification method: inspect the tokenizer configuration file. If the configuration contains special tokens corresponding to geometric primitives (such as paired tokens representing points, boxes, or polygons), it usually means the model was trained with the visual primitives paradigm. Conversely, if the vocabulary contains no such tokens at all, the model almost certainly follows the traditional path—visual information is converted into feature vectors only through the visual encoder, and the model never outputs structured spatial references.

    2.3 The Gap Between Marketed Results and Real-World Capability

    It is worth noting that the visual primitives approach often achieves impressive results on paper benchmarks, but real-world product performance may fall short. Common community feedback includes: dense counting tasks shown in papers producing counting errors in the web interface, and spatial navigation capabilities claimed in papers failing to reproduce in actual conversations. This reminds us that controlled evaluation environments differ in distribution from open-ended real user input. Any visual enhancement scheme needs independent validation in real scenarios rather than conclusions drawn solely from published results.

    3. Thinking with Images: The Classic Alternative

    In contrast to visual primitives, the “Thinking with Images” paradigm does not require the model to output structured coordinates. Instead, the model actively “invokes” visual operations within its reasoning chain—for example, cropping, zooming, or rotating local regions of an image, then feeding the processed image back in for observation. The model’s “thinking” manifests as an alternation of visual tool calls and intermediate observations.

    Advantages of this approach include:

    1. Simple implementation: no need to modify the vocabulary or training data format; a generic tool-calling framework is sufficient;
    2. Good compatibility: it fits naturally with existing agent frameworks, since visual operations can be modeled as ordinary tools;
    3. Strong interpretability: every visual operation can be logged and replayed, making debugging and auditing easier.

    Its limitation is weaker support for pixel-level precise referencing. On tasks that require exact coordinate output (such as object detection–style results), it is less direct than visual primitives.

    4. Implications for Agent Development

    From an engineering perspective, the trade-off between the two paths directly affects agent developers:

    • Match the task first: if your application focuses on UI interaction or document understanding, Thinking with Images combined with tool calling is usually sufficient. If your application requires structured detection output (such as defect bounding boxes in industrial quality inspection), you need to confirm whether the model supports coordinate-level output.
    • Verify environment configuration: when integrating a new model into an agent framework, consult the official documentation first to confirm the model identifier and configuration method. A common pitfall is that the configuration syntax in official examples doesn’t match the actual tool version—you may need to upgrade the command-line tool first and then configure model parameters according to the new specification before calls work properly.
    • Independent evaluation is essential: build a small evaluation set for your own business scenarios (several samples each for counting, localization, and path planning) and complete baseline validation before integration, rather than trusting public benchmark scores directly.

    Conclusion

    Visual primitives and Thinking with Images represent two philosophies for solving the multimodal reference problem: the former makes “referring” precise by extending the model’s output space, while the latter makes “observing” active by introducing visual tools. Judging from recent model evolution across the industry, the two paths are borrowing from and converging with each other. For developers, understanding the underlying technical principles, mastering verification methods such as tokenizer inspection, and insisting on scenario-based independent evaluation remain the reliable way to keep pace with the rapid iteration of multimodal models.