HuggingFace Daily Papers·· 1 天前
Lafa:8B 参数的大型流语言模型,吞吐量达自回归模型 2.54 倍
Large Flow Language Models
AI 导读
研究者提出 Lafa(Large flow language model),一种可扩展至 8B 参数的分块流语言模型,前缀用因果注意力、块内为双向异步流。它以不到 30B token 训练出 0.5B、7B、8B 三个规模,在指令遵循、推理和编码上质量匹敌或超过自回归模型,并可蒸馏为 flow map 实现单步或少步生成。自推测解码方案让吞吐量达同等质量自回归模型的 2.54 倍。
正文 · 原文
Abstract:Continuous flow language models offer a path to parallel generation with tools for control and acceleration unavailable to discrete diffusion, yet effective techniques for building them at the billion-parameter scale remain less established. We present Lafa (Large flow language model), a fast, high-performing flow language model scaled to 8B parameters in a data-efficient manner. Lafa is a blockwise flow model with causal attention on the prefix and bidirectional, asynchronous flow within each block. This design enables efficient training by adapting pretrained autoregressive (AR) models and fast inference via prefix caching and blockwise parallel decoding. We train Lafa at 0.5B, 7B, and 8B scales with fewer than 30B tokens, more efficient than previous diffusion models, and evaluate it on instruction following, reasoning, and coding, where the learned flow matches or surpasses the quality of AR and can be distilled into flow maps for one- and few-step generation. Notably, flow training preserves or even improves pretrained AR capabilities via a multi-token prediction effect, which we leverage in a self-speculative decoding scheme that verifies flow-based drafts autoregressively within a single model. This yields 2.54x the throughput of an AR model at comparable quality, outperforming multi-token prediction and discrete diffusion methods. Our findings show that continuous flows can serve as a scalable foundation for language modeling.
| Comments: | Code available at: this https URL |
| Subjects: | Computation and Language (cs.CL); Artificial Intelligence (cs.AI) |
| Cite as: | arXiv:2610.28559 [cs.CL] |
| (or arXiv:2610.28559v1 [cs.CL] for this version) | |
| https://doi.org/10.48550/arXiv.2610.28559 arXiv-issued DOI via DataCite (pending registration) |
Submission history
From: Arnav Chavan [view email]
[v1]
Tue, 20 Oct 2026 17:20:29 UTC (878 KB)
来源:HuggingFace Daily Papers · arxiv.org