在本文中,我们引入了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.
Kernel Deformed Exponential Families for Sparse Continuous Attention
Georgia Institute of Technology(佐治亚理工学院);University of Michigan(密歇根大学)
注意力机制采用关于概率权重的数据表示的期望。这将创建侧重于重要功能的汇总统计信息。最近,(Martins et al. 2020,2021)提出了连续注意力机制,重点关注指数和变形指数家族的单峰注意力密度:后者具有稀疏支持。(Farinhas et al. 2021)将其扩展到使用高斯混合注意力密度,这是一个具有密集支持的灵活类。在本文中,我们扩展到两个一般的灵活类:核指数家庭和我们的新的稀疏对应核变形指数家庭。理论上,我们证明了核指数和变形指数族的新的存在性结果,并且变形的情况下具有类似的逼近能力的核指数族。实验表明,核变形指数族可以处理数据域的多个紧凑区域。
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);LUMLIS (Lisbon ELLIS Unit)(LUMLIS(里斯本ELLIS单元));Unbabel(Unbabel公司);Instituto de Sistemas e Robótica(系统与机器人研究所)
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);LUMLIS (Lisbon ELLIS Unit)(里斯本ELLIS单位(LUMLIS));Unbabel;Informatics Institute, University of Amsterdam(阿姆斯特丹大学信息学院);Instituto de Sistemas e Robótica(系统与机器人研究所)
Stochastic Clock Attention for Aligning Continuous and Ordered Sequences
Department of Physics Education, Seoul National University, Seoul 08826, Korea(物理教育系,首尔国立大学);Center for Theoretical Physics and Artificial Intelligence Institute, Seoul National University, Seoul 08826, Korea(理论物理与人工智能研究所,首尔国立大学);Artificial Intelligence Institute, Seoul National University, Seoul 08826, Korea(人工智能研究所,首尔国立大学);School of Computational Sciences, Korea Institute for Advanced Study, Seoul 02455, Korea(计算科学学院,韩国高级研究院)
Transformers Can Solve Non-Linear and Non-Markovian Filtering Problems in Continuous Time For Conditionally Gaussian Signals
Department of Mathematics, University of Oxford(牛津大学数学系);Oxford Man Institute for Quantitative Finance, University of Oxford(牛津大学牛津曼量化金融研究所);Department of Mathematics, McMaster University(麦克马斯特大学数学系);Vector Institute(向量研究所)
CTIA-ODE: Continuous-Time Inter-Variable Attention for Long-Term Time Series Forecasting
UGOD, HKUST-GZ(香港科技大学(广州));School of Software, Yunnan University(云南大学软件学院);UGOD, The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州))
Modern Hopfield Networks with Continuous-Time Memories
Instituto de Telecomunicações(电信研究所);Instituto Superior Técnico(高等技术学院);Universidade de Lisboa(里斯本大学);Champalimaud Research(尚帕利莫研究中心);Unbabel(昂巴贝尔公司);ELLIS Unit Lisbon(欧洲学习与智能系统研究所里斯本分部)
Multi-perspective Feedback-attention Coupling Model for Continuous-time Dynamic Graphs
College of Electronic and Information Engineering, Tongji University(同济大学电子与信息工程学院);School of Physics and Electronic-Electrical Engineering, Ningxia University(宁夏大学物理与电子电气工程学院);Faculty of Anesthesiology, Naval Medical University(海军军医大学麻醉学院)
Exact Fit Attention in Node-Holistic Graph Convolutional Network for Improved EEG-Based Driver Fatigue Detection
Minnan Normal University(闽南师范大学);Nanjing University of Chinese Medicine(南京中医药大学);Nanyang Technological University(南洋理工大学);Beijing University of Posts and Telecommunications(北京邮电大学);Zhengzhou University of Light Industry(郑州轻工业大学);Tsinghua University(清华大学);Eastern Institute of Technology(宁波工程学院);Ningbo Institute of Digital Twin(宁波数字孪生研究院);Xiamen University(厦门大学)
How Sparse Attention Approximates Exact Attention? Your Attention is Naturally $n^C$-Sparse
The University of Washington(华盛顿大学);Simons Institute for the Theory of Computing, University of California, Berkeley(加州大学伯克利分校西蒙斯理论计算研究所);The University of Hong Kong(香港大学);Sun Yat-sen University(中山大学)
Exact Conversion of In-Context Learning to Model Weights in Linearized-Attention Transformers
National University of Singapore(新加坡国立大学);Bioinformatics Institute, Agency for Science, Technology and Research (A*STAR)(新加坡科技研究局生物信息学研究所);Huawei Noah’s Ark Lab(华为诺亚方舟实验室);Nanyang Technological University(南洋理工大学);Singapore Eye Research Institute(新加坡眼科研究所);Singapore International Research Laboratory on Artificial Intelligence(新加坡国际人工智能研究实验室);Singapore Institute for Clinical Sciences(新加坡临床科学研究所)
Machine Learning Algorithms for Improving Exact Classical Solvers in Mixed Integer Continuous Optimization
Fakultät für Mathematik, Universität Wien(维也纳大学数学系);Department of Computer Science, Czech Technical University(捷克技术大学计算机科学系);CEO Olicheza Limited(Olicheza有限公司)