arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2512.12602cs.LG
收藏

精确流线性注意力:从连续时间动态中获得精确解

Exact Flow Linear Attention: Exact Solution from Continuous-Time Dynamics

Nanyang Technological University(南洋理工大学);Fudan University(复旦大学)

Jingdi Lei, Di Zhang, Soujanya Poria

AI总结:

本文提出EFLA,通过连续时间动态的精确闭式流替代delta规则线性注意力的一阶更新,保持其代数结构和效率,提升稳定性和性能。

摘要:

在本文中,我们引入了Exact Flow Linear Attention(EFLA),即delta规则线性注意力的精确流形式。我们展示了delta规则更新可以被解释为底层连续时间系统的显式欧拉离散化。EFLA用精确闭式流替代这一一阶更新。通过利用动态矩阵的秩-1结构,矩阵指数和输入积分都简化为简单的更新,保持delta规则线性注意力的代数结构、参数数量、线性时间复杂度和分块并行性。这种注意力机制在不引入额外参数的情况下消除了delta规则动态的欧拉离散化误差。在鲁棒性测试、语言建模基准和MAD合成基准上的实验表明,EFLA在受扰和高能输入下更加稳定,降低了困惑度,并在下游任务中表现优于SSM和欧拉式基线。这些结果确立了精确流整合作为delta规则线性注意力的原理化和可扩展的更新机制。

英文摘要:

In this paper, we introduce Exact Flow Linear Attention~(EFLA), an exact-flow formulation of delta-rule linear attention. We show that the delta-rule update can be interpreted as an explicit Euler discretization of an underlying continuous-time system. EFLA replaces this first-order update with the exact closed-form flow. By exploiting the rank-1 structure of the dynamics matrix, both the matrix exponential and the input integral collapse to a simple update that preserves delta-rule linear attention's algebraic structure, parameter count, linear-time complexity, and chunkwise parallelism. This attention mechanism removes the Euler discretization error of the delta-rule dynamics without introducing additional parameters. Experiments on robustness tests, language modeling benchmarks, and the MAD synthetic benchmark show that EFLA improves stability under corrupted and high-energy inputs, reduces perplexity, and achieves stronger downstream performance compared to SSM and Euler-style baselines. These results establish exact-flow integration as a principled and scalable update mechanism for delta-rule linear attention.

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

↑