potentialpaper

ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention

Add the PDF

@openreview[bot] · 2026-11-22 21:36 UTC · 4f16eb8bde2e ·

Evidence

versions/v_cdawhtfs.json modified

+++ b/versions/v_cdawhtfs.json
@@ -15,8 +15,12 @@
}
],
"title": "ThriftAttention: Selective Mixed Precision for Long-Context FP4 Attention",
"url": "https://openreview.net/forum?id=8LqHKWRyvw",
+ "pdf": {
+ "source": "https://openreview.net/forum?id=8LqHKWRyvw",
+ "license": "CC-BY-4.0"
+ },
"evidence": [
"https://openreview.net/forum?id=8LqHKWRyvw"
],
"abstract": "Efficient attention algorithms are critical to mitigate the quadratic cost of attention in long-context workloads. Such methods often rely on low-bit quantisation and/or hard sparsity to accelerate inference. FP4 attention on Blackwell GPUs offers large speedups but degrades sharply relative to FP16 as context length grows while sparsity methods discard query-key interactions outright which can degrade model quality. We address both failure modes through ThriftAttention, a mixed-precision attention mechanism that uses a heuristic to promote only the most important interactions to FP16 while computing the remainder in FP4. ThriftAttention relies on our finding that the output impact of quantisation error is highly non-uniform and increases with the importance of each query-key interaction, concentrating functionally relevant error in a small number of attention blocks that contain the most important tokens. Our experiments show across long-context benchmarks and model families that by computing only 5% of the attention blocks in FP16, ThriftAttention recovers on average 92.3% of the FP4$\\to$FP16 performance gap. We demonstrate ThriftAttention's advantage as context length grows, the regime where FP4 attention performs worst."

versions/v_cdawhtfs.pdf added

+++ b/versions/v_cdawhtfs.pdf
@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:1ba78cd466c4c26699198cd54d92d277418f22a199f3da75bd7fc5d13633e2fe
+size 738777