Visual Primitives vs. Image Thinking: Navigating Multimodal Model Capabilities
This article explores two key routes in multimodal models: Visual Primitives and Image Thinking. It analyzes how special tokens indicate structured visual referencing potential, contrasts the advantages and engineering trade-offs of both routes, and provides practical engineering recommendations on protocol standardization, parsing fault tolerance, prompt design, and evaluation to help developers effectively implement these capabilities.
1. Visual Referencing Capabilities Through Special Tokens
Evaluating whether a multimodal experimental model possesses “visual primitive” capabilities can start with a directly observable entry point: special tokens in the tokenizer’s vocabulary. The presence of paired structured markers in the vocabulary, such as <|polygon|> and <|/polygon|>, <|point|> and <|/point|>, or <|box|> and <|/box|>, typically indicates that the model’s output protocol layer supports explicit referencing of visual objects like “polygons,” “points,” and “boxes.” The key here is not the token names themselves, but the underlying protocol design: the model can use boundary markers to wrap coordinates or geometric descriptions, allowing downstream parsers to stably identify “which region in the image is being referenced” instead of relying on ambiguous natural language expressions like “the one on the left” or “slightly above the middle.”
From an engineering perspective, special tokens offer three core values. First, stronger parseability. While natural language referencing requires semantic understanding and disambiguation, structured markers can directly enter state machines or schema validation processes. Second, higher verifiability. Whether coordinates are out of bounds, whether a polygon is closed, or whether a box’s dimensions are valid can all be checked during the parsing phase. Third, easier training and evaluation. Tasks like dense counting and complex localization can separate “referencing” from “answering” for evaluation, reducing ambiguity caused by natural language descriptions.
However, the presence of special tokens does not necessarily mean the Agent will adopt the visual primitive route. Vocabulary capability is a foundational protocol capability; the Agent layer can independently choose to invoke image operations, iterative observations, or tool enhancements during inference without forcing the model to output geometric markers. Therefore, seeing markers like <|point|>, <|box|>, or <|polygon|> only proves the model has the “interface potential” for structured visual referencing, but does not directly imply its Agent workflow is centered on visual primitives. A more reasonable conclusion is that the underlying layer retains a structured referencing protocol, while the Agent layer might choose an image thinking route depending on the task.
Below is a conceptual protocol example, not representing any specific product interface:
<|point|>x,y<|/point|><|box|>x1,y1,x2,y2<|/box|><|polygon|>x1,y1;x2,y2;x3,y3<|/polygon|>
In practical implementation, coordinates must clearly define whether they are pixel-based or normalized; multi-box outputs require sorting rules; polygons must define closure behavior; empty results need a standardized representation; and streaming outputs must handle truncated boundary markers. These details determine whether “having special tokens” can translate into “stable and usable visual referencing capabilities.”
2. Two Routes: Visual Primitives vs. Image Thinking
When discussing multimodal recognition bottlenecks, related research often divides the problem into a “perception gap” and a “reference gap.” The perception gap refers to the model’s inability to see image details clearly; the reference gap means that even if the model sees the details, it still uses natural language to describe the image, leading to ambiguous referencing and logical breakdowns in tasks like dense counting or complex object localization. The core idea of visual primitives is to enable the model to describe objects using “unambiguous pointers” in a continuous visual space (such as points, boxes, and polygons), thereby bypassing the ambiguity of natural language referencing.
The image thinking route, on the other hand, emphasizes “using images during the reasoning process.” The model can generate intermediate observations, invoke visual tools, annotate local regions, and continue reasoning based on new visual feedback. This approach is closer to the human process of “thinking while looking” and is suitable for open scenarios and tasks requiring multiple rounds of observation.
These two routes are not simple replacements for one another but involve distinct trade-offs:
| Dimension | Visual Primitives Route | Image Thinking Route |
|---|---|---|
| Output Format | Structured markers (points, boxes, polygons) | Intermediate observations, tool calls, iterative reasoning |
| Verifiability | Coordinates are checkable, protocol is clear | Relies on toolchains and logs, longer pipeline |
| Flexibility | Ideal for explicit referencing and counting/localization | Ideal for open tasks and multi-round exploration |
| Engineering Complexity | Requires protocol parsing, coordinate standards, boundary checks | Requires tool orchestration, state management, error recovery |
| Key Risks | Protocol rigidity, token overhead, inconsistent annotation standards | Increased latency, error propagation, poor observability |
Therefore, the evaluation of whether a companion Agent abandons visual primitives should remain neutral. If the Agent layer adopts image thinking, it does not necessarily mean the underlying visual primitive capability is discarded; it is more likely a trade-off made by the product between task adaptation, tool maturity, and user experience. For tasks like dense counting, table localization, or defect annotation, the verifiability advantage of visual primitives is obvious. For open tasks requiring repeated observation and gradual elimination, image thinking is more flexible. Mature solutions are often not an either-or choice but a hybrid: high-level planning uses image thinking, while fine-grained referencing is executed through structured markers.
3. Configuration and Documentation Challenges in Agent Deployment
A common pain point worth abstracting and reviewing is deployment friction: release materials may provide model configuration methods, but users following these instructions still fail, ultimately discovering they need to upgrade their global command-line tool first before launching with a specific web profile. These issues are essentially “version drift + opaque configuration hierarchy + missing documentation prerequisites.”
Common manifestations include: the global installation cache not being updated, leaving the CLI pointing to an old version; priority conflicts among profile, environment variables, configuration files, and command parameters; release materials explaining how to set the model name for third-party integration but omitting the upgrade path for the companion tool itself; and error messages lacking specificity, leading users to mistakenly assume their JSON configuration or command-line parameters are wrong. For developers, this friction significantly amplifies evaluation costs.
The following abstract operational example expresses only the structure and does not point to any specific tool:
<package-manager> update -g <agent-cli><agent-cli> --profile <web-profile>
Configuration example:
agent:model: <vision-experiment-model>profile: <web-profile>vision_protocol: structured_marks
Engineering-wise, it is recommended to proactively address these issues. First, version self-check. Print the CLI version, model identifier, configuration source, and profile name at startup. Second, document configuration priorities. Clearly define the override order for command-line parameters, environment variables, project configurations, and global configurations. Third, provide a minimal reproduction template. Include upgrade steps, startup commands, model fields, and common error codes. Fourth, add diagnostic commands or log switches to output the actual loaded configuration file path and parsing results. Fifth, provide independent examples for third-party integration; do not mistakenly write “setting the model name” as a complete integration guide. The closer the documentation is to being executable, the lower the evaluation cost.
4. Engineering Best Practices
First, the protocol layer must “standardize before calling.” Coordinates should be uniformly normalized to [0,1] or have a clear pixel baseline; boxes must require x1<x2 and y1<y2; polygons must require at least three points with defined closure rules; and stable serialization rules must be established for empty results, multiple results, and overlapping results. Special tokens should be treated as control characters rather than plain text; prompts must prevent user content from injecting identically named markers, and parsers should implement whitelisting and escaping.
Second, the parsing layer must be fault-tolerant. Streaming outputs may truncate boundary markers, so parsers should support buffers, state machines, and maximum length protection. For illegal coordinates, out-of-bounds boxes, or unclosed polygons, the system should degrade them to error items rather than causing an overall crash. If the model mixes natural language with special tokens, the system should extract structured fragments and record the raw output for replay.
Third, the prompt layer should reduce ambiguity. Require the model to output points or boxes item-by-item with attached labels in counting tasks. Require a “box first, answer later” approach in localization tasks. Enforce sorting rules for multi-object tasks. For uncertain results, allow empty markers to be output rather than fabricating coordinates. Few-shot examples should cover edge cases, such as targets touching the edge, overlapping targets, and extremely small targets.
Fourth, the evaluation layer should use A/B comparisons. Metrics should at least include: dense counting accuracy, localization IoU or hit rate, protocol parsing success rate, average latency, token cost, and manual review cost. Do not just look at single-round demo effects; cover scenarios like long images, low resolution, occlusion, multiple targets, and streaming interruptions. The two routes can be divided by task: high-precision referencing uses structured markers, while open exploration uses image thinking.
Fifth, security and observability are indispensable. Special token injection, out-of-bounds coordinates, malicious polygons, and oversized outputs can all become attack surfaces. Logs should desensitize image content and user input but retain protocol parsing results, model versions, configuration summaries, and processing times. Only with replayability and comparability can technical route selection avoid being a subjective judgment.
5. Conclusion
Observing special tokens can reveal a model’s protocol potential for structured visual referencing, while the image thinking route in the Agent workflow provides more flexible iterative observation capabilities. The two are not mutually exclusive; they respectively solve the problems of “referencing accurately” and “seeing comprehensively.” The practical advice for developers is: do not draw conclusions based solely on the vocabulary or a single release material. Instead, establish small-scale A/B evaluations around specific tasks. Prioritize solidifying coordinate standards, parsing fault tolerance, version self-checks, and documentation prerequisites. Validate the verifiability of visual primitives in dense counting and complex localization tasks, and validate the flexibility of image thinking in open tasks. The maturity of configuration and documentation is also a part of technical capability; the more experimental a capability is, the more it requires clear upgrade paths, configuration priorities, and observable logs to transform “demo-able” into “deployable.”
