Liquid AI explains on-device small model design: antidoom training cuts doom loops from ~10% to 1% in LFM2.5
helloiamleonie · x · 2026-09-25
A detailed thread by a Liquid AI researcher on how the LFM2 family of on-device models (LFM2.5-350M to 2.6B) is built.
- Three constraints: memory (4GB usable on an iPhone 8GB device, must fit weights + KV cache), speed (agentic workflows involve many tool calls and reasoning steps), and quality.
- Architecture: efficiency must be designed from the ground up. Small models mix full-attention layers with efficient layers; since theoretical layer gains differ from real-world ones, they profile on target hardware and landed on grouped query attention combined with gated short conv layers.
- Embedding problem: large-vocab tokenizers bloat small models' embedding layers, shrinking effective parameter count, so they minimize the embedding layer.
- Post-training: modern recipe = SFT → RL plus on-policy distillation and agentic RL.
- Antidoom training: to fix doom loops (10%) in small reasoning models, they detect the loop, find the triggering token, reject/downsample it, and upsample alternatives — reducing doom loops to 1% in LFM2.5-2.6B. Also a nice complement to the sparse-reward problem in RLVR.
Related event: Liquid AI Releases LFM2.5-2.6B and Details Its On-Device Training Recipe(10 posts)→
More from Models
- Google criticized for locking $20 Workspace AI subscribers to outdated Gemini models — thedealdirector · 2026-09-25
- Google's $20 Workspace AI add-on slammed for leaving enterprise Gemini stuck on old Flash model — thedealdirector · 2026-09-25
- Hands-on with StepFun Step-5-Preview: rock-solid agent loops, weak on 3D and aesthetics — karminski3 · 2026-09-25
- Claude Opus 5.5 scores 31.2% on WeirdML v3, trailing GPT 6 Astra's 42.2% — scaling01 · 2026-09-25
- Sora API shuts down today with no replacement from OpenAI — VraserX · 2026-09-25
- 'LLMs will eventually write assembly' — Greg Mushen finally saw an example that convinced him — gregmushen · 2026-09-25