paper

RunningTensor: Generalizing Linear Attention to Higher-Order Recurrent States

arXiv:2609.12814

Abstract

Linear attention and state-space models provide linear-time sequence modeling, but their recurrent memory remains a second-order tensor (a matrix), limiting the order of interactions that can be represented in the state. We introduce the RunningTensor, which generalizes this memory to an order- tensor, updated by a rank-1 outer product and read by contracting against vector queries. Order recovers linear attention; we study order as a proof of concept, retaining both recurrent and parallel forms while remaining linear in sequence length and improving working memory capacity from to . On synthetic multi-query associative recall, RunningTensor outperforms linear-attention and SSM baselines. After pretraining, it also improves performance on language-understanding and non-synthetic retrieval tasks, suggesting that higher-order recurrent state can provide useful additional memory capacity beyond matrix-valued state.

RunningTensor: Generalizing Linear Attention to Higher-Order Recurrent States · wovepaper