Native Multimodal Large Models: Technical Evolution and Engineering Practices
This article explains the shift from bolt-on multimodal pipelines to native multimodal models, where vision and language share one parameterized backbone from the start of training. It covers four mechanisms that decouple model capacity from inference cost—sparse activation, hybrid attention for long context, closed-loop visual encoding, and aesthetic judgment in document tasks—along with deployment, scheduling, and cost-control practices, a three-layer evaluation framework, and guidance on risks and model selection.
1. From Bolted-On Multimodality to Native Multimodality
Over the past two years, most multimodal capability was added as an attachment: a vision encoder split images into patches and mapped them to vectors, a projection layer aligned those vectors to the language model’s embedding space, and the language model decoded everything. The approach is simple to engineer, but it has three structural problems. Visual information is compressed into a limited number of soft prompts during mapping, so fine-grained text, chart ticks, and UI elements are easily lost. Training is split into multiple stages—“align first, then fine-tune”—with inconsistent objectives across stages. At inference time, the vision branch and the language branch are scheduled independently, which makes unified batching and memory planning difficult.
The native multimodal approach brings different modalities into the same parameterized backbone from the very start of training, organizing sequences with unified tokenization and position-encoding rules so the model learns cross-modal correspondences during pretraining. A recently open-sourced ultra-large sparse multimodal model from one research team follows this route: roughly 320 billion total parameters, about 18 billion activated per inference pass, layers compressed from over ninety in the previous generation to around forty-five, a context window of about one million tokens, and roughly 30 trillion pretraining tokens covering mixed image, text, and video content. The point of these numbers is not that the model is “bigger,” but that together they support one engineering conclusion: model capacity and inference cost can be decoupled.
2. Four Key Mechanisms Behind Low Cost and High Intelligence
2.1 Decoupling Capacity from Cost Through Sparse Activation
A mixture-of-experts structure lets total parameters determine knowledge capacity while activated parameters determine the compute per forward pass. 320 billion total parameters means broad knowledge coverage; 18 billion activated parameters keeps per-token compute in a manageable range. In practice, expert parallelism adds communication overhead, and load imbalance leaves some devices idle, so the auxiliary loss coefficient for routing and the expert capacity factor need to be tuned alongside the characteristics of your traffic.
2.2 Hybrid Attention and the Feasibility of Long Context
Pure global attention is prohibitively expensive at the million-token scale, so the industry commonly combines sparse and linear attention: the linear branch carries long-range information at low cost, while the sparse branch preserves high-resolution detail at key positions. Cutting layers from over ninety to forty-five, together with hybrid attention, reduces both memory usage and latency for long documents and large code repositories.
2.3 Closing the Loop on Visual Encoding
Visual encoding here means the model “looks at” the rendered result after generating front-end code, locates interaction defects after implementing game logic, and checks multi-view consistency after building a 3D scene. This requires the model to make its own visual judgments and improve at test time, which in turn depends on a data synthesis pipeline: generate a task automatically, execute it, take screenshots, evaluate, and revise—producing a verifiable reward signal.
2.4 Aesthetic Judgment in Document and Office Scenarios
For presentations, portable documents, word processing, and spreadsheets, visual understanding lets the model inspect its own output for layout overflow, broken hierarchy, and color conflicts, then iterate on them instead of stopping after a single generation.
3. Engineering in Practice: Deployment, Scheduling, and Cost Control
- Deployment shape: small activated parameter counts mean a single GPU or a few can serve relatively high concurrency, which suits container platforms for inference services with elastic scaling for traffic peaks and troughs.
- Context management: a million-token window does not mean unlimited content; rerank and truncate retrieved fragments, and put the most useful information first.
- Caching and batching: enabling prefix caching for stable prefixes such as system prompts and tool definitions significantly reduces repeated computation.
- Observability: collect time-to-first-token, throughput, and routing hit distribution through logging and alerting services to pinpoint long-tail requests.
- Cost governance: meter input and output separately, and combine tiered model routing so simple requests go to smaller models.
A schematic call skeleton follows (pseudocode, structure only):
def multimodal_chat(images, documents, question):parts = [encode_text(system_prompt)]for img in images:parts.append(encode_image(img)) # native vision branchfor doc in documents:parts.append(encode_document(doc)) # joint layout and text encodingparts.append(encode_text(question))draft = model.generate(parts, max_tokens=1024)check = model.judge(parts, draft) # self visual judgmentreturn model.revise(parts, draft, check) # test-time improvement
4. Evaluation: Breaking “Intelligence” into Measurable Metrics
Evaluation should span three layers. The capability layer looks at general reasoning and coding benchmark scores. The cost layer looks at cost per task and price per million tokens. The experience layer looks at time-to-first-token and task completion rate. Multimodal systems need three additional standalone metrics: fine-grained recognition, layout reconstruction, and defect detection rate. During an anonymous testing phase, one model scored 57 on a public general evaluation, on par with leading closed-source models, at one-tenth the price of the flagship in the same series—evidence that cost-effectiveness should be a first-class evaluation dimension rather than a secondary one.
5. Risks and Selection Guidance
Native multimodality is not a cure-all: long video sequences remain constrained by GPU memory, very small fonts and handwriting are still weak spots, and visual judgment can suffer from self-confirmation bias, so an external verifier is needed as a fallback. For selection, start with a small controlled experiment on real business samples before deciding whether to migrate. If your organization already uses general capabilities such as container platforms, object storage, and monitoring alerts on Baidu AI Cloud, you can combine multimodal inference services with that infrastructure to close the loop from data ingestion to result review.
