Native Multimodal Large Models: Technical Architecture and Engineering Practices
This article breaks down the technical architecture of native multimodal large models and the engineering practices behind them. It explains how sparse activation (MoE) decouples total capacity from inference cost, how hybrid attention makes million-token contexts feasible, why compressing layer depth improves representation efficiency, and how a visual feedback loop turns multimodal capability into a self-checking generation cycle for coding tasks. It also covers the cost implications of a "frontier intelligence, Flash cost" positioning, compute adaptation considerations, and a practical checklist for scenario matching, context strategy, evaluation, deployment, and cost governance.
1. Introduction: From Bolted-On Multimodality to Native Multimodality
Over the past two years, multimodal capability has mostly been added as an add-on: a vision encoder plus a language model, aligned in the middle by a projection layer. This approach ships fast, but it has three structural problems. Visual information is compressed into a small number of vectors early on, so fine-grained text, chart ticks, and interface layouts are easily lost. Training objectives are fragmented, with the vision side and the language side optimized separately, which weakens cross-modal reasoning. And the inference pipeline is long, making unified scheduling difficult in engineering terms.
The native multimodal approach unifies text, images, video, and documents into a single representation space and a single set of training objectives from the pre-training stage onward. Recently, a model with a sparse architecture (roughly 320B total parameters and 18B activated parameters) was tested anonymously on several developer platforms and then open-sourced, and its technical route is representative. Setting aside product-specific details, this article abstracts the discussion into a general engineering paradigm for native multimodal large models.
2. Key Architecture Points
2.1 Sparse Activation: Decoupling Total Capacity from Inference Cost
The MoE (Mixture of Experts) architecture separates parameter capacity from the compute used in a single inference pass: total parameters determine knowledge capacity, while activated parameters determine actual compute consumption. 320B total parameters with 18B activated implies a sparsity rate of about 5.6%, which in effect approximates “the knowledge of a large model with the per-call cost of a small model.”
The engineering cost is memory and bandwidth: all expert weights must either stay resident or be swapped in quickly, so the typical deployment is multi-GPU tensor parallelism plus expert parallelism rather than single-GPU inference.
2.2 Hybrid Attention: A Prerequisite for Long Contexts
The complexity of standard global attention grows quadratically with sequence length, which makes million-token contexts unworkable. A common industry approach is layered hybridization:
Layer type Role ComplexityLinear attention Long-range information compression, state O(n)updatesSparse/window attention Preserves fine-grained local retrieval O(n·w)A few global layers Cross-segment aggregation, prevents O(n²) but very few layersinformation islands
The essence of this combination is trading a small number of global layers for the recovery of most of the quadratic overhead, while avoiding the degradation of pure linear attention on precise long-distance retrieval.
2.3 Layer Depth Compression and Representation Efficiency
Compressing the layer count from around 90 layers to 45 layers depends on each layer being more capable (wider hidden layers, more sufficient expert capacity). The benefits are not limited to compute: they also include fewer operators at inference time, lower scheduling overhead, and more stable latency.
2.4 Million-Level Contexts and Multimodal Input
A context window of about 1,048,576 tokens, combined with unified input for text, images, video, and files, makes it possible to bring an entire code repository, multiple design mockups, and long documents into a single inference pass. Note that long context is not free: attention overhead, KV cache memory, and time to first token all rise significantly, so real workloads should trim context on demand.
3. The Visual Encoding Loop: The Key to Landing Multimodality in Coding
The most valuable application of native multimodality is giving the model the ability to make its own visual judgments, forming a generate-render-check-correct loop:
- After generating front-end code, screenshot the rendered page and read it back to catch overflow, misalignment, and insufficient contrast.
- After completing game logic, use the visuals and logs to locate interaction defects.
- After building a 3D scene, check coordination across multiple viewpoints.
- When handling presentations, PDFs, documents, and spreadsheet tasks, check and improve the layout and aesthetics of its own output.
Supporting this capability is a data synthesis pipeline built for visual judgment: samples of “input-rendered result-defect annotation-corrected result” are constructed in batches to train the model to self-improve at test time. This also explains why visual capability should be a training objective rather than a post-processing plugin.
Illustrative pseudocode:
for step in range(max_iter):artifact = model.generate(task, context=repo_context)shots = renderer.capture(artifact) # Screenshot/renderreport = model.critique(shots, rubric) # Visual self-assessmentif report.score >= threshold:breaktask = task.with_feedback(report)
4. Cost and Compute: What a “Flash” Positioning Means in Engineering
“Frontier intelligence, Flash cost” points to a single goal: obtaining frontier capability at a per-call cost close to that of a lightweight model. In engineering terms, there are three levers:
- Sparse activation lowers per-request compute;
- Hybrid attention and a shallow structure lower the cost of long text;
- A high-throughput serving layer (continuous batching, prefix cache reuse, tiered KV cache) amortizes unit cost.
On compute adaptation, all traffic during testing was carried by domestic chips, showing that an adaptation path beyond mainstream accelerator hardware is feasible. In engineering terms, attention should be paid to operator coverage, numerical precision strategy, and the maturity of communication libraries, with latency and failure rates continuously observed through a monitoring and alerting system.
5. Adoption Recommendations and Selection Checklist
- Scenario fit: long-document review, interface and chart understanding, and cross-modal code generation benefit first;
- Context strategy: segmented retrieval plus summary compression, rather than blindly filling the window;
- Evaluation: build an offline evaluation set that includes visual self-assessment metrics, instead of looking only at text accuracy;
- Deployment: multi-GPU parallelism plus expert parallelism, combined with elastic scaling on a container platform and log services for tracing;
- Cost governance: meter by input modality separately, cache high-frequency prefixes, and set timeouts and fallback paths.
6. Conclusion
The real dividing line for native multimodality is not “being able to see images,” but whether visual feedback can enter the generation loop and whether long context can run stably at an acceptable cost. Understanding the three main threads of sparse activation, hybrid attention, and visual self-assessment is what enables verifiable judgments in selection and architecture design.
