Native Multimodal Models: Technical Principles and Engineering Practice
A practical guide to native multimodal models: how they differ from bolt-on vision modules, why拼接式 pipelines lose fine-grained details (explained in English as: why modular pipelines lose fine-grained details), key design choices for unified tokenization and joint training, evaluation, deployment, and a selection checklist.
Multimodal capability is moving from “bolt-on vision modules” toward “native joint training.” This article first contrasts the two technical routes, then explains why拼接-style pipelines lose on detail understanding from three angles—information bottlenecks, misaligned training objectives, and non-differentiable gradients (in English: why modular pipelines underperform on details, covering information bottlenecks, misaligned training objectives, and gradients that cannot flow back). It then breaks down the key designs of native multimodal models—unified tokenization, interleaved data organization, joint training objectives, and multi-dimensional positional encoding—with illustrative code, and closes with fine-grained evaluation dimensions, input preprocessing and cost control, serving deployment, common failure modes, and a actionable selection checklist. (English: an actionable selection checklist.)
Two Technical Routes: Modular vs. Native
Current mainstream multimodal approaches fall into two broad categories.
The first is the modular approach (also called bolt-on or late fusion). The typical structure is “vision encoder + projection layer + language model”: an image is split into patches, encoded by a vision tower into a set of vectors, aligned to the language model’s embedding space through a lightweight mapping layer, and finally concatenated into the text sequence for joint decoding. Its engineering advantages are obvious—mature language model weights can be reused, training cost is low, and time-to-market is fast—which is why it is widely adopted in industry.
The second is native multimodality. Its core claim: from the first day of pretraining, text, images, audio, and video are encoded into a single unified sequence and modeled jointly by one set of parameters and one attention mechanism, rather than training a language model first and attaching a vision branch later. Early technical reports explicitly emphasized this route, but its engineering difficulty and compute cost are higher, so it receives less attention than the modular approach.
Why Modular Pipelines Lose Details
When an information-dense image is given to a modular model, the typical result: the overall topic is answered correctly, but spatial relationships, facial expressions, and text embedded in the image are answered inaccurately. The reasons can be summarized in four points.
Semantic bottleneck. The projection layer usually compresses visual information into a fixed, limited number of visual tokens. No matter how high the input resolution, the information reaching the language model is truncated. Small text, dense tables, and distant small objects get averaged away during pooling.
Misaligned training objectives. Vision towers are typically trained for image-level classification or image-text contrastive learning. They are good at “what is this,” not at “where it is and what it is next to.” After this representation transfers to the language side, fine-grained structural information is already sparse.
Gradients cannot flow back. When the vision tower is frozen, errors discovered on the language side cannot back-propagate to correct visual representations; the model can only “guess” via prompts, creating systematic bias.
Weakened spatial and sequential structure. A two-dimensional plane is flattened into a one-dimensional token sequence. Relationships such as up/down, left/right, occlusion, and layering lack explicit encoding, so the model easily confuses “the cup at the top-left” with “the cup at the bottom-right.”
Key Designs of Native Multimodal Models
Unified tokenization and serialization. Text uses subword tokenization; images are split into patches and discretized into codebook indices, or kept as continuous vectors and projected; audio is split by frames; video is sampled into frame sequences by timestamp. All modalities share one token space, with special tokens explicitly marking modality boundaries.
Interleaved data organization. Naturally interleaved image-text documents and time-aligned subtitles let the model learn cross-modal reference and alignment during pretraining, rather than patching this in during fine-tuning.
Joint training objective. Cross-modal next-token prediction serves as the main task, supplemented by auxiliary losses such as image-text contrastive learning and cross-modal consistency. The key: all modalities share the same gradient pathway.
Data mixing and curriculum. Sampling ratios across modalities and progressive low-to-high resolution schedules directly determine the ceiling of fine-grained capability.
Multi-dimensional positional encoding. Two-dimensional coordinates for images and an added temporal dimension for video make spatial and temporal relationships explicitly distinguishable in attention.
Illustrative code (expressing the organizational idea only, not any specific interface):
def build_interleaved_sequence(items):seq, loss_mask = [], []for it in items:if it["type"] == "text":ids = text_tokenizer.encode(it["value"])seq += ids; loss_mask += [1] * len(ids)elif it["type"] == "image":vis = vision_tokenizer.encode(it["value"]) # discrete indices or continuous vectorsseq += [MODAL_BOS] + vis + [MODAL_EOS]loss_mask += [0] * (len(vis) + 2) # input side excluded from losselif it["type"] == "video":for frame, ts in sample_frames(it["value"]):seq += [TIME_TAG(ts)] + vision_tokenizer.encode(frame)loss_mask += [0] * (1 + len(vision_tokenizer.encode(frame)))return seq, loss_mask
Evaluate by Dimension, Not Just Overall Scores
Fine-grained capability must be measured separately: text recognition and transcription, spatial relationship judgment, counting, chart value reading, expression and action recognition, and temporal localization in video. It is advisable to build a “same image, multiple questions” benchmark set that separates global questions from local questions on the same image—only then can the weak spots of modular pipelines be exposed.
Key Points for Production Deployment
- Input preprocessing pipeline: decoding, scaling, and tiling strategies directly determine the balance between token budget and detail preservation; resolution tiers should be defined on the business side.
- Cost control: the number of visual tokens scales inference cost roughly linearly with context length. Cache results for frequent repeated inputs; for static assets, use object storage and a CDN to reduce origin-fetch pressure.
- Serving architecture: decouple request ingestion from inference; make long tasks asynchronous via message queues; use container platforms for elastic scaling. Track latency, failure rate, and token consumption with logging services and alerting.
- Output constraints: for error-prone items such as counts, coordinates, and table values, use structured output plus rule-based validation as a second safety net.
Selection Checklist
- Do you need to read in-image text, table values, or precise positions? If yes, prefer the native route.
- Do you only need coarse-grained image-text matching and retrieval? The modular approach offers better cost-effectiveness.
- Do you require joint audio-video understanding? A unified native sequence is more natural.
- Do you have a stable evaluation set and regression mechanism? Without evaluation, no route can demonstrate its benefits.
Conclusion: the value of native multimodality lies not in parameter scale but in removing the “translation layer” between modalities, so that detail information is not prematurely compressed during joint training. In engineering practice, first use dimension-level evaluation to confirm the bottleneck, then choose a route, and pair it with preprocessing, caching, and monitoring to form a closed loop.
