Liquid AI LFM3 Deep Dive: Inside the Tri-Hybrid Architecture Powering Six 2B Edge Models


In a robotics laboratory evaluation accompanying the release, an industrial robotic arm equipped with an embedded Jetson AGX Orin processor observes a messy tabletop environment through an RGB camera. Using a specialized Vision-Language-Action (VLA) adaptation of a 2-billion-parameter foundation model, the robotic controller detects target objects by pointing, calculates relative depth dimensions, plans collision-free motion paths, and outputs continuous 8-step motor trajectory chunks in under 50 milliseconds.
Evaluated across 15 physical embodiments, the compact controller achieved a 96.2% success rate across four LIBERO benchmark suites and 45.7% on RoboCasa-GR1 tabletop tasks—performance historically reserved for 10B+ server-grade models.
Announced on October 27, 2026, by Liquid AI, LFM3 marks a major architectural leap for on-device artificial intelligence. Rather than training separate monolithic models for text, vision, speech, and structured classification, Liquid AI developed a single, highly expressive 24-layer tri-hybrid base—LFM3-1.7B-Base—and branched it into six specialized 2B-class open-weight models spanning text generation, video-capable vision, full-duplex audio, omni-modal understanding, and calibrated probability decisions.
Founded by MIT roboticists and computer scientists Ramin Hasani, Mathias Lechner, Alexander Amini, Radu Grosu, and Daniela Rus, Liquid AI has demonstrated that disciplined hardware-in-the-loop architecture search and hybrid operators can deliver frontier-grade domain capabilities within a 1 GB memory footprint.
Model Vitals & Technical Specifications
| Specification | Detail | Verification / Sourcing |
|---|---|---|
| Developer | Liquid AI (in partnership with Hugging Face) | Official release blog and model cards |
| Research Leads | Ramin Hasani, Mathias Lechner, Alexander Amini | Liquid AI co-founding research team |
| Shared Base Backbone | LFM3-1.7B-Base (1.73 Billion Parameters; 24 Layers) | Open checkpoint on Hugging Face Hub |
| Architecture Type | Tri-Hybrid (Gated Convolutions + SWA + Global Attention) | Hardware-in-the-loop automated neural search |
| Model Variants (6 Total) | LFM3-1.7B, LFM3-VL-2B, LFM3-Audio-2B, LFM3-Omni-2B, d1-2B, d1-omni-2B | Dedicated modality adapters over single base |
| Context Window | 256,000 tokens (256K on text model; 128K vocabulary) | Native long-context RoPE scaling |
| Training Volume | 22 Trillion tokens total (including 3.5T agentic mid-training) | Multimodal pre-training corpus |
| Serving Requirements | Fits in ~1 GB VRAM at 4-bit precision | Native support for llama.cpp, MLX, vLLM |
| Hardware Targets | Apple M4 Max, Qualcomm Hexagon NPU, Jetson AGX Orin, NVIDIA B300 | 14 profiled edge and cloud backends |
| Release Date | October 27, 2026 | Hugging Face collection launch |
| License | LFM Open License v1.0 | Open-weight commercial permissive terms |
The Tri-Hybrid Backbone: Gated Convolutions, SWA, and Partial RoPE
Standard transformer architectures suffer from quadratic computational scaling ($O(N^2)$) as prompt lengths expand, making long-context inference compute-prohibitive on edge devices. While pure linear attention or state-space models (SSMs) scale linearly, they historically compromise on associative memory and precision retrieval.
To resolve this trade-off, Liquid AI developed a 24-layer tri-hybrid block structure optimized through automated hardware-in-the-loop search across 14 edge and server backends:
┌────────────────────────────────────────────────────────────────────────┐
│ LFM3-1.7B-Base Tri-Hybrid Layer Pipeline │
├────────────────────────────────────────────────────────────────────────┤
│ 13 Gated Short Convolutions (Kernel Size 7) │
│ • Local token mixing with O(1) memory; 25% faster at 8K context │
├────────────────────────────────────────────────────────────────────────┤
│ 5 Sliding-Window Attention (SWA) Layers (Window: 256 Tokens) │
│ • Captures local syntax with full Rotary Position Embeddings (RoPE) │
├────────────────────────────────────────────────────────────────────────┤
│ 6 Global Attention Layers (Partial RoPE + Head-Wise Gated Attention) │
│ • Long-range associative retrieval; rotates only high-frequency half │
├────────────────────────────────────────────────────────────────────────┤
│ Sandwich Normalization │
│ • Dual input/output layer normalization suppresses quantization drift │
└────────────────────────────────────────────────────────────────────────┘
The tri-hybrid backbone introduces four critical mathematical innovations:
- Extended Kernel Convolutions: Gated short convolutions expanded from kernel size 3 (in LFM2) to kernel size 7, doubling local receptive fields without increasing memory bandwidth.
- Head-Wise Gated Attention: A dedicated sigmoid gate modulates the output of each attention head. Inactive heads can completely deactivate, eliminating the activation outliers that typically break 4-bit and 8-bit integer quantization.
- Partial RoPE Rotation: In global attention layers, rotary position embeddings are applied to only the highest-frequency 50% of head dimensions. The remaining 50% perform distance-invariant semantic matching across long sequences.
- Sandwich Normalization: Each residual block applies normalization at both input and output boundaries, stabilizing gradients across a 22-trillion-token pre-training run.
One Backbone for Six Specialized Modalities
Rather than forcing developers to deploy massive omnimodal generalists for narrow tasks, Liquid AI used LFM3-1.7B-Base as a common progenitor for six dedicated models:
| Model Name | Input Modalities | Output Modalities | Primary Architectural Additions | Key Benchmark Score |
|---|---|---|---|---|
| LFM3-1.7B | Text | Text | Standard text post-training; 256K context | WebArena-Verified: 38.42 (vs. 3.02 for LFM2.5) |
| LFM3-VL-2B | Text, Image, Video | Text | In-house 164M vision encoder (temporal frame slicing) | 62-Benchmark Vision Avg: 71.4 (matches Gemma 4 12B) |
| LFM3-Audio-2B | Text, Audio | Text, Speech | Causal audio encoder + LiquidCodec (87x real-time) | UTMOSv2: 3.83; 50ms Time-to-First-Token |
| LFM3-Omni-2B | Text, Image, Video, Audio | Text, Speech | Unified vision & audio encoders + speech decoder | Outperforms Qwen2.5-Omni-7B on Daily-Omni |
| d1-2B | Text, Image, Video | Calibrated Probabilities | Structured non-generative classification head | ImajevBench: 75.5 (vs. 64.0 for d1-3B) |
| d1-omni-2B | Text, Image, Video, Audio | Calibrated Probabilities | Spoken & visual probability evaluation | Multimodal zero-shot triage accuracy |
1. In-House 164M Vision Encoder
In place of standard SigLIP2 vision encoders, Liquid AI introduced a 164-million-parameter hybrid encoder combining convolutional pooling with attention. For video inputs, the encoder embeds adjacent frame pairs into single temporal slices, cutting visual token sequence lengths in half while matching Qwen3.5-2B's vision accuracy with 2.2-fold fewer floating-point operations.
2. Causal Audio & LiquidCodec
LFM3-Audio-2B and LFM3-Omni-2B achieve full-duplex interactivity by making audio encoders strictly causal. The model streams prefill computations while the user speaks, achieving a first-token response latency of 50 milliseconds. Output tokens stream directly into LiquidCodec—a neural audio tokenizer generating 24 kHz speech at 87 times real time on a single CPU thread of an Apple M4 Max.
The d1 Decision Paradigm: Structured Answers Without Text Generation
For enterprise triage, customer support routing, and fraud detection, generating conversational paragraphs introduces unwanted latency, token costs, and parsing failures.
With d1-2B and d1-omni-2B, Liquid AI updated its non-generative decision architecture:
- Single Forward Pass: The model evaluates multiple complex questions simultaneously across text, images, or audio in a single inference pass.
- Calibrated Numerical Confidence: Rather than parsing vague phrases like "I am confident," d1 returns exact probability distributions (
P(yes) ∈ [0.0, 1.0]). - Expanded Output Typology: d1 can output categorical choices, bounding-box coordinate points, continuous numeric ranges, and multi-label selections simultaneously without token generation overhead.
Developer Deployment: Hugging Face & Colab Workflows
All six models are available immediately on Hugging Face under the LFM Open License v1.0, with companion Google Colab notebooks for single-GPU fine-tuning:
1. Running Multimodal Vision-Language Generation
import torch
from transformers import AutoModelForImageTextToText, AutoProcessor
model_id = "LiquidAI/LFM3-VL-2B"
model = AutoModelForImageTextToText.from_pretrained(
model_id,
torch_dtype=torch.bfloat16,
device_map="auto",
trust_remote_code=True
)
processor = AutoProcessor.from_pretrained(model_id, trust_remote_code=True)
messages = [
{
"role": "user",
"content": [
{"type": "video", "path": "assembly_line_inspection.mp4"},
{"type": "text", "text": "Locate any misaligned circuit components and output their bounding boxes."}
]
}
]
inputs = processor.apply_chat_template(
messages,
add_generation_prompt=True,
tokenize=True,
return_tensors="pt"
).to(model.device)
with torch.inference_mode():
outputs = model.generate(**inputs, max_new_tokens=4096, temperature=0.1)
print(processor.batch_decode(outputs, skip_special_tokens=True)[0])
2. High-Speed Decision Triage with d1-2B
import torch
from transformers import AutoModel
model = AutoModel.from_pretrained("LiquidAI/d1-2B", trust_remote_code=True, torch_dtype=torch.bfloat16).cuda()
questions = {
"refund_request": {"type": "bool", "instructions": "Is the user requesting a financial refund?"},
"urgency": {"type": "score", "instructions": "Rate inquiry urgency", "criteria": ["low", "medium", "critical"]},
"department": {"type": "choice", "instructions": "Route inquiry", "criteria": {"billing": "Invoices/charges", "tech": "Bugs/outages"}}
}
results = model.system_one("My server instance crashed during migration and I was billed twice.", questions)
print(results["answers"])
Industry Outlook: Modular On-Device Intelligence
LFM3 provides a compelling blueprint for the next phase of open-weight artificial intelligence. While closed frontier labs focus on scaling data center superclusters, enterprise reality often demands private, on-premises execution within strict energy and hardware constraints.
By delivering six modular, single-GPU-trainable checkpoints that compress to 1 GB while matching 12B baselines, Liquid AI has established a formidable edge foundation for robotics, consumer devices, and localized enterprise agents.


