Kronecker Delta Rule for Long Context Linear Attention

Anamaria-Roberta Hartl, Levente Zólyomi, Michael List, Günter Klambauer, Sebastian Böck +1 more
10/19/2026
cs.LGcs.AI

Official code: NX-AI/KronLSTM (27 stars, MIT, last commit 2026-10-20).

Abstract

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.

View on arXivView PDF

Code Implementations(1)

NX-AI/KronLSTMOfficial100%
MIT

Flash-linear-attention compatible KronLSTM model and kernels by NXAI.

272Shell, PythonOct 19, 2026yesterdayMIT

Cite this paper

@article{hartl2026kronecker,
  title  = {Kronecker Delta Rule for Long Context Linear Attention},
  author = {Anamaria-Roberta Hartl and Levente Zólyomi and Michael List and Günter Klambauer and Sebastian Böck and Sepp Hochreiter},
  year   = {2026},
  eprint = {2610.26834},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2610.26834v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2610.26834.svg)](https://codeofpaper.com/paper/2610.26834)

Discussion