Native Multimodal LLMs and Agent Orchestration: A Technical Deep Dive

    This article examines two architectural shifts driving the evolution of multimodal large language models for agentic workloads: native multimodal pretraining with joint text-vision optimization, and dynamically parallelized multi-agent orchestration. It covers the three-stage architecture (unified vision encoder, cross-modal projection layer, MoE language backbone), native-resolution patch packing with shared image-video weights, the tradeoffs of lightweight versus heavy projection layers, MoE sparse activation for parameter efficiency, decoupled training pipelines, parallel agent orchestration mechanisms and engineering challenges, and the evaluation dimensions that define general agent capability.

    1. Background: Two Technical Bottlenecks in the Agent Era

    The focus of large model deployment is shifting from conversational Q&A to agentic execution: models must not only generate text, but also read interface screenshots, parse charts, write and run code, and invoke external tools to complete end-to-end tasks. This shift poses two sharp challenges to conventional multimodal technical approaches.

    First, insufficient depth of modality fusion. The dominant past practice was to train a strong text-only language model first, then bolt on a vision encoder afterward for adaptation. In this “language-first, vision-late-adaptation” paradigm, visual signals remain merely auxiliary input to language: language and vision capabilities tend to trade off against each other, and the ceiling of visual understanding is locked in by the language backbone’s inherent modeling approach. When a task requires the model to precisely read UI controls, table numbers, or geometric relationships, these shortcomings are sharply amplified.

    Second, excessive execution latency. A single agent advances serially through a “perceive—plan—act—observe” loop, and each additional step in the chain adds latency linearly end to end. Yet in many real-world complex tasks, there is no true dependency between sub-steps, so serial execution wastes a large amount of parallelism that could otherwise be exploited.

    The new generation of technical solutions responds systematically to both points: at the model layer, a native multimodal architecture with “joint text-vision optimization throughout” replaces the adapter paradigm; at the execution layer, “dynamic parallel orchestration of agent clusters” replaces the single-agent serial loop. This article provides a technical breakdown along these two main lines.

    2. Overall Architecture: Three-Stage Pipeline and Native Fusion

    A typical native multimodal architecture consists of three major components: a unified vision encoder, a cross-modal projection layer (typically an MLP), and a Mixture-of-Experts (MoE) language backbone. The data flow follows the pipeline of “visual feature extraction—cross-modal alignment—unified language backbone modeling”:

    1. image/video ──► vision encoder ──► MLP projection ──┐
    2. ├──► MoE language backbone ──► text/action output
    3. text tokens ────────────────────────────────────────┘

    The essential difference from the adapter paradigm lies in the starting point of joint optimization: visual tokens enter the same semantic space as text tokens early in training, and the language backbone learns to “consume” visual information during pretraining, rather than being forcibly aligned after its capabilities have already matured. The result is bidirectional enhancement between modalities—visual information improves the language backbone’s spatial and geometric reasoning, while the language’s semantic priors in turn raise the abstraction level of visual understanding. The two modalities act as mutual amplifiers rather than competitors.

    3. Vision Encoder: Native Resolution and Unified Image-Video Modeling

    The vision encoder is the upstream determinant of multimodal understanding quality, and two design points deserve the most attention.

    3.1 Native Resolution and Variable Input

    Traditional vision encoders require fixed-resolution input, forcing the original image to be resized or tiled, which introduces two kinds of information loss: aspect-ratio distortion, and the loss of high-frequency details such as small text, table lines, and UI controls. Agents, however, depend heavily on fine-grained reading of screenshots and documents.

    The new generation of solutions adopts a patch packing strategy: images of arbitrary resolution are split into patches, flattened, and concatenated into a one-dimensional sequence, while 2D coordinates are preserved through positional encoding. Sequence length scales elastically with image resolution, with no cropping or forced resizing:

    1. def pack_patches(image, patch_size=16):
    2. n_h = image.shape[-2] // patch_size
    3. n_w = image.shape[-1] // patch_size
    4. patches = split_patches(image, patch_size) # split out all patches
    5. seq = flatten(patches) # flatten into a 1D sequence
    6. pos_ids = build_2d_position_ids(n_h, n_w) # preserve 2D positional info
    7. return seq, pos_ids

    This design yields a double benefit: first, inputs of any aspect ratio and resolution—long screenshots, widescreen interfaces, high-resolution scans—can enter the model losslessly; second, during training, samples of different resolutions can be mixed within the same batch, significantly improving data throughput and utilization efficiency.

    3.2 Extending the Temporal Dimension: Full Weight Sharing Between Image and Video

    A common approach to video understanding is to design a separate branch or independent module for video, but this has two inherent flaws: video data scale is far smaller than image data, so an independent branch is hard to train sufficiently; and the feature spaces of images and videos are fragmented, so knowledge cannot be reused.

    A better approach extends “patch packing” to the temporal dimension: group several consecutive frames into a spatiotemporal volume, jointly flatten the 2D patches of multiple frames into a packed sequence, and feed it to the same encoder—fully sharing weights with the image path—for joint spatial-temporal attention modeling. This introduces no independent module for video, allows image understanding capability to be maximally transferred to video tasks, and benefits parameter efficiency and training efficiency simultaneously—which is why such encoders are referred to as “3D vision encoders.”

    4. Cross-Modal Projection Layer: Design Tradeoffs in Lightweight Alignment

    The projection layer maps visual features into the language model’s embedding space. Two routes exist in the industry:

    • Lightweight MLP projection: one to two fully connected layers, with few parameters, stable training, and high fidelity of visual information;
    • Heavy query-based compression: learnable query vectors compress the visual sequence, shortening length and reducing inference cost, but inherently creating an information bottleneck.

    Native joint optimization schemes typically choose the lightweight MLP. The logic is straightforward: since the goal is “joint modeling throughout” rather than “post-hoc compression and alignment,” the completeness of visual information takes priority over sequence length control; as for inference cost, that can be absorbed by the language backbone’s sparse activation mechanism.

    5. Language Backbone: Parameter Efficiency via MoE Sparse Activation

    A Mixture-of-Experts (MoE) architecture partitions the feed-forward layers into multiple expert sub-networks, activating only a small subset of experts per token. Its value lies in decoupling “total parameter scale” from “per-token compute”: total parameters can scale to a very large size, accommodating more world knowledge, tool-calling formats, and interface operation patterns, while a single inference pass activates only billions of parameters, keeping cost manageable.

    This is especially critical for agent scenarios: executing complex tasks requires memorizing large numbers of tools and interface patterns, and knowledge capacity determines the capability ceiling; interactive scenarios are also latency-sensitive, and sparse activation satisfies both ends at once. In engineering terms, MoE training must focus on routing load balancing and expert capacity control to prevent routing collapse in the early stage of training.

    6. Training Engineering: Decoupling the Encoder Training Pipeline

    The biggest engineering risk in large-scale multimodal training is this: if the vision encoder starts from random initialization and is trained jointly with the language backbone, early gradient noise will disrupt the already-converged language capabilities, causing training instability. Mature practice generally adopts a decoupled pipeline:

    1. Encoder pretraining stage: freeze the language backbone and train only the vision encoder and projection layer, so the vision side first builds basic capability;
    2. Joint pretraining stage: unfreeze the language backbone with a smaller learning rate and perform multimodal end-to-end joint training;
    3. Data mixing stage: mix pure text and multimodal data according to a dynamic ratio to prevent language capability regression during multimodal training.

    Supporting measures include: differentiated learning rates for the encoder and the backbone, gradient clipping and real-time monitoring of loss spikes, and progressive adjustment of data ratios by training stage. This pipeline balances training efficiency and stability, and is a key safeguard for making large-scale multimodal training practicable.

    7. Execution-Layer Innovation: Dynamically Parallel Agent Orchestration

    7.1 The Latency Dilemma of Single-Agent Serial Execution

    A single agent executes tasks following the loop of “think—call tool—observe result—think again.” Assuming each step takes several seconds, a twenty-step long-horizon task takes minutes, and any wait at any step in the serial chain accumulates and amplifies. For tasks such as “read multiple information sources in parallel and then summarize,” the sub-steps have no dependency at all, and serial execution is pure waste.

    7.2 Core Mechanism of Cluster-Style Parallel Orchestration

    The idea is: during planning, the orchestrator agent identifies sub-tasks with no dependencies, dynamically spins up multiple sub-agents to execute concurrently, and then aggregates and integrates the results:

    1. plan = orchestrator.decompose(task) # task decomposition
    2. parallel = plan.parallelizable_subtasks() # identify parallelizable subset
    3. futures = [spawn_agent(s).run() for s in parallel] # spawn sub-agents concurrently
    4. results = gather(futures, tolerate_failure=True) # result aggregation
    5. answer = orchestrator.integrate(task, results) # integrate output

    There are four key design points:

    • Dynamic decision-making: the orchestration structure is not a preset static flowchart; the orchestrator model decides parallelism and sub-agent division of labor in real time based on the task;
    • Context isolation and sharing: each sub-agent holds an independent context and shares only the summary information necessary for the task, avoiding mutual contamination while also mitigating the attention dilution caused by overly long single-agent contexts;
    • Conflict resolution: for sub-tasks with ordering dependencies or write conflicts (such as operating on the same external system), dependency detection and result-merging strategies are needed as a fallback;
    • Cost tradeoff: parallelism trades higher throughput for speed, and total tokens may increase, so a parallelism cap should be set according to business sensitivity to latency and cost.

    Practice shows that such mechanisms can compress the end-to-end latency of complex tasks to a fraction of serial execution; moreover, because each sub-agent’s context is more focused, the final success rate of long-horizon tasks often rises rather than falls.

    7.3 Engineering Challenges and Deployment Recommendations

    Parallel orchestration imposes new requirements on infrastructure: sub-agents need independent sessions and sandbox isolation, tool calls need unified permission control and audit trails, and observability must cover distributed tracing. Enterprises can accelerate deployment by composing general cloud capabilities—for example, combining model inference services, container platforms, message queues, and logging/monitoring/alerting infrastructure available on Baidu AI Cloud to build the orchestration layer—while focusing in-house efforts on fault tolerance, fallback, and result integration strategies, which can significantly shorten the engineering cycle.

    8. Evaluation Dimensions: How to Measure “General Agent Capability”

    Architecture upgrades must ultimately be validated by an evaluation system. Agent-oriented evaluation should cover at least five dimensions:

    • Code generation: completion, repair, and refactoring capability in real engineering contexts;
    • Visual understanding: document parsing, chart reasoning, and precision of interface element localization;
    • Mathematical reasoning: testing the gain of joint multimodal modeling for symbolic and geometric reasoning;
    • Tool calling and agent execution: multi-step planning and success rate of tool-chain composition;
    • Computer control: completing end-to-end operation tasks in real or simulated environments.

    Beyond benchmark scores, two agent-specific metrics deserve more attention: long-horizon task success rate (measuring planning and error-correction capability) and per-task latency and cost (measuring production readiness). The goal of the new generation of open-source solutions is precisely to reach or lead the strongest closed-source models on these dimensions, and to let the community freely reproduce, fine-tune, and deploy through open weights, accelerating research and industrial adoption of general agent technology.

    9. Conclusion

    The capability leap of multimodal agents comes from coordinated innovation at the model layer and the execution layer: the model layer breaks through the modality fragmentation of the adapter paradigm with “native joint optimization + native-resolution encoding + shared image-video weights + MoE backbone”; the execution layer breaks the latency ceiling of serial loops with “dynamic parallel orchestration”; and the training layer ensures stable, efficient large-scale training through a decoupled pipeline. For technical teams planning to build agent applications, understanding the design logic of these three layers provides a clear technical yardstick—whether for model selection, architecture review, or training plan design.