Kernel Ridge Attention: Nonlinear Memory with Selective Forgetting
Read the original on Hugging Face Trending Papers →The Flow has not summarised this story yet — read it at Hugging Face Trending Papers.
The Flow has not summarised this story yet — read it at Hugging Face Trending Papers.
Kernel Ridge Attention (KRA) is a recurrent sequence mixer that blends learned nonlinear features with covariance-guided memory updates. It uses recursive ridge regression to store associations, with correlations among past keys guiding how new observations modify memory. A content-dependent Ornstein–Uhlenbeck transition controls retention, restores uncertainty for future writes, and the design allows an exact temporal‑kernel interpretation while keeping inference state size independent of context length.
Switching Linear Attention (SwiLA) is a new sequence layer that improves upon standard softmax attention by maintaining a fixed-size recurrent state while enhancing representational capacity. It derives its recurrence from a test-time regression framework, using online expectation-maximization in a mixture of linear regressions model. In various benchmarks—including associative recall, in-context language learning, and language modeling—SwiLA achieves strong performance, narrowing the gap to softmax attention and even surpassing it in some settings.
arXiv:2606. 06479v1 Announce Type: new Abstract: Training recurrent neural networks (RNNs) requires assigning credit across long sequences of computations.
arXiv:2610.08553v1 Announce Type: cross Abstract: Sequential test-time training adapts a memory network through successive updates, each computing an inner-loop gradient based on the network's previo...
arXiv:2604. 01577v3 Announce Type: replace-cross Abstract: We study out of distribution generalization in streaming tasks where models are trained on short sequences but must operate over much longer, unknown horizons under bounded memory.
arXiv:2610.24026v2 Announce Type: replace Abstract: Self-attention encodes where a past token lies, but not how its uncertainty grows with time: evidence accumulates without bound as the context grow...