2026-11-26 15:40 UTC

Baidu releases pretraining-only ERNIE 5.5 Flash Base weights

state: seedheat: highuncertainty: mediumrelevance: highbaidu ernie open-weights model-releaseBaidu

What is this?

On November 5, 2026, Baidu’s ERNIE team announced and made ERNIE 5.5 Flash Base weights available on Hugging Face in FP8 and BF16. It is a 280B-total-parameter sparse MoE language model with 14B active per token, pretrained from scratch on 33.5T tokens. The released checkpoint is explicitly pre-training-only—not instruction-tuned—and Baidu positions it as a starting point for developers’ own adaptation and training. The company says it supports up to 1M-token fine-tuning and inference, although pretraining context reached 128K. The announcement and performance figures here come from Baidu’s own release; the supplied web results add no independent confirmation or evaluation.

Why it matters

A strong base checkpoint can let researchers and developers spend compute on specialization, instruction tuning, or agent training instead of repeating foundation-model pretraining. Baidu highlights efficiency features and reports competitive results against similarly sized base models, especially on several coding and reasoning tests, but those comparisons are company-reported and do not establish independent performance or practical deployment costs. The weights are available now; the post-trained ERNIE 5.5 Flash is only promised for later.

Current assessment

Baidu’s November 5, 2026 first-party announcement releases ERNIE 5.5 Flash Base weights on Hugging Face as FP8 and BF16 safetensors, under a model license agreement. The checkpoint is at the end of pretraining, with no mid-training or post-training; therefore it is a research and further-training baseline, not a ready-made instruction-following assistant. Baidu reports 280B total parameters, 14B active per token, 33.5T pretraining tokens, 128K training context, and support for up to 1M tokens in fine-tuning and inference. It describes a sparse MoE architecture and efficiency-oriented attention and training-system choices. Baidu’s evaluation uses a shared harness, prompts, few-shot examples, and judge across four publicly released base models; its table shows ERNIE leading many listed tests, including several code and reasoning results, but not all. These are vendor-reported comparisons, not independent validation. Availability of weights is stated; independent reproduction, license implications for specific uses, hardware requirements and actual serving or fine-tuning costs are not established by the supplied evidence. Baidu says a post-trained version will follow, without a date. The release could broaden access to large-scale model adaptation and controlled training-method comparisons, but its large total parameter count means the practical resource threshold remains an open question.

Measured heat

now 0 pts/hpeak 0 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 510h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion

How the heat travelled

11-05 10:21 (minted)⭐ origin echo-reconstructedBaidu says it is releasing ERNIE-5.5-Flash-Base, a 280B-total/14B-active sparse MoE checkpoint trained on 33.5T tokens, with weights from th
Baidu ERNIE on blog (echo) · attributed from hn.story.50377078 · published time unknown
—
11-05 09:29first on hacker news · published · lag ?Baidu dropped ERNIE 5.5 Flash Base
pretext
—
11-05 09:29amplified on hacker news 👑hn.story.50377078
pretext
peak 187 · 98 comments · 100% of case engagement
11-05 10:20our radar first saw it · lag ?discovery anchor: hn.story.50377078—
pace: p86 vs 1845 stories at the 336h mark (now 510h old) — ahead of societies-ai-survey-prediction-claim (1.0x), behind cursor-agent-sdk-release (1.0x)

Evidence (2) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnBaidu dropped ERNIE 5.5 Flash Base
Retrieved article excerpt

Open article · Retrieved 2026-11-05T10:21:43.984018+00:00

Table of Contents

## 1. Introduction

A base model is valuable both for the capabilities that pre-training builds and for the starting point it offers for further training. Different domains, reasoning tasks and agentic applications call for different data, training objectives and behaviors. Releasing the weights at the end of pre-training lets developers build on the general capabilities already in place and choose for themselves where to take the model next.

Today we are releasing **ERNIE-5.5-Flash-Base**, a sparse Mixture-of-Experts (MoE) language model with **280B** total parameters, **14B** of which are activated per token. It was pre-trained from scratch on **33.5T tokens** with a training context of up to **128K**, and supports a **1M-token** context for fine-tuning and inference. The weights are the checkpoint at the end of pre-training, before any mid- or post-training, and can serve as a common starting point for domain adaptation, instruction tuning and reinforcement-learning research.

To be worth building on, a base model has to stay affordable to train and run, so efficiency was a design goal from the outset. Further training samples from the model repeatedly, and agentic applications bring multi-turn interactions and long contexts. Both add to compute and memory costs. ERNIE 5.5 Flash therefore revisits the trade-off between capability and efficiency in every component, from attention and residual connections to the MoE layers and the output head, and weighs activated compute, KV cache and long-context cost together rather than one at a time.

