Multimodal Visual Reasoning: Replacing Vague Descriptions with Visual Primitives

    Multimodal models often fail at image reasoning not because they cannot see, but because they cannot refer to what they see precisely. This article explains how points and bounding boxes can serve as verifiable spatial references, improving counting, coreference resolution, spatial reasoning, document understanding, and fine-grained recognition. It also presents a practical reasoning workflow, validation logic, engineering considerations, and deployment guidance.

    1. The Starting Point: Natural Language Is Not a Visual Pointer

    The main bottleneck in image understanding for multimodal large language models is not always poor visual perception. More often, the problem is imprecise reference.

    During chain-of-thought reasoning, a model repeatedly describes what it sees in natural language. However, natural language is inherently ambiguous. Demonstratives, spatial terms, and quantity expressions depend heavily on context. Once that shared context is lost, they cannot uniquely identify a specific image region.

    A typical failure chain looks like this: the model first says, “The object on the left moved slightly,” and then continues reasoning, “So it moved to the right.” At this point, neither “the object on the left” nor “the right” is linked to a specific pixel region. The referenced entity is lost in the first step. Subsequent reasoning no longer takes place on the image, but on a distorted textual paraphrase of the image. Hallucinations are then amplified step by step.

    The conclusion is clear: natural language is effective for expressing intent and logic, but it is not suitable as an unambiguous pointer in continuous visual space.

    2. An Analogy: From “Central Cannon” to “Cannon Two to Five”

    The evolution of Chinese chess notation provides a useful analogy.

    A beginner might say, “Play the central cannon, then move the knight.” Although this sounds informative, it leaves many ambiguities: Which cannon? Where exactly is “central”? Which knight? Whose right side? To eliminate such uncertainty, formal notation uses a structured four-part format such as “Cannon Two to Five” and “Knight 8 to 7.” This replaces vague conversational language with a structure based on the piece, file number, and action.

    In image understanding, a multimodal model is like a chess player trying to reconstruct a game from someone else’s verbal account. If the account only says, “The piece on the left moved,” even a highly skilled player cannot reliably restore the position. The problem is not the player’s ability; it is that the description protocol is unsuitable.

    Visual primitives serve the same purpose as formal chess notation: they translate a vague statement such as “play the central cannon” into a precise operation such as “Cannon Two to Five.”

    3. Visual Primitives: Unambiguous Pointers in Continuous Space

    Visual primitives are spatial markers represented as points and bounding boxes. They are directly anchored to the image coordinate system, can be uniquely interpreted, and can be validated programmatically.

    A minimal set usually includes:

    • Point (x, y): Used to reference an individual object, anchor, endpoint, or text baseline position.
    • Bounding box [x1, y1, x2, y2]: Used to define a region, a group of objects, or a table cell.
    • Points and boxes can be combined into sequences to represent order, paths, and counting operations.

    The key difference is verifiability. A natural-language statement such as “There are five animals in the image” cannot easily be checked by a machine. By contrast, “Return five points in sequence, with each point corresponding to one animal” can be parsed, deduplicated, and checked by projecting the points back onto the image.

    The reasoning chain is therefore transformed from an unverifiable description into a verifiable sequence of operations.

    4. The Cognitive Motivation: Pointing to Think

    When people count objects in a crowded scene, they naturally point at each item. This pointing gesture reduces cognitive load and helps maintain logical consistency. It keeps attention on the current item, preventing duplicates and omissions, while anchoring the abstract act of counting to concrete spatial locations.

    Inserting visual primitives into the reasoning process creates a similar effect inside the model. Language handles planning and judgment, while spatial markers handle binding and tracking. The two alternate as reasoning progresses, continuously bringing abstract language-based thought back to concrete coordinates.

    5. Framework and Execution Flow

    A typical process can be abstracted into a four-step loop:

    1. Perception and task definition: Analyze the image, clarify the task objective, and define the output contract.
    2. Primitive generation: When precise localization is required, output points or bounding boxes instead of relying on adjectives or spatial descriptions.
    3. Primitive-based reasoning: For counting, comparison, sorting, and relation judgments, refer only to previously generated markers.
    4. Validation and convergence: Check for out-of-range coordinates, overlaps, and duplicates through back-projection. Add or correct primitives when necessary.

    The following illustrative prompt and parsing logic express the structure only; they do not represent a specific interface:

    1. # 1) Define the output protocol: normalize coordinates to [0, 1000], with the origin at the top-left
    2. PROTOCOL = """
    3. When localization is required, output only structured markers. Do not use vague terms such as
    4. "left", "that one", or "nearby":
    5. POINT: [x, y] # Single-point reference
    6. BOX: [x1,y1,x2,y2] # Region reference
    7. Then explain the semantic role of each marker in one natural-language sentence.
    8. """
    9. def parse(text):
    10. pts, boxes = [], []
    11. for line in text.splitlines():
    12. if line.startswith("POINT:"):
    13. pts.append(json.loads(line[6:]))
    14. elif line.startswith("BOX:"):
    15. boxes.append(json.loads(line[4:]))
    16. return pts, boxes
    17. def validate(pts, boxes, w, h):
    18. # Check range and duplicates, then trigger self-correction when necessary
    19. for p in pts:
    20. assert 0 <= p[0] <= 1000 and 0 <= p[1] <= 1000
    21. for b in boxes:
    22. assert b[0] < b[2] and b[1] < b[3]
    23. return len(set(map(tuple, pts))) == len(pts)

    From an engineering perspective, coordinate normalization eliminates differences caused by image resolution. Strictly parseable output formats make downstream processing more reliable. Each primitive should include a semantic label, and reasoning should prohibit references that are not bound to an explicit marker.

    6. Where This Helps

    • Dense counting: Point-by-point marking reduces duplicates and omissions, while making the result auditable.
    • Coreference resolution: In multi-turn questions such as “Which cup?”, a bounded region is more reliable than a directional description.
    • Spatial reasoning: Left, right, above, below, containment, and intersection can all be converted into coordinate comparisons.
    • Document and table understanding: Cells, rows, columns, and headers can be localized with boxes, making structural reconstruction more stable.
    • Small-object and fine-grained recognition: Point-level annotations preserve local details and reduce the information loss caused by global descriptions.

    7. Limitations and Risk Controls

    • Coordinate precision: Normalization and quantization errors can propagate into downstream decisions. A consistent scale and back-projection validation are necessary.
    • Token overhead: Primitive sequences can significantly increase context length. They should be generated on demand and inserted only when localization is important.
    • Annotation consistency: When the same object is marked multiple times, the system needs a deduplication and merging strategy.
    • Protocol fragility: Format drift can cause parsing failures. Tolerant parsing and retry-based recovery are useful safeguards.
    • Evaluation methodology: Evaluation should include programmatically verifiable metrics, such as localization hit rate and counting accuracy, rather than relying only on textual fluency.

    8. Deployment Recommendations

    For a self-hosted reasoning service, images and intermediate primitives can be stored together in object storage. The reasoning service can be deployed in containers on a container platform, while the call chain and parsing failure rate can be monitored through logging, monitoring, and alerting services.

    General-purpose capabilities provided by cloud platforms such as Baidu AI Cloud—including object storage, container platforms, logging services, and monitoring and alerting—can serve as infrastructure options for this type of workflow. Specific choices should still be evaluated against the workload and applicable compliance requirements.

    9. Conclusion

    The next step in visual reasoning is not to make models describe images more elaborately, but to make them point more accurately.

    Replacing vague natural-language paraphrases with an unambiguous spatial protocol built from points and bounding boxes gives multimodal reasoning a verifiable coordinate layer. Just as formal chess notation replaces informal descriptions with precise moves, verifiability is a prerequisite for complex visual reasoning to converge reliably.