Natively Multimodal LLMs: A Technical Look at Unified Perception, Reasoning, and Execution Architectures

    Natively multimodal large language models integrate vision, language, and action into a single architecture, addressing the fundamental limitations of bolt-on vision adapters. This article explains why modular approaches have hit a ceiling, how unified token representations and multi-stage training pipelines work, and how perception-reasoning-execution loops enable agents to actually complete tasks—from screenshot-to-code generation to mobile UI automation. It also offers practical engineering guidance for deployment and real-world applications.

    Natively Multimodal LLMs: A Technical Look at Unified Perception, Reasoning, and Execution Architectures

    1. Why “Bolt-On” Multimodality Has Hit a Ceiling

    Over the past few years, text-only large language models have advanced rapidly, repeatedly setting new records in code generation, logical reasoning, and knowledge question answering. Yet the information carriers of the real world have never been purely textual: web interfaces, mobile app screenshots, product design mockups, scanned PDFs, whiteboard photos, and surveillance video streams account for the vast majority of the visual information humans consume daily. An agent that can only “read text” is, in essence, cut off from the real digital environment.

    To give LLMs the ability to “see,” the mainstream early approach was modular assembly: an independent vision encoder extracts image features, a projection layer maps them into the language model’s embedding space, and the language model then generates an answer. This “language model + vision adapter” approach is simple to implement, but it suffers from several unavoidable, fundamental problems:

    1. Disconnection between perception and reasoning. A vision encoder pretrained independently has no knowledge of what downstream reasoning tasks actually need. The features it extracts tend to be “general but shallow” semantic representations. By the time the language model receives them, the information has already been compressed and filtered—losing fine-grained details along the way.
    2. Structural amplification of hallucinations. When visual features are insufficient to support an answer, the language model tends to “fill in the gaps” using text priors, producing descriptions that sound plausible but do not match the image. This is the classic cause of multimodal hallucination.
    3. Lack of dynamic interaction capability. Bolt-on approaches are mostly optimized for static, single-image question answering. When facing video streams or continuous UI operations—scenarios that require temporal perception and action feedback—the architecture simply has no closed-loop interface in place.

    The industry consensus has therefore become increasingly clear: to build genuine visual intelligence, vision must be designed as a native capability, deeply unified with language at the levels of architecture, training objectives, data organization, and tooling—rather than patched on after the language model is complete. This is exactly the question that the new generation of natively multimodal agent models attempts to answer.

    2. Unified Architecture: Isomorphic Representations for Images, Video, and Text

    The first step in native multimodal design is to make the three modalities isomorphic at the representation level. The core idea can be summarized as: all modalities are ultimately encoded as token streams within the same sequence space, and modeled uniformly by a single backbone network.

    2.1 Visual Tokenization and Positional Encoding

    Images are sliced, projected through a lightweight vision encoder, and split into a set of visual tokens, which are concatenated with text tokens into a single sequence. To help the model distinguish “spatial position” from “temporal position,” 2D rotary positional embeddings or their variants are typically used: width and height encode the spatial structure within an image, while the time dimension captures ordering between video frames. Under this scheme, video is modeled simply as a natural extension of “multi-frame images plus a time axis”—no separate encoding system is needed for video.

    2.2 Dynamic Resolution and Information Density Control

    Real-world image sizes vary enormously: a phone screenshot might be 1080×2400, while a surveillance frame might be 4K. Native architectures generally adopt adaptive slicing strategies—the number of visual tokens is determined dynamically based on the original resolution. This preserves text details in small images while preventing sequence-length explosion from large ones. A practical rule of thumb: token budgets should be allocated according to effective information density rather than physical resolution. For example, allocate more tokens to text-dense document pages and compress away slides dominated by large areas of solid color.

    2.3 A Unified Backbone Inference Network

    Once modalities are unified, all tokens are processed by a single self-attention backbone. The key benefit of this design is that cross-modal reasoning becomes a first-class citizen: within a single forward pass, the model can jointly reason over button positions in a design mockup, textual requirements in a specification document, and constraints from prior conversation—without any intermediate format conversion. A schematic input layout looks like this:

    1. [system instruction] You are a frontend engineering assistant
    2. [image tokens × N] <design mockup screenshot>
    3. [text tokens] Generate responsive page code from this mockup; must be mobile-compatible
    4. [output] <model-generated code and explanation>

    3. Training Methodology: A Multi-Stage Pipeline from Alignment to End-to-End

    A unified architecture is only the skeleton. What truly determines the capability ceiling is the training strategy. Training for natively multimodal models typically follows a multi-stage pipeline, with each stage solving a clearly defined problem:

    1. Modality alignment stage. The language backbone is frozen; only the vision encoder and projection layers are trained, using large-scale image-text pairs to align visual token distributions with the language embedding space. The goal at this stage is “making the language model understand visual input”—not complex reasoning.
    2. High-quality joint pretraining stage. All parameters are unfrozen, and pretraining continues on a mix of pure text corpora, interleaved image-text documents, and video-caption data. A key lesson: the proportion of text data must not fall too low, otherwise catastrophic forgetting occurs—multimodal capability improves while pure-text coding and reasoning ability visibly degrades. Advanced practices show that with carefully designed data ratios, a model can simultaneously achieve leading scores on challenging screenshot-to-code benchmarks while maintaining strong pure-text coding performance.
    3. Instruction tuning and preference alignment stage. Instruction data targeting real-world tasks is introduced—UI element grounding, chart question answering, structured document extraction, multi-step operation planning—along with preference optimization to suppress hallucinations and improve answer faithfulness.
    4. Agent reinforcement stage. This is the step that most clearly distinguishes native approaches from traditional ones: in interactive environments (such as a simulated mobile OS or sandboxed browser), the model repeatedly executes the loop “observe screen → plan action → execute → receive feedback,” with environment reward signals refining the execution loop. It is under this training paradigm that models achieve meaningful success rates on real mobile-device operation benchmarks.

    4. The Perception-Reasoning-Execution Loop: From “Understanding” to “Getting It Done”

    The ultimate goal of native multimodality is not answering questions but completing tasks. A complete agent loop consists of three stages:

    • Perception: Receive screenshots or video streams and precisely locate UI elements—their type, position, and state. This step requires the model to output structured coordinates rather than vague descriptions. Only by reaching high accuracy on GUI grounding benchmarks can downstream actions land correctly.
    • Reasoning: Combine the task goal with the history of past actions to plan the next step. Long-horizon tasks also require the model to autonomously decompose subgoals, detect execution failures, and roll back and retry.
    • Execution: Act on the environment through a standardized action space (click, swipe, type, call APIs), then observe the new state and enter the next round of the loop.

    For production deployment, it is advisable to implement the loop as an explicit state machine: record the screenshot-action-result triplet for every interaction step. This makes debugging easier and accumulates a data asset of failure trajectories for future reinforcement learning.

    5. Typical Use Cases and Engineering Recommendations

    1. Design-to-code: Generate frontend code directly from UI screenshots. On demanding visual-to-code evaluations, top native models have reached scores close to 95. In practice, it is recommended to pair prompts with component library constraints so that generated code can be integrated immediately.
    2. Mobile and web automation: On real-device operation benchmarks, leading solutions now exceed a 75% success rate. Enterprises can use this for automated regression testing, bulk form filling, and similar workflows.
    3. Document intelligence: For structured extraction from scanned contracts, invoices, and reports, multimodal models can perform layout analysis and content understanding in a single pass, eliminating the cascading errors of traditional OCR pipelines.
    4. Deployment: Multimodal inference is compute-intensive. Enterprises can build inference services on general-purpose container platforms, object storage, and monitoring/alerting capabilities offered by cloud providers such as Baidu AI Cloud, and use visual token compression and KV cache reuse to reduce latency and cost.

    6. Conclusion and Outlook

    The essence of native multimodality is letting vision, language, and action share the same representation and reasoning mechanisms. Bolt-on approaches treat perception as a translator; native approaches let the model think directly through its “eyes.” As training paradigms mature and the tooling ecosystem improves, multimodal agents are moving from “understanding images” to “getting things done.” For developers, now is the ideal time to understand this architecture and position yourself early in areas such as UI automation, document understanding, and AI-assisted programming.