The same thinking shaped the data and the training system. Every later stage of training builds on what pre-training provides, so the corpus emphasizes capabilities that are hard to add afterwards, such as repository-scale code and long-context understanding. And because an efficient architecture pays off only if it can also be trained efficiently at scale, we designed the model and the training system together.

We hope this release spares more developers the cost of large-scale pre-training, so they can spend their own resources on the capabilities, tasks and training methods they care about.

Key highlights:

- **An open starting point for further training.** Base weights with no mid- or post-training, leaving the community free to pursue its own approaches to domain adaptation, reasoning and agent training.
- **Built for efficient further training and inference.** Sparse MoE and hybrid sparse attention balance model capacity, activated compute and long-context cost in the architecture itself.
- **Broad data, efficient training.** Diverse, high-quality pre-training data gives later training a well-rounded foundation, and a training system co-designed with the architecture keeps large-scale pre-training efficient.
- **A clean research baseline.** A single checkpoint taken at the end of pre-training makes it easy to compare training methods under controlled conditions and to measure what each one adds.

## 2. Model Architecture

[ERNIE 5.5 Flash architecture: 43-layer backbone, hybrid sparse attention, Multi-Router Latent MoE, mHC, MultiMax, ECHO, and R2L tokenizer.](https://ernie.baidu.com/release/ernie-5-5-flash-base/architecture.png)


ERNIE 5.5 Flash model architectureClick to view full image ↗

ERNIE 5.5 Flash has 43 Transformer layers, a hidden size of 4096 and 64 attention heads.

### 2.1 Latent-Gated Sparse Attention

**Hybrid MLA + HCA attention:** Most layers need only a coarse view of the distant past, so only one layer in seven keeps token-level access to the full context, using Multi-head Latent Attention (MLA). The remaining layers use Heavily Compressed Attention (HCA): each compresses every 128 tokens into a single cached entry, then attends to all of these entries plus a short window of recent, uncompressed tokens. An HCA layer therefore still sees the whole sequence, while caching only a small fraction of what a full-context layer needs.

**Layer-specific head dimensions:** Instead of using the same head dimension in every layer, we set it according to how expensive each layer's attention is: cheap layers get wide heads, expensive layers get narrower ones. HCA layers attend over a sequence compressed 128×, so their attention is cheap and they can afford wide 512-dim heads at little extra compute. MLA layers attend at token level and cost more, so they use narrower 256-dim heads for both query/key and value.

**Concentrating the KV-cache budget on MLA layers:** With HCA in most layers, the main question is where to spend the rest of the KV-cache budget. One option is many Compressed Sparse Attention (CSA) layers, which compress the history 4× and attend only to a selected part of it. We instead use a few MLA layers that keep every token. In our pre-training comparisons at a similar KV-cache budget, HCA combined with MLA outperforms HCA combined with CSA.

**Sparse attention in the full-context layers:** The MLA layers are the only layers that see every distant token individually. With dense attention, they would account for most of the attention compute at long context lengths, so they use sparse attention (DSA) instead. A lightweight indexer scores past positions for each query, and core attention is computed only over the top-k highest-scoring positions. The per-query cost of core attention therefore stays constant as the context grows. With DSA, these layers match dense attention in pre-training loss and train substantially faster.

Two further changes apply inside the attention layers:

- **Low-Rank Gated Attention:** Gated attention multiplies the attention output by a learned gate, which has been shown to improve both quality and training stability. Normally the gate is computed from the layer's hidden state. We instead compute it from the low-rank query latent, a compressed form of the query that each attention layer already computes. Because this latent is 4× narrower than the hidden state, the gate projection has 75% fewer weights, and our ablations also show better performance. Every attention layer in ERNIE 5.5 Flash, MLA and HCA alike, uses Low-Rank Gated Attention.
- **[Virtual Head Attention (VHA)](https://arxiv.org/abs/2610.17959):** After attention, VHA adds a lightweight low-rank mixing step across heads, with an identity skip connection. This lets heads share information, which improves expressiveness and training quality, and at inference it is fused into the attention kernel with negligible overhead.

### 2.2 Multi-Router Latent MoE

A conventional MoE layer picks experts with a single router and a hard top-k. We find that **a single router's scores correlate only weakly with how useful each expert actually is, especially in the middle and deeper layers**. And because experts left out of the top-k receive no gradient from that token, the router gets no signal that it chose wrongly, so wrong selections tend to reinforce themselves.

[Multi-Router](https://arxiv.org/abs/2610.40577) replaces the single router with several independently initialized sigmoid routers that score the experts jointly. **The routers develop clearly distinct preferences**: an expert can be chosen because one router strongly favors it or because several favor it together, so a wrong choice is easier to correct. The errors of any one router no longer decide the selection, and routing becomes less sensitive to noisy features and distribution shift. The number of activated experts, expert FLOPs and communication volume stay the same. Compared with a single router, **routing scores correlate noticeably better with how useful each expert is**, with the largest gains in the middle and deeper layers.

All layers except the first use an MoE feed-forward block:

- **512 routed experts (top-10) plus 1 shared expert**, with auxiliary-loss-free, bias-corrected load balancing.
- **Latent experts.** Each MoE layer first projects tokens from 4096 to a 2048-d latent space; the experts (intermediate size 2048) run in that space, and a single shared up-projection maps the result back to 4096. This roughly halves dispatch/combine traffic and expert FLOPs relative to full-width experts.
- **Stable LatentMoE design with learnable scalars.** The MoE blocks follow the Stable LatentMoE design (an RMSNorm before the up-projection and SiTU-GLU expert activations), which keeps expert outputs well scaled across all 43 layers and stabilizes optimization. In addition, each routed expert's routing weight is multiplied by its own learnable scalar.

### 2.3 Manifold-Constrained Hyper-Connections (mHC)

ERNIE 5.5 Flash replaces the standard residual connection with mHC: each layer reads from and writes to 4 parallel residual streams through a constrained mixing matrix, which gives layers a wider channel for passing information to one another at negligible extra compute.

### 2.4 MultiMax Output Head

A single softmax temperature forces a trade-off: lowering it makes the distribution sparse but also suppresses other plausible tokens; raising it keeps them but fattens the long tail of implausible ones. MultiMax replaces the single temperature with a learnable piecewise temperature, so the output head no longer has to choose: it suppresses the long tail of implausible tokens while keeping several plausible next tokens. The logits are rescaled element-wise inside the chunked, Triton-fused cross-entropy kernel just before the softmax. This adds negligible training overhead and no extra memory, and significantly lowers pre-training loss.

### 2.5 ECHO: Replacing the MTP Module

Conventional multi-token prediction (MTP) attaches extra modules to the backbone to predict future tokens, so the loss on future tokens mostly trains those modules, and the backbone is still trained mainly to predict the next token. ERNIE 5.5 Flash replaces the MTP module with [ECHO](https://arxiv.org/abs/2610.24766), which **reuses the backbone's own final layer** to predict future tokens. Because there is no separate MTP layer, the loss on future tokens directly trains the same parameters that produce the next token. Learning to look past the next token encourages the backbone to anticipate where the sequence is heading, with clear gains on reasoning and code. ERNIE 5.5 Flash is pre-trained with single-step ECHO. The same layer also serves as the draft model for speculative decoding, and it generalizes beyond its training: although trained to predict only one extra token, it drafts several tokens ahead, with a higher acceptance rate than an auxiliary MTP module trained the same way.

### 2.6 Tokenizer

ERNIE 5.5 Flash uses a new BPE tokenizer with a vocabulary of about 200K entries. Numbers are tokenized **right-to-left (R2L) in groups of up to three digits**, so that digits with the same place value line up across numbers of different lengths (e.g. 1,234,567 → `1` `234` `567`). This helps with arithmetic and number-heavy text.

## 3. Pre-training

ERNIE-5.5-Flash-Base was pre-trained from scratch on **33.5T tokens** with the Muon optimizer and FP8 mixed precision. The training context was gradually extended to **128K tokens** over the course of pre-training, and fine-tuning and inference support a **1M-token** context. The released checkpoint is taken at the end of pre-training and has not gone through any mid-training or post-training.

### 3.1 Data

The pre-training corpus covers a wide range of domains and languages and is curated for both breadth of knowledge and quality. Beyond this broad base, we focused on three areas:

- **Web data.** Multilingual web data is crawled at scale, extracted with high fidelity and filtered by models that score quality along several dimensions. The result covers a broad range of knowledge and is dense in useful training signal.
- **Code data.** Code collected from repositories and the web is filtered to remove non-code content, aggressively deduplicated and graded for quality at several granularities. Beyond static code, the corpus i
pretext18786
🟧 echo.blog ⭐Baidu says it is releasing ERNIE-5.5-Flash-Base, a 280B-total/14B-active sparse MoE checkpoint trained on 33.5T tokens, with weights from thBaidu ERNIE——

Interpretation history

Decision trace