Architecture Evolution and Autonomous Task Practices of Small-to-Medium MoE LLMs

    This article explores the architecture evolution and practical applications of a new generation of small-to-medium-scale Mixture of Experts (MoE) large language models. Featuring a total parameter count of 594 billion with 17 billion activated parameters per token, the model exemplifies the shift from conversational assistants to autonomous agents. We analyze its core sparse activation mechanism, multimodal capabilities, and innovative training paradigms, including a four-stage progressive pre-training and joint reinforcement learning. Furthermore, we delve into its performance in complex visual creation, system simulation, and autonomous fine-tuning practices, providing insights for enterprise deployment.

    I. Introduction: LLM Architecture Evolution and the Open-Source Boom

    With the rapid advancement of AI technology, the industry is experiencing an open-source explosion. Recently, a leading AI lab released the first product of its second-generation model series: an MoE-based LLM with 594 billion total parameters and 17 billion activated parameters per token. This marks a critical step for small-to-medium-scale (in terms of active parameters) general multimodal models in agentic programming, visual understanding, and long-duration autonomous task execution. This article provides an in-depth analysis of the model’s core technical architecture, training paradigm innovations, and application practices.

    II. Core Technical Architecture: Sparse Activation and Multimodal Fusion

    1. Sparse Activation Mechanism in MoE

    The model adopts a cutting-edge Mixture of Experts architecture. In an MoE architecture, the total model parameters are distributed across multiple expert networks, and for each specific token, the routing network selects only the most relevant few experts for computation. The 594 billion total parameters endow the model with vast knowledge capacity and complex pattern fitting ability, while activating only 17 billion parameters per token significantly reduces VRAM usage and inference latency. This “high capacity, low overhead” characteristic enables efficient deployment on standard enterprise-grade computing clusters.

    2. Multimodal Input and Adjustable Thinking Depth

    Regarding input and output, the model supports multimodal inputs of text and images, outputting text. This multimodal capability allows it to handle traditional natural language understanding and generation tasks, as well as complex chart parsing, UI understanding, and visual reasoning. Notably, the model introduces an “adjustable thinking investment” design. Developers can dynamically set the length of the reasoning chain before generating the final result based on different latency and accuracy requirements. It reduces thinking time for simple Q&A scenarios requiring quick responses, while increasing reasoning depth for complex scenarios like mathematical proofs or code refactoring, achieving precise allocation of computing resources.

    III. Training Paradigm Innovation: Multi-Stage Pre-training and Joint Reinforcement

    1. Four-Stage Progressive Pre-training

    The model adopts a rigorous four-stage progressive strategy during the pre-training phase:

    • Stage 1 (General Corpus Pre-training): Establishes the model’s foundational language capabilities and world knowledge system, covering multilingual web text, books, and encyclopedias.
    • Stage 2 (Code and Math Enhancement): Introduces a large volume of high-quality open-source code and mathematical derivation corpus to enhance the model’s logical reasoning and structured output capabilities.
    • Stage 3 (Multimodal Alignment): Introduces image-text pair data to train the cross-modal alignment capability between the visual encoder and the large language model.
    • Stage 4 (Capability Annealing and Fine-grained Alignment): Uses high-quality, high-density instruction datasets to conclude pre-training, improving the model’s performance on specific downstream tasks (e.g., agent tool calling).

    2. Joint Reinforcement Learning and Trajectory Collection

    In the post-training phase, the model underwent a 9-day joint reinforcement learning process. Unlike traditional single-task RLHF, joint RL aims to simultaneously optimize the model’s performance across programming, vision, knowledge work, and reasoning. Additionally, the training innovatively introduced reasoning trajectories collected from a frontier reasoning model. By imitating and absorbing these high-quality chain-of-thought data, the model learned how to decompose tasks, self-correct, and backtrack when facing complex problems, significantly raising the floor and stability of its performance on high-difficulty reasoning tasks.

    IV. Autonomous Task Execution and Agentic Programming Capabilities

    The model positions “strong support for long-duration autonomous task execution” as its core product definition. In practice, LLMs often face issues like long-context forgetting and error accumulation. Through a unified reinforcement learning framework, this model excels in agentic tasks.

    1. Complex Visual Creation and System Simulation

    Several cases demonstrated by the official release reveal its potential in autonomous task execution:

    • Interactive Application Development: In a city simulator, the model not only generates basic code but also implements complex interaction logic such as user-driven city expansion, power management, and budgeting.
    • System Simulation: The model can independently build a Linux PC simulator, understanding the underlying operating system mechanisms and generating a runnable simulated environment.
    • 3D Scene Production: In an apartment walkthrough case, the model autonomously performs spatial coordinate transformation based on an input 2D floor plan, generating an interactive 3D demonstration scene, showcasing strong spatial geometric reasoning capabilities.

    V. Model Fine-tuning and Customized Training Practices

    Beyond serving as a general base model, this model significantly improved its customized training performance, supporting developers to further train with private data, and even allowing the model to call tools to fine-tune other models autonomously.

    1. Autonomous Fine-tuning of Base Models in Practice

    In a highly representative case, the model acted as a “super agent” to autonomously complete the fine-tuning of a mainstream 4B parameter base model. The entire process took 4 hours and 17 minutes, with the following workflow:

    1. Automatic Evaluation Writing: The model first analyzed the target task and autonomously wrote evaluation scripts for the 4B model.
    2. Data Preparation: It filtered, cleaned, and constructed a fine-tuning dataset suitable for the task from open-source datasets.
    3. Training Plan Comparison: The model designed multiple hyperparameter combinations (e.g., learning rate, batch size) and autonomously launched training tasks for comparison.
    4. Error Correction and Iteration: When discovering abnormal loss or unqualified evaluation metrics during training, the model could read logs, locate issues, and correct the code.
    5. Result Verification: The trained 4B model reduced the prediction error on unseen data by approximately 15% compared to the original base model.

    2. Enterprise-Level Deployment Recommendations

    For enterprise developers, the deployment of such MoE-based models relies on robust underlying computing power. On mainstream cloud-native platforms like Baidu AI Cloud, developers can leverage elastic computing instances, object storage, and container platforms to build highly available model inference and fine-tuning services. By utilizing the cloud platform’s monitoring, alerting, and logging services, developers can track MoE routing hit rates and GPU utilization in real-time, further optimizing inference throughput.

    VI. Conclusion and Future Outlook

    The release of this new-generation small-to-medium-scale MoE LLM is a microcosm of the thriving open-source ecosystem and points out a new direction for LLM development: evolving from simple “conversational assistants” to “agents” capable of long-duration autonomous task execution. By improving pre-training, joint reinforcement learning, and supporting deep customized training, the model achieves a new balance in vision, programming, and reasoning tasks. In the future, as the model family expands across more sizes, AI technology will unlock immense productivity potential across broader vertical industries. Developers and enterprises should master the deployment and fine-tuning paradigms of MoE models early to seize the technological initiative in the AI 2.0 era.