Native Multimodal Agents: A Technical Path for Perception-Reasoning-Action Closed-Loop Design
This article explores the technical path for building native multimodal agents with a unified perception-reasoning-action loop. It explains why bolt-on visual modules fall short, and presents three key lessons: perception quality must be reinforced throughout the entire training lifecycle; hierarchical optimization is more practical than pure end-to-end training; and evaluation loops must be built in parallel with training. Practical guidance on data composition, SFT-then-RL pipelines, critique data, and engineering infrastructure is also provided for teams building GUI-oriented multimodal agents.
Why Do We Need “Native” Multimodal Agents?
Today’s mainstream large language models perform strongly on pure-text tasks, but in real-world scenarios, much of the critical information does not exist as text: web interfaces, mobile screenshots, design mockups, PDF documents, and video streams all carry key semantics in visual form.
A common industry approach is to attach a standalone visual module to a text model—using a vision encoder at the front end to extract features, which are then fed into the language model through a projection layer. This “bolt-on” approach has several structural problems:
- Perception and reasoning are disconnected: visual features are compressed into fixed representations before entering the reasoning stage, causing massive loss of fine-grained layout, position, and hierarchy information;
- Hallucination amplification: the model’s understanding of image content is “secondhand”—once the vision encoding stage makes an error, subsequent reasoning continues to fabricate confidently on top of a false premise;
- Capped capability ceiling: once the perception module is fixed early in pre-training, it no longer evolves with downstream task requirements.
True “native multimodality” aims to unify images, video, and text within a single perception-reasoning-action closed loop, treating vision as a first-class citizen at three levels: architecture, training objectives, and toolchain. Research practice shows that this approach achieves significantly better results on GUI understanding and operation tasks (such as reconstructing code from design mockups or completing multi-step operations in mobile environments) while maintaining strong pure-text capability.
Key Lesson 1: Perception Is Not a One-Time Module
Many works treat perception as a preprocessing step: a vision encoder converts the image into a vector sequence, and everything afterward is handed to the language model for reasoning. But an important practical finding is that perception quality continuously determines the ceiling of higher-level capabilities, rather than merely affecting early feature extraction.
Three concrete phenomena illustrate this:
1. Visual understanding data feeds back into reasoning ability
Introducing large amounts of “image → structured description (e.g., SVG/HTML skeleton)” encoding data into the pre-training corpus may look like training front-end code generation, but it actually forces the model to understand layout, structure, relative positions, and element hierarchy. Such tasks require precise alignment between visual coordinates and semantic descriptions—essentially high-density visual reasoning training. The result: downstream STEM reasoning ability improves in parallel, showing that precise modeling of visual structure transfers to logical reasoning tasks.
2. RL-strengthened grounding drives agent performance
Adding coordinate grounding tasks during the reinforcement learning stage (given an element description, output its precise position on the interface) significantly improves the overall success rate of GUI agents. The reason: grounding is the “hardest” perception supervision signal—the model cannot fake it with language priors and must genuinely “see” the interface.
3. Critique data corrects perception-driven hallucinations
Adding “critique-style” samples to GUI instruction-tuning data—deliberately constructing scenarios such as “misreading an interface element” or “clicking the wrong button,” together with the correct answer and the reasoning for correction—markedly reduces hallucination rates. This effectively teaches the model to double-check its own visual understanding.
Conclusion: perception should run through the entire training lifecycle rather than being a one-off pre-training project. A reference data composition looks like this:
Pre-training: image-text alignment + structured encoding data (image → layout description/code)SFT stage: instruction following + critique-style correction data (negative samples + correction rationale)RL stage: grounding rewards + task success rewards (end-to-end perception-action loop)
Key Lesson 2: Hierarchical Optimization Beats Pure End-to-End Training
End-to-end agent training sounds appealing, but it is extremely difficult in practice: environment setup is costly (requiring real or high-fidelity simulated GUI environments), trajectory data is hard to annotate, verification is expensive, and the optimization signal is sparse and unstable.
A more pragmatic approach is to decompose training objectives hierarchically, dividing GUI agent capability into multiple levels and applying training pressure at both the SFT and RL stages:
| Level | Training Objective | Typical Task Format |
|---|---|---|
| L1 Element perception | Identify interface elements and their attributes | Given a screenshot, list buttons/text boxes/icons |
| L2 Spatial grounding | Output precise element coordinates | Element description → bounding box/click point |
| L3 Single-step action | Choose the correct action given the current state | State + instruction → action |
| L4 Trajectory planning | Complete execution path for multi-step tasks | Task goal → action sequence |
The hierarchical design offers two advantages:
- Controllable reward signals. Verifying a single-step action is far easier than verifying a full trajectory—correctness can be determined automatically via DOM trees or interface element matching, whereas trajectory-level evaluation often requires manual spot checks or costly simulated-environment replays. Hierarchical training keeps the RL reward function at a high signal-to-noise ratio at every level.
- Diagnosable, iterable capability. When the agent fails overall, hierarchical evaluation can pinpoint whether the problem lies in “seeing wrong” (L1/L2) or “choosing wrong” (L3/L4), enabling targeted data and objective adjustments instead of blindly retraining everything from scratch.
An illustrative reward design can be organized as follows:
def reward(level, prediction, ground_truth):if level == "grounding":return iou_or_hit_score(prediction, ground_truth) # grounding IoU/hitif level == "step_action":return exact_match(prediction.action, ground_truth.action)if level == "trajectory":return stepwise_progress_score(prediction, ground_truth)
Key Lesson 3: The Evaluation Loop Must Be Built in Sync with Training
Evaluating multimodal agents is far more complex than evaluating pure-text models, mainly because of environment non-reproducibility and the non-uniqueness of actions. In practice, an evaluation system needs three layers:
- Perception-level benchmarks: grounding accuracy, element recognition F1, OCR-style accuracy—automated with deterministic metrics;
- Task-level benchmarks: executing standard tasks (such as form filling or cross-application operations) in controlled GUI simulation environments, with final task success rate as the primary metric;
- Regression guardrails: every time new visual training data is introduced, run pure-text benchmarks in parallel to prevent a capability seesaw where “multimodal improves, text regresses.”
In addition, when building environments, it is advisable to combine real and simulated environments: simulated environments ensure reproducibility and scalability of evaluation, while real environments validate robustness under distribution shift.
General Recommendations for Engineering Implementation
For teams looking to reproduce this kind of capability in their own systems, the following roadmap can serve as a reference:
- Data first: structured encoding data (image → layout/code) is the most cost-effective perception training material and can be constructed at scale from public design mockups and rendered web pages;
- SFT before RL: use hierarchical SFT to establish a stable understanding of the action space, then introduce RL to optimize single-step decisions and trajectory quality; skipping SFT and going straight to RL usually yields limited gains;
- Critique data is indispensable: constructing correction samples targeting your own model’s most frequent perception errors is the most direct lever for reducing hallucinations;
- Leverage cloud infrastructure: on the training side, rely on container platforms and GPU compute for distributed training; on the data side, use object storage to manage large-scale image-text corpora; on the evaluation side, use logging services and monitoring/alerting systems to track continuous regression of metrics at each level, forming a complete train-evaluate-iterate closed loop.
Conclusion
The essence of native multimodal agents is not whether “the model can see images,” but the deep coupling of perception, reasoning, and action. Three core lessons are worth internalizing: perception is a capability that runs through the entire training lifecycle rather than a one-time effort; hierarchical optimization trades controllable cost for stable training signals; and the evaluation loop must evolve in sync with training. As vision-language models see deeper application in agent scenarios, this methodology of “perception-throughout training + hierarchical optimization” will become a general paradigm for building highly reliable multimodal systems.
