Visual Primitives: Teaching Multimodal Reasoning to Point

    This article reframes a common multimodal failure: the bottleneck is often not perception but grounding, since natural language references rarely map to a unique pixel location. It introduces the Visual Primitives framework, which promotes points, bounding boxes, and lines from output formatting to minimal units of thought, alternating between pointing and reasoning. The article explains why this helps, then covers practical concerns for data construction, two-stage training, decoding safeguards, and a three-layer evaluation setup, along with notes on building a reproducible experiment loop in the cloud.

    1. Reframing the Problem: Not “Can’t See,” but “Can’t Point Precisely”

    When multimodal models fail on complex tasks, the cause is often reduced to weak perception. A more accurate diagnosis is that the perception gap is narrowing, while the reference gap remains the main bottleneck. Natural language is inherently ambiguous: expressions like “that patch in the upper-left corner,” “the two near the edge,” or “the one in the middle of the third row” have no uniquely determined landing point in pixel space. The model sees the image but cannot reliably anchor each referred object in language to concrete coordinates, so the reasoning chain starts drifting at the very first step.

    An everyday analogy is counting a pile of scattered coins. Without pressing each coin with a finger to confirm it, even humans will miscount or double-count. The finger does not make the coins “more visible”; it provides a reusable, referable physical anchor for attention. What multimodal reasoning lacks is exactly this “finger.”

    2. Core Idea: Promoting Spatial Markers to Minimal Thought Units

    The key move of the Visual Primitives framework is to elevate spatial markers such as points, bounding boxes, and line segments from an “output format” to “thinking units.” The conventional approach has the model produce a passage of natural-language reasoning and append coordinate answers at the end. With primitives, coordinates participate in the reasoning process itself: the model generates pointing actions while generating linguistic logic, forming an alternating loop of “point, then reason.”

    This design has a counterpart in cognitive science: when navigating a maze or counting dense objects, humans gesture to reduce cognitive load and maintain logical consistency. The pointing action offloads the costly task of “remembering positions” to external markers, leaving working memory to maintain only relations and order.

    Formally, the reasoning process can be written as a state sequence in which each state contains both a language fragment and a spatial marker:

    1. s_t = (text_t, primitive_t)
    2. primitive ∈ { point(x, y), bbox(x1, y1, x2, y2), line(p1, p2) }
    3. transition: s_t -> s_{t+1} is determined jointly by "current pointing + confirmed relations"

    In engineering terms, both training and inference need modification. On the data side, annotation boxes and points must be converted into intermediate steps that can be inserted into the reasoning chain. On the decoding side, coordinate tokens and text tokens must be allowed to interleave, with quantization and validity checks applied to coordinates.

    3. Why It Works: Three Mechanism-Level Explanations

    First, disambiguation. Once a language reference is bound to coordinates, it turns from “semantic guessing” into a “spatial query,” and later steps can repeatedly refer back to the same marker, avoiding the accumulation of reference drift.

    Second, lower state-maintenance cost. Reasoning over complex layouts requires tracking the positions and relations of multiple objects at once; explicit markers are equivalent to writing state onto an “external scratch paper.”

    Third, localizable errors. When an answer is wrong, you can check whether the perception landing point is wrong, the reference binding is wrong, or the relational reasoning is wrong. A pure text reasoning chain offers only an unverifiable piece of self-narration.

    4. Implementation Focus: Data, Training, Decoding, and Evaluation

    Data construction is the heaviest part. It is advisable to convert existing annotated spatial datasets into reasoning trajectories with “insertable primitives”: insert points or boxes where objects need to be distinguished, insert relational statements where directions need to be compared, and ensure primitives stay consistent with the final conclusion, so noisy annotations do not break the anchor semantics.

    For training, a two-stage strategy can be used: first, supervised fine-tuning on samples where primitives and language are well aligned, so the model learns to “say what it points at”; then, preference optimization on harder samples, penalizing trajectories that “force a conclusion after pointing at the wrong place.”

    Decoding and engineering require three safeguards: coordinate quantization precision matched to image resolution; boundary clipping and deduplication for primitives; and a primitive budget for overly long reasoning chains, to prevent marker proliferation from creating more ambiguity. A schematic output structure looks like this:

    1. {
    2. "step": 2,
    3. "thought": "First confirm the leftmost candidate target",
    4. "primitive": {"type": "point", "x": 0.213, "y": 0.640},
    5. "relation": "left_of(target_B)"
    6. }

    Evaluation should not look only at final answer accuracy. It is better to split metrics into three layers: landing-point accuracy (perception and primitive generation), reference consistency (whether the same object points to the same coordinates across steps), and conclusion accuracy (whether relational reasoning is correct). Only when all three improve together can the gain be attributed to the reference bridge rather than incidental fitting.

    5. Building a Reproducible Experiment Loop in the Cloud

    Reproducing this kind of research requires a stable data and compute pipeline, which can be assembled from general cloud capabilities: object storage for images and annotation data, a container platform for training and evaluation jobs, a message queue to decouple data preprocessing from training scheduling, and logging plus monitoring with alerts to track loss, primitive validity rate, and GPU memory usage. General cloud product categories from Baidu AI Cloud can support such a loop, making it easier to bind data versions, training configurations, and evaluation results into traceable experiment records.

    It should be emphasized that parameter counts and specific accuracy figures should be based on public papers and your own measurements, and unverified performance comparisons should not be cited. A more reliable engineering criterion is whether, under the same data and the same budget, the primitive-based version consistently outperforms a pure-text baseline across the three metric layers.

    6. Conclusion

    The next step for multimodal intelligence is not just “seeing more pixels,” but establishing a precise, unambiguous reference channel between language and vision. Treating the most basic spatial markers, such as points and boxes, as thinking units and having the model keep “pointing while speaking” during reasoning is a low-cost, interpretable, and easy-to-evaluate path. For developers, the real leverage lies in data transformation and the three-layer evaluation system: make reference annotation solid first, then talk about models and scale.