ZICQ
中 Log in / Sign up
Newsroom Official Open Source AI #Baidu ERNIE #ERNIE 5.5 Flash Base #Sparse MoE #Hybrid Attention #Open Weights

Baidu Opens ERNIE 5.5 Flash Base with Hybrid Attention and Multi-Router MoE

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 has released ERNIE-5.5-Flash-Base as an open pretrained checkpoint. The 43-layer sparse MoE has 280 billion total parameters, activates 14 billion per token, and was trained from scratch on 33.5 trillion tokens. It supports 128K-token pre-training contexts and up to 1M tokens during fine-tuning and inference. The model combines hybrid MLA and HCA attention, DSA sparse attention, multi-router latent MoE, low-rank gated attention, and virtual-head mixing to control long-context compute, KV-


Release Positioning: An Open Checkpoint at the End of Pre-Training

On November 5, 2026, Baidu ERNIE Research released the ERNIE-5.5-Flash-Base pre-training checkpoint. This is not an instruction-aligned, preference-optimized chat model. It is a clean base checkpoint captured at the end of pre-training, intended for domain adaptation, instruction tuning, reinforcement-learning research, and distillation.

| Core specification | ERNIE-5.5-Flash-Base | |---|---:| | Total parameters | 280B | | Activated parameters per token | 14B | | Pre-training corpus | 33.5T tokens | | Transformer layers | 43 | | Hidden size | 4096 | | Attention heads | 64 | | Pre-training context | Up to 128K tokens | | Fine-tuning and inference context | Up to 1M tokens | | Post-training state | No mid-training or post-training |

The 14B activated-parameter figure prevents computation from scaling linearly with the full 280B model, but it is not an end-to-end latency model. Attention-memory traffic, KV-cache pressure, expert scheduling, and inter-GPU communication can dominate real serving time.

Architecture: Long-Context Cost Is Decomposed Across Several Layers

1. Asymmetric Hybrid Attention with MLA and HCA

Approximately one layer in seven retains a full-context MLA layer, while the others use HCA. MLA stores key-value information through low-rank latent representations; its full-context layers use 256-dimensional query, key, and value heads. HCA layers use 512-dimensional heads, compress every 128 tokens into one cached entry, and retain a short window of recent uncompressed tokens.

HCA does not simply discard distant history. Each compressed entry summarizes a span of history, and every layer attends across all summary entries. The number of historical token slots falls by roughly 128×, although the actual byte reduction depends on head count, latent dimensions, and metadata.

Baidu reports that, at a comparable KV-cache budget, HCA combined with MLA outperforms HCA combined with CSA. CSA compresses history by only 4× and attends to a selected portion of it. ERNIE 5.5 Flash Base instead concentrates a limited cache budget in a few token-level MLA layers, paying more attention cost in exchange for fuller access to distant information.

2. DSA Bounds Core Attention Work in Full-Context Layers

The full-context MLA layers also use DSA. A lightweight indexer scores historical positions for each query, and core attention is computed only over the highest-scoring Top-k positions. With k fixed, core attention per query can fall from O(T) to O(k), avoiding full dense attention over a million-token history.

DSA is not cache-free attention. The indexer may still scan or probe a long history, while index scores and selected key-value states may need to be retained. Its main effect is lower core-attention FLOPs; whether memory and bandwidth also improve depends on the indexer implementation, cache format, and kernel-fusion strategy.

3. Low-Rank Gating and Virtual-Head Mixing

Both MLA and HCA layers use Low-Rank Gated Attention. The gate is derived from the low-rank query latent already computed by the attention layer rather than directly from the 4096-dimensional hidden state. Because that latent is one-quarter the width of the hidden state, the gate projection uses 75% fewer weights. Baidu also reports better training performance in its ablations.

After attention, VHA performs lightweight low-rank mixing across heads through an identity skip path. It can be fused into the inference kernel with negligible reported overhead. Its purpose is to improve information exchange between heads rather than extend the context window.

4. Multi-Router MoE Corrects Expert Selection

Except for the first layer, every MoE feed-forward block has 512 routed experts plus one shared expert, with ten routed experts activated per token. Instead of relying on one router, several independently initialized sigmoid routers score the experts jointly. An expert may be selected because one router strongly favors it or because several routers reach a consensus.

The design targets the self-reinforcement of incorrect expert selection. A single router may correlate only weakly with an expert's actual usefulness in middle and deeper layers, while experts excluded from Top-k receive no direct gradient from the current token. Multi-Router preserves the number of activated experts, expert FLOPs, and communication volume while improving the correlation between routing scores and expert contributions.

Latent MoE projects tokens from 4096 dimensions into a 2048-dimensional latent space, computes experts with an intermediate size of 2048, and maps the result back into the residual stream. This reduces the dimensions of expert matrices, but the final savings still depend on expert count, shared projections, and quantization implementation.

