Multimodal Large Models: Technical Evolution and an Engineering Practice Guide
This article explains why multimodal capabilities are a necessary step toward closing the loop on large model abilities, and walks through the three-stage technical evolution from research prototypes to architecture upgrades and product integration. It breaks down key innovations such as fusing visual primitives with chain-of-thought reasoning, high-compression visual tokens, and native multimodal unified representations, then covers practical engineering concerns across data, inference, cost, and observability, along with common pitfalls to avoid.
1. Why Multimodality Is a Necessary Step Toward a Closed Capability Loop
The capability boundary of a text-only model is fundamentally constrained by the premise that “the input is only a sequence of symbols.” In real business scenarios, a large amount of information naturally exists as images: web page screenshots, scanned PDFs, business charts, monitoring feeds, and mobile interfaces. For a model to genuinely take on agent-style tasks—operating a browser, reading screenshots, parsing charts and receipts—it must add a visual input channel and turn “seeing” into a native model capability rather than a bolt-on preprocessing pipeline.
Early in the industry, a common belief was that “compute is power and scale is the moat,” but subsequent practice showed that the marginal returns from simply piling on parameters were declining. A more effective path is the co-optimization of algorithms, training frameworks, and hardware: under the same compute budget, achieving higher effective performance through architecture design, data mixtures, and inference strategies. This is especially true for the multimodal direction, because the token cost of visual input is naturally far higher than that of text, and cost-structure issues directly determine whether a feature can be productized.
2. The Three-Stage Path of Technical Evolution
Looking at the public technical trajectory, multimodal models typically go through three stages, and this path is fairly universal.
The first stage is the research prototype period. Early representative work was mostly based on a decoder-only architecture, extracting image features with a vision encoder and then mapping them into the language model’s embedding space through a projection layer. Training was divided into three parts: vision-language alignment, joint pretraining, and supervised fine-tuning. The alignment stage freezes the language model and trains only the connector, which is the lowest cost; the pretraining stage unfreezes more parameters and injects cross-modal semantics; the fine-tuning stage aligns human preferences and task formats.
The second stage is the architecture upgrade period. When a model needs to handle both higher-resolution inputs and longer contexts, the compute consumption of a dense architecture becomes hard to sustain, and the Mixture-of-Experts (MoE) architecture becomes a common choice: a routing mechanism dispatches inputs to only a subset of expert networks, so that while the total parameter count grows, the activated amount per token stays controlled. This idea yields more obvious gains in multimodal scenarios, because the number of visual tokens fluctuates widely, and sparse activation can significantly smooth out peak costs.
The third stage is the product integration period. Multimodal capability shifts from a standalone research model to an optional mode in online products, usually rolled out first to a canary group and then to full traffic, with open interfaces provided for external integration. At this stage, the core tension is no longer “can it understand images,” but latency, throughput, and cost per call.
3. Analysis of Key Innovations
3.1 Fusing Visual Primitives With Chain-of-Thought
The traditional approach is “convert to text first, then reason”: an image is recognized and turned into descriptive text, and the model answers based on that text. The information loss in this pipeline is concentrated in the conversion step, and it is especially unfriendly to chart, geometry, and spatial-relationship problems.
The newer approach embeds visual primitives (basic visual units such as points, lines, regions, coordinates, and structural relationships) directly into the chain of thought, letting the model explicitly operate on visual elements during reasoning instead of consuming an already-flattened description. The direct engineering benefit is that reasoning steps become auditable and can be located to specific image regions, making error attribution clearer.
3.2 High-Compression Visual Tokens
Visual token compression generally follows three routes: first, lowering the input resolution combined with multi-scale splitting; second, aggregating features between the encoder and the language model by merging adjacent patches; third, introducing learnable query vectors to compress a variable-length visual sequence into a fixed-length representation. There is a trade-off between compression ratio and task accuracy, so in practice it needs to be tiered by scenario: OCR and document parsing retain high resolution, while general scene understanding can adopt more aggressive compression.
A schematic processing flow can be expressed as:
# Pseudocode: visual token compression and fusionimage = load_image(path)patches = split_multi_scale(image, scales=[1, 2]) # multi-scale splittingfeats = vision_encoder(patches) # vision encodingtokens = merge_adjacent(feats, ratio=4) # adjacent feature aggregation and compressionprompt = build_chat_template(text=question, vision=tokens)answer = llm.generate(prompt, max_new_tokens=512)
3.3 Native Multimodality and Unified Representation
“Native multimodality” means vision and text share the same representation and attention mechanism, rather than stitching together two independent models. Its advantage is that cross-modal reference and long-context reasoning are more stable, while the cost is increased complexity in training-data engineering, requiring strict guarantees on the quality and denoising of image-text-aligned samples.
4. Key Points for Engineering Implementation
On the data side, build an image-text pair cleaning pipeline: deduplication, image-text consistency checks, resolution and aspect-ratio filtering, and sensitive-content blocking; document-type data needs to preserve layout-structure annotations.
On the inference side, vision encoding is usually the latency bottleneck, so strategies such as deploying the encoder and the language model separately, caching visual features, and batch aggregation can be used; for high-frequency repeated images, caching results by content hash yields significant gains.
On the cost side, it is recommended to route by task tier: simple recognition goes to small-parameter models or high-compression configurations, while complex reasoning goes to large-parameter, low-compression configurations, using a unified gateway for capability abstraction to avoid tight coupling between business teams and specific models.
On the observability side, you need to monitor token distribution, compression ratio, first-token latency, and error-type distribution at the same time; visual scenarios should additionally record image dimensions and region-localization hit rate.
5. Common Pitfalls
The first is equating “supports image input” with “possesses visual reasoning ability”—the former only means the channel is connected; the second is blindly pursuing high resolution, causing token costs to spiral out of control; the third is neglecting canary and rollback mechanisms, leaving no fallback path when multimodal outputs are unstable; the fourth is treating compression ratio as the sole optimization goal, sacrificing accuracy in high-value scenarios such as document parsing.
