Rúben GalvãoThe Rabbit Hole

The Rabbit Hole / AI / Model architectures

DiffuSpace · Architecture map

Clover 35B-A3B Preview

A hybrid MoE that denoises 32-token blocks with bidirectional DeltaNet previews and full attention.

Clover-35B-A3B-Preview, October 2026 · Clover release timeline

Inside Clover 35B-A3B Preview

Parameters
35B · 3B active
Layers
40
Width
2,048
Mixer
Hybrid
Select a component to explore it. Layer colours match the execution-order strip.
The complete Clover 35B-A3B Preview architectureInput IDs select embeddings. Layer types execute in the order strip; dotted lines connect the type examples below. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels. Denoising previews read clean prefix state without mutating it. A completed block is replayed causally before its recurrent state and KV cache are persisted. Final normalisation and output weights produce vocabulary scores and probabilities at every canvas position.32 masked positionsPrompt + noisy canvasprompt…noisycanvasEmbedding lookup248,3202,048Input token vectorsCL2,048Execution order · 40 layersLayer 1: Bidirectional GDN blocksLayer 2: Bidirectional GDN blocksLayer 3: Bidirectional GDN blocksLayer 4: Block attention layersLayer 5: Bidirectional GDN blocksLayer 6: Bidirectional GDN blocksLayer 7: Bidirectional GDN blocksLayer 8: Block attention layersLayer 9: Bidirectional GDN blocksLayer 10: Bidirectional GDN blocksLayer 11: Bidirectional GDN blocksLayer 12: Block attention layersLayer 13: Bidirectional GDN blocksLayer 14: Bidirectional GDN blocksLayer 15: Bidirectional GDN blocksLayer 16: Block attention layersLayer 17: Bidirectional GDN blocksLayer 18: Bidirectional GDN blocksLayer 19: Bidirectional GDN blocksLayer 20: Block attention layersLayer 21: Bidirectional GDN blocksLayer 22: Bidirectional GDN blocksLayer 23: Bidirectional GDN blocksLayer 24: Block attention layersLayer 25: Bidirectional GDN blocksLayer 26: Bidirectional GDN blocksLayer 27: Bidirectional GDN blocksLayer 28: Block attention layersLayer 29: Bidirectional GDN blocksLayer 30: Bidirectional GDN blocksLayer 31: Bidirectional GDN blocksLayer 32: Block attention layersLayer 33: Bidirectional GDN blocksLayer 34: Bidirectional GDN blocksLayer 35: Bidirectional GDN blocksLayer 36: Block attention layersLayer 37: Bidirectional GDN blocksLayer 38: Bidirectional GDN blocksLayer 39: Bidirectional GDN blocksLayer 40: Block attention layersBidirectional GDN blocks · matches this colour in the execution-order barBidirectional GDN blocksBidirectional GDN blocks · 30 repetitions30 layers · one layer shown30RMSNorm before this operation.RMSNormBidirectional GDN: 16 key heads and 32 value heads, each 128 wide. A memory readout competes with block tokens in one softmax; independent right convolution exposes future block positions. Eight of 256 experts plus one shared expert, each 512 wide.Bidirectional GDNAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: 16 key heads and 32 value heads, each 128 wide. A memory readout competes with block tokens in one softmax; independent right convolution exposes future block positions. Eight of 256 experts plus one shared expert, each 512 wide.MoE8 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +8 of 256 experts + 1sharedLayer type · execution order aboveBlock attention layers · matches this colour in the execution-order barBlock attention layersBlock attention layers · 10 repetitions10 layers · one layer shown10RMSNorm before this operation.RMSNormBlock GQA: Full access to the causal prefix and bidirectional current block, followed by the same expert network.Block GQARotate query and key position components before attention scores; values are unchanged. Full access to the causal prefix and bidirectional current block, followed by the same expert network.Partial RoPE30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Output gate30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.BidirectionalAdd the branch output to the original stream. +RMSNorm before this operation.RMSNormMoE: Full access to the causal prefix and bidirectional current block, followed by the same expert network.MoE8 of 256 routed experts selected per token. Highlighted boxes are schematic; boxes do not correspond one-to-one to experts. 1 shared experts run for every token.Add the branch output to the original stream. +8 of 256 experts + 1sharedLayer type · execution order aboveAfter all 40 layer executionsResidual streamCL2,048Final RMSNormA separate learned vocabulary projection.Output weights2,048248,320Vocabulary scoresSoftmax248,320CLProbabilities at each canvas positionRepeated block previews · Fill positions by confidenceDenoising loop · Repeated block previews
Inside linear attention · Bidirectional GDN blocks
32 state heads · 16 Q/K heads.

