Native Multimodal Large Models: Technical Evolution and Production Practices
This article explains how multimodal models evolved from stitching together separate vision encoders and language models to natively unified architectures, and what that shift means in practice. It covers sparse activation and the split between total and active parameters, engineering constraints on multimodal inputs, layered evaluation strategies, serving and cost control, governance for untrusted inputs, and a six-question checklist for model selection.
1. From Stitched Multimodality to Native Multimodality
Over the past two years, the common way to handle mixed image-and-text tasks was to chain together a vision encoder, a language model, and a projection layer: the vision side extracted features, the projection layer aligned dimensions, and the language side handled reasoning and generation. The approach is mature from an engineering standpoint, but it has three structural weaknesses.
First, semantic loss. Visual features are compressed into a limited number of vectors when they enter the language space, so fine-grained details (small text, chart axis ticks, UI controls) are largely lost. Second, fragmented training objectives. The vision and language sides are often pretrained separately, and the alignment stage has limited data, which weakens cross-modal reasoning. Third, complex deployment. Each additional encoder brings another set of GPU memory consumption, another set of operator dependencies, and another version to manage.
The native multimodal approach shares one set of parameters and one attention mechanism across modalities from the pretraining stage onward, mapping inputs such as images, video, and audio into a representation space that is isomorphic to text, with a single model performing understanding, reasoning, and generation. The payoff is not merely “support for more input types.” Cross-modal associations form in the underlying parameters, which makes performance more stable on tasks such as chart interpretation, document understanding, and UI operation.
It is worth stressing that native multimodality does not imply “the parameter count must be larger.” It describes the training paradigm and the degree of architectural unification, which are independent dimensions from model size and activation strategy.
2. Sparse Activation: Separating Total Parameters from Active Parameters
A multimodal model recently released by a platform publicly reports roughly 320 billion total parameters, while about 18 billion active parameters actually participate in computation during a single forward pass. The relationship between these two numbers is key to understanding modern large-model engineering.
In a dense model, every token passes through all parameters, so inference cost scales roughly linearly with parameter count. Sparse activation, typically implemented with a mixture-of-experts structure, introduces a router that selects a few experts to compute for each token. This decouples capacity from compute: total parameters set the ceiling on the model’s knowledge capacity, while active parameters determine the actual cost of a single inference.
Three consequences follow directly:
- Per-token inference cost drops significantly, making long-context and high-concurrency scenarios more affordable;
- GPU memory consumption does not fall with active parameters, because all expert weights must either stay resident or be swapped in and out efficiently;
- Load balancing becomes an engineering focus, since routing skew overloads some experts and reduces overall throughput.
Schematically, the routing logic can be abstracted as:
# Illustrates only the sparse routing computation flow; not the interface of any specific productdef sparse_forward(x, experts, router, top_k=2):logits = router(x) # [batch, num_experts]weights, idx = logits.softmax(-1).topk(top_k, dim=-1)weights = weights / weights.sum(-1, keepdim=True) # normalizeout = 0for slot in range(top_k):for eid in torch.unique(idx[:, slot]):mask = idx[:, slot] == eidout[mask] += weights[mask, slot].unsqueeze(-1) * experts[eid](x[mask])return out
In practice, a capacity factor and a dropping strategy are usually added to cap the batch size per expert, trading controlled token dropping for stable GPU memory and latency behavior.
3. Engineering Constraints on Multimodal Inputs
Native multimodality lowers the barrier to use but does not remove engineering constraints. At least four issues must be handled in production.
Input preprocessing and resolution strategy. High resolution preserves detail but also causes visual token counts to grow quadratically. A common approach combines multi-granularity tiling with dynamic resolution, keeping key regions on a high-precision branch.
Context budget allocation. A single high-resolution image can consume thousands of tokens, competing with long documents and multi-turn conversations for budget. An explicit budget policy is needed, for example a coarse global scan to locate regions first, then fine-grained resampling of the candidates.
Output forms. Multimodal output may be text, structured data, or images. If image generation is involved, an additional encode/decode and post-processing chain is required, along with a content safety review step.
Failure modes. Typical problems include detail hallucination, misread chart values, and reversed spatial relationships. A practical mitigation is to split key judgments into a two-step “extract, then verify” flow rather than answering end to end in one pass.
4. Evaluation: Avoiding Misleading Single Leaderboards
Evaluation should be built around the real business distribution, ideally in three layers.
The first layer is a general-capability baseline covering public tasks such as document understanding, chart question answering, visual reasoning, and instruction following, used to quickly filter out clearly unqualified candidates. The second layer is a business set sampled from real production traffic and labeled by hand; it does not need to be large, but the distribution must be real. The third layer is a regression set that turns historical production issues into fixed cases and reruns them after every change to prevent capability regression.
For metrics, beyond accuracy, also record average token consumption per request, end-to-end P95 latency, structured-output parse success rate, and the appropriateness of refusals as judged by human reviewers. For high-value scenarios, introduce a cost matrix so that the different costs of false negatives and false positives enter the decision explicitly.
{"case_id": "chart-0421","input": ["report_p3.png", "What were the revenues for the last four quarters?"],"expect": {"type": "json", "schema": "quarterly_values"},"metrics": ["accuracy", "p95_latency_ms", "tokens_in", "parse_ok"]}
5. Serving and Cost Control
Turning model capability into a stable service requires a complete pipeline: an access layer for authentication, quotas, and rate limiting; an inference layer for batching and caching; a storage layer that keeps raw assets in object storage and uses a message queue to smooth peaks; and observability built on logging services plus monitoring and alerting for latency, error rate, and token consumption.
There are several high-leverage cost optimizations. The first is prefix caching, which reuses the encoding results of system prompts, fixed knowledge snippets, and repeated images to avoid recomputation. The second is tiered model routing, where simple requests go to a smaller model or a lower active-parameter configuration and complex requests are escalated. The third is batching and concurrency shaping, raising throughput on offline tasks with higher latency tolerance. If a container platform hosts the inference service, pair it with elastic scaling and GPU-memory-aware scheduling so cold-start jitter does not affect P95.
6. Governance and Risk Control
Multimodal input expands the attack surface: images may embed inducing text, and documents may hide instructions. Defensively, treat all external content as untrusted data, make the boundary between data and instructions explicit in the prompt, and require a second confirmation plus least privilege for high-risk actions such as write operations, outbound sending, and payments.
On the compliance side, cover the legitimacy of asset sources, redaction of personal information, labeling of generated content, and audit trails. Architecturally, it helps to make review a separate pluggable component so policies can be updated without touching the main pipeline.
7. Selection Guidance
For native multimodal, sparsely activated models, the evaluation checklist can be narrowed to six questions: do the active parameters and GPU memory requirements match available resources; is the context and visual token budget sufficient; how stable is structured output; are cost measures such as prefix caching available; does the model outperform the current solution on the business set; and does the vendor’s compliance and audit capability meet requirements.
The conclusion is not complicated: architectural unification and sparsification are already clear trends, but the real gains come from building out the evaluation system, the serving pipeline, and the governance mechanisms alongside them. To validate quickly in the cloud, you can build an evaluation and inference loop using general capabilities such as the container platform, object storage, logging, and monitoring offered by Baidu AI Cloud, so that model selection rests on quantifiable, regression-testable data.
