论文精选

Express 语言建模:高效因果注意力近似工具

Express Language Modeling

精选理由

做长上下文语言模型推理优化的团队,Express 能同时提升预填充和解码效率,值得直接集成到现有流水线中。

研究人员提出了一种名为 Express 的新工具,能将非因果注意力近似转换为因果注意力近似,并保持相同的近似保证。

正文

结合最先进的 Thinformer 近似,Express 在因果注意力上实现了已知最佳近似误差,仅需 O(s) 内存和 O(s² log²(n)) 压缩开销。该工具通过高效的 I/O 感知 Triton 实现,在长上下文预填充、KV 缓存压缩、长序列解码等场景中显著超越 FlashAttention 2。

这解决了语言模型在长序列处理中的四个关键资源瓶颈。

原文 · arXiv cs.LG

Express Language Modeling

We introduce a new tool, Express, for converting a non-causal attention approximation into a causal approximation with matching approximation guarantees. When combined with the state-of-the-art Thinformer approximation, Express improves upon the best known causal attention guarantees, delivering $\log^{3/2}(n)/s$ approximation error with only $O(s)$ memory and $O(s^2 \log^2(n))$ compression overhead for a sequence of length $n$. We pair these developments with an efficient I/O-aware Triton implementation, demonstrate substantial speedups over FlashAttention 2, and use Express to overcome four resource bottlenecks in the language modeling pipeline: long-context prefill, KV cache compression, long-form memory-constrained decoding, and long-form compute-constrained decoding.

产业坐标与信源核验

本条情报归属 AITOP「论文」核心追踪栏目。涉及核心实体与技术议题包括:注意力近似、因果注意力、长上下文、KV缓存压缩,读者可通过下方标签进入对应专题页查阅历史脉络与关联对比。

信源核验说明:本文原始线索采编自「arXiv cs.LG」(@Albert Gong, Annabelle Michael Carrell, Raaz Dwivedi, Lester Mackey),经 AITOP 多维评分管线结构化提炼。

发现摘要或翻译有误? 告诉我们