Earlier context dimmed · current token bright · dashed path carries state to the next step.

Clover 35B-A3B Preview: Bidirectional GDN blocks · linear attention30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels. Denoising previews read clean prefix state without mutating it. A completed block is replayed causally before its recurrent state and KV cache are persisted.Attention input. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLQ / K / V projections. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Q / K / V projectionsLeft + right conv. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Left + right convNormalise Q / K. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Normalise Q / KClean prefix state. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Clean prefix state128128Decayed readout. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Decayed readoutBlock + memory softmax. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Block + memory softmaxBlend block + memory. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Blend block + memoryRMSNorm × SiLU gate. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.RMSNorm × SiLU gateJoined heads. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.32Wo. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wo4,0962,048Attention output. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Inside grouped-query attention · Block attention layers
8 query heads per group × 2 K/V groups.

Earlier prompt dimmed · active canvas bright · dashed regions contain cached entries.

Clover 35B-A3B Preview: Block attention layers · grouped-query attention30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels. Denoising previews read clean prefix state without mutating it. A completed block is replayed causally before its recurrent state and KV cache are persisted.2 KV groups; the front face shows one representative.2 KV groups8 heads / group; the front face shows one representative.8 heads / groupAttention input. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier context is dimmed; outlined columns are current.Current token computation.Attention input2,048CLWq. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wq2,048256Wk. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wk2,048256Wv. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wv2,048256RMSNorm. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.RMSNormRoPE 64. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.RoPE 64RMSNorm. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.RMSNormRoPE 64. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.RoPE 64K cache. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.K cache256CLV cache. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier columns are cached; outlined columns are newly computed.Cached positions from earlier decoding steps.Current token computation.V cache256CLQ context. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier context is dimmed; outlined columns are current.Current token computation.Q context256CLScaled query–key scores, masking and softmax. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.CLCL×. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.×Wg. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wg2,048256σ. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.σ×. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.×Joined heads. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.16Wo. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Wo4,0962,048Attention output. 30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.Earlier context is dimmed; outlined columns are current.Current token computation.Attention output2,048CL
Model-specific details
Bidirectional GDN blocks · 30 repetitions
16 key heads and 32 value heads, each 128 wide. A memory readout competes with block tokens in one softmax; independent right convolution exposes future block positions. Eight of 256 experts plus one shared expert, each 512 wide.
Block attention layers · 10 repetitions
Full access to the causal prefix and bidirectional current block, followed by the same expert network.
Attention and positions
30 bidirectional GDN blocks alternate with ten full-attention blocks. GDN combines committed recurrent memory with bidirectional within-block softmax and an independent right convolution. Full attention has 16 query heads, two KV heads of width 256 and 64 rotary channels.
Memory
Denoising previews read clean prefix state without mutating it. A completed block is replayed causally before its recurrent state and KV cache are persisted.
How a block is writtenHow a block is written. Steps: Read clean prefix, Preview the block, Fill positions, Commit. Repeated block previews Stop on the end token or generation limit.How a block is writtenRead clean prefixReuse committed recurrent state and KV cacheswithout changing them.Preview the blockBidirectional GDN and full attention exchangeinformation within the current block.Fill positionsPredict same-position tokens, acceptingpositions by confidence.CommitReplay the completed block causally to persistclean state, then start the next block.Repeated block previewsStop on the end token or generation limit.
What to notice: the network is the same stack of layers drawn above. What makes this diffusion is the loop around it: the whole block is predicted, the confident tokens are kept, and the rest go round again.

Preview first, commit later

Every fourth block uses full attention. The other blocks adapt Gated DeltaNet for parallel denoising: committed memory and current-block tokens compete in the same softmax. A separate convolution branch reads right-hand neighbours. Only completed blocks update persistent generation state.

How it scores

Developer reported

Checkpoint / sizeResultEvaluation
Clover-35B-A3B-Preview83.8%GPQA Diamond DiffuSpace Clover launch runPublisher reported; full evaluation recipe not stated in launch table
Clover-35B-A3B-Preview73.6%SWE-bench Verified DiffuSpace Clover launch runPublisher reported; harness not stated in launch table
Clover-35B-A3B-Preview51.7%Terminal-Bench 2.1 · DiffuSpace Clover launchPublisher reported; harness not stated in launch table

Explore the components

Sources for this map