The Rabbit Hole / AI / Model architectures
Alibaba · Architecture mapQwen3-Next 80B-A3B
Three of every four layers replace softmax attention with gated DeltaNet linear attention, on top of a very sparse expert layer.
Qwen3-Next-80B-A3B-Instruct, September 2025 · Qwen release timeline
Inside Qwen3-Next 80B-A3B
Inside linear attention · Gated DeltaNet layers (three of every four)
Earlier context dimmed · current token bright · dashed path carries state to the next step.
Inside grouped-query attention · Gated attention layers (every fourth)
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Gated DeltaNet layers (three of every four) · 36 repetitions
- Linear attention, followed by 512 experts of intermediate size 512, 10 selected per token, plus 1 shared expert scaled by a learned sigmoid gate.
- Gated attention layers (every fourth) · 12 repetitions
- Softmax attention with a query-side output gate, followed by the same expert layer.
- Attention and positions
- 36 layers use gated DeltaNet (a linear-attention layer with a fixed-size state; 16 query/key heads and 32 value heads, head size 128, convolution kernel 4). 12 layers use gated softmax attention (16 query heads, 2 key/value heads, head size 256, rotary on 64 dimensions).
- Memory
- Gated attention layers store keys and values for 2 key/value heads of size 256 per token. DeltaNet layers store a fixed-size recurrent state and a short convolution state that do not grow with context length.
Three DeltaNet layers, then attention
The 48 layers contain twelve three-to-one groups. Every layer also selects ten of 512 experts of width 512, plus a gated shared expert.
Full-attention layers use 16 query heads, two 256-wide key/value heads, QK-norm and a query-side output gate. RoPE covers one quarter of each head. Norm scales are stored as offsets from one.
The Instruct checkpoint supports 262,144 tokens natively; optional YaRN extends it to about 1M.
How it scores
AA Intelligence Index
Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| Qwen3 Next 80B A3B (Reasoning) | 11 | AA Index 4.3.2Published checkpoint |
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
- Gated DeltaNet: write the correction, not the whole fact
- Linear attention: a fixed-size memory instead of a growing cache
- Attention gating: should this head add anything?
- Hybrid attention and SSM models: different kinds of memory
- Mixture of experts (MoE): a big model that uses only part of itself
- Multi-token prediction (MTP): learning to look further ahead
- RoPE scaling: stretching context beyond the training length
- Grouped-query attention (GQA): sharing keys and values in groups
- Gated RMSNorm: controlling the layer's output
- Partial RoPE: rotating only part of each head
- Routing: selecting experts and weighting their work
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation