Kernel Ridge Attention: Nonlinear Memory with Selective Forgetting
Haowei Chen, Yichen Wang, Congfu Xu
Abstract
Kernel Ridge Attention (KRA) is a recurrent sequence mixer that combines learned nonlinear features with covariance-guided memory updates. It stores associations through recursive ridge regression, using correlations among past keys to determine how new observations modify memory. A content-dependent Ornstein--Uhlenbeck transition controls retention and restores uncertainty for future writes. This construction admits an exact temporal-kernel interpretation and maintains an inference state whose size is independent of context length. Associative block maps and explicit adjoints support parallel training while preserving the recursive update. In controlled language-modeling experiments, KRA improves prediction quality over attention and recurrent baselines, strengthens natural associative recall over the evaluated recurrent models, and achieves practical distributed training throughput. These properties provide a principled foundation for nonlinear, adaptive sequence memory.
Create a lesson
Related papers
Toaster: Nonlinear Memory from Cascaded Linear Memories and Target Propagation
Shared title terminology · Zeman Li, Ali Behrouz, Yuan Deng et al.
Solving the pre-image problem in kernel PCA: The reproducing property is all you need
Shared title terminology · Joel-Pascal Ntwali N'konzi, Stefan Klus
Beyond Sample Hardness: Adaptive Data Selection through Learning Dynamics
Shared title terminology · Hai Gan, Suorong Yang, Guang Li et al.
PRISM: Validation-Free Online Batch Selection for LLM Fine-Tuning via Preconditioned Conic Ghost Matching
Shared title terminology · Lin Tang, Wei Zhang, Jing Li et al.
Turnout: Adaptive Attention Switching for Efficient Reasoning
Shared title terminology · Anna Kuzina, Mart van Baalen, Paul N. Whatmough et al.
Verifying and Strengthening Neural Tangent Kernel Theory
Shared title terminology · Hao Zhu