Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

Reflection · Architecture map

Reflection Beam

Gated local and global attention, with sandwich normalisation and depth-scaled residual additions.

Reflection Beam, 2026-10 · Beam release timeline

Inside Reflection Beam

Parameters
501B · 23B active
Layers
52
Width
5,120
Mixer
Grouped-query
Select a component to explore it. Layer colours match the execution-order strip.
The complete Reflection Beam architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection. 43 layers retain a 512-token window; nine global layers retain the full context. All store eight KV heads of width 128. Final normalisation and output weights produce vocabulary scores and the next-token distribution.Text becomes token IDs.Text → tokens → IDstheoldrabbitsleepsEmbedding lookup151,9365,120Input token vectorsCL5,120Execution order · 52 layersLayer 1: Local dense layersLayer 2: Local dense layersLayer 3: Local dense layersLayer 4: Local expert layersLayer 5: Local expert layersLayer 6: Global expert layersLayer 7: Local expert layersLayer 8: Local expert layersLayer 9: Local expert layersLayer 10: Local expert layersLayer 11: Local expert layersLayer 12: Global expert layersLayer 13: Local expert layersLayer 14: Local expert layersLayer 15: Local expert layersLayer 16: Local expert layersLayer 17: Local expert layersLayer 18: Global expert layersLayer 19: Local expert layersLayer 20: Local expert layersLayer 21: Local expert layersLayer 22: Local expert layersLayer 23: Local expert layersLayer 24: Global expert layersLayer 25: Local expert layersLayer 26: Local expert layersLayer 27: Local expert layersLayer 28: Local expert layersLayer 29: Local expert layersLayer 30: Global expert layersLayer 31: Local expert layersLayer 32: Local expert layersLayer 33: Local expert layersLayer 34: Local expert layersLayer 35: Local expert layersLayer 36: Global expert layersLayer 37: Local expert layersLayer 38: Local expert layersLayer 39: Local expert layersLayer 40: Local expert layersLayer 41: Local expert layersLayer 42: Global expert layersLayer 43: Local expert layersLayer 44: Local expert layersLayer 45: Local expert layersLayer 46: Local expert layersLayer 47: Local expert layersLayer 48: Global expert layersLayer 49: Local expert layersLayer 50: Local expert layersLayer 51: Local expert layersLayer 52: Global expert layersLocal dense layers · matches this colour in the execution-order barLocal dense layersLocal dense layers · 3 repetitions3 layers · one layer shown3RMSNorm before this operation.RMSNormGated GQA: Dense SwiGLU width 20480. Each sublayer uses RMSNorm before and after, then a depth-scaled residual add.Gated GQARotate query and key position components before attention scores; values are unchanged. Dense SwiGLU width 20480. Each sublayer uses RMSNorm before and after, then a depth-scaled residual add.RoPENormalise queries and keys before attention scores. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.QK-normSliding-window attention over 512 tokens.512Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+RMSNorm before this operation.RMSNormSwiGLU: Dense SwiGLU width 20480. Each sublayer uses RMSNorm before and after, then a depth-scaled residual add.SwiGLUNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+Layer type · execution order aboveLocal expert layers · matches this colour in the execution-order barLocal expert layersLocal expert layers · 40 repetitions40 layers · one layer shown40RMSNorm before this operation.RMSNormGated GQA: Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.Gated GQARotate query and key position components before attention scores; values are unchanged. Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.RoPENormalise queries and keys before attention scores. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.QK-normSliding-window attention over 512 tokens.512Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+RMSNorm before this operation.RMSNormMoE: Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.MoE8 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+8 of 256 expertsLayer type · execution order aboveGlobal expert layers · matches this colour in the execution-order barGlobal expert layersGlobal expert layers · 9 repetitions9 layers · one layer shown9RMSNorm before this operation.RMSNormGated GQA: Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.Gated GQANo explicit positional embedding in this attention layer. Causal masking still restricts which tokens it can read.NoPENormalise queries and keys before attention scores. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.QK-norm48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Query scalingNormalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+RMSNorm before this operation.RMSNormMoE: Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.MoE8 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts.Normalise the branch output before the residual update.RMSNormAdd the branch output to the original stream. Depth-scaled add+8 of 256 expertsLayer type · execution order aboveAfter all 52 layer executionsResidual streamLast columnCL5,120Final RMSNormA separate learned vocabulary projection.Output weights5,120151,936Vocabulary scoresSoftmax151,936Next-token probabilities
Inside grouped-query attention · Local dense layers
6 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Reflection Beam: Local dense layers · grouped-query attention48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection. 43 layers retain a 512-token window; nine global layers retain the full context. All store eight KV heads of width 128.8 KV groups; the front face shows one representative.8 KV groups6 heads / group; the front face shows one representative.6 heads / groupAttention input. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input5,120CLWq. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wq5,120128Wk. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wk5,120128Wv. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wv5,120128RMSNorm. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RMSNormRoPE. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RoPERMSNorm. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RMSNormRoPE. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RoPEK cache. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128≤ 512V cache. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128≤ 512Q context. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Window 512CLCL×. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.×Wg. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wg5,1201σ. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.σ×. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.×Joined heads. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.48Wo. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wo6,1445,120Attention output. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output5,120CL
Inside grouped-query attention · Global expert layers
6 query heads per group × 8 K/V groups.

