Understanding Open-Source Experimental Multimodal Models: Visual Primitives and Structured Output

    This article explains why "reading an image" is not the same as "reading it accurately" in multimodal LLMs, focusing on two bottlenecks: the perception gap and the reference gap. It introduces visual primitives—points, boxes, and polygons—as structured pointers that replace ambiguous natural-language references, and shows how to identify this design in tokenizer special tokens and image placeholder schemes. It also explains why explicit primitives may appear as inline coordinates in chain-of-thought output, and offers practical guidance on prompting, parsing, evaluation, service configuration, and cost control.

    1. Background: Why “Seeing” Is Not “Seeing Accurately”

    Over the past two years, multimodal LLMs have largely cleared the engineering bar of simply reading images. In real deployments, however, another class of failure persists: a model can describe what is in an image but cannot count, point to, or align objects reliably. These failures are often blamed on insufficient resolution or model size, but the technical bottleneck usually sits in two narrower places.

    The first is the perception gap. Once an input image is compressed into a limited number of visual tokens, information about small objects, dense textures, and thin structures gets smoothed away. The details needed for downstream reasoning are already lost during encoding.

    The second is the reference gap. Even if the visual encoder retains enough information, a model that can only “name” targets in natural language within its chain of thought—for example, “the cup on the left” or “the pedestrian near the edge”—is working with inherently ambiguous references. When multiple similar objects appear in a scene, the reference chain breaks, and tasks such as counting, localization, and comparison collapse logically.

    A direction worth attention, therefore, is moving image understanding from natural-language description to building unambiguous pointers directly in continuous visual space. This is the core motivation behind the visual primitives approach.

    2. Visual Primitives: Structured Pointers Instead of Vague Descriptions

    Visual primitives can be understood as a few geometric structures agreed upon inside the model, used to precisely enclose objects in the image coordinate system. Common primitives include points, bounding boxes, and polygons: a point marks a center or keypoint, a box provides fast coarse localization, and a polygon fits irregular contours. They wrap coordinate sequences in paired opening and closing markers, forming structured output that the model can generate directly and a parser can consume directly.

    The engineering value shows up in three areas:

    • Removing reference ambiguity: Coordinates are unique and do not depend on relative descriptions such as “that one” or “next to it.”
    • Compositional reasoning: The model can treat multiple primitives as intermediate variables and perform operations such as containment, intersection, distance, and ordering, making the reasoning chain closer to a program than to prose.
    • Verifiability: Structured output can be parsed by rules and scored automatically, which supports evaluation loops and production quality monitoring.

    A schematic representation can be abstracted as:

    1. <point>[[x, y]]</point>
    2. <box>[[x1, y1, x2, y2]]</box>
    3. <polygon>[[x1,y1],[x2,y2],[x3,y3],...]</polygon>

    Note that implementations differ in marker naming, coordinate normalization, and numeric precision. These are engineering conventions rather than a unified standard.

    3. Reading Design Intent from the Token Table: Special Symbols and Placeholders

    The most direct evidence that an open-source multimodal model follows a structured-vision route is its tokenizer configuration. If the special symbol table contains paired geometric markers marked as reserved tokens that cannot be split and do not participate in normalization, the model has explicitly reserved a place for structured output in its training objective.

    Another common category is placeholder markers used for mixed image-text input. Multimodal input usually requires inserting visual tokens produced by the image encoder at specific positions in the text sequence, and the placeholder is the “anchor” for those insertion points. A well-designed placeholder scheme must satisfy three constraints:

    1. Count matches the number of images: The total number of placeholders must cover the maximum image count allowed per request.
    2. Per-image capacity matches the visual token budget: How many visual tokens each image expands into determines how much detail is preserved.
    3. Positions are traceable: Placeholders map one-to-one to image indices, which simplifies backfilling, caching, and debugging.

    When the placeholder count does not line up with the officially stated image limit and per-image token budget, this is usually not a documentation error but a one-to-many mapping in the design: a single image may be split into multiple regions or levels, each consuming its own group of placeholders; alternatively, a redundant range may be reserved for future expansion. The safer engineering practice is to treat such capacity as a configurable budget and validate and degrade gracefully at the inference service layer.

    4. A Curious Phenomenon: Why Explicit Primitives Go Invisible

    In practice, many users find that explicit geometric markers do not appear in the model’s chain of thought. Instead, coordinates are embedded in natural language, for example, “the target is near (0.42, 0.61).” This does not necessarily mean the primitive approach was abandoned; it is more likely expression migration during training and alignment:

    • Readability alignment: People prefer natural-language explanations, so reinforcement learning or instruction tuning “translates” structured output into more readable phrasing.
    • Format robustness: Once explicit markers are filtered by a user or an intermediate layer, the chain breaks; inline coordinates survive such loss better.
    • Capability internalization: The model may use primitives as an internal intermediate representation and keep only coordinate values in the final answer.

    The takeaway for users is not to judge capability solely by whether special symbols appear. Instead, design result-level evaluation using metrics such as coordinate error, counting accuracy, and region overlap, while also recording the output format distribution to create an observable comparison.

    5. Practical Implementation: How to Use These Models Well

    • Prompt layer: Explicitly specify the coordinate system (pixel or normalized), precision, and parseable output structure; provide a minimal example when necessary.
    • Parser layer: Implement a fault-tolerant parser that handles both explicit markers and inline coordinates, with range clipping and fallback for anomalies.
    • Evaluation layer: Build test sets covering dense counting, fine-grained localization, occlusion, and multi-object comparison, and replace subjective scoring with automatic metrics.
    • Service layer: Make image count, per-image token budget, and context length configurable, and combine caching, rate limiting, and degradation strategies; on the cloud, this can be packaged with object storage, container platforms, logging services, and monitoring alerts.
    • Cost layer: Visual tokens are the main source of overhead. Process images in tiers according to the precision required by the task, and avoid relying on a single high-resolution image for everything.

    6. Conclusion

    The most noteworthy aspect of open-source experimental multimodal models is not parameter scale but the way they treat reference as a first-class design concern: using structured visual primitives to build unambiguous pointers and a placeholder system to manage image-text layout budgets. Even when explicit primitives are replaced by coordinate-based expressions in actual output, the core remains bridging the perception and reference gaps through precise spatial references. For developers, focusing on three points—structured output, parseable evaluation, and configurable budgets—is enough to bring these capabilities reliably into real applications.