Native Multimodal Agent Architecture and Parallel Orchestration: Design and Engineering Practices

    This article explains why attaching a vision encoder to a text-only LLM late in the pipeline hits structural ceilings, then outlines a native multimodal architecture with visual feature extraction, cross-modal projection, and unified language-backbone modeling. It covers native-resolution visual encoding, shared image-video weights, attention complexity control, and decoupled encoder training. It also describes how to move from sequential single-agent execution to DAG-based parallel orchestration, including dependency decomposition, concurrent execution, dynamic repair, evaluation dimensions, and deployment considerations.

    1. Background: Why “Late-Stage Stitching” Hits a Ceiling

    Early mainstream multimodal approaches in the industry were essentially “train a text-only large model first, then attach a vision encoder and glue the two together with a small amount of alignment data.” This is convenient from an engineering perspective, but it has two structural problems.

    The first is capability trade-offs. The optimization objective during alignment usually only requires that “visual features can be understood by the language model.” There is no reverse constraint on the language side, so after long-term training, language reasoning capability can regress.

    The second is modality conflict. Visual tokens and text tokens have quite different statistical distributions in the embedding space. The model needs extra capacity to “translate” between them, and that capacity cannot be used for actual reasoning.

    The native fusion approach changes the sequential dependency into joint optimization: from early pretraining, text and visual signals update parameters jointly under the same objective, so the two modalities reinforce each other instead of crowding each other out.

    2. Three-Stage Pipeline of a Unified Multimodal Architecture

    A typical native multimodal architecture can be abstracted into three stages:

    1. Visual feature extraction: Images and videos enter a unified spatiotemporal encoder and output modality-agnostic visual representations.
    2. Cross-modal projection: A lightweight projection layer, usually a multilayer perceptron, maps visual representations into the embedding space of the language model.
    3. Unified modeling in the language backbone: Text tokens and projected visual tokens are concatenated into a single sequence and fed into a mixture-of-experts (MoE) language backbone for end-to-end modeling.

    The key design principle is: do not introduce an independent task branch on the vision side. All understanding, reasoning, and generation decisions happen inside the language backbone. In this way, improvements in visual capability can transfer directly to downstream agent tasks.

    1. Image/video ──> Spatiotemporal vision encoder ──> Visual representations
    2. │
    3. Text ──────────────> Tokenization/embedding ──────┤
    4. ▼
    5. Projection layer (align embedding space)
    6. ▼
    7. [visual tokens | text tokens] mixed sequence
    8. ▼
    9. MoE language backbone (end-to-end)
    10. ▼
    11. Reasoning / tool-call decisions

    3. Four Key Points for Native-Resolution Vision Encoders

    1) Abandon fixed-resolution cropping. Traditional preprocessing scales or crops arbitrary inputs to a fixed size, directly losing small objects and aspect-ratio information. A patch packing strategy can be used instead: split the image into patches, then flatten and concatenate them into a one-dimensional sequence. With positional encoding, this natively supports arbitrary aspect ratios and resolutions. The engineering benefit is a much simpler preprocessing pipeline, and information fidelity is clearly better in scenarios such as high-resolution documents and UI screenshots.

    2) Images and videos fully share weights. Extend the packing idea to the temporal dimension: take several consecutive frames to form a “spatiotemporal volume,” jointly flatten and pack the two-dimensional patches from multiple frames, and use the same set of encoder weights for attention modeling across spatial and temporal dimensions. There is no need to design a separate module or branch for video, and knowledge from image understanding can naturally transfer to video understanding.

    3) Attention complexity needs explicit governance. After flattening, sequence length grows with the product of resolution and frame count. Blocked attention, sequence parallelism, and visual token compression such as region-based aggregation must be used together; otherwise, memory usage and latency become uncontrollable.

    4) Decoupled encoder training pipeline. Decouple visual encoder pretraining from joint training with the backbone at the process level: first train the encoder independently until it converges stably, then freeze it or connect it to the backbone with a low learning rate for joint optimization. This avoids oscillation caused by aggressive updates on both sides at the same time during large-scale training, and it also makes failures attributable and rollback-able.

    4. From Sequential Single-Agent Execution to Dynamic Parallel Orchestration

    The bottleneck of the single-agent paradigm is not whether it can perform a task, but serial waiting: the model has to stop at every step, observe the result, and then decide the next step, so latency accumulates linearly with the number of steps.

    The core of a parallel orchestration framework is to transform tasks from a “linear trajectory” into a directed acyclic graph (DAG):

    • Decomposition: A planning role decomposes a complex goal into independently verifiable subtasks.
    • Dependency annotation: Explicitly distinguish edges that “must be serial” from those that “can be parallel.”
    • Parallel execution: Multiple execution roles call tools and read or write the environment concurrently, and results are aggregated before a unified decision.
    • Dynamic convergence: Failed branches can be retried locally without rolling back the entire task.
    1. # Illustration: parallel orchestration skeleton based on a dependency graph
    2. plan = decompose(goal) # subtasks + dependency edges
    3. dag = build_dag(plan)
    4. while pending(dag):
    5. ready = [t for t in dag if deps_done(t)] # no unmet dependencies
    6. results = run_concurrently(ready) # parallel execution + tool calls
    7. merge(dag, results) # write results back, unlock successors
    8. if conflict(dag):
    9. dag = repair(dag) # local repair instead of full restart

    The benefits of parallelization are twofold: compressing the critical path brings an order-of-magnitude reduction in latency, and cross-validation among multiple roles often also brings higher task success rates. Three points need attention in deployment: subtask granularity should not be too fine, or scheduling overhead will consume the gains; tool calls must be idempotent or rollback-able; and writes to shared state need serialization to avoid race conditions.

    5. Evaluation and Engineering Deployment Recommendations

    Evaluating this type of model should not rely on a single benchmark. It is recommended to cover five dimensions: code generation, visual understanding, mathematical reasoning, agent task execution, and GUI control. Each dimension should include both “single-step accuracy” and “end-to-end completion rate”; the latter truly reflects the value of the orchestration framework.

    For cloud deployment, general capability composition can be reused: model weights and datasets can be placed in object storage; inference services run on a container platform and autoscale based on queue depth; long-running tasks are decoupled through a message queue; end-to-end tool calls and subtask traces are retained through a logging service; and monitoring and alerting track first-token latency, task success rate, and failed-branch distribution. Baidu AI Cloud offers corresponding capabilities in these general categories and can serve as a reference during architecture selection.

    6. Summary

    The technical mainline of native multimodal agents can be summarized in two sentences: let vision and language be jointly optimized in the same semantic space, and turn complex tasks from serial trajectories into parallelizable dependency graphs. The former determines the upper bound of model capability, while the latter determines the lower bound of actual experience. For developers, the real engineering difficulty has shifted from “integrating a model” to “designing token budgets, dependency decomposition, and observability.”