ERNIE-5.5-Flash-Base: Heavily Compressed Attention, Latent MoE and ECHO
Read first: DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Model · Better & Faster Large Language Models via Multi-token Prediction · Muon: An optimizer for hidden layers in neural networks
TL;DR. ERNIE-5.5-Flash-Base (Baidu, November 5, 2026; HF repo created October 21, modified November 5) is a 280B-total / 14B-active pure end-of-pretraining base model (no mid-training or post-training) trained from scratch on 33.5T tokens with distributed Muon and FP8 (128K training context, 1M fine-tuning/inference context). Its release page reads like a compact systems-and-architecture report combining four distinct ingredients: 37 Heavily Compressed Attention (HCA, 128× compression) + 6 MLA-DSA layers, Multi-Router Latent MoE (arXiv:2610.40577), ECHO self-recursive token prediction (arXiv:2610.24766) replacing auxiliary MTP modules, and FlashMask-4 CuTe-DSL attention kernels. All benchmark and kernel speed numbers are vendor-reported.
What to skip on a first read. Read the architecture table and the ECHO mechanism first; skim the infrastructure details (distributed Muon and FlashMask-4) unless you are writing attention kernels or training large MoEs with Muon.
Key idea
Section titled “Key idea”1 · Aggressive attention compression paired with a latent MoE. Like Tencent Hy4 flash and DeepSeek-V4, ERNIE-5.5-Flash-Base is engineered to keep active compute at 5% (14B of 280B) while squeezing KV-cache size for 1M-context inference:
| Component | ERNIE-5.5-Flash-Base specification (vendor release page) |
|---|---|
| Scale & training | 280B total / 14B active; 33.5T tokens from scratch; Muon + FP8; pure base checkpoint |
| Depth & width | 43 layers, hidden , 64 heads; mHC with 4 residual streams; MultiMax output head |
| Hybrid attention | 37 HCA layers (128× compression, head dim 512) + 6 MLA-DSA layers (head dim 256) |
| Attention extras | Low-Rank Gated Attention + Virtual Head Attention (arXiv:2610.17959) |
| MoE | Multi-Router Latent MoE (arXiv:2610.40577): 512 routed (top-10) + 1 shared, 2,048-d latent space, aux-loss-free balancing |
| Multi-token & drafting | ECHO (arXiv:2610.24766): backbone final layer self-recurses for future tokens and serves as speculative drafter |
| Tokenizer & context | ~200K BPE with right-to-left 3-digit number grouping; 128K train / 1M fine-tune & inference |
Notice how ERNIE’s Multi-Router Latent MoE mirrors Hy4 flash’s LatentMoE: projecting the 4,096-d hidden state down to a 2,048-d latent expert space (a 2× narrowing) shrinks per-expert parameter width and all-to-all communication volume while still routing each token to 10 of 512 fine-grained experts (with auxiliary-loss-free balancing).
2 · ECHO: replacing MTP and the draft model with self-recursion (arXiv:2610.24766). Standard multi-token prediction bolts extra predictor layers onto the top of a Transformer during pretraining, adding parameters that are either dropped at inference or repurposed as a separate drafter. ECHO (“ECHO: Efficient Causal Self-Recursion Beyond Auxiliary Multi-Token Prediction”, October 17, 2026; Zhou, Shang, Wang, Zheng et al.) removes the auxiliary module completely:
- During pretraining, the backbone’s own final layer is run recursively to predict future tokens, giving dense lookahead supervision with zero extra predictor weights.
- At inference, that exact same final layer acts directly as the speculative decoding drafter — avoiding a separate draft checkpoint (like Beam’s DFlash 2 or Hy4’s DFly2) while staying native to the backbone’s representations.
3 · Data mix, distributed Muon, and FlashMask-4.
- Pretraining data: web text, rich software-engineering artifacts (commits, issues, PRs, code reviews, CI-verified fixes, and repo-level trajectories), and long-context mixtures (natural long documents, concatenated documents with retrieved distractors, and synthetic MRCR-style data).
- Distributed Muon: Baidu notes communication-efficient dense and MoE synchronization plus memory-balanced sharding so Muon scales cleanly to a 280B MoE across 33.5T tokens.
- FlashMask-4 (CuTe-DSL, SM90/SM100): supports ERNIE’s wide asymmetric head dimensions (
qk_head_dim = 576,v_head_dim = 512) and is vendor-reported to run up to 175% faster forward and 74% faster backward than FlashAttention-4 MaskMod on SM100.
What the numbers say (and what is missing)
Section titled “What the numbers say (and what is missing)”Baidu’s release page evaluates ERNIE-5.5-Flash-Base under a single harness across 30 benchmarks against three similarly sized open base peers:
- DeepSeek-V4-Flash-Base (284B-A13B)
- Hy3-preview-Base (295B-A21B)
- MiMo-V2.5-Base (310B-A15B)
Baidu reports ERNIE winning most rows across the 30 benchmarks. Verification caveat: the release page’s HTML table dropped its benchmark-name column when inspected, so individual task rows are intentionally omitted here rather than guessed. Similarly, FlashMask-4’s +175% forward / +74% backward speedups over FlashAttention-4 MaskMod on SM100 are vendor-reported peak figures for ERNIE’s custom head dimensions (576 / 512) and mask structure.
What to be careful about
Section titled “What to be careful about”- Unverified individual benchmark rows. Because the release table lost its benchmark-name column, treat the 30-benchmark comparison as a vendor summary claim until independent evaluations run on the released Hugging Face checkpoint (
baidu/ERNIE-5.5-Flash-Base). - License nuance. The base checkpoint carries the custom ERNIE 5.5 Flash Base Model License v1.0 (“other” on Hugging Face), not Apache-2.0.
- Many moving parts without public ablations on the release page. HCA, Virtual Head Attention (
2610.17959), Multi-Router Latent MoE (2610.40577), mHC, MultiMax, ECHO (2610.24766), and a 200K RTL-digit tokenizer all ship together; consult the linked companion arXiv papers to isolate each mechanism’s contribution.
Connections
Section titled “Connections”- MTP & drafting lineage: Multi-Token Prediction and Speculative Decoding set up the problem that ECHO (
2610.24766) solves via final-layer self-recursion; compare with K2-Horizon’s Uno adapters (K2-Horizon) and Hy4’s DFly2 (Tencent Hy4 & Hy4 flash). - LatentMoE & 4-stream residuals: Tencent Hy4 & Hy4 flash (1,536-d LatentMoE + iHC) and DeepSeek-V4 (mHC + MLA-DSA).
- Balancing & optimization: Auxiliary-Loss-Free Balancing for ERNIE’s 512-expert routing and Muon for its 33.5T-token pretraining optimizer.
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
ERNIE-5.5-Flash-Base has 43 layers (37 Heavily Compressed Attention layers at 128× compression with head dim 512, and 6 MLA-DSA layers with head dim 256), hidden size 4,096, and a Multi-Router Latent MoE projecting into a 2,048-d latent space (512 routed experts, top-10 + 1 shared). Compute (a) the fraction of layers using HCA vs MLA-DSA, (b) the active-to-total parameter ratio (14B / 280B), and (c) the factor by which Latent MoE narrows each routed token vector relative to the residual hidden size, explaining what that saves in expert-parallel all-to-all traffic.
What a strong answer covers
- (a) 37 / 43 ≈ 86.0% of layers use HCA (128× compression), leaving only 6 / 43 ≈ 14.0% as MLA-DSA layers.
- (b) 14B / 280B = 5.0% active parameters per token (exact 1/20 ratio), pretrained over 33.5T tokens (rough 6N·D linear proxy ≈ 6 × 14B × 33.5T ≈ 2.81 × 10²⁴ FLOPs).
- (c) Latent dim 2,048 vs hidden dim 4,096 is a 2× narrowing; dispatching 10 routed copies per token in 2,048-d halves all-to-all token-payload bytes across expert-parallel ranks compared with 4,096-d routing.
- Keeping HCA on 86% of layers with 128× compression while reserving MLA-DSA for just 6 layers concentrates KV-cache savings on the majority of the stack.
- Mechanism
How does ECHO (arXiv 2610.24766) replace an auxiliary Multi-Token Prediction (MTP) module during pretraining and then double as a speculative-decoding drafter at inference? Explain why reusing the backbone's own final layer avoids a classic MTP serving mismatch.
What a strong answer covers
- Standard MTP (as in DeepSeek-V3) adds extra auxiliary predictor modules with separate weights on top of the backbone; at inference you either discard them or serve those auxiliary heads as a drafter whose representations can drift from the main model.
- ECHO (Efficient Causal Self-Recursion) instead feeds the hidden state recursively through the backbone's own final layer to predict future tokens during pretraining.
- Because the exact same final layer parameters are trained to act as a multi-step predictor, inference reuses that final layer directly as a speculative-decoding drafter with zero extra draft-model weights to host.
- The trade-off is sharing capacity in the final layer between next-token prediction and multi-step recursion, rather than dedicating separate weights to drafting.
- Critique
Baidu evaluates ERNIE-5.5-Flash-Base against DeepSeek-V4-Flash-Base (284B-A13B), Hy3-preview-Base (295B-A21B) and MiMo-V2.5-Base (310B-A15B) across 30 benchmarks under one harness, claiming wins on most rows, and reports FlashMask-4 speedups of up to 175% forward and 74% backward over FlashAttention-4 MaskMod on SM100. Identify the verification gaps in the release page and what you would require before adopting these numbers.
What a strong answer covers
- The release page's 30-benchmark comparison table lost its benchmark-name column, so individual task scores cannot be audited or matched to specific domains — only the vendor's overall win-count claim is visible.
- All comparisons and FlashMask-4 speedups (up to 175% forward, 74% backward at qk_head_dim 576 / v_head_dim 512) are vendor-reported; "up to" kernel speedups typically reflect specific mask sparsity patterns and unusual head dimensions tailored to HCA/MLA.
- The base checkpoint is released under a custom license (ERNIE 5.5 Flash Base Model License v1.0, not Apache-2.0), and while the Nov 11 Preview page promised Apache-2.0 post-trained weights "soon", shipment was not verified.
- Independent verification requires running the released BF16/base weights through a public base-eval harness (with benchmark names restored) and profiling FlashMask-4 against FlashAttention-4 on standard dense and causal masks.