NX-AI 提出基于 Kronecker Delta Rule 的 KronLSTM 线性注意力架构
Kronecker Delta Rule for Long Context Linear Attention
NX-AI 把 xLSTM 又往前推了一步,KronLSTM 修记忆时只动一个方向,长上下文基准上比 DeltaNet 系列还强,代码模型都开源了。
NX-AI 发布 KronLSTM,一种基于 Kronecker Delta Rule 更新规则的线性注意力架构,扩展了 xLSTM 家族。其记忆修订机制只在矩阵空间的单一方向上修改记忆,相比 delta-rule 更新能减少对已存储信息的干扰,适合长上下文语言建模。记忆动态可描述为收敛到稳态分布的马尔可夫链,记忆矩阵期望范数在整个输入序列上一致有界,因此无需额外的归一化与稳定化机制。实验显示 KronLSTM 在长上下文基准上表现尤其突出,常常优于 (Gated) DeltaNet 家族的线性注意力模型。代码与模型已在 GitHub 和 Hugging Face 开源。
Kronecker Delta Rule for Long Context Linear Attention
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.