RACE Attention: A Strictly Linear-Time Attention Layer for Training on Outrageously Large Contexts

📰 ArXiv cs.AI

arXiv:2510.04008v5 Announce Type: replace-cross Abstract: Softmax Attention has a quadratic time complexity in sequence length, which becomes prohibitive to run at long contexts, even with highly optimized GPU kernels. For example, FlashAttention-2/3 (exact, GPU-optimized implementations of Softmax Attention) cannot complete a single forward-backward pass of a single attention layer once the context exceeds ~4 million tokens on an NVIDIA GH200 (96 GB). We introduce Repeated Arrays-of-Count Estim

Published 21 Apr 2026
Read full paper → ← Back to Reads