Demystifying Next-Gen Open-Source Multimodal LLMs: Architecture and Inference Optimization

    This article explores a recent generation of Apache 2.0 open-source multimodal large models, ranging from 2.3B to 31B parameters. It delves into key architectural innovations, including an encoder-free multimodal architecture, a controllable Thinking Mode, and inference optimization techniques such as multi-token prediction and Quantization-Aware Training (QAT). The piece also provides practical deployment guidance and model selection strategies to help developers effectively leverage these models.

    I. Background: Open-Source Multimodal LLMs Enter a New Phase

    In recent years, the open-source large model ecosystem has continued to evolve, with multimodal capabilities gradually becoming a standard configuration. A recent heavyweight technical report has garnered widespread attention in the developer community: a leading AI research team released its new generation of open-source multimodal model series, covering four parameter scales of approximately 2.3B, 4.5B, 12B, and 31B. All models are open-sourced under the Apache 2.0 license, allowing for commercial use and secondary development. This means that enterprises and individual developers can freely download, fine-tune, and deploy them without worrying about licensing risks.

    Unlike previous iterations that primarily relied on stacking parameters and expanding data, the core highlight of this generation lies in fundamental architectural changes—a systematic combination of an encoder-free multimodal architecture, a controllable Thinking Mode, a multi-token prediction draft model, and Quantization-Aware Training (QAT). This article will dismantle the design motivations, implementation approaches, and engineering value of these technologies layer by layer.

    II. Encoder-Free Architecture: A Paradigm Shift in Multimodal Understanding

    2.1 Limitations of the Traditional Approach

    Mainstream multimodal large models typically adopt a three-stage structure: “dedicated encoder + projection layer + language model.” Images are first processed by a visual encoder (usually an attention-based visual backbone) to extract features, and audio is handled by an acoustic encoder. These are then aligned into the language model’s embedding space via an adapter layer. This approach has several inherent pain points:

    • Modality encoders inherently possess large parameter volumes, high training costs, and usually require independent pre-training;
    • A representation gap exists between the encoder and the language model, easily losing fine-grained information during the alignment phase;
    • Stacking multiple components lengthens the inference pipeline, simultaneously increasing deployment complexity and latency;
    • Preset limitations on encoder resolution and duration constrain the model’s adaptability to arbitrary input sizes.

    2.2 Direct Mapping: Returning “Understanding” to the Language Model

    The new architecture completely removes the independent visual and audio encoders, retaining only a lightweight projection layer of about 35M parameters. This layer directly projects raw image patches and 40ms granularity raw audio waveform patches into the unified embedding space of the language model. The underlying logic here is that as language model scales and training data grow, their internal representation capabilities are sufficient to learn the statistical patterns of pixels and waveforms from scratch. The front-end “manual feature extraction” step is no longer a necessity.

    This “end-to-end” approach brings multiple benefits:

    1. Architectural Simplification: The entire model degenerates into a single Transformer body plus a projection layer, drastically shortening the pipeline for training, inference, and deployment;
    2. Lossless Information: Raw signals bypass the compression bottleneck of encoders, preserving details more completely, which is beneficial for scenarios involving small targets and fine textures;
    3. Modal Unification: Text, images, and audio are processed in the same embedding space, allowing cross-modal alignment to emerge naturally within the model;
    4. Flexible Scaling: Adding new modalities only requires designing the corresponding projection layer, eliminating the need to retrain large-scale encoders.

    Of course, this route also imposes higher demands on the quality and scale of training data and the required compute power, a trade-off to consider when adopting such an architecture.

    III. Thinking Mode: Controllable High-Density Reasoning

    The second key innovation is the Thinking Mode. The generation process of traditional conversational models is unidirectional—directly outputting the answer. The Thinking Mode uses simple control tokens to locally trigger the model to first generate a high-density reasoning trajectory (i.e., an “internal thinking process”) before delivering the final conclusion.

    3.1 Working Mechanism

    Its essence is an explicit Chain-of-Thought (CoT) mechanism, but it structures and controls the reasoning process through special tokens:

    • When the input contains a trigger token, the model outputs a reasoning paragraph first, followed by the answer;
    • When not triggered, the model maintains regular direct generation to avoid unnecessary compute consumption;
    • The length of the reasoning trajectory adapts to the problem’s complexity—fast for simple questions, deep for complex ones.

    3.2 Performance Gains

    According to benchmark data disclosed in the technical report, the 31B model with Thinking Mode enabled showed significant improvements on high-difficulty evaluations: it scored 84.3% on a graduate-level science question-answering benchmark (covering physics, chemistry, and biology questions requiring multi-step reasoning), nearly doubling the 42.4% score of the previous generation’s 27B model. It also scored 80.0% on a code generation benchmark featuring real-world competitive programming problems, placing it at the forefront of open-source models. It demonstrated clear advantages over the previous generation in complex mathematical reasoning and real-world Agent tool-calling scenarios.

    This indicates that “test-time compute scaling” is becoming a performance improvement path independent of parameter scale: a model doesn’t need to be larger; as long as it “thinks longer” before answering, it can solve problems previously only manageable by ultra-large models.

    3.3 Engineering Trade-offs

    Developers applying the Thinking Mode should note that reasoning trajectories significantly increase the output token count, leading to higher latency and costs. A reasonable strategy is to enable it on a per-task basis—turn on Thinking Mode for complex tasks like mathematical proofs, code debugging, and multi-step planning, while keeping the direct mode for simple tasks like chitchat and search rewriting to achieve a dynamic balance between quality and efficiency.

    IV. Inference Efficiency Optimization: Multi-Token Prediction and Quantization-Aware Training

    4.1 Multi-Token Prediction Draft Model

    The token-by-token decoding characteristic of autoregressive generation restricts large model inference speed due to serial computation. The team concurrently released a multi-token prediction draft model for speculative decoding acceleration: a small-scale draft model predicts multiple candidate tokens at once, and the main model verifies them in parallel, adopting them if they match. This multiplies throughput while ensuring the output distribution remains unchanged. This solution is particularly suitable for latency-sensitive online service scenarios.

    4.2 Quantization-Aware Training

    For the deployment side, the report employed Quantization-Aware Training (QAT). Unlike post-training quantization, QAT simulates the rounding errors of low-precision computation during the training phase, allowing model weights to actively adapt to quantization noise. This maintains near-full-precision performance even at low-bit precisions like INT8 and INT4. Its value lies in:

    • Significantly reducing memory footprint and model size, enabling smaller parameter versions (2.3B, 4.5B) to run on consumer-grade GPUs or even edge devices;
    • Improving inference speed as the compute bit-width decreases;
    • Controlling precision loss, avoiding the sudden performance drops commonly seen in post-training quantization.

    V. Spec Selection and Deployment Recommendations

    The four parameter scales cover a complete range of scenarios from edge to cloud:

    Scale Typical Application Scenarios
    ~2.3B / 4.5B (E Series) Mobile devices, embedded systems, low-latency on-device inference
    ~12B General business services deployable on a single GPU
    ~31B Scientific reasoning, complex code generation, Agent systems

    Deployment recommendations:

    1. Evaluate First: Build an evaluation set on your own business data to compare the effects of different scales and Thinking Mode configurations, avoiding the blind adoption of large models;
    2. Leverage Open-Source Licensing: Apache 2.0 allows free fine-tuning and distillation, enabling secondary training based on domain-specific data. Developers can set up training and distribution pipelines using container services and object storage on cloud platforms like Baidu AI Cloud, and ensure online inference stability through monitoring and alerting services;
    3. Combine Acceleration Technologies: Speculative decoding and QAT can be used together to further drive down inference costs on smaller model versions;
    4. Ensure Reasoning Trajectory Security: The intermediate reasoning process output by Thinking Mode should not be directly exposed to end-users and must be isolated on the server side.

    VI. Conclusion

    This technical report outlines a clear technological evolution path: simplifying multimodal systems with an encoder-free architecture, extracting the value of test-time compute through Thinking Mode, and compressing deployment costs via speculative decoding and Quantization-Aware Training. For developers, the thorough open-sourcing under Apache 2.0 means these capabilities can be integrated into proprietary product ecosystems with zero barriers. In the future, the combination of “unified architecture + controllable reasoning + extreme efficiency” is highly likely to become the mainstream design paradigm for open-source multimodal models, warranting continuous attention to its evolution and validation in real-world business operations.