NVIDIA Blackwell MXFP8 attention can leak future tokens; new kernel restores causality
A paper shows Transformer Engine's stock MXFP8 attention lets masked future tokens alter earlier predictions, and proposes a causal kernel that removes the dependency while keeping eight-bit speed.
In plain words
Causal language models must predict each token using only what came before it. The authors found that a fast eight-bit math format on NVIDIA Blackwell GPUs can round numbers in a way that lets later, hidden tokens subtly change earlier outputs. They built a replacement kernel that keeps the speed while removing that dependency.
What was announced
The paper, posted on arXiv, explains that MXFP8 shares quantization scales across tokens, so a masked future token can change how an earlier value is rounded and alter an earlier prediction. The authors demonstrated this dependency in released language models. Their kernel instead uses token-local scales within value blocks that mix visible and future tokens, folding those scales into the attention weights, and supports training with a causal dequantized-input backward pass plus inference with an MXFP8 KV cache.
On Qwen3-4B-Base at 32K context, the kernel cut full-sequence versus prefix disagreement on the most likely next token from 0.416% to 0.021%, near the BF16 reference of 0.015%. In end-to-end Qwen3-4B training at 32K, the recipe improved throughput by 4.9% and cut peak memory by 5.2% versus BF16. For single-request inference, decode throughput rose 3.8-9.9% over vLLM with FP8 attention and KV cache at 4K-32K context, with broadly comparable throughput on Qwen3-14B.
What it does not show
- The source is the paper's abstract only, so implementation details and full experimental setup are not covered.
- All reported measurements come from the authors; no independent confirmation is available.
- Results are shown for Qwen3-4B and Qwen3-14B on NVIDIA Blackwell hardware; behavior on other models or GPUs is not established.
For security and IT teams
- Scope
- The findings apply to MXFP8 attention on NVIDIA Blackwell GPUs, with results reported for Qwen3-4B and Qwen3-14B at 4K-32K context.
Sources
Source-support review completed 30 Nov 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 30 Nov 2026
New to the subject? AI from the Ground Up starts from the beginning.