Abstract
Liquid AI presents LFM2, a second-generation family of Liquid Foundation Models ranging from 350M to 8.3B parameters. LFM2 is designed for "edge-first" deployment, addressing the critical gap between massive cloud-based models and the practical constraints of mobile devices. By employing a hardware-aware hybrid architecture that integrates gated convolutions with sparse attention, LFM2 achieves significant latency improvements—up to 2x speedups on mobile CPUs—while maintaining state-of-the-art performance on reasoning and instruction-following benchmarks.
Introduction
The current AI landscape is dominated by large-scale models requiring substantial GPU resources. However, a significant need exists for high-performance models capable of running locally on commodity hardware like smartphones and laptops. On-device deployment is hindered by strict memory limits, latency requirements for real-time interaction, and energy efficiency needs. LFM2 addresses these "hard constraints" through a co-design of model architecture, training pipelines, and deployment stacks optimized for mobile SoCs.
Architecture and Methods
The core innovation of LFM2 is its minimal hybrid backbone. Traditional transformer architectures rely heavily on global attention, which incurs a high "attention tax" due to KV cache memory overhead. LFM2 replaces the majority of these layers with Gated Short Convolutions, which handle local token mixing efficiently on CPU architectures.
To maintain long-range reasoning, LFM2 interleaves a small number of Sparse Grouped Query Attention (GQA) blocks. This hybrid approach allows for a 32K context window even on memory-constrained devices. For the larger 8B variant, a Mixture-of-Experts (MoE) block is utilized to provide high-capacity reasoning with the inference cost of a much smaller model.
Model Configurations
The LFM2 family includes several scales tailored for different target devices, as detailed in the table below.
Training Innovations
LFM2 models benefit from Decoupled Top-K Distillation, a novel objective that stabilizes training when distilling knowledge from larger teachers (e.g., LFM1-7B) by separating token membership from relative probability distribution. Additionally, a Curriculum Learning strategy was employed, ordering training data by difficulty to improve the mastery of complex reasoning patterns.
Multimodal Capabilities
LFM2 extends its efficient backbone into the multimodal domain:
- LFM2-VL: A vision-language model utilizing a SigLIP2 encoder.
- LFM2-Audio: A low-latency speech-to-speech model that separates continuous audio input from discrete output.
Results and Performance
LFM2 demonstrates superior efficiency and quality:
- Throughput: LFM2-2.6B is approximately 2x faster in prefill and decode on a Samsung Galaxy S25 compared to Llama-3.2-3B.
- Benchmarks: LFM2-2.6B achieves 79.56% on IFEval (instruction following) and 82.41% on GSM8K (math), outperforming significantly larger competitors.
- MoE Efficiency: The LFM2-8B-A1B model provides 3–4B class quality while maintaining the inference footprint of a 1.5B active parameter model.
Conclusion and Future Work
LFM2 represents a significant step toward ubiquitous on-device intelligence. While current models show exceptional efficiency, future work will focus on expanding multimodal grounding, increasing audio language diversity, and further optimizing for a broader range of hardware architectures.
Summary updated