Native Multimodal Large Models: Technical Architecture and Engineering Practices
This article breaks down the shift from bolt-on multimodal pipelines to native multimodal models, and what that change means for engineering teams. It covers the core architecture building blocks—hybrid attention that mixes sparse and linear layers, ultra-sparse activation with compressed depth, and million-token context windows—along with the visual coding loop that lets a model review rendered output and correct its own work. It closes with practical guidance on cost tiering, caching, compute elasticity, chip compatibility checks, and a four-dimension evaluation framework that goes beyond a single benchmark score.
1. From Bolt-On Multimodal to Native Multimodal
Over the past two years, the mainstream way to add multimodal capability has been a bolt-on structure: a vision encoder, a projection layer, and a language model. Images are encoded into vectors independently, then mapped into the language model’s token embedding space. This approach is easy to ship, but it carries three built-in weaknesses: vision and text are separated in their training objectives; fine-grained cross-modal alignment depends on post-training patches; and the inference path includes an extra serial encoding stage, which adds noticeable latency for long videos and high-resolution screenshots.
The native multimodal approach models text, images, video, and documents jointly during pretraining, using the same set of parameters and the same attention mechanism. The immediate change is that the model no longer just “looks at an image and describes it.” Instead, it can treat visual information as an operable object within the reasoning process—generating UI code, looking back at the rendered result, spotting a layout misalignment, and fixing it on its own. This kind of self-visual-judgment plus test-time improvement loop is difficult for bolt-on architectures to reproduce reliably.
It is worth stressing that native multimodal does not mean “reads anything.” In engineering practice, input modalities and output modalities are usually still distinguished: the input side supports text, images, video, and files, while the output side is primarily text (including code and structured markup). Understanding this boundary is a prerequisite for designing applications on top.
2. Key Architecture Building Blocks
2.1 Hybrid Attention: Dividing Work Between Sparse and Linear
The core tension in long context is the quadratic complexity of attention. There are two common responses in the industry. One is sparse attention, which computes relationships only among selected key tokens and preserves high-precision global modeling. The other is linear attention, which pushes complexity to roughly linear in sequence length, at the cost of some loss in long-range exact retrieval.
Stacking the two in a hybrid arrangement is a pragmatic compromise: sparse attention layers handle tasks that require precise look-back (for example, locating a specific table cell in a document), while linear attention layers handle long-range information compression and propagation. When designing such models, three variables deserve close attention: the ratio between layer types, the local window size, and the global token budget. Together they determine the balance point between long-document retrieval accuracy and throughput.
2.2 Ultra-Sparse Activation and Depth Compression
In an ultra-sparse architecture where total parameters and activated parameters are decoupled, the goal is clear: use a large parameter pool to hold knowledge, and a very small activation volume to control per-inference cost. When the activation ratio is squeezed down to a single-digit percentage, memory bandwidth and scheduling overhead become the new bottleneck. So engineering practice often compresses network depth and widens per-layer capacity at the same time, reducing kernel launch counts and cross-layer communication.
What this means for users: the cost per token can be significantly lower than a dense model of comparable capability, but memory footprint does not shrink in proportion to activated parameters, so capacity planning must be estimated from total parameters.
2.3 Million-Token Context
A context window at the million-token scale makes it possible to fit an entire code repository, multiple long documents, and a long video into a single request. But a large window does not automatically mean a usable one. In practice, it needs to be paired with retrieval up front, segmented summarization, and structured citations, so that key information is not diluted in noise.
3. The Visual Coding Loop: How Multimodal Capability Lands in the Development Workflow
The landing point with real engineering value is visual coding: letting the model view the rendered page after generating frontend code, locate interaction defects after game logic is complete, and check multi-view coherence after a 3D scene is assembled.
This depends on two things: an executable feedback channel, and a data synthesis pipeline built for self-judgment. The former requires returning rendering, screenshots, and runtime logs to the model as tool results. The latter requires constructing triples of “artifact—visual feedback—corrective action” for training. A schematic tool loop looks like this:
def visual_coding_loop(spec, max_rounds=3):artifact = model.generate(spec) # produce code or a scene descriptionfor _ in range(max_rounds):shot = render_and_capture(artifact) # render and capture a screenshotreview = model.review(shot, spec) # self visual judgmentif review.passed:breakartifact = model.patch(artifact, review.issues)return artifact, review
The same loop transfers to document tasks. For presentations, PDFs, spreadsheets, and document formats, visual understanding lets the model check for layout overflow, chart proportions, and color consistency, then iterate on them—rather than just producing text that cannot be verified.
4. Engineering in Practice: Cost, Compute, and Capacity Planning
- Cost tiering: Split requests into “complex tasks that need the visual loop” and “light text-only tasks.” Route the former to a high-capability multimodal channel and the latter to a small-parameter or cache channel; overall cost can drop by an order of magnitude.
- Caching and reuse: Use content-addressed caching for rendering results and document parsing results, avoiding repeated screenshots and repeated parsing.
- Compute elasticity: Very long context and video input are sensitive to memory and bandwidth. Reserve headroom for peak concurrency, use a container platform for elastic scaling, and use monitoring and alerting to baseline first-token latency and per-request token consumption.
- Domestic chip adaptation: To run this class of model on domestic compute, verify operator coverage, mixed-precision support, and communication library versions in advance, and fold compatibility testing into the pre-release pipeline.
5. Evaluating Results: Don’t Look at a Single Leaderboard Score
Aggregate metrics such as a composite intelligence index are convenient for side-by-side reference, but they are not enough to support a selection decision. A four-dimension evaluation is recommended: first, long-document retrieval and citation accuracy; second, the self-correction success rate of the visual loop (first-round pass rate and multi-round convergence rate); third, cost per task (including retries and rendering overhead); fourth, stability (timeout rate and output format compliance rate).
6. Conclusion
Native multimodal, ultra-sparse activation, million-token context, and the visual loop together form the mainstream technical combination for high-capability, low-cost models today. For developers, the real payoff does not come from parameter scale itself, but from wiring verifiable visual feedback into development and office workflows so the model can check and iterate on its own work. Making architecture choices and cost tiering around this main thread is what makes it possible to strike a sustainable balance between the capability frontier and the cost flash.
