Understanding Visual Primitives in Multimodal Models: From Perception to Reference

    This article breaks down the technical concept of visual primitives in multimodal large models, explaining why precise referencing, not just image recognition, is the real bottleneck in complex visual tasks. It covers the design motivation behind unambiguous geometric pointers, the common point, polygon, and box marker system, the phenomenon of explicit primitives becoming implicit coordinate-based text, and placeholder design in interleaved image-text inputs. Developers will find practical guidance on input construction, prompt design, evaluation methods, and resource planning for building more reliable visual reasoning applications.

    1. Introduction: From Seeing Images to Pointing at Them Precisely

    As multimodal large models evolve quickly, the industry’s focus on visual capability is shifting from “can it recognize image content” to “can it locate, count, and reason precisely in complex scenes.” The open release of an experimental multimodal model has brought a technical approach known as visual primitives back into the developer spotlight. It tries to answer one core question: after a model has already “seen” an image, why does it still suffer logic breakdowns on tasks such as dense counting and complex object localization?

    This article does not focus on any specific product. Instead, it abstracts the underlying technical ideas and systematically discusses the design motivation of visual primitives, the marker system, the implicit-ization phenomenon, and key considerations for engineering implementation.

    2. Root Cause: The Referential Gap After the Perceptual Gap

    The conventional view holds that insufficient recognition in multimodal models mainly stems from “not seeing clearly,” which is the perceptual gap. However, once visual encoding and resolution issues are gradually alleviated, researchers find that the real bottleneck often appears at the language level: the model still relies on natural language to describe image content while reasoning.

    Natural language is inherently ambiguous. Expressions like “the cup on the left” or “the person near the edge” lack a unique referent in densely arranged or occluded scenes, so the model easily drifts when identifying the target object. This deviation, caused by imprecise language description, can be abstracted as a referential gap. The consequence is that although visual information is fed in, it cannot be reused stably within the reasoning chain.

    3. Core Idea of Visual Primitives: Unambiguous Pointers

    To bridge the referential gap, one viable approach is to introduce structured “unambiguous pointers” into the continuous visual space, which are visual primitives. Rather than relying on adjectives and directional words, they anchor objects directly with geometric structures.

    Based on publicly available marker designs, common primitives fall into three categories:

    • Polygon: used to express irregular contours or segmentation regions;
    • Point: used to express a center position or key anchor;
    • Box: used to express a rectangular bounding range.

    A schematic representation is shown below (for structural illustration only, not a specific interface):

    1. <point>[[x, y]]</point>
    2. <polygon>[[x1,y1],[x2,y2],...]</polygon>
    3. <box>[[x_min, y_min, x_max, y_max]]</box>

    The value of these markers is that the reasoning process can revolve around coordinates and shapes instead of repeatedly restating objects in natural language, thereby reducing ambiguity and improving consistency on complex tasks.

    4. A Notable Phenomenon: Explicit Primitives Becoming Implicit

    An interesting and worth-exploring phenomenon is that although the marker system defines explicit primitives, the actual reasoning chain does not necessarily contain complete special markers. Instead, they are replaced by natural language descriptions with coordinates. This is usually understood as a result of training strategy evolution: in later learning stages, the model may internalize explicit structured markers into coordinate-based expressions, making the output closer to a general text form.

    For developers, this suggests that structured capability does not always manifest as special symbols; it may also exist in the form of “numerical values embedded in text.” When evaluating such capability, one should focus on localization accuracy and referential stability rather than merely checking whether specific markers appear.

    5. Placeholder Design in Interleaved Image-Text Inputs

    Beyond geometric primitives, another engineering detail is the large number of placeholder markers shaped like place_holder_mm_span_xxxx. Their typical use is to mark the insertion positions of visual content in interleaved image-text inputs, so that the text sequence and visual segments can be aligned.

    Note that the number of placeholders does not necessarily equal the number of images. A reasonable explanation is that a single image is split into multiple segments or spans based on its content, with each segment corresponding to one placeholder. Therefore, the officially claimed image limit and the total number of placeholders do not conflict; rather, they reflect the difference between two dimensions: “number of images” and “number of segments.” When constructing inputs, developers should design preprocessing flows based on the actual splitting logic, avoiding simply estimating placeholder scale from the image count.

    6. Engineering Practice Recommendations

    1. Input construction: strictly align visual segments with text placeholders, ensuring a stable multimodal concatenation order.
    2. Prompt design: in tasks requiring precise localization, explicitly ask the model to output coordinates or structured regions rather than natural language directions.
    3. Evaluation methods: assess perceptual capability and referential capability separately, using metrics such as counting and localization error to pinpoint bottlenecks.
    4. Resource planning: build a reproducible inference and evaluation pipeline combining container platforms, object storage, and logging services, and use monitoring and alerting to track stability in long-context scenarios.

    7. Conclusion

    The essence of visual primitives is a structured capability that turns “seeing images” into “pointing at them.” By understanding the layered relationship between the perceptual gap and the referential gap, grasping the design intent of primitives such as points, polygons, and boxes, and correctly handling image-text placeholders and coordinate-based output, developers can build more reliable visual reasoning applications on top of experimental multimodal models.