The Rabbit Hole / AI / Model architectures
OpenBMB · Architecture mapMiniCPM-V 4.7
A compact vision path feeds Qwen3.5-style DeltaNet and attention layers; choose a dense 1B or MoE 35B-A3B backbone.
MiniCPM-V 4.7, 2026-10-12 · MiniCPM release timeline
Inside MiniCPM-V 4.7
Inside linear attention · DeltaNet layers
Earlier context dimmed · current token bright · dashed path carries state to the next step.
Inside grouped-query attention · Attention layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- DeltaNet layers · 30 repetitions
- DeltaNet layers.
- Attention layers · 10 repetitions
- Attention layers.
- Attention and positions
- 16 query heads share 2 KV heads of width 256; a coordinate-wise sigmoid gate scales attention outputs. A quarter of each Q/K head uses multimodal RoPE. DeltaNet has 32 value heads sharing 16 key patterns, with 128 × 128 states and a four-token Q/K/V convolution.
- Memory
- Only the full-attention layers store token KV pairs. DeltaNet layers keep fixed recurrent states and short convolution buffers.
Inside linear attention · DeltaNet layers
Earlier context dimmed · current token bright · dashed path carries state to the next step.
Inside grouped-query attention · Attention layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- DeltaNet layers · 18 repetitions
- DeltaNet layers.
- Attention layers · 6 repetitions
- Attention layers.
- Attention and positions
- 8 query heads share 2 KV heads of width 256; a coordinate-wise sigmoid gate scales attention outputs. A quarter of each Q/K head uses multimodal RoPE. DeltaNet has 16 value heads sharing 16 key patterns, with 128 × 128 states and a four-token Q/K/V convolution.
- Memory
- Only the full-attention layers store token KV pairs. DeltaNet layers keep fixed recurrent states and short convolution buffers.
What changes between the two sizes
- Three DeltaNet layers precede each full-attention layer: 30 + 10 layers in 35B-A3B, 18 + 6 in 1B.
- 35B-A3B selects eight of 256 routed experts plus a shared expert. The 1B backbone uses a dense SwiGLU network.
- Both add a 27-layer vision encoder and support 4× or 16× visual downsampling. Canvas M-RoPE preserves where image slices belong and when video frames occur.
The released text configurations allow 262,144 positions. Vision and speculative-decoding parameters sit outside the language backbone counts.
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
- Hybrid attention and SSM models: different kinds of memory
- Grouped-query attention (GQA): sharing keys and values in groups
- Attention gating: should this head add anything?
- QK normalisation (QK-Norm) and soft-capping
- Partial RoPE: rotating only part of each head
- Mixture of experts (MoE): a big model that uses only part of itself
- Vision encoders: how can image patches join the text?
- Transformer layers: attention is only half of what you need
- 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