arXiv Machine Learning

Complex KDA: Understanding and Enhancing the Expressivity of Kimi Delta Attention

arXiv Machine Learning
Nov 5

Systolic Linear Attention: Co-Designing Tile-Grouped Gated Delta Attention for TPUs

The paper introduces Systolic Linear Attention (SLA), a redesign of gated‑delta linear attention layers for Google TPUs. SLA widens keys to 256, groups value heads and decay gates into 64‑channel tiles, and performs chunk solves using fused block matrix products, eliminating idle matrix tiles and reducing vector bottlenecks. Benchmarks on TPU v7x show SLA‑R4 layers run 1.6×–2.5× faster than the open‑source Tokamax KDA kernel, and in a 2,048‑chip TPU pre‑training study SLA trains 11%–24% faster while achieving comparable or slightly better perplexity.

By Gagik Amirkhanyan, Nuojin Cheng
arXiv AI
Oct 19

M$^2$RNN: Non-Linear RNNs with Matrix-Valued States for Scalable Language Modeling

M$^2$RNN introduces matrix‑valued hidden states and expressive non‑linear transitions for recurrent neural networks, addressing the limited expressive power of transformers. The architecture scales efficiently with tensor cores, achieving perfect state‑tracking generalization on unseen sequence lengths and outperforming hybrid Gated DeltaNet models by 0.4–0.5 perplexity points on a 7B MoE model while using three‑times smaller recurrent states. Even a single M$^2$RNN layer in a hybrid architecture yields accuracy gains comparable to full Hybrid M$^2$RNN, and improves long‑context performance on LongBench by up to 8 points over state‑of‑the‑art hybrid linear attention models.

By Mayank Mishra, Shawn Tan, Ion Stoica, Joseph E. Gonzalez, Tri Dao
arXiv Machine Learning
Jun 11

Kalman Linear Attention: Parallel Bayesian Filtering For Efficient Language Modelling and State Tracking

arXiv:2602. 10743v2 Announce Type: replace Abstract: State-space language models such as Mamba and gated linear attention (GLA) offer linear-complexity, parallelisable alternatives to transformers, but their linear state updates limit expressivity and robust state tracking.

By Vaisakh Shaj, Cameron Barker, Aidan Scannell, Andras Szecsenyi, Elliot J. Crowley, Amos Storkey
arXiv Machine Learning
Oct 23

baseVultra: Compact Nonlinear Recurrence with Reallocated Capacity

The paper introduces baseVultra, a compact recurrent neural network cell that reallocates most of its recurrent capacity to a single dense candidate‑generation matrix while simplifying gate operations to O(H) diagonal interactions. On character‑level language modeling benchmarks such as TinyShakespeare and text8, baseVultra matches or slightly outperforms parameter‑matched LSTM and GRU cells, achieving lower validation loss and competitive bits‑per‑character scores. The authors find that the advantages of this candidate‑focused design are most pronounced in low‑capacity regimes, whereas full‑gate cells remain competitive when hidden size is increased.

By Linke Zhang
arXiv AI
Sep 10

Kalman Delta Networks: Uncertainty-aware Associative Memory

Kalman Delta Networks (KDNs) extend linear attention models by treating associative memory as a linear–Gaussian state‑space system, enabling the Kalman filter to optimally estimate both memory state and its uncertainty. Two GPU‑friendly approximations—Diagonal KDN and Isotropic KDN—use mean‑field variational inference or a single scalar uncertainty per head, respectively, to maintain tractable uncertainty recurrences during linear‑attention scans. Experiments on 750 M and 1.3 B‑parameter models show that KDN variants consistently lower perplexity and raise downstream accuracy compared to existing linear‑attention baselines.

By Ngoc Bui, Tinglin Huang, Rex Ying
arXiv Machine Learning
5d ago

Toaster: Nonlinear Memory from Cascaded Linear Memories and Target Propagation

The paper introduces Toaster, a two‑layer nonlinear memory that combines two linear memory modules with an activation function and uses target propagation to update the hidden layer. By approximating cross‑layer signals once per chunk, each layer can run on a standard delta‑rule kernel, achieving lower loss than KDA and Titans across multiple model sizes on C4 and PG19 datasets. In hybrid setups with global attention, Toaster attains the lowest perplexity among tested hybrids and demonstrates competitive or superior performance in length extrapolation and training efficiency.

By Zeman Li, Ali Behrouz, Yuan Deng, Praneeth Kacham, Rami Al-Rfou, Meisam Razaviyayn, Vahab Mirrokni