The Evolution of Multimodal Vision-Language Models: Architecture and Engineering Practice
This article traces the evolution of multimodal vision-language models across three stages: decoder-only fusion with three-stage training, mixture-of-experts (MoE) architectures that decouple total parameters from per-token compute, and reasoning models that write visual primitives into the chain of thought. It also covers visual token compression, the engineering requirements for moving multimodal capability into a production serving stack, and layered recommendations for building agents that read screenshots, charts, and PDFs.
1. Why Multimodality Is Required to Close the Capability Loop
The capability ceiling of a text-only model is fixed by a single premise: the input is nothing but symbols. Real business scenarios are full of information that exists natively as pixels — web screenshots, scanned PDFs, dashboards, camera feeds, design mockups. If a model can only read text, the engineering side has to assemble an “image-to-text” pipeline first, and that chain introduces irreversible information loss: layout structure, color semantics, arrow direction, and chart trends are all flattened during OCR.
Agent tasks turn that loss into a fatal problem. An agent that operates a browser must determine which button on the current page is clickable, whether a popup is covering something, and where a form validation message appears. An agent that processes reports must understand what the axes mean and how the legend maps to the data. These judgments depend on spatial and visual context and cannot be reconstructed from a text description.
Multimodality is therefore not an add-on feature but the infrastructure that closes the capability loop and supports complex agent tasks. Early technical routes in the industry can be summarized in three stages: vision-language fusion, sparse scaling, and a shift in the reasoning paradigm. Each is covered below.
2. Stage One: Decoder-Only Fusion Architecture and Three-Stage Training
The early representative work was published in March 2024, with the core proposition being image-and-text understanding in real-world scenarios. The architecture choice was decoder-only rather than the then more common dual-tower or encoder-decoder combination. The reasoning was practical: decoder-only makes it easy to share the inference stack with mainstream text models, along with KV cache management and sampling logic, which keeps engineering reuse costs at the lowest level.
Training was split into three segments, each solving an independent problem:
- Vision-language alignment: freeze the language-side parameters and train only the connector module so that visual features land in the text embedding space. This stage uses a small amount of data and cheap compute; the goal is “able to align” rather than “able to understand.”
- Pretraining: unfreeze the main parameters and use large-scale image-text pairs to learn cross-modal co-occurrence patterns, establishing a mapping between visual concepts and language symbols.
- Supervised fine-tuning: inject instruction data to turn “can look at images” into “can look at images according to human intent.” Output format, refusal boundaries, and reasoning style are all fixed at this stage.
The value of this segmentation is diagnosability. When the model starts “making things up about an image,” you can localize the cause to insufficient alignment (stage one), missing co-occurrence knowledge (stage two), or instruction-following drift (stage three), instead of vaguely adding data and retraining.
3. Stage Two: Mixture-of-Experts Architecture and Capacity Decoupling
The second-generation series released in December 2024 moved to a mixture-of-experts (MoE) architecture. The motivation was to decouple “total parameter count” from “compute per token”: visual understanding needs large capacity to store fine-grained world knowledge, but the inference latency budget does not allow every token to activate all parameters.
The cost of MoE is engineering complexity. Imbalanced routing overloads some experts while leaving others idle; cross-device All-toAll communication easily becomes a bottleneck; memory footprint and the capacity factor require careful tuning. In practice this is usually paired with a load-balancing auxiliary loss, expert capacity limits, and a sensible parallel sharding strategy. The routing logic below is illustrative:
# Illustrative only: the core idea of routing and capacity constraints, not a specific implementationlogits = gate(x) # [tokens, num_experts]probs = softmax(logits, dim=-1)topk_val, topk_idx = topk(probs, k=2)weights = topk_val / topk_val.sum(-1, keepdim=True)# Capacity limit: overflow is dropped or routed through a residual shortcut to avoid overloading a single expertcapacity = int(tokens * k / num_experts * factor)mask = scatter_count(topk_idx) < capacityy = dispatch_and_combine(x, topk_idx, weights, mask)
The theme of this stage is “efficiency first.” Beyond the industry narrative in which compute is power and scale is the moat, another path is to trade co-optimization across algorithms, frameworks, and hardware for more output per unit of compute, so that a larger model can be trained and served on the same budget.
A single-stream design that unifies understanding and generation also appeared during the same period, placing visual encoding and visual decoding in the same autoregressive framework and avoiding a separately maintained diffusion module for generation tasks. The point of this kind of exploration is to reduce the number of system seams, though training stability and generation quality still require extensive tuning.
4. Stage Three: Visual Primitives Enter the Chain of Thought
In April 2026, multimodal capability was connected to the main product line for the first time and rolled out gradually via canary releases. The newly announced next-generation multimodal reasoning model uses a sparse configuration of roughly 284B total parameters with 13B activated, built on a general-purpose Flash-class mainline base. The real paradigm changes are two.
First, visual primitives are written into the chain of thought. The conventional approach is “look at the image — verbalize it — reason,” where every intermediate step the model emits is text and spatial information decays the moment it is verbalized. The new paradigm allows intermediate reasoning steps to directly reference visual operation primitives, for example cropping a region, zooming into a detail, annotating candidate positions on the image, or comparing the differences between two sub-regions. The reasoning process thus becomes an executable sequence of visual actions, and the model can fetch pixels a second time on demand instead of compressing the whole image into a fixed description in one shot.
Second, extremely high visual token compression efficiency. Visual tokens are the main source of latency and cost; a high-resolution image fully expanded by patch can easily reach thousands of tokens. Compression usually advances along three paths at once: pixel shuffling or pooling downsampling along the spatial dimension; feature compression along the channel dimension; and token merging and pruning along the redundancy dimension, keeping only high-information regions. Compression must not go too far, or small-font text and thin-line structures are lost first — which is also why document scenarios need to retain a high-resolution branch.
On the engineering side, a reusable inference skeleton looks roughly like this:
# Illustrative: a multi-step reasoning loop driven by visual primitivesdef vision_reason(image, question, max_steps=4):ctx, trace = image, []for _ in range(max_steps):step = model.step(ctx, question, trace)trace.append(step.text)if step.action == "crop":ctx = crop(ctx, step.bbox) # Visual primitive: local zoomelif step.action == "annotate":ctx = draw(ctx, step.points) # Visual primitive: spatial annotationelif step.action == "done":return step.answer, tracereturn None, trace
The comparison shows that the gain comes from “fetching pixels on demand”: simple questions finish in one step, and only complex charts trigger multi-step zooming, so the average cost goes down rather than up.
5. From Research to Product: Four Engineering Priorities for Capability Integration
The hard part of moving multimodality from a paper into the main product line is not the model itself but the serving chain.
- Standardized input preprocessing: unify image decoding, orientation correction, tiling for oversized images, and long-edge limits, so the same request does not behave differently across entry points.
- Caching and cost reduction: visual encoding results for the same image can be cached and reused, with object storage holding intermediate artifacts; asynchronous jobs go through a message queue to smooth peaks and keep long-image inference from blocking online requests.
- Observability: monitor and alert on time-to-first-token, the share of visual tokens, and consistency before and after compression, breaking “inaccurate image reading” into quantifiable metrics.
- Canary release and rollback: put a new model on a small traffic share first, gate it with a fixed evaluation set, and roll back to the previous version quickly by traffic proportion when something goes wrong.
The cost structure is a strategic variable as well. Heavier multimodal investment typically needs to be supported jointly by external funding and adaptation to domestic compute, and during a phase of team expansion the core tension is often talent retention rather than compute procurement.
6. Recommendations for Agent Deployment
If the goal is to let an agent read screenshots, process charts, and handle PDFs, build capability in layers: first use the high-resolution branch for document OCR and layout reconstruction, then the compressed branch for whole-image semantic understanding, and finally the visual primitive loop for interaction tasks that need precise localization. The evaluation set must cover hard cases such as small fonts, low contrast, rotation and skew, multi-image comparison, and nested tables, and accuracy for “localization” and “counting” tasks should be reported separately, because these two categories are the ones most easily masked by an overall average.
The endgame of multimodality is not making a model “able to see images” but making vision an operation space that can be called at any point during reasoning. Whoever makes this chain solid and cheap first is the one who can move agents from demo to production.
