Thinking with Images: The Technical Evolution and Practice of Multimodal Visual Reasoning

    This article examines how experimental multimodal models move from simply seeing images to reasoning through them by cropping, zooming, and annotating regions during inference. It breaks down the perception gap and the reference gap, compares visual primitives with coordinate-based referencing, and outlines a reproducible evaluation loop covering dense counting, localization, spatial relations, navigation, and document understanding. Readers will also find practical guidance on toolchain configuration, observability, fallback strategies, and capacity planning for the added image tokens and tool-call rounds.

    1. Background: From Seeing Images to Reasoning Through Them

    Recent technical discussions have highlighted a class of experimental multimodal models that treat “reasoning while manipulating images” as a core capability. Instead of producing an answer in a single pass, the model repeatedly crops, zooms, and annotates image regions within its chain of reasoning, then continues to make judgments based on those intermediate results. This capability is commonly summarized as “thinking with images.”

    To evaluate such capability, it helps to separate two layers of questions:

    • Perception layer: Does the model actually see the image clearly, rather than guessing from language priors?
    • Reference layer: What form does the model use to point to objects in the image while reasoning?

    Two typical failure cases from the original discussion are representative: a dense crowd that can be counted correctly in official technical documentation produces skewed counts in a web interaction environment; a maze path-planning task that works in the documentation fails completely in an interactive environment. This “same model, different entry point, inconsistent results” phenomenon is often not caused by a change in model weights, but by differences in the reasoning harness, image preprocessing, and tool-calling protocol.

    2. Two Gaps: Perception Gap and Reference Gap

    A widely accepted analytical framework splits multimodal recognition difficulty into two parts:

    1. Perception Gap: Input resolution, tiling strategy, and compression noise cause loss of detail, so the model physically cannot see clearly.
    2. Reference Gap: Even when the model sees clearly, it still describes objects in natural language within its chain of thought, such as “the third person from the left” or “the point near the red square.” Natural language is inherently ambiguous in dense scenes, and once the reference drifts, subsequent logical reasoning collapses in a chain reaction.

    The practical implication of this framework is that improving recognition is not just about stacking resolution; it also requires changing how objects are referenced during reasoning.

    3. Two Technical Routes: Visual Primitives and Coordinate-Based Referencing

    Route one: Visual Primitives. Treat geometric structures such as polygons, points, and bounding boxes as first-class citizens in the reasoning process, letting the model replace vague descriptions with structured pointers and locate precisely in continuous visual space.

    Route two: Coordinate-based referencing (the classic approach to thinking with images). The model outputs discrete coordinates or region markers, combined with a cropping tool to repeatedly “look back” at local areas. It is simple to implement and compatible with existing toolchains, but its stability on ultra-dense targets depends on the sufficiency of training.

    From an engineering perspective, the two are not mutually exclusive: structured primitives can be seen as a strongly constrained version of coordinate-based referencing. To judge whether a system truly has structured capability, observe whether geometric primitive markers natively exist in its tokenizer and tool protocol, and whether these markers participate in the training objective, rather than being merely interface sugar.

    4. A Verifiable Evaluation Method

    Rather than drawing conclusions from demos, it is advisable to build a minimal reproduction set:

    • Dense counting: crowds, shelf products, small remote-sensing targets;
    • Local localization: small targets, occluded targets;
    • Spatial relations: left/right, front/back, containment;
    • Navigation planning: mazes, grid maps;
    • Document understanding: tables, formulas, seals.

    For metrics, record task accuracy, average number of tool calls, number of image look-backs, and end-to-end latency at the same time, so you can tell whether the gain comes from “seeing more clearly” or “thinking longer.”

    Illustrative evaluation loop:

    1. for sample in dataset:
    2. obs = render(sample.image, max_side=1024)
    3. for step in range(max_steps):
    4. action = model.act(obs, history) # output coordinates/primitives/crop request
    5. if action.type == "crop":
    6. obs = crop(obs, action.box)
    7. continue
    8. if action.type == "primitive":
    9. obs = overlay(obs, action.polygon)
    10. continue
    11. if action.type == "answer":
    12. record(sample, action.answer, step)
    13. break

    5. Engineering Realities of Toolchains and Configuration

    The complaints in the original text about “non-intuitive configuration and undocumented upgrade steps” are common in AI coding tools and multimodal toolchains. Practical recommendations:

    • Version consistency: Keep local dependencies, server-side images, and the web entry point on the same version to avoid “same name, different behavior.”
    • Externalized configuration: Write model identifiers, temperature, max steps, and image limits into a configuration file and put it under version control.
    • Observability: Record the input and output of each tool call along with the image hash to make differences easier to locate.
    • Fallback strategy: Automatically fall back to coordinate referencing when structured primitives are unavailable, ensuring usability.

    Configuration example (neutral illustration):

    1. {
    2. "model": "vision-reasoning-exp",
    3. "max_steps": 12,
    4. "image": { "max_side": 1024, "tiling": true },
    5. "tools": ["crop", "zoom", "annotate"]
    6. }

    6. Cost and Capacity Planning

    “Thinking with images” significantly increases image tokens and the number of call rounds. Capacity assessment should cover average rounds per task, image area per round, and peak concurrency. In engineering, intermediate slices can be stored in object storage, a message queue can smooth out peaks, and a container platform can scale elastically, with logging services and monitoring alerts to locate long-tail tasks. Baidu AI Cloud offers corresponding capabilities in these general categories, which can be combined as needed.

    7. Conclusion

    To evaluate such experimental multimodal capabilities, return to the three-layer framework of “perception-reference-harness”: see whether it genuinely reduces reference ambiguity, whether it reproduces stably under a unified version and unified configuration, and whether it improves dense counting and complex localization at a controllable cost. Demo results can only serve as clues; reproducible evaluation and an observable toolchain are the real basis for judgment.