Multimodal Large Model Visual Primitive Reasoning: Bridging the Reference Gap

    This article explains why multimodal large models often fail at complex visual tasks not because of weak perception, but because of a "Reference Gap" in grounding language to spatial coordinates. It introduces the core idea of treating visual primitives such as points and bounding boxes as the minimal units of thought, interleaved with language tokens in the reasoning trace. The article also covers efficiency techniques like patch-based encoding and compressed sparse attention, and offers practical advice on building a minimal evaluation loop, parsing fallbacks, and annotation quality. Readers will learn how visual primitives can improve spatial reasoning, visual question answering, and dense counting while keeping reasoning controllable.

    1. Background: Why Multimodal Models Can See but Cannot Point Accurately

    Failures of multimodal large models on complex visual tasks often stem not from insufficient perception, but from insufficient reference capability. The former is commonly called the “perception gap,” while the latter can be abstracted as the “Reference Gap.” The Reference Gap means a model can recognize which objects exist in an image and their approximate texture and color, yet struggles to stably map expressions like “this one,” “the second from the left,” or “the outermost one” in natural language to a unique, reproducible spatial coordinate.

    An intuitive analogy is counting scattered coins. When people count, they usually press each coin with a finger, pointing and counting one by one. The finger does not help “see the coin more clearly”; it provides an external anchor for attention, preventing double counting and missed counts. What multimodal models lack is exactly this kind of externalized, trackable pointing action.

    Natural language is inherently ambiguous and context-dependent. When users describe a complex spatial layout, a pure-text intermediate representation easily introduces ambiguity: the referent may not be unique, relative positions may lack a reference frame, and counting or ordering may drift during long-chain reasoning. As a result, the model “forgets which one it is referring to” in the middle or later stages of the chain of thought, causing sharp drops in accuracy for spatial reasoning, visual question answering, and dense counting tasks.

    2. Core Idea: Elevating Spatial Markers to the Minimal Unit of Thought

    The key abstraction of this framework is to elevate spatial markers such as points and bounding boxes from an “output format” to the “minimal unit of thought,” interleaving them with language tokens in the reasoning trace to form a dual-track thought process where language logic and spatial coordinates intertwine.

    The argument can be broken into three steps:

    1. Pointing reduces cognitive load. When navigating mazes or counting dense objects, humans use indicative actions to maintain logical consistency. With visual primitives, a model can replace lengthy natural-language restatement with coordinate anchors.
    2. Reference becomes verifiable. Coordinates are discrete, comparable, and recomputable, so the model can check mid-reasoning whether “the object I am currently pointing to” is unique.
    3. Reasoning becomes traceable. The interleaved sequence binds each “think” step to a “point” action, making it easier to locate which step an error occurred in.

    A schematic reasoning trace structure is shown below (pseudocode, only expressing how the sequence is organized):

    1. [Image encoding] -> [Question] ->
    2. Step1: Think("Locate the leftmost target first") -> Point(point(x1,y1)) ->
    3. Step2: Think("Scan rightward using that point as the baseline") -> Point(box(x2,y2,w,h)) ->
    4. Step3: Verify(count=3) -> Answer

    Three engineering points need attention: coordinates should be normalized and quantized to avoid drift in numerical distribution; primitives need a clear schema definition (point, box, and possibly mask contour) to prevent the model from mixing them; and there should be clear delimiters and a parser between primitives and text to ensure parseability and fallback.

    3. Model and Efficiency: High-Ratio Visual Compression and Sparse Attention

    On the efficiency side, such solutions typically rely on two general techniques: patch-based image encoding and compressed sparse attention. Patch-based encoding splits a high-resolution image into local patches, encodes them separately, and then aggregates them, balancing detail and global context. Compressed sparse attention reduces redundancy in visual tokens and keeps only key interaction paths, significantly reducing KV cache usage and thus supporting long reasoning chains and high-resolution inputs. The thousand-fold-level visual information compression mentioned in the original text essentially belongs to this general research direction of “visual token compression plus sparsification.” The specific ratio varies by implementation and task and should not be treated as a universal metric.

    To reproduce similar capabilities in the cloud, you can combine general-purpose service categories: object storage for image data, container platforms for inference services, message queues for asynchronous preprocessing, and logging and monitoring with alerting to observe latency and failure rates. Baidu AI Cloud provides these general-purpose capabilities and can serve as an engineering foundation.

    4. Practical Advice and Evaluation Methods

    For implementation, start with a “minimal closed loop”: fix an evaluation set (with proportions covering spatial relations, counting, ordering, and reference resolution), and compare the accuracy and stability of two pipelines—“pure text chain of thought” and “interleaved visual primitives.” Focus on three types of metrics: reference uniqueness (whether it points to a unique object), coordinate consistency (whether repeated reasoning drifts), and the trade-off between chain length and latency.

    Also establish parsing and fallback mechanisms: when the model outputs primitives that cannot be parsed or go out of bounds, fall back to pure language reasoning and mark low confidence. On the data side, ensure the quality of coordinate annotations, since noisy annotations directly amplify the Reference Gap.

    5. Conclusion

    The next stage of multimodal intelligence is not just “seeing more pixels,” but building a precise, unambiguous reference bridge between language and vision. Using visual primitives as the minimal unit of thought, combined with efficiency gains from patch-based encoding and sparse attention, is a feasible path to improve performance on complex spatial tasks without sacrificing reasoning controllability.