The Rabbit Hole / AI / Model architectures
Liquid AI · Architecture mapLFM3
One tri-hybrid backbone for text, vision, audio, omni and typed decisions: seven-token convolutions, local attention and global attention.
LFM3, 2026-10-27 · LFM release timeline
Inside LFM3
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- Six global layers keep full-prefix KV; five local layers keep 256-token KV windows. Thirteen convolution layers keep fixed-width seven-token buffers.
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- Six global layers keep full-prefix KV; five local layers keep 256-token KV windows. Thirteen convolution layers keep fixed-width seven-token buffers.
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- Six global layers keep full-prefix KV; five local layers keep 256-token KV windows. Thirteen convolution layers keep fixed-width seven-token buffers.
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- Six global layers keep full-prefix KV; five local layers keep 256-token KV windows. Thirteen convolution layers keep fixed-width seven-token buffers.
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- One-pass typed decisions over a shared state and question set; no generated tokens.
Inside grouped-query attention · Sliding-window layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Inside grouped-query attention · Global layers
Earlier context dimmed · current token bright · dashed regions contain cached entries.
Model-specific details
- Short-convolution layers · 13 repetitions
- Short-convolution layers.
- Sliding-window layers · 5 repetitions
- Sliding-window layers.
- Global layers · 6 repetitions
- Global layers.
- Attention and positions
- 16 query heads share four KV heads, width 128. Head-wise Q/K RMSNorm precedes RoPE. A learned sigmoid gate scales each output head. Local layers rotate all coordinates; global layers rotate 64 of 128. Short convolutions use a seven-token kernel.
- Memory
- One-pass typed decisions over a shared state and question set; no generated tokens.
One backbone, different inputs and outputs
- All six variants share 24 language layers: 13 seven-token gated convolutions, five 256-token attention windows and six global attention layers.
- The vision variants add a 14-layer convolution/attention encoder and a projector. Audio variants add a causal audio encoder; Omni combines both paths.
- Audio and Omni can return speech through a depthformer and LiquidCodec. The d1 variants instead read typed answers and calibrated probabilities in one pass, without generating speech or text.
Text supports 262,144 positions; Vision and d1 use 128,000-token windows. The Audio and Omni model cards specify 32K, below their trunk configuration’s limit. The picker uses those card limits.
The base text checkpoint and quantised releases share these layouts. All weights use LFM Open License v1.0.
How it scores
Developer reported
| Checkpoint / size | Result | Evaluation |
|---|---|---|
| LFM3-1.7BText 1.7B | 63.37% | GPQA Diamond Liquid LFM3 launch runLiquid AI BF16 run; temperature 0.6, top_p 0.95; full model context |
| LFM3-1.7BText 1.7B | 43.4% | SWE-bench Verified Liquid LFM3 launch · OpenCodeLiquid AI OpenCode run; up to 250 turns |
| LFM3-1.7BText 1.7B | 71.39% | BFCL 4 · Liquid LFM3 launchLiquid AI BF16 run; greedy, up to 32768 output tokens |
| d1-2Bd1 2B | 51.1 | AA Index 4.3.2Liquid AI evaluation; shared d1 comparison items and scoring |
| d1-Omni-2Bd1 Omni 2B | 49 | AA Index 4.3.2Liquid AI evaluation; shared d1 comparison items and scoring |
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
- Short convolution: what if a layer only mixed nearby tokens?
- Hybrid attention and SSM models: different kinds of memory
- Grouped-query attention (GQA): sharing keys and values in groups
- Sliding-window attention (SWA): a cache that stops growing
- Attention gating: should this head add anything?
- QK normalisation (QK-Norm) and soft-capping
- Partial RoPE: rotating only part of each head
- Transformer layers: attention is only half of what you need
- Vision encoders: how can image patches join the text?
- Audio inputs: how can a language model listen?
- Decision modelscoming soonRead probabilities for named options in a single forward pass and return a choice, rating or yes/no answer.
- Attention, from scratch
- The KV cache: why LLMs remember every key and value
- RoPE: position as a rotation
Sources for this map
- LiquidAI/LFM3-1.7B released config
- LiquidAI/LFM3-1.7B model card
- LiquidAI/LFM3-VL-2B released config
- LiquidAI/LFM3-VL-2B model card
- LiquidAI/LFM3-Audio-2B released config
- LiquidAI/LFM3-Audio-2B model card
- LiquidAI/LFM3-Omni-2B released config
- LiquidAI/LFM3-Omni-2B model card
- LiquidAI/d1-2B released config
- LiquidAI/d1-2B model card
- LiquidAI/d1-Omni-2B released config
- LiquidAI/d1-Omni-2B model card
- LFM3 official launch
- Released language implementation: gates, norms, convolution and RoPE