cs.LGNov 4, 2026

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

Authors: Gagik Amirkhanyan, Nuojin Cheng

Organizations: Google

Abstract

Gated-delta linear attention layers such as Gated DeltaNet (GDN), Kimi Delta Attention (KDA), and GDN-2 are tuned for GPUs, where small tensor-core tiles and fast vector registers make per-channel decay rescaling and sequential in-block solves cheap. On Google TPUs, which concentrate compute in wide 256×256256 \times 256 systolic matrix units backed by a slower vector unit, porting these layers directly leaves half of each matrix tile empty and bottlenecks on vector operations. We present Systolic Linear Attention (SLA), which reshapes gated delta attention around the matrix unit by widening keys to 256256 with grouped value heads, grouping decay gates into four 6464-channel tiles, and computing the chunk solve entirely with block matrix products in a single fused kernel. On TPU v7x, a full SLA-R4 layer runs 1.6×1.6\times--2.5×2.5\times faster than the open-source Tokamax KDA kernel (1.4×1.4\times--2.4×2.4\times with exact chunk inversion), driven primarily by head sharing and kernel fusion. Across a 2,0482{,}048-chip TPU v7x pre-training study of sparse Mixture-of-Experts (MoE) models from 6.5B6.5\text{B} to 63.1B63.1\text{B} parameters, SLA trains 11%11\%--24%24\% faster than KDA at similar perplexity, and reaches slightly lower perplexity than KDA in smaller matched-seed runs.

Figures & tables

Appendix figures & tables1 asset

Supplementary material from the paper’s appendix.

Appendix

Explore similar work

CardsList
  1. FlyWheel: Attention Kernels Built for the TPU

    Nov 1, 2026Zishuo Bao, Zeshen Zhang, Linkun Chen +1Neural Network Hardware AccelerationLLM Inference Acceleration

  2. When Good Enough Is Optimal: Multiplication-Only Matrix Inversion Approximation for Quantized Gated DeltaNet

    Jun 4, 2026Luoming Zhang, Yuwei Ren, Kui Zhang +7Efficient Transformer InferenceLLM Inference Acceleration