Evolution of Multimodal Agent Architectures: Native Fusion and Parallel Orchestration Practices

    This article explores the architectural shift in multimodal large models from late adaptation to native fusion, detailing how joint training of visual and language modalities mitigates conflicts. It covers core components of native fusion architectures, including visual encoders with native resolution and shared image-video processing, as well as Mixture of Experts (MoE) backbones. Additionally, it provides practical guidance on dynamic parallel agent orchestration, detailing task dependency analysis, scheduling strategies, and deployment considerations to optimize latency, cost, and reliability in cross-modal reasoning workflows.

    The development direction of multimodal large models is shifting. Early approaches involved training a pure text Large Language Model (LLM) first, then attaching a visual encoder for late adaptation. This route easily leads to modality conflicts: visual training may weaken language capabilities, while language capabilities may compress visual details. New-generation architectures optimize both visual and language modalities simultaneously during the training phase, allowing them to share the same representation space.

    I. From Late Adaptation to Native Fusion

    The following table compares the main differences between the two approaches.

    Dimension Late Adaptation Native Fusion
    Training Approach Train LLM first, attach visual module later Joint training of visual and language modalities
    Modality Conflict Prone to occur, requires extra fine-tuning to fix Unified constraints during pre-training
    Upfront Investment Simple workflow, high post-repair cost High upfront investment, complex data ratio and tuning
    Suitable Tasks Strong language capability, simple visual needs Image-text/video mixed understanding, cross-modal reasoning

    The new architecture contains three core components: a visual encoder, an MLP projection layer, and an MoE language backbone. Images and videos are first processed by the visual encoder to extract features. The projection layer maps these features into the embedding space of the language model, where they are concatenated with text tokens and fed into the backbone network for unified modeling.

    The pseudocode below only illustrates the data flow. The parameters are hypothetical and cannot be run directly; they must be replaced with actual model configurations.

    1. # Illustrative code: only shows data flow, params are assumed, replace with actual model config
    2. PATCH_SIZE = 14 # Edge length of a single patch in pixels
    3. VIDEO_FRAMES = 4 # Number of consecutive frames in a spatiotemporal volume
    4. PROJ_DIM = 4096 # Output dimension of the projection layer, must match LLM hidden layer
    5. MOE_TOP_K = 2 # Number of experts activated per token in MoE routing
    6. def forward_multimodal(text_input, image_input=None, video_input=None):
    7. text_tokens = tokenizer(text_input)
    8. text_embeds = text_embedding_layer(text_tokens) # [T_text, PROJ_DIM]
    9. visual_embeds = []
    10. if image_input is not None:
    11. feats = visual_encoder(image_input, mode="image") # Variable-length patch sequence
    12. visual_embeds.append(mlp_projector(feats)) # [T_img, PROJ_DIM]
    13. if video_input is not None:
    14. feats = visual_encoder(video_input, mode="video",
    15. frames=VIDEO_FRAMES) # Spatiotemporal patch sequence
    16. visual_embeds.append(mlp_projector(feats)) # [T_vid, PROJ_DIM]
    17. # The concatenation order and positional encoding of visual and text tokens depend on the specific model implementation
    18. combined = concatenate([*visual_embeds, text_embeds], axis=0)
    19. return moe_llm_backbone(combined, top_k=MOE_TOP_K) # [T_total, vocab]

    Through this design, visual and language capabilities can mutually reinforce each other during the pre-training phase. Tasks such as code generation, visual understanding, and computer manipulation are all built upon this unified layer of representation.

    II. Visual Encoder: Native Resolution and Image-Video Sharing

    The visual encoder mentioned here is referred to as a native 3D visual encoder, where “3D” denotes modeling across both spatial and temporal dimensions.

    2.1 Native Resolution and Variable Input

    Traditional Vision Transformers (ViT) typically require a fixed resolution. Input images must be cropped or scaled first, which easily loses key details. The new architecture adopts a Patch Packing strategy: cutting the image into patches, flattening them into a 1D sequence, and packing sequences of different lengths across images for processing.

    This approach brings two direct benefits:

    • Preserves aspect ratio: No need to alter image proportions to fit fixed sizes, maintaining the geometric relationships of objects.
    • Reduces scaling loss: Details of small objects are more easily preserved.

    The trade-off is equally clear. Higher resolution means more patches, longer sequences, and increased attention computation and memory usage. During deployment, a maximum patch count limit should be set, and resolution strategies should be chosen based on memory budgets.

    2.2 Sharing the Same Encoder for Images and Video

    For video, the architecture treats 4 consecutive frames as a spatiotemporal volume, jointly flattening and packing the 2D patches from multiple frames. Consequently, the same encoder can process attention across both spatial and temporal dimensions without needing a separate video branch.

    Choosing 4 frames requires a trade-off. Too few frames result in insufficient motion information and temporal context; too many frames lengthen the sequence, increasing attention costs. The original text does not provide experimental justification for choosing 4 frames, nor does it explain the specific encoding method for temporal positional information. Conducting ablation studies on your own data is a reliable way to determine the optimal frame count.

    The benefit of a shared encoder is fewer parameters and lower maintenance costs. The results from image training can also be transferred to video tasks. However, the transfer effectiveness depends on the ratio of images to videos in the training data and the specific task type. It does not guarantee better performance across all video tasks; item-by-item evaluation is still required before going live.

    III. Dynamic Parallel Agent Orchestration

    A single agent typically executes in a Thought, Action, Observation loop. When a task requires calling multiple independent tools or APIs, each call must wait for a return, causing latency to accumulate. The parallel orchestration approach allows the master agent to perform dependency analysis first, then dispatch independent subtasks to multiple sub-agents for simultaneous execution.

    3.1 Task Dependency Analysis Example

    Assume the task is to “compare the prices, delivery cycles, and after-sales policies of three suppliers, generate a report, and send it to the person in charge.” The task graph can be broken down as follows:

    • Node A: Query Supplier X’s information (can be parallelized)
    • Node B: Query Supplier Y’s information (can be parallelized)
    • Node C: Query Supplier Z’s information (can be parallelized)
    • Node D: Aggregate results from A, B, and C to generate a comparison table (strong dependency, must wait for all three to complete)
    • Node E: Send the report to the person in charge (requires human confirmation, can only execute after approval)

    Under this labeling, Nodes A, B, and C are dispatched simultaneously; Node D only starts after all upstream tasks complete; Node E, even if upstream is done, must pause and wait for approval.

    3.2 Scheduling Steps

    1. Parse the task graph and label each node with its type (parallelizable, strong dependency, requires human confirmation) and dependency edges.
    2. Dispatch parallelizable nodes, setting timeout limits and maximum retry counts for each subtask.
    3. Wait for all upstream tasks to complete during aggregation. If some subtasks fail, handle them according to strategy: retry critical sources, degrade non-critical sources and note the missing data in the report, or judge the overall task as failed directly.
    4. Perform consistency checks: verify that the format and source identifiers of each sub-result are correct; check that numbers in the aggregation match the sub-results; log the status of each subtask to prevent duplicate execution.
    5. Pause when encountering a human confirmation node. Continue executing downstream tasks if approved; if rejected, stop downstream nodes and roll back completed operations as needed.

    3.3 Timeout, Retry, and Idempotency

    Timed-out subtasks should be canceled and logged. Retries should use exponential backoff with a set upper limit; otherwise, they can amplify pressure on external APIs.

    Tool calls must be idempotent or include a unique request ID with each request. Otherwise, retries may cause side effects such as duplicate orders or repeated emails.

    3.4 Estimating Latency Benefits

    The “up to 4.5x” latency reduction mentioned in some texts lacks information regarding the test set, baseline, and concurrency scale, and is therefore not adopted here. The actual speedup ratio depends on the proportion of parallelizable nodes, the number of sub-agents, external API latency, and rate-limiting strategies.

    When estimating, you can use this formula: serial execution time is approximately the sum of all node execution times; parallel execution time is approximately the time of the critical path (longest dependency chain), plus scheduling overhead. If there are very few parallelizable nodes, or if API rate limiting is strict, the benefits of parallelization will diminish significantly.

    IV. Deployment and Engineering Considerations

    The following are general engineering practices and do not constitute a recommendation for any specific platform.

    • Compute Resources: Visual encoders and MoE backbones typically require GPUs. Before deployment, compare GPU models, memory capacity, and cold start times, and choose a container platform that supports autoscaling.
    • Data Storage: Images and videos are large in size and are suitable for object storage. The server should pass data reference addresses instead of transmitting raw files directly. Access permissions and data retention policies must also be configured.
    • Asynchronous Communication: Sub-agents can be decoupled through message queues, facilitating retries and peak shaving. Message queues may deliver messages repeatedly, so consumers must also implement idempotent design.
    • Observability: Assign a trace ID to each task and record the latency, retry count, and token usage of each sub-agent to help identify bottlenecks.
    • Cost Control: Parallel execution simultaneously occupies multiple model instances and API quotas, meaning total costs may be higher than serial execution. Budget limits and alert thresholds should be set.

    V. Risks and Applicable Boundaries

    The primary risks of parallel orchestration include: repeated side effects due to a lack of idempotency in tool calls; massive request failures caused by external API rate limiting; and costs rising rapidly with the degree of parallelism. Visual inputs also involve privacy and copyright compliance issues; authorization scope must be confirmed before processing user images and videos.

    For developers, native fusion is more suitable for scenarios with a high proportion of cross-modal tasks, while parallel orchestration is better for workflows with mutually independent subtasks. Before full implementation, it is recommended to conduct small-scale validation using your own data and task graphs to confirm that latency, success rate, and costs meet expectations before scaling up.