Born Attention is Linear: Exact Sub-Quadratic Attention and Constant-State Inference from Quantum Measurement
arXiv:2612.02459v1 Announce Type: new Abstract: Softmax attention costs O(T^2) in sequence length because the exponential kernel has no finite feature map, so linear-time variants approximate it. We observe that Born-rule attention, whose weights are quantum-measurement probabilities ||^2 over complex queries and keys, is an exact finite kernel with the rank-one density-matrix feature map rho_x = x x^dagger, since ||^2 = tr(rho_Q rho_K). As the complex degree-two case of polynomial-kernel linear attention, it admits an exact O(T d^2) causal recurrence and constant-state decoding, independent of T, and keeps rotary positions exactly. On an A100, constant-state decoding uses 6.4 MB per layer at 0.12 ms per token at any length, against a 3.2 GB FlashAttention-2 cache at 2.26 ms per token at 1M tokens; a fused prefill overtakes FlashAttention-2 between 16k and 32k tokens (4x at 128k). Whether the operator matches softmax is a separate modeling question, answered here at small scale: bolted
This story was discovered via arXiv Machine Learning. Read the full article at the original source for complete coverage.