Native Multimodal LLM Fusion and Parallel Agent Scheduling: A Technical Breakdown

    This article examines two converging trends in modern multimodal AI: natively fusing vision and language from the pretraining stage, and orchestrating agents in parallel rather than serially. It walks through a three-part native multimodal architecture (vision encoder, MLP projection, MoE language backbone), covering native-resolution patch packing, unified image-video spatiotemporal encoding, and a decoupled training pipeline. It then explains how to decompose tasks into a DAG and schedule agents dynamically to compress end-to-end latency to the critical path. The piece closes with practical guidance on layered evaluation, deployment, data governance, and security for engineering teams building general-purpose agent stacks.

    1. Background: The Three Bottlenecks of Traditional Multimodal Pipelines

    In early multimodal systems, the dominant approach was to first train a text-only large model, then bolt a vision encoder onto it, mapping image features into the language space through an adapter layer. This “language-first, vision-adapted-later” path is easy to implement, but it carries three structural problems:

    1. Modality capabilities trade off against each other. Once the vision module is attached, the language backbone often regresses on text while underperforming on vision — a seesaw effect. The root cause is that the two modalities’ training objectives and data distributions were never aligned early on.
    2. Lossy visual preprocessing. Fixed-resolution cropping and scaling destroy layout structure, small text, and fine-grained detail, capping performance on tasks such as document understanding and chart analysis.
    3. High latency from single-agent serial execution. For multi-step tasks, a single agent that calls tools, observes results, and replans step by step incurs end-to-end latency that grows linearly with the number of steps, making it hard to meet real production response requirements.

    In response, a clear recent industry trend is to jointly optimize vision and language bidirectionally from the pretraining stage, and to introduce parallel orchestration at the task-execution layer. The two dimensions — model architecture and agent orchestration — are covered below.

    2. Model Architecture: A Three-Part Design of Vision Encoding, Cross-Modal Projection, and an MoE Backbone

    A typical native multimodal architecture consists of three parts:

    • Vision encoder: converts images/videos into a unified sequence of visual tokens;
    • MLP projection layer: maps visual features into the same vector space as language embeddings;
    • MoE language backbone: uses a mixture-of-experts structure to carry large-scale parameters and models text and visual tokens in a unified way.

    The core value of this design is unified modeling within a single semantic space: visual tokens and text tokens share attention and reasoning capacity in the backbone, so knowledge from the language world naturally applies to visual input, and visual perception in turn feeds back into language understanding — achieving bidirectional enhancement rather than one-way adaptation.

    2.1 Native-Resolution Encoding: The Patch Packing Strategy

    The conventional approach resizes/crops input images to a fixed resolution (such as 224×224 or 448×448), which creates two problems: images with non-standard aspect ratios get stretched or have key regions cropped out, and high-resolution documents become unreadable once small text is scaled down.

    The native-resolution approach borrows the idea of patch packing: split the image into patches, flatten and concatenate them into a one-dimensional sequence, and “pack” according to a sequence-length budget. This lets the model natively support arbitrary aspect ratios and arbitrary resolutions without breaking the original layout. A sketch of the flow:

    1. def encode_image_native(image):
    2. patches = split_into_patches(image) # split by original image dimensions
    3. tokens = flatten([p.flatten() for p in patches])
    4. packed = pack_sequence(tokens, budget=MAX_SEQ_LEN) # pack to avoid waste
    5. return vision_encoder(packed)

    Two engineering details deserve attention: first, balancing the sequence-length budget against memory usage, usually combined with patch dropping or dynamic-resolution strategies; second, position encoding must preserve two-dimensional (and even spatiotemporal) position information, otherwise the spatial structure is lost once patches are concatenated.

    2.2 Unified Image-Video Modeling: Joint Spatiotemporal Patch Packing

    The traditional approach to video understanding designs a separate branch for video (such as temporal pooling or a two-stream network), which makes image and video capabilities hard to share and splits training resources in two.

    A better idea is to extend “patch n’ pack” from the spatial dimension to the temporal dimension: treat several consecutive frames (for example, 4 frames) as a spatiotemporal volume, jointly flatten and pack the 2D patches of multiple frames, and feed them into the same vision encoder for joint spatial-temporal attention. The benefits:

    • Image and video share all encoder weights, so image understanding transfers maximally to video;
    • No separate module is needed for video, reducing parameter redundancy and training complexity;
    • Temporal position encoding explicitly models frame order, and motion information interacts naturally within attention.

    2.3 A Decoupled Training Pipeline: A Trade-off Between Stability and Efficiency

    Although the goal is full joint optimization, training the vision encoder and language backbone fully in sync at scale is prone to instability due to differences in gradient magnitude. A commonly used decoupled training pipeline:

    1. Stage 1 (vision warm-up): freeze or weakly update the language backbone, and train the vision encoder and projection layer on large-scale image-text alignment data;
    2. Stage 2 (joint training): unfreeze the backbone and train end-to-end on mixed multimodal data (text, image-text, video, code, etc.), controlling the balance of each modality’s capability through data ratios;
    3. Stage 3 (capability reinforcement): run targeted post-training (SFT/RL) for higher-order capabilities such as mathematical reasoning, code generation, and agent tool calling, ensuring visual input genuinely participates in the reasoning chain.

    The key is that learning rates, data ratios, and freezing strategies across stages must be configurable, and paired with continuous regression against multimodal evaluation benchmarks to prevent any modality from degrading.

    3. Agent Orchestration: From a Serial Pipeline to a Dynamic Parallel Cluster

    Even with a strong model, complex tasks (such as multi-source information aggregation or multi-step office automation) still hit a latency bottleneck if handled by single-agent serial execution. The improvement is to decompose the task into a directed acyclic graph (DAG), identify parallelizable branches, and dynamically schedule multiple agents/tools to run simultaneously.

    3.1 Task Decomposition and Dependency Modeling

    The planner first decomposes the user goal into subtasks and annotates dependencies. For example, “analyze three financial reports and summarize the conclusions” splits into three independent reading subtasks and one summary task. The dependency graph looks roughly like this:

    1. tasks = {
    2. "read_A": Task(depends=[]), # can run immediately
    3. "read_B": Task(depends=[]), # can run immediately
    4. "read_C": Task(depends=[]), # can run immediately
    5. "summarize": Task(depends=["read_A", "read_B", "read_C"]),
    6. }

    3.2 Dynamic Parallel Scheduling

    The scheduler’s core responsibilities:

    • Ready-queue management: subtasks whose prerequisites are all complete enter the ready queue;
    • Concurrency control: dynamically adjust the concurrency level based on tool quotas, API rate limits, and model inference throughput;
    • Failure retry and fallback: a single branch’s failure does not block the whole; it can be retried or downgraded to an alternative tool;
    • Result aggregation: once all dependencies produce output, trigger downstream tasks and merge context.
    1. def run_dag(tasks):
    2. ready = [t for t in tasks.values() if not t.depends]
    3. while ready:
    4. done = execute_parallel(ready, max_concurrency=K)
    5. for t in done:
    6. for child in dependents(t):
    7. child.unmet -= 1
    8. if child.unmet == 0:
    9. ready.append(child)
    10. ready = [t for t in ready if t not in done]

    This pattern compresses latency that was originally additive across serial steps down to the latency of the “longest critical path.” The more steps and the higher the parallelism, the more pronounced the gain. Note also the need to handle shared-context conflicts: parallel subtasks should avoid writing the same state, and where necessary a result-merging conflict-resolution strategy should be introduced.

    4. Engineering Deployment and Evaluation Recommendations

    1. Layered evaluation dimensions: foundational capability (perception, OCR, chart understanding) → reasoning capability (math, code) → agent capability (tool-call success rate, task completion rate, end-to-end latency). All three layers are essential; avoid looking at a single leaderboard.
    2. Deployment form: native multimodal models demand high memory and video-preprocessing throughput. It is advisable to use a container platform with elastic scaling and GPU inference services, combined with object storage to cache original images/videos and monitoring/alerting to track throughput and latency metrics. Enterprises can complete elastic deployment using their own cloud environment (for example, the container and inference services offered by Baidu AI Cloud).
    3. Data governance: multimodal joint training is highly sensitive to image-text alignment quality, so cleaning mismatched, low-quality, and duplicate samples is critical; for video data, control the frame-rate and resolution distribution to avoid long-tail samples dragging down packing efficiency.
    4. Security and compliance: parallel agent execution involves external tool calls and requires fine-grained permission control, operation auditing, and sandbox isolation to prevent parallel branches from producing unauthorized side effects.

    5. Summary

    The core idea of the native multimodal architecture is to deeply couple vision and language within the same backbone from the pretraining stage. Combined with native-resolution patch packing and unified spatiotemporal encoding, it significantly outperforms the “adapt-later” paradigm in perception quality and knowledge transfer. At the execution layer, DAG-based dynamic parallel agent orchestration compresses the latency of complex tasks from serial accumulation down to the critical-path length. Together, the two form the foundation of “seeing accurately” and “acting fast” in today’s general-purpose agent tech stack. For engineering teams, the focus of implementation lies in the fine-grained control of the decoupled training pipeline, concurrency and consistency management in parallel scheduling, and continuous regression against a layered evaluation system.