Engineering Costs: Fewer Active FLOPs Do Not Mean Lightweight Deployment

Full Weight Residency Remains a 280B-Scale Problem

The following are theoretical lower bounds and exclude runtime buffers, scales, and metadata:

| Precision | Approximate raw weight size | |---|---:| | BF16, 2 bytes | 560GB | | FP8, 1 byte | 280GB | | INT4, 0.5 byte | 140GB |

The 14B active-parameter count lowers computation but does not turn a 280B model into something that fits on one GPU. Private deployments still require multi-GPU sharding, expert parallelism, or CPU and disk offloading. With 4-bit weights, developers must measure dequantization overhead during expert switching, weight-read bandwidth, and tail latency.

Expert Communication May Replace Matrix Multiplication as the Bottleneck

The model has 42 MoE layers, each selecting ten routed experts per token. That amounts to roughly 420 cross-layer expert routes per token. Multi-Router adds scoring overhead without increasing the number of selected experts, but whether the model reaches its compute potential still depends on GPU interconnect, token dispatch, All-to-All implementation, and expert placement.

One Million Tokens Still Magnify KV-Cache Pressure

A simplified view is that full-context layers retain N token entries, whereas HCA layers retain roughly N/128 historical entries plus a recent window. At one million tokens, an HCA layer needs about 7,813 compressed historical entries, but its total footprint must still be compared with the few token-level MLA layers and their different head and latent dimensions. Production testing should prioritize chunked prefill, paged KV cache, prefix reuse, and long-context scheduling rather than relying on the nominal 1M-token limit.

How to Read the Evaluation: Strong Mechanism Evidence, Limited Production Proof

The official comparisons answer three distinct architecture questions. DSA matches dense attention in pre-training loss while training substantially faster; HCA plus MLA beats HCA plus CSA at a comparable KV-cache budget; and multi-router scores correlate more closely with actual expert usefulness. These findings support the selected mechanisms, but they do not directly establish state-of-the-art terminal performance.

Pre-training loss is relatively insensitive to retrieval, long-range reasoning, code generation, and agent behavior. A valid DSA comparison must fix data order, training FLOPs, sequence length, batch size, precision, and random seeds, while also reporting wall-clock time and downstream tasks. The Top-k setting, indexer overhead, and long-context hit rate can materially change the outcome.

A comparison between HCA and CSA that controls KV-cache size but not attention FLOPs, memory bandwidth, and network waiting time cannot fully describe engineering speed. Likewise, better router-score correlation must be evaluated together with expert load balance, realized FLOPs, cross-device communication, and final task quality.

The base checkpoint has not undergone instruction tuning or preference alignment, so pre-training results cannot establish instruction following, refusal behavior, tool use, or safety. Developers need an independent safety evaluation suite and continuous monitoring for capability drift during domain adaptation and reinforcement learning.

Practical Deployment Guidance

  1. Decide whether Base weights are actually necessary. For production question-answering or agent applications, a post-trained model is usually cheaper. Base checkpoints are more valuable for domain adaptation, continued pre-training, distillation, and reproducible alignment research.
  2. Verify the checkpoint and license. Confirm that weights, tokenizer, configuration files, model card, and license are supplied as a coherent set, and use the license attached to this release rather than relying on earlier Preview-stage statements.
  3. Test framework support first. MLA, HCA, DSA, latent experts, and multi-router routing may require dedicated checkpoint converters and kernels. Confirm native support and verify that multi-GPU expert parallelism is actually active rather than merely loading the weights.
  4. Benchmark long context and throughput separately. Record prefill time, time to first token, decode latency, KV-cache memory, throughput, and OOM thresholds at 32K, 128K, and 1M tokens, including shared-prefix and dynamic-batching workloads.
  5. Build attributable ablations. Compare dense attention, single-router MoE, and alternative compression ratios under identical data, token budgets, and hardware so that differences in the corpus or training system are not mistaken for architectural gains.
  6. Build a safety stack for the base model. Before exposing it to users, add instruction alignment, content-safety controls, tool-permission enforcement, output auditing, and model-supply-chain checks.

Bottom Line

The significance of ERNIE 5.5 Flash Base is not merely that Baidu opened a 280B model. It combines hybrid attention, sparse indexing, multi-router expert selection, latent MoE, and residual-path design into a coherent efficiency strategy, then gives the community a 33.5T-token-scale starting point. It removes the cost of pre-training from scratch, but not the storage, long-context cache, and MoE communication costs of production deployment. Its real value must be confirmed by independent tests using identical hardware, context lengths, and concurrency levels.


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

— END —

Tags: #Baidu ERNIE #ERNIE 5.5 Flash Base #Sparse MoE #Hybrid Attention #Open Weights

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…