Native Multimodal Agents: Architecture Evolution and Engineering Practices

    This article examines the shift from bolt-on visual modules to native multimodal agent architectures. It discusses why perception must remain coupled with reasoning throughout training, how layered optimization helps overcome end-to-end engineering bottlenecks, and how cloud-native infrastructure supports a closed perception-reasoning-execution loop. It also offers practical recommendations for developers building multimodal agent applications.

    Native Multimodal Agents: Architecture Evolution and Engineering Practices

    1. Introduction: From Bolt-On Modules to a Native Multimodal Paradigm

    Today’s mainstream text-only large models have demonstrated impressive capabilities in natural language understanding, code generation, and logical reasoning. In the real digital world, however, a large amount of information exists in visual form—complex web interfaces, mobile app screenshots, designer deliverables, complex PDF forms, and even surveillance video streams. If developers rely only on text LLM APIs and stitch together separate visual modules, the result is essentially a bolt-on approach. This creates a semantic gap between visual perception and language reasoning, makes context alignment difficult, and can easily lead to hallucinations during execution.

    To overcome this bottleneck, the industry has proposed the concept of native multimodal agents. The core idea is not simply to attach a visual encoder to a language model architecture. Instead, it is to integrate images, video, and text into a complete perception-reasoning-execution loop from the ground up, spanning underlying architecture design, training data mixture, and engineering toolchains. This native fusion allows models to show more coherent cross-modal reasoning and execution when handling complex tasks such as design-to-code conversion and mobile UI automation.

    2. Perception Should Not Be a One-Time Front-End Module

    In traditional multimodal architectures, perception is often treated as an independent front-end step: the system first uses a visual encoder to convert the input image into high-dimensional feature vectors, and then hands control entirely to the large language model for subsequent reasoning. However, frontier research suggests that this “solve perception early and move on” approach has a fundamental flaw: perception quality continuously and profoundly affects the upper bound of the model’s high-level capabilities.

    2.1 Deep Coupling Between Perception and Reasoning

    Perception and reasoning are not serial, independent modules; they form a highly coupled collaborative system. The depth of the model’s understanding of visual details directly determines the reliability of its logical inference. If front-end perception loses key relative position information or structured layout, the back-end language model can only fill in the gaps based on incomplete information, which inevitably leads to execution errors.

    2.2 How Data Design Implicitly Improves High-Level Capabilities

    One noteworthy technical practice is to introduce large amounts of image-to-SVG vector graphics or image-to-structured-code training data during pretraining. On the surface, this appears to train front-end code generation capabilities. At a deeper level, however, it forces the model to accurately understand layout structure, element hierarchy, and relative positional relationships in the image. Surprisingly, this enhancement of low-level visual parsing not only improves code generation quality but also significantly drives downstream STEM (science, technology, engineering, and mathematics) reasoning. This demonstrates that visual perception features and abstract logical reasoning share a representation space.

    2.3 Perception Correction During Reinforcement Learning

    Perception tasks are not only a pretraining-stage engineering concern; they also need to run through instruction tuning and reinforcement learning (RL). For example, in instruction tuning for GUI agents, teams can specifically introduce evaluation data targeting perception errors such as misreading UI elements or clicking the wrong target button. By strengthening visual grounding tasks during RL, the model can learn to review visual evidence before outputting an action. Experiments show that this perception-correction mechanism across the full training cycle can significantly reduce action hallucinations in multimodal agents and greatly improve success rates in real interface interactions.

    3. Layered Optimization: Overcoming Engineering Bottlenecks in End-to-End Training

    In theory, end-to-end training from perception input to action output sounds elegant. In practical engineering, however, it faces major challenges: training environments are expensive to build, expert-level trajectory data is difficult to annotate at scale, action-space validation is difficult, and the overall optimization process is prone to vanishing gradients or instability. As a result, layered optimization strategies have become a more efficient technical path today.

    3.1 Multi-Level Decomposition of Agent Tasks

    The core idea of layered task decomposition is to break complex GUI agent behavior into a hierarchy of subtasks:

    1. Element perception layer: identify basic visual elements on the screen, such as text, buttons, and input fields, along with their semantic attributes.
    2. GUI grounding layer: map natural language instructions or logical intent to a precise coordinate space on the screen, such as a bounding box.
    3. Single-step action prediction layer: based on the current screen state and operation history, predict the next specific action, such as click, swipe, or type.
    4. Trajectory-level prediction layer: plan the macro operation sequence required to complete complex goals, with long-horizon task decomposition capability.

    3.2 Coordinated Layered Evolution of SFT and RL

    Based on this decomposition, R&D teams can train these layers in a targeted way during supervised fine-tuning (SFT) and reinforcement learning (RL). For example, in the SFT stage, massive automatically generated element perception and grounding data can be used to build a solid visual foundation. In the RL stage, reward model design can focus on single-step action and trajectory prediction, allowing the model to repeatedly trial, error, and iterate through interaction with a simulated environment. This layered design not only reduces optimization difficulty but also helps developers pinpoint which stage is the bottleneck and supplement data accordingly.

    4. A Unified Perception-Reasoning-Execution Loop and Cloud-Native Practices

    Building native multimodal agents is not only a contest of model algorithms; it is also a test of engineering infrastructure. A complete multimodal loop requires powerful compute scheduling, massive multimodal data management, and an efficient inference and execution environment.

    In practical engineering deployments, developers often rely on mature cloud-native infrastructure to build this system. For example, a container platform such as Baidu AI Cloud CCE can be used to elastically schedule heterogeneous compute for training and inference and to maintain resource stability during high-concurrency RL; Object Storage (BOS) can manage large volumes of images, videos, and multimodal annotation datasets; and logging and monitoring/alerting systems can track the success rate and exception rate of agent UI-operation trajectories in real time.

    This cloud-native closed-loop system enables a flywheel to run efficiently: perceive environment changes -> model reasoning and decision-making -> execute specific actions -> collect feedback to optimize the model. Real environment feedback data generated at the execution end can be cleaned and fed directly back into the RL pipeline, continuously improving the agent’s generalization ability in real business scenarios.

    5. Conclusion and Practical Recommendations for Developers

    Moving from bolt-on stitching to native multimodal fusion is a key step for general artificial intelligence as it moves toward the real world. For developers building multimodal applications, the following practical recommendations are worth considering:

    1. Discard the “vision as a front-end” bias: when designing application architecture, do not treat visual understanding as an independently replaceable module. Focus on how visual features can be deeply aligned with business-logic reasoning.
    2. Use structured data to feed back into model training: when fine-tuning models, consider introducing auxiliary tasks such as SVG generation and interface structure tree extraction. These can often bring unexpected improvements in grounding and reasoning.
    3. Adopt a layered engineering strategy: for complex agent tasks, prioritize decomposing the task into perception, grounding, action planning, and other submodules for staged optimization, rather than blindly pursuing a single end-to-end model.

    The development of native multimodal agents is accelerating. Through full-cycle perception optimization and scientific layered training strategies, developers will be able to build intelligent systems that truly understand the visual world and execute tasks efficiently within it.