arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2610.26834cs.LGcs.AI
收藏

用于长上下文线性注意力的克罗内克德尔塔规则

Kronecker Delta Rule for Long Context Linear Attention

Anamaria-Roberta Hartl, Levente Zólyomi, Michael List, Günter Klambauer, Sebastian Böck, Sepp Hochreiter

AI总结:

本文提出基于克罗内克德尔塔规则的KronLSTM线性注意力架构,扩展xLSTM家族,通过微创记忆修正减少干扰,在长上下文基准上优于现有模型,且记忆动态稳定无需额外归一化。

摘要:

我们提出KronLSTM,这是一种基于克罗内克德尔塔规则的线性注意力架构,克罗内克德尔塔规则是一种用于关联矩阵记忆的新型更新规则。KronLSTM通过一种记忆修正机制扩展了xLSTM家族,该机制可在矩阵空间中仅沿单个方向修改记忆的同时修正目标关联。与德尔塔规则更新相比,这种微创记忆修正减少了对先前存储信息的干扰,使其特别适合长上下文语言建模。所得的记忆动态可数学描述为马尔可夫链,该链收敛到稳态分布,同时记忆矩阵的期望范数在整个输入序列中保持均匀有界。因此,KronLSTM确保了稳定的记忆动态,无需额外的记忆状态归一化和稳定机制。实验表明,KronLSTM与现有线性注意力架构具有竞争力,且通常优于现有架构,包括(门控)DeltaNet家族的模型,在长上下文基准测试中表现尤为出色。这些结果确立了克罗内克德尔塔规则作为循环线性注意力架构中稳定关联记忆的有效且可解析处理的基础。我们的代码(此https链接)和模型(此https链接)为开源。

英文摘要:

We propose KronLSTM, a linear attention architecture based on the Kronecker Delta Rule, a novel update rule for associative matrix memories. KronLSTM extends the xLSTM family with a memory-revision mechanism that corrects targeted associations while modifying the memory only along a single direction in matrix space. This minimally invasive memory revision reduces interference with previously stored information compared with delta-rule updates, making it particularly well suited for long-context language modeling. The resulting memory dynamics can be mathematically described as a Markov chain that converges to a steady-state distribution, while the expected norm of the memory matrix remains uniformly bounded throughout the entire input sequence. Hence, KronLSTM ensures stable memory dynamics without requiring additional normalization and stabilization mechanisms for the memory state. Experiments show that KronLSTM is competitive with, and often outperforms, existing linear attention architectures, including models of the (Gated) DeltaNet family, with particularly strong performance on long context benchmarks. These results establish the Kronecker Delta Rule as an effective and analytically tractable foundation for stable associative memory in recurrent linear attention architectures. Our code (https://github.com/NX-AI/KronLSTM) and models (https://huggingface.co/collections/NX-AI/kronlstm) are open-source.

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

↑