mlsanityData to 14 Oct 2026

Gated KalmaNet: A Fading Memory Layer Through Test-Time Ridge Regression

arXiv 2511.21016 ↗First posted 26 Nov 2025cs.LG cs.CLcited by 11

Not on the map. Why?

Abstract (arXiv)

Linear State-Space Models (SSMs) offer an efficient alternative to softmax Attention with constant memory and linear compute, but their lossy, fading summary of the past hurts recall-oriented tasks. We propose Gated KalmaNet (GKA, pronounced "gee-ka"), a layer that accounts for the full past while retaining SSM-style efficiency. We ground our approach in the Kalman Filter (KF), and show that several existing SSM layers (DeltaNet, Gated DeltaNet, Kimi Delta Attention) are approximations to the KF recurrence under an identity error covariance assumption, which ignores how past keys and values should optimally influence state updates. In contrast, GKA maintains the full error covariance and computes the exact Kalman gain. Under a steady-state assumption that enables parallelization, this reduces to an online ridge regression with constant memory and linear compute. The standard KF equations are numerically unstable in low-precision settings (e.g., bfloat16) and hard to parallelize on GPUs. We address this with (1) adaptive regularization via input-dependent gating to control the ridge regression's condition number, and (2) Chebyshev Iteration, which we show is more stable than conventional iterative solvers in low precision. We further develop hardware-aware chunk-wise kernels for efficient training. Empirically, GKA outperforms existing SSM layers (e.g., Mamba2, Gated DeltaNet) on short-context tasks and achieves more than 10% relative improvement on long-context RAG and LongQA up to 128k tokens. We further show GKA outperforms Mamba when extended to ImageNet classification. Our code, including Triton kernels for training and inference (vLLM), along with a model zoo of GKA-based Hybrid models at 8B and 32B scale on HuggingFace, is released under Apache 2.0.

Key facts. Cited by 11 papers in the map (data through 14 Oct 2026). Builds on 54 of its 69 references that are in the map. First posted on arXiv 26 Nov 2025.

Builds on

54 of 69 references.

References · 54

  1. 2017Attention Is All You Needcited by 60,361
  2. 2025Qwen3 Technical Reportcited by 8,820
  3. 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,944
  4. 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
  5. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
  6. 2021Efficiently Modeling Long Sequences with Structured State Spacescited by 2,465
  7. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,850
  8. 2020Reformer: The Efficient Transformercited by 1,668
  9. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  10. 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,336
  11. 2024Vision Mamba: Efficient Visual Representation Learning with Bidirectional State Space Modelcited by 1,056
  12. 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 613
38 more
  1. 2021Combining Recurrent, Convolutional, and Continuous-time Models with Linear State-Space Layerscited by 608
  2. 2020KILT: a Benchmark for Knowledge Intensive Language Taskscited by 573
  3. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 532
  4. 2023Gated Linear Attention Transformers with Hardware-Efficient Trainingcited by 514
  5. 2021Linear Transformers Are Secretly Fast Weight Programmerscited by 502
  6. 2023Resurrecting Recurrent Neural Networks for Long Sequencescited by 408
  7. 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 407
  8. 2024Jamba: A Hybrid Transformer-Mamba Language Modelcited by 401
  9. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 398
  10. 2024Parallelizing Linear Transformers with the Delta Rule over Sequence Lengthcited by 396
  11. 2025MiniMax-M1: Scaling Test-Time Compute Efficiently with Lightning Attentioncited by 263
  12. 2024ScienceAgentBench: Toward Rigorous Assessment of Language Agents for Data-Driven Scientific Discoverycited by 235
  13. 2024MambaVision: A Hybrid Mamba-Transformer Vision Backbonecited by 224
  14. 2024Repeat After Me: Transformers are Better than State Space Models at Copyingcited by 216
  15. 2023Landmark Attention: Random-Access Infinite Context Length for Transformerscited by 213
  16. 2023Zoology: Measuring and Improving Recall in Efficient Language Modelscited by 204
  17. 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 200
  18. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
  19. 2024An Empirical Study of Mamba-based Language Modelscited by 186
  20. 2018Continual Learning of Context-dependent Processing in Neural Networkscited by 179
  21. 2023RanPAC: Random Projections and Pre-trained Models for Continual Learningcited by 164
  22. 2024Eagle and Finch: RWKV with Matrix-Valued States and Dynamic Recurrencecited by 159
  23. 2024How to Train Long-Context Language Models (Effectively)cited by 146
  24. 2025RWKV-7 "Goose" with Expressive Dynamic State Evolutioncited by 141
  25. 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 125
  26. 2019An Attentive Survey of Attention Modelscited by 124
  27. 2024Zamba: A Compact 7B SSM Hybrid Modelcited by 124
  28. 2024Hymba: A Hybrid-head Architecture for Small Language Modelscited by 99
  29. 2025DeltaProduct: Improving State-Tracking in Linear RNNs via Householder Productscited by 75
  30. 2025Test-time regression: a unifying framework for designing sequence models with associative memorycited by 74
  31. 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 69
  32. 2022Next-ViT: Next Generation Vision Transformer for Efficient Deployment in Realistic Industrial Scenarioscited by 65
  33. 2024Longhorn: State Space Models are Amortized Online Learnerscited by 59
  34. 2025MesaNet: Sequence Modeling by Locally Optimal Test-Time Trainingcited by 47
  35. 2024Marconi: Prefix Caching for the Era of Hybrid LLMscited by 31
  36. 2025CURIE: Evaluating LLMs On Multitask Scientific Long Context Understanding and Reasoningcited by 28
  37. 2024B'MOJO: Hybrid State Space Realizations of Foundation Models with Eidetic and Fading Memorycited by 26
  38. 2025Hybrid Architectures for Language Models: Systematic Analysis and Design Insightscited by 14

50 most cited of 54 All 54 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 11.

11 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026Kalman Delta Networks: Uncertainty-aware Associative Memory
  2. 2026TCP-SSM: Efficient Vision State Space Models with Token-Conditioned Poles
  3. 2026DAMP: Decay-Aware Mixed-Precision Recurrent-State Quantization
  4. 2025GatedFWA: Linear Flash Windowed Attention with Gated Associative Memory
  5. 2024Short-Long Convolutions Help Hardware-Efficient Linear Attention to Focus on Long Sequences
  6. 2026OSDN: Improving Delta Rule with Provable Online Preconditioning in Linear Attention
  7. 2024Mathematical Formalism for Memory Compression in Selective State Space Models
  8. 2026STEPQuant: When and Where Errors Matter in Delta-Rule Recurrent State Quantization