FIELD GUIDE 04 / HYBRID SEQUENCES
Qwen3-Next 80B-A3B
A 48-layer hybrid that uses recurrent linear attention three times as often as full attention, then routes every layer through an ultra-sparse expert bank.
- Scale
- 80B total · about 3B active
- Shape
- 48 layers · width 2,048
- Native context
- 262,144 tokens
- Pattern
- [Delta, Delta, Delta, full] ×12
THE 60-SECOND READ
Follow one text token.
- 01
Three Gated DeltaNet layers update compact recurrent matrix states instead of forming full attention maps.
- 02
A periodic gated full-attention layer restores direct access across the whole causal context.
- 03
Every layer then uses one shared expert plus 10 routed experts selected from 512.
- 04
Native Multi-Token Prediction adds training signals for more than the immediate next token; decoding support depends on the runtime.
OUTSIDE IN
Whole model
Twelve exact four-layer groups produce 48 layers. Each layer pairs its sequence mixer with a Mixture of Experts (MoE) block, so the pattern is better read as three DeltaNet → MoE layers followed by one full attention → MoE layer.
→ MoEDeltaNet
→ MoEDeltaNet
→ MoEfull attention
→ MoE×12 groups
MECHANISM CUTAWAYS
Open the blocks
013:1 hybrid stackThree recurrent mixers, then one full-attention checkpoint.
Plain language. Most layers carry forward a compact running memory; every fourth layer performs a direct sequence-wide lookup.
Technical read. The exact schedule is [Gated DeltaNet, Gated DeltaNet, Gated DeltaNet, Gated Attention] × 12. The resulting 48 layers each feed the same 512-routed-plus-one-shared expert design.
Why it matters. Recurrent state makes most sequence mixing linear in sequence length, while periodic full attention repairs information that is difficult to compress into fixed state.
02Gated DeltaNet state updateCorrect memory by writing the value error.
Plain language. The layer asks what value its memory currently associates with key k, measures the error against the new value v, writes a gated correction, then reads the updated memory with query q.
Technical read. The conceptual path uses 16 query (Q) / key (K) heads, 32 value (V) / state / output-gate heads, head width 128, and a width-4 depthwise causal convolution. Each state head maintains a fixed 128×128 matrix. I use a column-vector convention where state S maps a key to a value: read Sk, then write error ⊗ key. The transposed row-vector convention writes key ⊗ error; both describe the same update orientation. Output is Root Mean Square normalized (RMS-normalized), gated by the Sigmoid Linear Unit (SiLU) SiLU(z), and projected.
Why it matters. State size stays fixed as the sequence grows, and the delta rule edits memory toward the new key/value association rather than only accumulating it.
CONCEPTUAL SIGNAL FLOW · EXACT COUNTS · COLUMN-VECTOR S:key→value CONVENTION
- 1decay old state
S′ = decay · S - 2read current association
v̂ = S′k - 3measure value error
e = v − v̂ - 4gate the correction
βe - 5write error ⊗ key
S″ = S′ + (βe)kT - 6read with query
y = S″q
03Periodic Gated Attention with grouped queriesSixteen queries share two key/value pairs.
Plain language. Full-attention layers keep 16 ways to ask questions while sharing just two sets of remembered keys and values.
Technical read. Grouped-Query Attention (GQA) uses 16 query heads and 2 key/value (KV) heads, dimension 256. Each KV pair serves exactly eight Q heads. Rotary Position Embedding (RoPE) applies to the first 25% of a head—64 of 256 dimensions. Query/key normalization (QK-Norm) and a learned sigmoid output gate are separate operations.
Why it matters. Periodic full attention restores direct global lookup, while 8-to-1 KV sharing reduces its cache and the output gate controls how much of each head returns to the residual stream.
EXACT MAP · 16 QUERY HEADS · 2 KEY/VALUE PAIRS · 8 Q PER PAIR
KV GROUP 1
KV GROUP 2
04Ultra-sparse expert routingOne shared expert plus 10 selected from 512.
Plain language. Every token gets one common transformation and ten specialist transformations. The routed branch turns all 512 scores into probabilities before choosing and rebalancing the top ten.
Technical read. The router applies softmax across all 512 routed experts, selects the top 10 probabilities, then renormalizes those selected probabilities because norm_topk_prob=true. Their weighted expert outputs form the routed sum. A separate shared expert always runs; its output is multiplied by its own learned sigmoid gate before the shared and routed sums are added. Routed expert intermediate width is 512.
Why it matters. Renormalization makes the selected routed weights sum to one, while the independent sigmoid gate controls the always-computed shared path rather than participating in top-10 selection.
05Native Multi-Token PredictionConfirmed training design; runtime behavior varies.
Plain language. Training asks the system to predict multiple future steps, adding a learning signal beyond the immediate next token.
Technical read. Official Qwen material confirms native Multi-Token Prediction (MTP) and multi-step training. The released checkpoint exposes a one-block MTP module. The sidecar flow below is inferred from official checkpoint keys and the Qwen/Hugging Face reference, and is corroborated by production inference implementations; it is not specified as a universal decoding interface.
Why it matters. Multi-step targets can improve representation learning and may support speculative generation, but an installed runtime may ignore, discard, or differently expose the released MTP path.
IMPLEMENTATION-INFERRED FLOW · NOT UNIVERSAL RUNTIME BEHAVIOR
READ THE ORIGINALS
Primary sources
- Official Qwen3-Next architecture post Primary hybrid architecture and training overview.
- Official Qwen3-Next configuration Layer, attention, expert, and native context dimensions.
- Official 8-bit floating-point (FP8) configuration Released MTP-related checkpoint keys.
- Qwen / Hugging Face reference implementation Sequence mixers, gating, and state update.
- Gated Delta Networks paper Mechanism source for the state update.
- Official Gated DeltaNet implementation Reference recurrence implementation.
- vLLM Qwen3-Next MTP implementation Production implementation evidence, not a primary architecture publication.
The diagrams on this page are original teaching renderings. They simplify layout to make relationships readable; the linked paper, configuration, and implementation remain authoritative for exact computation and checkpoint behavior.