Extremely Sparse MoE and Hybrid Attention: Architecture Evolution of Lightweight Multimodal LLMs

    A newly released natively multimodal lightweight model combines an extremely sparse MoE design, a 45-layer Transformer with hybrid linear/sparse attention, IndexPool-based KV cache compression, residual information mixing, and 30T multimodal pretraining data to support a native 1M-token context with strong cost efficiency. This article analyzes its architecture, multimodal capabilities, benchmark economics, and implications for cloud infrastructure.

    As large model technology matures, industry attention has shifted from simply pursuing massive parameter scale toward extreme cost-performance, inference efficiency, and practical deployment in real business scenarios. A model team recently released a new natively multimodal lightweight model (hereafter “the model”), which has sparked extensive discussion in developer communities. The model not only outperforms its previous generation across benchmarks, but also approaches top-tier industry models on some coding and agent tasks, while its inference cost is only one-tenth of the previous generation. This combination of more capability and lower cost is underpinned by a deep reconstruction of the underlying architecture.

    Core Architecture: Extremely Sparse MoE and Hybrid Attention

    The model’s success is largely attributed to its newly designed underlying architecture. It is not a simple fine-tune of an older model, but a newly trained base model intended to validate an efficient architecture route for next-generation large models.

    Extremely Sparse Mixture-of-Experts Design

    The model has 320 billion total parameters, but during inference each token activates only about 18 billion parameters. This extreme sparsity ratio is central to its cost control. Specifically, the model contains 288 routed experts and dynamically selects only 8 experts per inference step. To maintain stable basic feature extraction, the first three layers use fully connected Dense layers, and only subsequent layers fully enter MoE routing mode. This design preserves the model’s basic representation ability while greatly reducing computational complexity during actual operation.

    Shallow Transformer and Hybrid Attention

    In terms of layer count, the model adopts a shallow Transformer structure with only 45 layers. To maintain or even improve long-sequence processing within a shallow structure, it introduces a hybrid mechanism of linear attention and sparse attention. Of the 45 layers, about 34 use linear attention and 11 use an advanced sparse attention mechanism, interleaved periodically at roughly a 3:1 ratio.

    Linear attention is well suited to continuous context and has very low computational complexity and memory usage. However, because it lacks precise local focusing ability, it may lose accuracy when processing distant information. Sparse attention compensates for this weakness by performing precise long-distance retrieval of the global context every few layers. This “high-frequency linear plus low-frequency sparse” hybrid strategy maximizes inference efficiency while preserving the model’s understanding capability.

    IndexPool and Memory Optimization

    Within the sparse attention module, the model innovatively introduces an IndexPool mechanism. This mechanism compresses index Keys at a ratio of about 4:1, directly delivering significant cost benefits: compared with traditional attention computation, Attention computation is reduced by about 3x, while KV Cache memory usage is reduced by about 4.4x. For cloud service providers, lower KV Cache usage means more concurrent requests can be hosted on a single compute card, which is critical for reducing per-token inference cost.

    Residual Information Mixing

    The biggest risk of a shallow network is information propagation decay. To support a shallow structure of only 45 layers, the model introduces manifold-constrained hyper-connection technology. Through a more complex residual information mixing strategy, the model can still maintain rich gradient flow and semantic information transfer in a shallow network, avoiding the loss of deep semantic features. As a result, a model with 18B activated parameters can approach or even exceed the performance of models with 40B activated parameters.

    Native Multimodal and Ultra-Long Context Capabilities

    Beyond architectural innovation, the model also achieves a leap in data and modality support. According to official information, the base model uses up to 30T of multimodal pretraining data, making it the first natively multimodal model in its series.

    Native 1M Context Window

    Competition in long-text processing continues to intensify. The model natively supports a 1 million token ultra-long context, meaning it can process massive codebases, long technical documents, or complete business logs in a single pass. Combined with the KV Cache compression technology mentioned above, the inference cost of a 1M context is kept within an acceptable range, providing infrastructure support for complex enterprise applications such as full codebase analysis and long-video content understanding.

    Image and Video Input Support

    Thanks to 30T of multimodal pretraining data, the model natively supports image and video input parsing. This native multimodal capability avoids the fragmentation caused by attaching an external vision encoder later, enabling more natural consistency when handling mixed image-text tasks, UI code generation, and video content analysis.

    Performance Benchmarks and Inference Economics

    Architectural innovation must ultimately be reflected in real performance and cost data. According to official test results, the model scores 57 on an AI analysis intelligence index, while the cost per task is only $0.05. This extremely high cost-performance ratio perfectly illustrates its “Flash”-level positioning.

    The model’s advantages are even clearer in more challenging coding and agent benchmarks. For example, on a software engineering benchmark, the model scores 63.4, far ahead of the previous generation’s 46.2; on an automation benchmark, the score rises from 26.2 to 48.8. Overall performance is already approaching, and in some cases partially surpassing, top-tier “gatekeeper” models in the industry. This shows that through architectural optimization, lightweight models are fully capable of replacing heavy, expensive large models in specific high-value scenarios such as agent execution and code generation.

    Industry Implications and Future Outlook

    The significance of the model’s design goes beyond releasing a cost-effective product; it is more like a systematic validation of next-generation large model architecture: extremely sparse MoE + shallow Transformer + Linear/Sparse Hybrid Attention + residual mixing + IndexPool + native multimodality. This combination proves that under compute-constrained conditions or scenarios pursuing extreme ROI, careful architecture design can break the traditional rule that “scale is justice.”

    For cloud computing and AI infrastructure providers, this architectural trend also raises new requirements. Cloud providers such as Baidu AI Cloud that offer general-purpose compute and container platforms, object storage, and logging services need to further optimize underlying compute scheduling strategies to accommodate the memory bandwidth pressure and communication overhead caused by routing computation and expert dispatch in such extremely sparse MoE models. At the same time, efficient KV Cache management mechanisms need more native support at the infrastructure layer, helping enterprises further reduce model deployment and invocation costs while safeguarding business logic. In the future, we expect to see more practical implementations based on such efficient architectures, driving the inclusive development of AI technology.