Born-rule attention is exactly linear: constant-state decoding cuts KV cache 500x, 4x faster at 128k

Marcel Crasmaru · hf · 2026-12-03

This paper shows Born-rule attention—weights are quantum-measurement probabilities |⟨Qk,Kj⟩|² over complex queries/keys—is an exact finite kernel with the rank-one density-matrix feature map, admitting an exact O(T·d²) causal recurrence with constant-state decoding while keeping rotary positions exactly. On an A100, decoding uses 6.4 MB per layer at 0.12 ms/token regardless of length, versus a 3.2 GB FlashAttention-2 cache at 2.26 ms/token at 1M tokens; fused prefill overtakes FlashAttention-2 between 16k–32k (4x at 128k). Modeling quality: naive substitution trails softmax (0.77 nats at 16k, repaired by an exact decay), matches softmax at 1k in a fully complex residual stream, and at 128k on PG-19 beats softmax by 0.32 nats, near gated linear attention. Streamed over PG-19, a 4M-parameter byte model scores 1.66 bits/byte versus 2.45 for a 350M hierarchical model.

Original post →

More from Infra

Infra channel →