arXiv Machine Learning By Julien Siems, Riccardo Grazzi, Korbinian P\"oppel, Jaisidh Singh, Arber Zela, Timur Carstensen, Jenia Jitsev, Frank Hutter, Volkan Cevher, Antonio Orvieto, Aaron Klein

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

Read the original on arXiv Machine Learning →

The Flow has not summarised this story yet — read it at arXiv Machine Learning.

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