ZICQ
中 Log in / Sign up
Newsroom LLMs & Foundation Models #ERNIE 5.0 #Unified Multimodality #Sparse MoE #Autoregressive Generation #Elastic Training

Baidu's ERNIE 5.0 Unifies Four Modalities in a 2.4T-Parameter Sparse Autoregressive Backbone

Avatar of Mr.Xu

By Mr.Xu Compiled & Reviewed by Editorial

Published:

中文阅读 (Chinese) English Version
Co-reading Select any sentence in the article to highlight, annotate, or copy a quote card. Join discussion ↓

Summary:Baidu's ERNIE 5.0 is a 2.4-trillion-parameter multimodal foundation model trained from scratch. It places text, images, video, and audio in one autoregressive backbone, uses a unified Next-Group-of-Tokens objective, and activates only about 3% of its parameters per token through modality-agnostic MoE routing. Text uses NTP with MTP, vision uses Next-Frame-and-Scale Prediction, and audio uses depth-wise Next-Codec Prediction. Elastic depth, expert width, and adaptive Top-k sparsity allow one sup


From Late Fusion to Native Unification

ERNIE 5.0 is not a pre-trained language model with separate visual and audio decoders attached. It is trained from scratch as a unified autoregressive system that maps text, images, video, and audio into a shared token space and optimizes them through Next-Group-of-Tokens Prediction. The text branch uses Next-Token Prediction with Multi-Token Prediction for inference throughput. Vision uses Next-Frame-and-Scale Prediction, treating an image as a single-frame video so that multi-scale spatial and multi-frame temporal representations can be learned together. Audio uses depth-wise autoregressive Next-Codec Prediction, modeling semantic content through progressively finer acoustic detail.

The architectural benefit is fewer interface boundaries between understanding and generation, allowing cross-modal reasoning to share parameters and a training objective. The corresponding risk is capacity competition: text, vision, and audio may contend for context and expert resources. The report says stability mechanisms prevent one modality from dominating gradient updates, but it provides no modality-removal tests, cross-modal ablations, or negative-transfer analysis. Native unification therefore does not automatically mean the design outperforms a mature cascade pipeline.

How 2.4 Trillion Parameters Reduce Per-Token Computation

ERNIE 5.0 uses modality-agnostic Mixture-of-Experts routing. Experts are placed in a shared pool rather than divided into isolated text, vision, and audio groups, and the router selects them dynamically from token features. The report states that only about 3% of parameters are activated for each token. A direct calculation gives roughly 72 billion nominally active parameters, but that is not equivalent to a 72-billion-parameter dense model. Attention, shared components, routing, and expert communication do not scale linearly with the activation ratio.

Sparse activation primarily lowers arithmetic cost; it does not automatically reduce weight residency. At 2.4 trillion parameters, raw 4-bit weights occupy about 1.2 TB and BF16 weights about 4.8 TB, before quantization scales, routing tables, KV Cache, activations, or replication overhead. Under expert parallelism, token dispatch and combine can become the bottleneck in low-concurrency or cross-node deployments, while expert imbalance directly increases tail latency.

A shared expert pool may improve cross-modal transfer, but it can also weaken specialist behavior and make router specialization harder. The metrics that matter are expert utilization, cross-node traffic, routing entropy, maximum expert load, and end-to-end throughput at equal quality—not only total and active parameter counts.

Once-For-All Elastic Training

A super-network learns multiple deployment configurations simultaneously. Elastic Depth stochastically skips layers during training, allowing sub-networks of different depths to share training progress. Elastic Width dynamically restricts the active expert pool, while Elastic Sparsity adjusts inference computation through adaptive Top-k routing. Once the super-network is trained, sub-models can be extracted for different depths, widths, and sparsity levels without separate retraining.

This is more deployment-friendly than post-hoc pruning because sub-model quality is incorporated into joint training. It also creates new trade-offs. Stochastic depth can introduce a mismatch between training and a deployed sub-network; multiple configurations can compete for a fixed capacity budget; and runtime Top-k changes require stable routing, fine-grained kernels, and predictable scheduling. The report does not publish child-model specifications, extraction procedures, or quality curves, so the claimed edge-device potential cannot be inferred from the method alone.

Training Data, Long Context, and Post-Training

The pre-training corpus is described as containing trillions of tokens, using UTF-16BE data representation and mixing paired image-text and video-text data with interleaved sequences. Context length is extended in stages from 8K to 128K. The training infrastructure uses a customized hybrid-parallel strategy built on PaddlePaddle to coordinate computation and communication for the ultra-sparse MoE.

The post-training pipeline includes U-RB, an Unbiased Replay Buffer intended to improve long-tail response efficiency without introducing sampling bias; MISC and WPSM, which are described as mechanisms for mitigating entropy collapse and emphasizing difficult samples; and AHRL, a scaffolding method that supplies fading thinking hints for sparse-reward reasoning tasks. These techniques may improve tool use and long-horizon reasoning, but their effectiveness depends on reward quality, trajectory filtering, and difficulty construction. The report does not disclose stability curves, reward-model provenance, or reinforcement-learning compute cost.

Engineering Trade-offs, Results, and Verification Boundaries

Baidu claims state-of-the-art performance across language, multimodal understanding, image and video generation, audio understanding, and speech synthesis. The captured record, however, retains table labels without the absolute values. For generative models, an average score without sample counts, prompts, judges, random seeds, and variance can hide long-tail failures. Code and agent evaluations also require disclosure of tool access, pass@k methodology, and test-time compute budgets. TUT2017 provides a useful local signal for audio understanding, but it cannot substitute for evaluations covering real-world noise, long video, complex speech, and cross-modal reasoning.

The material also omits per-token latency, throughput, peak memory, cross-node communication, training GPU-hours, energy use, quantization loss, and effective retrieval at the claimed 128K context length. Extending the context window from 8K to 128K does not by itself prove stable retrieval, cross-modal alignment, or resistance to mid-context information loss. The date shown on the research page also differs from the collected publication date, so the paper version and page timeline should be checked before formal citation.

Deployment Guidance

  1. Treat this as an architecture release, not a ready-to-use product. The material does not specify checkpoints, API access, licensing, or pricing. Developers needing immediate access should wait for official weights and serving specifications rather than attempting to reproduce the full 2.4-trillion-parameter training run.
  2. Compare native and cascaded systems on identical hardware. Hold quality, context length, and generation budget constant while measuring TTFT, TPOT, throughput, peak memory, expert traffic, and energy consumption.
  3. Sweep the elastic configuration systematically. Vary depth, active expert count, and Top-k, then inspect routing stability, expert-load skew, sub-model quality loss, and batch tail latency.
  4. Test long context and generation separately. Use real long documents, long videos, and multi-turn speech tasks to probe the 128K window, and cross-check image, video, and TTS quality with both human review and multiple automatic metrics.
  5. Budget weights and caches explicitly. Even with roughly 3% parameter activation, the full model can require terabytes of storage. With 4-bit quantization, external expert storage, or KV-cache compression, PCIe, disk, or network I/O must be included in time-to-first-token measurements.

Source: Baidu ERNIE Research (2026-11-29)

— END —

Tags: #ERNIE 5.0 #Unified Multimodality #Sparse MoE #Autoregressive Generation #Elastic Training

Editorial & Fact-Checking Note: This article is compiled from primary research, official release documentation, and source papers by the ZICQ Newsroom pipeline with automated entity verification and human editorial review. If you notice any technical inaccuracy, please submit a correction via our corrections policy or email our editorial desk directly.

What's your take on this story?
Explore & Submit Works

Community Comments

Loading live comments and annotations…