Earlier context dimmed · current token bright · dashed regions contain cached entries.

Reflection Beam: Global expert layers · grouped-query attention48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection. 43 layers retain a 512-token window; nine global layers retain the full context. All store eight KV heads of width 128.8 KV groups; the front face shows one representative.8 KV groups6 heads / group; the front face shows one representative.6 heads / groupAttention input. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input5,120CLWq. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wq5,120128Wk. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wk5,120128Wv. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wv5,120128RMSNorm. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RMSNormQuery scale. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Query scaleRMSNorm. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.RMSNormK cache. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache128CLV cache. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache128CLQ context. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Q context128CLScaled query–key scores, masking and softmax. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.NoPECLCL×. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.×Wg. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wg5,1201σ. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.σ×. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.×Joined heads. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.48Wo. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Wo6,1445,120Attention output. 48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output5,120CL
Model-specific details
Local dense layers · 3 repetitions
Dense SwiGLU width 20480. Each sublayer uses RMSNorm before and after, then a depth-scaled residual add.
Local expert layers · 40 repetitions
Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.
Global expert layers · 9 repetitions
Eight of 256 SwiGLU experts, each width 2560; no shared expert. Each sublayer uses sandwich RMSNorm and a depth-scaled add.
Attention and positions
48 query heads share 8 KV heads of width 128. Per-head Q/K RMSNorm precedes RoPE in 512-token local layers, or position-dependent SSMax query scaling in global NoPE layers. A sigmoid gate scales each attention head before the output projection.
Memory
43 layers retain a 512-token window; nine global layers retain the full context. All store eight KV heads of width 128.

What to notice

How it scores

AA Intelligence Index

Version 4.3.2 · higher is better · checked 2026-11-01. Separate from Epoch ECI.

Checkpoint / sizeResultEvaluation
Beam 1.030AA Index 4.3.2Published checkpoint
AA Index distributionBest checkpoint per model variant among 97 scored variants in this atlas. Beam 1.0 scores 30; its bin is highlighted. Known estimates are excluded.Model variants0.0–3.0: 0 variants3.0–6.0: 15 variants6.0–9.0: 21 variants9.0–12.0: 13 variants12.0–15.0: 9 variants15.0–18.0: 5 variants18.0–21.0: 5 variants21.0–24.0: 6 variants24.0–27.0: 4 variants27.0–30.0: 2 variants30.0–33.0: 2 variants33.0–36.0: 2 variants36.0–39.0: 2 variants39.0–42.0: 3 variants42.0–45.0: 4 variants45.0–48.0: 3 variants48.0–51.0: 0 variants51.0–54.0: 0 variants54.0–57.0: 1 variants57.0–60.0: 0 variants21003060AA Index 4.3.2 →
Beam 1.0: 30. Distribution of 97 scored variants in this atlas, using each variant’s best checkpoint. Known estimates excluded.

Explore the components

Sources for this map