Born-rule attention runs in linear time with constant-state decoding, paper says
Softmax attention costs O(T^2) in sequence length T. The paper's explanation is that the exponential kernel has no finite feature map, so linear-time variants have to approximate it. The authors observe that Born-rule attention avoids this problem. Its weights are quantum-measurement probabilities, |<Q_k,K_j>|^2, computed over complex queries and keys. That makes it an exact finite kernel with a rank-one density-matrix feature map, rho_x = x x^dagger, because |<Q_k,K_j>|^2 equals tr(rho_Q rho_K).
As the complex degree-two case of polynomial-kernel linear attention, the operator admits an exact O(T d^2) causal recurrence and constant-state decoding that does not depend on T. It also keeps rotary positions exactly.
The speed and memory numbers come from an A100. Constant-state decoding uses 6.4 MB per layer at 0.12 ms per token at any length. The comparison point is a 3.2 GB FlashAttention-2 cache at 2.26 ms per token at 1M tokens. For prefill, a fused Born implementation overtakes FlashAttention-2 between 16k and 32k tokens, and is 4x faster at 128k.
The authors separate this from the question of model quality: whether the operator matches softmax is, in their words, a separate modeling question, answered here at small scale. Bolted into a real-valued GPT, Born attention trails softmax by 0.12 nats at 1k context and by 0.77 at 16k. The authors attribute this to attention dilution, which a decay kept exactly in the state repairs. Inside a fully complex residual stream, it matches softmax at 1k context. Gated linear attention beats both of those Born variants.
At 128k context on PG-19, Born with a fixed decay is 0.32 nats ahead of softmax and within 0.04 of gated linear attention, which is 1.8x faster. In a final test, 4M-complex-parameter byte models were streamed in constant state over the PG-19 test set in 5M-byte windows. They score 1.66 bits per byte with Born plus decay and 1.70 with gated linear attention. A 350M-parameter hierarchical model built for that window reports 2.45.
Key facts
- Born-rule attention uses |<Q_k,K_j>|^2 over complex queries and keys, which the paper shows is an exact finite kernel, so it needs no approximation to run in linear time.
- It has an exact O(T d^2) causal recurrence and constant-state decoding independent of sequence length, and it keeps rotary positions exactly.
- On an A100, constant-state decoding takes 6.4 MB per layer and 0.12 ms per token at any length, against a 3.2 GB FlashAttention-2 cache and 2.26 ms per token at 1M tokens.
- A fused prefill overtakes FlashAttention-2 between 16k and 32k tokens and is 4x faster at 128k.
- Quality is tested only at small scale: in a real-valued GPT it trails softmax by 0.12 nats at 1k and 0.77 at 16k, and at 128k on PG-19 Born with a fixed decay is 0.32 nats ahead of softmax and within 0.04 of gated linear attention.
Why it matters
Most linear-time attention variants approximate softmax. This paper takes a different route: it points out that attention weights defined as quantum-measurement probabilities already form an exact finite kernel. That gives an exact causal recurrence and a decoding state whose size does not grow with context. The reported A100 gap at 1M tokens is large: 6.4 MB per layer and 0.12 ms per token, against a 3.2 GB FlashAttention-2 cache and 2.26 ms per token. The caveat is that the memory and speed case is much stronger than the quality case so far.
Who it affects
Researchers working on efficient attention, linear attention and long-context models are the direct audience, along with anyone building inference systems where the key-value cache dominates memory. The paper compares Born attention with softmax, FlashAttention-2 and gated linear attention, so people using any of those are the natural readers.
How to use it
This is a research paper, not a product. The source describes the operator and its measurements, and does not state a code release or training cost. A practical reading: the constant-state decoding and the fused prefill are the parts that could matter for long-context inference, while the quality results suggest the operator needs a decay and, in a real-valued GPT, repair of attention dilution. Gated linear attention was both faster (1.8x) and stronger in the reported comparisons.
How solid is it
The speed and memory figures are measured on an A100 and compared with FlashAttention-2. The kernel identity is a mathematical observation stated in the abstract. The modeling results are explicitly small scale: the byte models have 4M complex parameters, and the paper itself says the question of matching softmax is answered only at small scale. The 1.66 versus 2.45 bits per byte comparison sets a 4M-complex-parameter model against a 350M-parameter hierarchical model built for that window, so it is not a like-for-like model comparison. The abstract does not name the model sizes for the softmax comparisons.
Risks and caveats
In a real-valued GPT, Born attention trails softmax by 0.12 nats at 1k context and 0.77 at 16k, and only a fully complex residual stream matches softmax at 1k. Gated linear attention beats both Born variants in those settings. The 128k PG-19 win over softmax uses Born with a fixed decay, not plain Born attention, and Born is within 0.04 of gated linear attention, which is 1.8x faster. Only an A100 is benchmarked, and no large-scale results are reported.
“Whether the operator matches softmax is a separate modeling question, answered here at small scale”
— From the paper's abstract