Multimodal Visual Reasoning Approaches and Agent Harness Evaluation
This article examines two visual reasoning approaches for multimodal models in agent scenarios: structured visual primitives and interleaved image-text reasoning ("Thinking with images"). It explains why agent use cases increasingly favor interleaved reasoning, why online behavior may diverge from technical reports, and how developers should design layered, replayable evaluation frameworks and harnesses to reliably deliver multimodal agent capabilities.
Recently, the visual processing approach of a newly released multimodal model in agent scenarios has sparked discussion. A common view in public conversations is that it favors an interleaved image-text reasoning approach (“Thinking with images”) over the earlier “visual primitives” pre-parsing scheme. Rather than reviewing any specific product, this article abstracts the phenomenon into a general technical question: How should multimodal models organize visual perception, reasoning, and tool calling within agents? Why has the runtime harness become critical? Why might online behavior diverge from technical reports? And how should developers evaluate and deploy these systems?
1. The Fundamental Difference Between Two Visual Reasoning Approaches
“Visual primitives” typically refers to first parsing an image into a set of structured elements—bounding boxes, segmentation masks, keypoints, OCR text blocks, scene graphs, relational triples, or coordinate sequences—and then feeding these structured results to the LLM for reasoning. The core idea is “look first, then think”: visual understanding is decomposed into enumerable, auditable intermediate representations. The advantages are interpretability, reusability, and ease of verification; the drawbacks are error accumulation across stages, difficulty covering long-tail scenarios, and potential misalignment between the primitive taxonomy and task objectives.
“Thinking with images” is closer to “thinking while looking”: during its reasoning chain, the model proactively initiates image operations—cropping, zooming, re-examining regions, text recognition, regional comparison—based on the current question, then returns observations to the context to continue reasoning. Its strengths are strong task adaptability and flexible tool composition, making it well suited for counting, fine-grained recognition, chart reading, and spatial planning. The challenges are that tool quality, context management, call budgets, and result verification all become more complex.
From a systems engineering perspective, switching approaches does not necessarily imply capability regression. Pre-parsed primitives resemble “offline feature engineering,” while interleaved reasoning resembles “online closed-loop control.” The former emphasizes stable intermediate states; the latter emphasizes task closure. If the model and runtime harness provide reliable image manipulation tools, state recording, and verifiers, interleaved reasoning is often more general; without verification and replay, it can easily produce results that “look reasonable but are not executable.”
2. Why Agent Scenarios Favor Interleaved Reasoning
First, primitive taxonomies struggle to cover open-ended tasks. Bounding boxes work for finding objects, but cannot necessarily express “which numbered target,” “whether a path is reachable,” or “whether chart trends are consistent.” Second, there is a semantic gap between primitive parsing and the final task: the parser outputs many elements, but the model must still judge which are relevant to the question. Third, interleaved reasoning turns visual operations into reasoning actions, letting the model acquire information on demand and reducing the redundancy of one-shot parsing.
This does not mean primitives are useless. A more reasonable engineering form is a “dual-track” design: keep structured primitives for high-frequency, stable, strongly verifiable tasks, and use interleaved reasoning for open-ended, long-tail tasks requiring multi-step observation. The harness’s responsibility is to unify the two tracks: registering tools, managing context, recording intermediate states, executing verification, and supporting replay and degradation. This is the significance of the harness for multimodal agents: the model sets the capability ceiling, while the framework determines whether that capability can be delivered reliably.
3. An Engineering Interpretation of Gaps Between Online Behavior and Technical Reports
Two phenomena frequently appear in public discussion: small-scale people counting with errors of roughly two targets, and maze or path-planning tasks being non-executable in the online interface. These should not be simplistically attributed to “the model can’t do it.” More likely causes include differences between the online interface and the report in model version, prompt templates, image preprocessing, tool availability, context length, and post-processing strategies. Online systems may also apply rate limiting, image compression, or disable certain tools.
Counting failures typically stem from missed detections, duplicate boxes, occlusion handling, deduplication and aggregation, and the absence of review steps. Maze failures involve spatial topology understanding, coordinate mapping, path reachability judgment, and execution verification. Both point to a shared engineering problem: the lack of verifiable intermediate states. If the system only returns a final answer, developers cannot determine whether the error occurred in perception, reasoning, or tool calling.
4. Evaluation Framework Recommendations: Layered, Replayable, Controlled
We recommend splitting evaluation into a capability layer and a system layer. The capability layer covers counting, spatial relations, charts, OCR, multi-image comparison, tool calling, and planning; the system layer covers end-to-end success rate, number of tool calls, failure recovery rate, latency, and cost. Test sets should include golden samples, adversarial samples, and ablation samples, with every tool call and observation recorded.
Illustrative pseudocode:
def run_vision_agent(task, image, tools, verifier, max_steps=8):ctx = {"task": task, "image": image, "trace": []}for step in range(max_steps):plan = model.plan(ctx) # generate the next-step planaction = plan.actionif action.type == "crop":obs = tools.crop(ctx["image"], action.bbox)elif action.type == "zoom":obs = tools.zoom(ctx["image"], action.region)elif action.type == "ocr":obs = tools.ocr(ctx["image"], action.region)else:obs = tools.finish(action.answer)ctx["trace"].append({"step": step, "action": action, "obs": obs})if verifier.check(task, ctx):return {"answer": obs, "trace": ctx["trace"]}return {"answer": None, "trace": ctx["trace"], "reason": "max_steps"}
What matters is not the code itself but the trace: which region was examined at each step, which tool was invoked, what observation was returned, and why the verifier passed or failed. Only with replayability can you distinguish model problems from harness problems.
5. Harness Design Essentials and Deployment Recommendations
A runtime harness should provide tool registration and permission control, image operation caching, context trimming, intermediate-state visualization, verifier plugins, failure degradation, and log replay. For counting tasks, a three-stage “detection–deduplication–review” verification can be added; for spatial tasks, the system can require path coordinates as output and perform reachability checks. On the engineering side, general-purpose compute, object storage, logging, and monitoring/alerting capabilities from cloud providers such as Baidu AI Cloud can support evaluation data management and pipelines—but the core remains task-level evaluation design.
In practice, developers should not judge by demos alone but build task-level benchmarks; distinguish “model capability” from “online product implementation”; add verifiable intermediate states for high-risk tasks such as counting and spatial navigation; record tool call budgets and failure classifications; and conduct consistency spot checks between online and offline results. Neither approach is absolutely superior—the key is to use a runtime harness to close the loop across visual perception, reasoning, tool calling, and verification, and to continuously calibrate with replayable evidence.
