Hugging Face Trending Papers

Kernel Ridge Attention: Nonlinear Memory with Selective Forgetting

arXiv Machine Learning
5d ago

Kernel Ridge Attention: Nonlinear Memory with Selective Forgetting

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.

By Haowei Chen, Yichen Wang, Congfu Xu
arXiv AI
Oct 1

Switching Linear Attention

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.

By Hyun Dong Lee, Xavier Gonzalez, Nicolas Zucchet, E. Kelly Buchanan, Emily B. Fox, Scott W. Linderman
arXiv AI
Oct 27

Streaming Recurrent Memory

arXiv:2610.34833v1 Announce Type: cross Abstract: Natural intelligence learns from a continuous stream of sensorimotor experience: data can arrive at high bandwidth, and behavior adapts to feedback a...

By Mohamed Elsayed, Minh Pham, A. Rupam Mahmood
arXiv Machine Learning
Oct 5

Gated Slot Attention-2: Two-Sided Associative Memory Correction in Linear Attention

The paper introduces Gated Slot Attention-2 (GSA2), a new linear‑attention architecture that combines a Gated Oja Rule‑2 for key‑side memory correction with a Gated Delta Rule‑2 for value‑side correction, both operating through shared latent slots. It also presents a hardware‑efficient chunkwise algorithm for parallel training. Experiments show that GSA2 consistently outperforms strong linear‑attention baselines while maintaining linear‑time sequence modeling and constant‑memory recurrent decoding.

By Ruijie Li, Shengnan Ding, Weimin Zhang, Derick Tang, Zhanpeng Zeng, Qinsong Zeng, Ming Chen, Jiaxi Hu, Yuxuan Liang
arXiv Machine Learning
Aug 31

Fast Weight Attention for Continual Learning

Fast Weight Attention for Continual Learning introduces recurrent fast‑weight memories and selective state‑space models that compress expanding context into a fixed‑size recurrent state, enabling an online learning rule for state transitions. The paper derives normalized first‑order updates for squared‑error regression and negative inner‑product objectives, presenting several variants (Falcon‑1, Falcon‑2, Falcon‑3 and their inner‑product counterparts) with recurrent, masked‑parallel, and chunk‑parallel implementations. These methods demonstrate competitive performance in language modeling and improved length extrapolation on variable‑digit addition tasks.

By Yifan Zhang, Steve Ta, Jasper Zhang, Jichen Feng, Shuzhen Li, Yongxin Zhang, Yifeng Liu, Huizhuo Yuan, Mengdi Wang, Quanquan Gu, Andrew Chi-Chih Yao