Multimodal Models: Visual Primitives and Image-Based Reasoning Paths Explained
This article examines why multimodal models often fail at dense counting, precise localization, and multi-step reference, tracing the problem to a "referential gap" caused by describing visual objects in natural language. It introduces visual primitives such as points, boxes, and polygons as unambiguous pointers, compares the structured-pointer approach with image-based reasoning, explains why the same model can behave differently across entry points, and outlines a practical evaluation framework based on task layering, programmatic validation, and multi-entry comparison. Readers will also find guidance on tooling maturity, model selection, and system integration.
1. Where the Problem Starts: From “Can’t See Clearly” to “Can’t Point Precisely”
In discussions of multimodal large models, the most visible failures are recognition errors: counting drift in dense scenes, target localization drift in complex scenes, and inconsistent references across multi-turn reasoning. The industry first focused on the “perception gap”—improving input image resolution, tiling strategies, and visual encoding quality so the model can “see more clearly.” But once perception problems were largely mitigated, a subtler bottleneck emerged: during reasoning, the model still relies on natural language to describe objects in the image. Referring to entities through sentences works fine in simple cases, but in dense counting, fine-grained localization, and multi-target relational reasoning, the reference chain destabilizes quickly, creating what can be called a “referential gap.”
You can think of it this way: the model sees a hundred similar targets but can only refer to them repeatedly in its reasoning chain with vague expressions like “the third one on the left” or “that reddish block slightly right of center.” Every paraphrase introduces ambiguity, errors accumulate and amplify across multiple reasoning steps, and the result is eventual logical collapse. Building a stable, unambiguous way to reference objects in visual space therefore becomes the key to pushing multimodal reasoning further.
2. Visual Primitives: Building “Unambiguous Pointers” for the Image
“Visual primitives” is an abstraction of a general technical idea: represent key structures in an image as enumerable, referenceable basic elements—points, bounding boxes, polygons, and so on—paired with opening and closing tags, so the model can reference these structured identifiers directly during reasoning instead of routing through natural-language descriptions. In a serialized representation, the form typically looks like:
<point> (x1, y1) </point><box> (x1, y1, x2, y2) </box><polygon> (x1,y1), (x2,y2), (x3,y3) </polygon>
This design delivers three benefits. First, referential stability: once a target has a unique identifier, every subsequent reasoning step can reuse the same pointer, avoiding drift caused by synonymous rewording. Second, spatial precision: coordinate-based expressions are naturally suited to computation and validation, and align easily with structured outputs such as detection and segmentation. Third, verifiability: structured output can be checked programmatically—whether coordinates are out of bounds, whether a polygon self-intersects, whether a count matches the enumeration—giving automated evaluation a concrete handle.
It is worth stressing that visual primitives are not a single implementation but a family of design principles. Teams differ in tag naming, coordinate normalization, numeric precision, and whether hierarchical structures are supported, yet the shared goal is the same: turn “describing the image in words” into “operating on structured symbols from the image.”
3. Two Diverging Technical Paths
On the question of how a model uses an image to think, two broad paths have emerged.
One is the structured-pointer path, i.e., the visual primitives approach described above. Both model output and parsing revolve around structured elements. Its strengths are precision and checkability, making it suitable for industrial-grade dense scenarios; the cost is heavier requirements on the reasoning framework, parsers, and training data.
The other is the “thinking with images” path, where the model generates intermediate image-operation intents during reasoning—cropping, zooming, annotating, looking again—and approaches the answer through a multi-turn “operate–observe” loop. This path is closer to how humans use tools to inspect images, and in implementation it depends more on agent frameworks supporting multi-turn interaction, state management, and tool invocation. It is more flexible, but result stability depends more heavily on framework design and prompt constraints.
From an engineering perspective, the two paths are not mutually exclusive. Mature practice often blends them at the framework layer: structured primitives handle precise reference and result validation, while multi-turn image operations handle exploration and verification, with the two connected through a unified intermediate representation.
4. Why Capability Checks Often Look “Inconsistent”
A common confusion: the same model performs noticeably differently across entry points, and tasks that work in paper-style demos fail in a general chat interface. There are usually three reasons.
The first is entry-point capability mismatch. Research demos typically run in a purpose-built agent framework with multi-turn tool calling, state persistence, and structured parsing, whereas a general chat entry point may expose only single-turn question answering, with image operations and structured output stripped away—so capability is naturally reduced.
The second is configuration and version drift. Multimodal capabilities are often bound to specific runtime parameters, model identifiers, and tool permissions; after a version iteration, default configurations change, so the same question yields different results at different times.
The third is evaluation task distribution differences. Demo samples are curated, while real workloads contain a higher share of dense, occluded, and low-contrast scenes. What surfaces is long-tail robustness, not whether the model “has” a capability.
Therefore, judging whether a multimodal capability is usable cannot rely on a single demo; it requires a reproducible evaluation loop.
5. A Practical Evaluation Method
The recommendation is to build an evaluation system around “task layering + structured validation + multi-entry comparison.”
For task layering, cover at least four categories: counting (dense same-class targets), localization (small and boundary targets), relational (spatial relations among multiple targets), and multi-turn (requiring consecutive operations and re-inspection). Prepare enough samples per category and record scenario difficulty labels such as occlusion ratio, target scale, and lighting contrast.
For structured validation, prefer output forms that yield coordinates or enumeration results, and judge with programs rather than visual inspection. Illustrative validation logic:
def check(result, image_w, image_h):pts = result.get("points", [])# 1. Coordinate validityassert all(0 <= x <= image_w and 0 <= y <= image_h for x, y in pts)# 2. Count consistencyassert len(pts) == result.get("count", len(pts))# 3. Deduplication and minimum spacing to suppress duplicate hitsfor i in range(len(pts)):for j in range(i + 1, len(pts)):assert ((pts[i][0]-pts[j][0])**2 + (pts[i][1]-pts[j][1])**2) > 4return True
For multi-entry comparison, regress the “dedicated agent entry point,” the “general chat entry point,” and the “API invocation path” as three separate variables, output a difference matrix, and pinpoint whether the problem comes from the model, the framework, or the configuration.
6. Tooling Maturity: The Underrated Variable
In practice, many judgments that a capability “does not exist” actually stem from immature tooling: inconsistent configuration methods, opaque default parameters, missing release notes on version upgrades, and capability gaps between third-party integration paths and official paths. This brings three costs: higher validation cost, non-reproducible results, and behavior drift after launch.
The corresponding engineering advice: bring runtime configuration under version control and explicitly pin model identifiers and key parameters; establish a minimum viable configuration template and self-check script for the agent framework; add multimodal regression cases to continuous integration so every upgrade runs the structured validation; and maintain a capability alignment checklist for external integration paths versus official paths, specifying which capabilities are available at which entry points. For cloud deployment, container platforms can lock down the runtime environment, object storage can manage evaluation samples and artifacts, and logging and monitoring with alerting can track metric fluctuations—these are general capability categories and do not imply dependence on a specific implementation.
7. Selection and Integration Recommendations
First, choose the path by task: prefer structured primitives for precise counting and localization; multi-turn image operations can be introduced for exploratory analysis, but must carry constraints and validation. Second, define acceptance by validation: make “programmatically judgeable” a hard gate and avoid subjective visual inspection. Third, set expectations by entry point: make clear the capability boundaries of the entry point actually used in production, and do not use the complete configuration of research demos as the online baseline. Fourth, build confidence through regression: maintain a small, fast regression set and continuously observe long-tail scenarios. Fifth, define architecture by intermediate representation: abstract a unified “visual element reference” layer at the application level to hide differences in underlying implementations and ease later replacement and upgrades.
8. Conclusion
Competition in multimodal capability is shifting from “can it see” to “can it reference stably and reason verifiably.” Visual primitives and thinking with images represent two orientations—precise structuring and flexible interaction—and real systems usually need both working together. For developers, more important than chasing single demos is building an engineering loop of layered evaluation, structured validation, and multi-entry comparison, and making tooling configuration transparent and reproducible. Only then can multimodal capability move from demo to reliable productivity.
