Native Multimodal Agents: Vision Encoding and Parallel Orchestration Explained

    This article breaks down a native multimodal architecture that trains vision encoding and language modeling under a joint optimization objective, covering its end-to-end data flow from pixels to language output, a unified vision encoder with dynamic packing and shared weights for images and video, an MoE-based language backbone with staged training, and a dynamic parallel agent orchestration framework based on DAG scheduling. It also outlines practical engineering boundaries—such as cycle detection, retry policies, and concurrency limits—and how to verify published benchmark claims. Readers will gain a clear understanding of the architectural rationale, deployment trade-offs, and the conditions under which parallel orchestration actually reduces latency.

    1. Background: Why Vision Meets Agents

    Large models are evolving from pure text conversation toward systems that can interpret images, read videos, and execute tasks autonomously. A common approach is to train a language model first and then bolt on a vision encoder. This assembly-style method is quick to build, but vision and language features often fail to align properly in the shared feature space. On mixed image-text tasks, such models tend to over-rely on textual information, and they handle high-resolution or non-standard-aspect-ratio images poorly.

    The architecture discussed here takes a native multimodal joint-optimization approach: visual feature extraction and language modeling are trained under the same optimization objective from the early stages of pre-training. Visual input is no longer auxiliary information; it holds equal status with text, and both are aligned through a shared representation space.

    A second problem is agent execution latency. Many agent systems process complex tasks sequentially, with each step waiting for the previous one to finish. Parallel orchestration is one mitigation strategy; its prerequisites and limits are covered below.

    2. Overall Data Flow: From Pixels to Language Output

    The system consists of three parts: a native vision encoder, an MLP projection layer, and a language backbone based on a Mixture-of-Experts (MoE) architecture.

    The data flow has three steps.

    Step 1: Visual input parsing. Images or video frames first enter the vision encoder, which outputs a sequence of feature vectors. The encoder supports native-resolution input. In real deployments, you must confirm the maximum resolution, patch size, and positional encoding scheme for variable-length sequences, because sequence length directly affects memory usage.

    Step 2: Cross-modal projection. A lightweight MLP maps visual features into the language model’s embedding dimension. The projection layer’s output dimension must match the language backbone’s hidden dimension—this is a hard interface-level requirement.

    Step 3: Unified modeling. The projected visual tokens serve as a prefix, concatenated with the embeddings of the text instruction, and fed together into the MoE backbone, where self-attention handles understanding and generation.

    Because gradients propagate end-to-end between the vision encoder and the backbone, the vision component is influenced by the language objective during training. This helps visual features adapt toward task-relevant directions, but it also means changes to vision parameters can affect language capability. Training therefore requires the staged strategy described later.

    3. Unified Vision Encoder: Dynamic Packing and Shared Image-Video Weights

    3.1 Native Resolution and Dynamic Packing

    Traditional Vision Transformers split images into fixed-size patches and rescale everything to a uniform size. This causes distortion or detail loss on wide posters or high-resolution documents.

    This encoder instead splits each image into patches and concatenates patches from different images along the sequence dimension into a single one-dimensional sequence. Patches from different images are distinguished via positional encodings and image indices, so attention computation avoids cross-image confusion. Inputs need no cropping beforehand, which is friendly to detail-dependent tasks like OCR and chart parsing.

    The cost is that sequence length grows with resolution, and attention overhead grows with it. Ultra-wide or very large images consume more memory and reduce throughput. In practice, you can set a maximum patch count, scale down anything beyond it according to a defined rule, and keep a fallback path—for example, retrying at a lower resolution.

    3.2 Shared Weights for Images and Video

    The design extends the same idea to the temporal dimension. When processing video, patches from several consecutive frames (four in the example) are flattened jointly, forming a sequence that carries both spatial position and temporal order.

    The benefit is that images and video share one set of encoder weights—no need for separate 3D convolutions or extra temporal modules for video. Capabilities learned from static image training transfer to video understanding while lowering video training cost.

    The limitation is equally clear: more frames mean longer sequences. Long videos require frame-sampling strategies, such as uniform sampling or sampling by scene changes, and the sampling method affects temporal reasoning quality.

    4. Language Backbone and Staged Training

    The language backbone uses an MoE architecture. Only a subset of experts is activated per forward pass, so total parameter count can far exceed per-token compute. This structure favors scaling knowledge capacity, but uneven expert load must be controlled via auxiliary losses or capacity limits.

    Training proceeds in three stages. Public materials only provide stage names; below are the configuration items that should be verified in the official technical report for each stage, along with common engineering practices as reference. These common practices do not represent the model’s actual configuration.

    Stage 1: Language capability cold start. Freeze the vision components and train the backbone on text corpora only. Items to verify include text corpus scale, deduplication and mixing ratios, learning rate, and training steps. A common practice is a learning-rate schedule with warmup followed by cosine decay.

    Stage 2: Multimodal joint warmup. Unfreeze the vision encoder and train jointly on interleaved image-text data and visual question-answering data. A common practice is to use a notably lower learning rate than Stage 1—around one-tenth of it—to prevent visual features from drastically perturbing the language capability already learned. Items to verify include the image-text data ratio, when the vision module is unfrozen, and whether unfreezing is layer-wise.

    Stage 3: Full fine-tuning and alignment. Perform full-parameter fine-tuning using high-quality instruction data, human feedback data, and agent trajectory data. Items to verify include the proportions of each data type, the number of training epochs, and whether the evaluation sets are strictly isolated from training sets.

    According to published descriptions, this progressive strategy avoids catastrophic forgetting, and coding and math capabilities do not degrade. This claim should be validated through before-and-after experiments: compare scores across stages on the same benchmark, same model version, and same decoding parameters.

    5. Dynamic Parallel Agent Orchestration

    In agent applications, a complex task typically involves understanding the request, decomposing steps, calling tools, and verifying results. When a single agent executes sequentially, total latency grows roughly linearly with the number of steps.

    The framework includes three roles.

    The Planner receives the user request and decomposes the task into a directed acyclic graph (DAG). Each node is a subtask, and edges represent dependencies.

    The Scheduler assigns nodes with no outstanding dependencies to multiple Worker agents for parallel execution. Workers share the underlying model but maintain independent contexts and tool-call states.

    Aggregation is handled by the Planner. After all branch results return, the Planner performs unified logical validation, formatting, and deliverable generation.

    A simple example: query quotes from three suppliers, then aggregate and compare. The three quote queries are independent and can run in parallel; the aggregation node depends on all three results and must wait. If each query takes about 5 seconds and aggregation about 2 seconds, serial execution totals roughly 17 seconds, while parallel execution takes about 7 seconds. This is an idealized estimate; actual latency depends on fluctuations in tool response times.

    To make a parallel framework reliable, at minimum the following boundaries must be handled:

    • Dependency cycle detection: If the generated graph contains a cycle, it should be rejected before scheduling, and the Planner must re-decompose the task.
    • Failure retries: When a single Worker fails, retry with exponential backoff. After the retry limit is exceeded, mark the node as failed and decide whether downstream nodes should be skipped, degraded, or fail entirely.
    • Result consistency: Parallel branches may read from or write to the same external resource. Read/write permissions must be explicit, and write operations should be idempotent or locked.
    • Concurrency cap: Worker count is constrained by model inference throughput and external API rate limits, so a cap should be set.

    The scheduling logic is illustrated below:

    1. ready = all nodes with zero in-degree
    2. while there are unfinished nodes:
    3. for each node in ready (up to the concurrency cap):
    4. execute(node) asynchronously
    5. wait for any node to complete:
    6. on success, update downstream in-degrees and add newly ready nodes to ready
    7. on failure, handle according to the retry policy
    8. aggregate(all completed results)

    The framework is described as completely solving the serial waiting problem. A more accurate statement is: for tasks whose subtasks are mutually independent, parallelism reduces waiting time; for strongly dependent long-chain tasks, the benefit is limited.

    6. How to Verify Benchmark Claims

    Public materials state that this model leads on dimensions such as coding, math, visual understanding, and GUI operation, exceeding closed-source models of comparable scale on some tasks. These conclusions require supporting evidence, and this article cannot independently verify them.

    When verifying, record the following information: benchmark name and version, metric definitions (such as accuracy or pass rate), the specific versions of comparison models, and the inference configuration. Only results obtained under consistent evaluation conditions are meaningfully comparable.