arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2511.23404cs.LGcs.AI
收藏

LFM2 技术报告

LFM2 Technical Report

Liquid AI
Alexander Amini, Anna Banaszak, Harold Benoit, Arthur Böök, Tarek Dakhran, Song Duong, Alfred Eng, Fernando Fernandes, Marc Härkönen, Anne Harrington, Ramin Has… 展开作者

Alexander Amini, Anna Banaszak, Harold Benoit, Arthur Böök, Tarek Dakhran, Song Duong, Alfred Eng, Fernando Fernandes, Marc Härkönen, Anne Harrington, Ramin Hasani, Saniya Karwa, Yuri Khrustalev, Maxime Labonne, Mathias Lechner, Valentine Lechner, Simon Lee, Zetian Li, Noel Loo, Jacob Marks, Edoardo Mosca, Samuel J. Paech, Paul Pak, Rom N. Parnichkun, Alex Quach, Ryan Rogers, Daniela Rus, Nayan Saxena, Bettina Schlager, Tim Seyde, Jimmy T. H. Smith, Aditya Tadimeti, Neehal Tumma

AI总结:

LFM2 是一种高效部署且具备强大任务能力的液体基础模型家族,通过紧凑的混合主干和优化训练流程,在多种基准测试中表现出色,支持多模态和检索变体。

摘要:

我们提出了 LFM2,一种为高效设备部署和强大任务能力设计的液体基础模型家族。通过在边缘延迟和内存约束下的硬件在环架构搜索,我们获得了一个紧凑的混合主干,结合了门控短卷积与少量分组查询注意块,使在 CPU 上的预填充和解码速度比同样规模的模型快多达 2 倍。LFM2 家族涵盖 350M-8.3B 参数,包括密集模型(350M、700M、1.2B、2.6B)和专家混合变体(8.3B 总计,1.5B 活跃),所有均支持 32K 上下文长度。LFM2 的训练流程包括一个受温度影响、解耦的 Top-K 知识蒸馏目标,以避免支持不匹配;按难度排序的数据课程学习;以及三个阶段的后训练配方:监督微调、长度归一化的偏好优化和模型合并。在 10-12T 令牌上预训练后,LFM2 模型在多样化的基准测试中表现优异;例如,LFM2-2.6B 在 IFEval 上达到 79.56%,在 GSM8K 上达到 82.41%。我们进一步构建了多模态和检索变体:LFM2-VL 用于视觉-语言任务,LFM2-Audio 用于语音,以及 LFM2-ColBERT 用于检索。LFM2-VL 通过令牌高效的视觉处理支持可调节的准确率-延迟权衡,而 LFM2-Audio 分离音频输入和输出路径,以实现与 3 倍大模型相媲美的实时语音-语音交互。LFM2-ColBERT 提供一个低延迟的查询和文档编码器,使在多种语言上实现高性能检索。所有模型均以开放权重和部署包发布,适用于 ExecuTorch、llama.cpp 和 vLLM,使 LFM2 成为一种实用的边缘应用基础模型,能够满足快速、内存高效推理和强大任务能力的需求。

英文摘要:

We present LFM2, a family of Liquid Foundation Models designed for efficient on-device deployment and strong task capabilities. Using hardware-in-the-loop architecture search under edge latency and memory constraints, we obtain a compact hybrid backbone that combines gated short convolutions with a small number of grouped query attention blocks, delivering up to 2x faster prefill and decode on CPUs compared to similarly sized models. The LFM2 family covers 350M-8.3B parameters, including dense models (350M, 700M, 1.2B, 2.6B) and a mixture-of-experts variant (8.3B total, 1.5B active), all with 32K context length. LFM2's training pipeline includes a tempered, decoupled Top-K knowledge distillation objective that avoids support mismatch; curriculum learning with difficulty-ordered data; and a three-stage post-training recipe of supervised fine-tuning, length-normalized preference optimization, and model merging. Pre-trained on 10-12T tokens, LFM2 models achieve strong results across diverse benchmarks; for example, LFM2-2.6B reaches 79.56% on IFEval and 82.41% on GSM8K. We further build multimodal and retrieval variants: LFM2-VL for vision-language tasks, LFM2-Audio for speech, and LFM2-ColBERT for retrieval. LFM2-VL supports tunable accuracy-latency tradeoffs via token-efficient visual processing, while LFM2-Audio separates audio input and output pathways to enable real-time speech-to-speech interaction competitive with models 3x larger. LFM2-ColBERT provides a low-latency encoder for queries and documents, enabling high-performance retrieval across multiple languages. All models are released with open weights and deployment packages for ExecuTorch, llama.cpp, and vLLM, making LFM2 a practical base for edge applications that need fast, memory-efficient inference and strong task capabilities.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