The Rabbit Hole / AI / Model architectures
Baidu · Architecture mapERNIE 5.5 Flash Base
Most layers keep 128-to-1 summaries; six retain token-level access through MLA and sparse selection. Latent experts share four residual streams.
ERNIE 5.5 Flash Base, November 2026 · ERNIE release timeline
Inside ERNIE 5.5 Flash Base
Inside HCA · Opening HCA layer
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside latent attention · Token-level MLA with sparse selection
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Opening HCA layer · 1 repetitions
- The first layer uses HCA and a dense feed-forward branch of width 14,336.
- HCA with latent experts · 36 repetitions
- 512 routed experts select 10 per token, plus one shared expert. Dispatch and combine use a 2,048-coordinate latent space, RMSNorm and SiTU-GLU; each routed expert has a learned routing-weight scale.
- Token-level MLA with sparse selection · 6 repetitions
- Layers 8, 15, 22, 29, 36 and 43 retain token-level latent K/V; the indexer narrows the attention read. 512 routed experts select 10 per token, plus one shared expert. Dispatch and combine use a 2,048-coordinate latent space, RMSNorm and SiTU-GLU; each routed expert has a learned routing-weight scale.
- Select up to 2,048 positions
- A separate indexer selects token positions rather than replacing the latent cache with summaries.
- Attention and positions
- 37 HCA layers use 64 query heads of width 512, one shared K/V entry per 128 tokens and a 128-token recent window. Six MLA-DSA layers use 64 heads with 192 content-key plus 64 rotary coordinates and 256-coordinate values; a separate indexer selects up to 2,048 positions. Both use 1,024-coordinate query latents, sigmoid output gates computed from those latents, per-head sinks and Virtual Head Attention.
- Memory
- Each HCA layer stores shared 512-coordinate summary entries at 128:1 plus a recent 128-token window. MLA-DSA layers retain a 512-coordinate KV latent and a 64-coordinate rotary key for every token; sparse selection limits the read, not that cache.
Keep detail where it earns its cost
HCA keeps the whole history affordable, but each summary mixes 128 positions. Six layers therefore retain token-level access through MLA; sparse selection limits their attention reads while leaving their latent caches intact. The opening layer uses a dense feed-forward branch, followed by 42 latent MoE branches.
This is the released pre-training checkpoint, before instruction tuning or reinforcement learning. The published 280B / 14B figures exclude the separate ECHO parameters.
Flash Preview checkpoint
The released Preview model card identifies the same 43-layer backbone and a separate DSpark draft head. Its BF16, FP8 and mixed FP8/FP4 weight builds are distinct distributions of the post-trained checkpoint. The draft head is not represented in the Base diagram; its configuration and verification path require a separate source review.
Explore the components
- Embeddings: giving every token a meaning
- Residual connections: when more layers made things worse
- A whole LLM, layer by layer
- RMSNorm: keeping a token's scale under control
- Hyper-connections: more than one residual stream
- Heavily compressed attention (HCA): keeping a compressed history
- Multi-head latent attention (MLA): caching a compressed latent
- Sparse attention and the lightning indexer
- Sliding-window attention (SWA): a cache that stops growing
- Attention gating: should this head add anything?
- Attention sinks: where does unused attention go?
- QK normalisation (QK-Norm) and soft-capping
- Latent MoE: experts that work at a narrower widthcoming soonExperts work in a narrower space than the rest of the model.
- Bounded SwiGLU: clamping and squashing the gatecoming soonA gated feed-forward activation whose values are clamped or smoothly squashed into a range.
- Routing: selecting experts and weighting their work
- Multi-token prediction (MTP): learning to look further ahead
- Partial RoPE: rotating only part of each head
- RoPE scaling: stretching context beyond the training length
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation
- Mixture of experts (MoE): a big model that uses only part of itself