VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attention
Listen
Radio episode about this paper
Transcript
Introduction to the show: ident: AI Radio. Generated commentary on the latest Artificial Intelligence papers.
Tom: I'm Tom.
Jane: And I'm Jane, here with Lu, Meng and our in-house large language model, Lalam.
Tom: We're looking at the paper: "VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attention".
Paper summary: Jane: So, wrapping up this discussion on VC-Attention: the authors, Xingyang Li, Dongyun Zou, Shining Zhang, Jiacheng Chen, Haocheng Xi, Lvmin Zhang, Jun-Yan Zhu and Song Han are proposing this training free low-bit attention framework <ref:2609.15810#pg10>. What does this mean for video generation in the long term?
Tom: It means we have a viable path to deploy these powerful diffusion transformers without being completely bottlenecked by the attention computation cost when working with long video sequences. They've shown that you can get better fidelity than prior low-bit attention methods at the same bit width, like eight bits <ref:2609.15810#pg7>.
Lu: The real implication is that representation learning in these large models doesn't have to be limited by the sheer computational cost of the self-attention mechanism anymore when dealing with high-resolution video data. They’ve shown that you can maintain a good balance between speed and quality through targeted modifications like V-Smooth and ExpCast FP8 <ref:2609.15810#pg3>.
Meng: For deployment, it suggests we can move these models from research environments closer to production because the kernel is hand-written in CuTe or CUDA, which gives us more confidence in its performance on our specific hardware <ref:2609.15810#pg16>. We’re looking at tangible speedups, like one point three six times faster generation on the RTX five thousand ninety for one of these models <ref:2609.15810#pg7>.
Jane: So, to put it simply for someone just listening in, VC-Attention is a method that uses clever mathematical tricks—smoothing the value tokens and fusing the probability cast—to make the attention part of video diffusion models much faster and more accurate when using low bit precision.
Conclusion: Tom: So, to wrap up this discussion on VC-Attention: Value Smoothing and Softmax Casting for Low-bit Attention, we're looking at the core idea behind this training free low bit attention framework.
Jane: What does that mean in plain English for someone just listening?
Tom: It means they tackled two big problems when you try to run video diffusion models on low bit precision. First, accuracy is tricky because of outliers in those value products, and second, efficiency suffers because the standard way we move between full precision and lower bits takes up too much time on the hardware.
Lu: They address that by pairing V-Smooth for accuracy with ExpCast FP8 for speed.
Meng: And from a deployment standpoint, that's huge because it means you can get better fidelity than before even when you’re using only eight bits.
Jane: So, they found a way to keep the quality up while making the whole attention process much quicker on things like high end GPUs.
Tom: Exactly. They show that this method can actually run attention kernels faster than some existing low bit baselines on powerful hardware, specifically showing speedups over BF16 FlashAttention four by about fifteen percent on a B two zero zero chip for eight bits.
Lu: And the implementation is training free, which is a big deal because you don't have to spend weeks tuning something.
Jane: It’s like they figured out a way to fix the recipe without having to bake a thousand cakes first.
Tom: Right. The authors put this into practice on several video generation models, and the results show it stays closer to full precision attention than the training free methods at the same bit width across those different models.
Meng: So, for someone looking at putting this into production, it suggests a path where you can deploy these complex video AI models without having to compromise too much on output quality or running times.
Nunchux AI Institute of Technology Management University of MIT Carnegie Mellon University University of California Berkeley Stanford NVIDIA
cs.CV
Submitted: 2026-09-14
Updated: 2026-11-30
Comments: 20 pages, 19 figures, 7 tables
Code: https://github.com/Dao-AILab/fast-hadamard-transform
License: http://arxiv.org/licenses/nonexclusive-distrib/1.0/
Importance score: 98/100
The gist: Diffusion Transformers deliver state-of-the-art video generation, but their long spatiotemporal sequences make attention the dominant deployment cost…
Key concepts
- Value Smoothing (V-Smooth)
- This technique enhances accuracy by reordering value tokens. It uses lightweight online clustering to group similar tokens together within hardware blocks. Only the residual after subtracting the block mean is quantized, while the mean is restored using an online softmax recurrence, focusing this process on only the first quarter of denoising steps.
- ExpCast-FP8
- This optimization improves speed by mapping log-domain scores directly to E4M3 probability codes. It achieves this using a single fused multiply-add operation, completely eliminating the need for expensive FP32 exponential calculations and FP32-to-FP8 casts, trading some fidelity for significant speed gains.
- Low-bit Attention Kernel
- This refers to a specialized attention mechanism designed to run efficiently using lower precision data types (like 8 bits) instead of standard high precision (like FP32). The paper focuses on making this kernel accurate enough for complex video diffusion tasks while maintaining high computational speed on modern GPUs.
- Training-free Framework
- VC-Attention is a framework that achieves its performance improvements without requiring any additional model training. It relies entirely on clever mathematical reordering and fused operations during inference, making it immediately deployable for existing video models.
Terminology
Summary
Diffusion Transformers deliver state-of-the-art video generation, but their long spatiotemporal sequences make attention the dominant deployment cost, and a deployable low-bit kernel must be accurate and fast. p. 0<ref:2609.15810#pg1, "Diffusion Transformers deliver state-of-the-art video generation, but their long spatiotemporal sequences make attention the dominant deployment cost, and a deployable low-bit kernel must be accurate and fast">. p. 0 VC-Attention is a training-free low-bit attention framework that addresses both by pairing Value smoothing with a fused probability Cast. p. 0<ref:2609.15810#pg1, "We propose VC-Attention, a training-free low-bit attention framework that addresses both by pairing Value smoothing with a fused probability Cast">. p. 0
The Core Problem and Proposed Solution
The paper identifies accuracy and efficiency as the two obstacles to deploying low-bit attention for video diffusion models.<ref:2609.15810#pg2, "Two obstacles stand between this peak throughput and faster video generation">. p. 1 Accuracy is limited by outliers in the value product, which are not fixed by channel or spatiotemporal structure. p. 0<ref:2609.15810#pg3>. Efficiency is limited because the FP32 exponential and FP32-to-FP8 cast become the longest pipeline stage on datacenter GPUs. p. 1<ref:2609.15810#pg4>. VC-Attention addresses these issues by implementing V-Smooth for accuracy and ExpCast-FP8 for speed. p. 1<ref:2609.15810#pg4>.
Value Smoothing Mechanism
V-Smooth restores accuracy by reordering value tokens using lightweight online clustering.<ref:2609.15810#pg3>. It quantizes only the residual after subtracting the block mean, and restores that mean from the row sum that online softmax already maintains. p. 0<ref:2609.15810#pg3>. This grouping runs only on the first quarter of the denoising steps. p. 1<ref:2609.15810#pg3>. The grouping is performed using an online k-means algorithm to group similar tokens in the value tensor with an online algorithm. p. 4<ref:2609.15810#pg5>.
Softmax Casting Optimization
ExpCast-FP8 restores speed by mapping log-domain scores directly to E4M3 probability codes with one fused multiply-add.<ref:2609.15810#pg3>. This eliminates the FP32 exponential and the FP32-to-FP8 cast by writing the E4M3 byte directly from S. p. 3<ref:2609.15810#pg5>. This fusion trades part of the fidelity margin for speed. p. 1<ref:2609.15810#pg6>.
Performance on Video DiTs
VC-Attention improves fidelity over low-bit baselines and speeds up the attention kernel.<ref:2609.15810#pg4>. On B200 at 8 bits, VC-Attention accelerates attention over BF16 FlashAttention-4 by 1. p. 159× and 6.02× faster than SageAttention2. p. 0<ref:2609.15810#pg7>. End to end, VC-Attention generates one Wan2. p. 12 clip 1.19× faster on B200 and 1. p. 1 p. 136× faster on the RTX 5090. p. 1 p. 1<ref:2609.15810#pg7>.
Ablation and Implementation Details
The grouping schedule is optimized by running V-Smooth with ExpCast-FP8 at 8 bits on every layer and differing only in which denoising steps it groups on.<ref:2609.15810#pg15>. Grouping on the first quarter of the steps is the operating point, giving 0. p. 95 dB of PSNR against grouping everywhere while beating it on SSIM and LPIPS. p. 9<ref:2609.15810#pg14>. The fused preprocessing chain is hand-written in CuTe/CUDA rather than compiler-generated. p. 6<ref:2609.15810#pg16>. The final result is that VC-Attention requires no such training. p. 8<ref:2609.15810#pg9, "VC-Attention requires no such training">. p. 8
Conclusion
We have presented VC-Attention, a training-free low-bit attention kernel for video diffusion.<ref:2609.15810#pg10, "We have presented VC-Attention, a training-free low-bit attention kernel for video diffusion">. p. 9 V-Smooth gathers similar value tokens into the same hardware block with an online kmeans, quantizes only what is left after subtracting the block mean, and restores that mean inside the online softmax recurrence for one outer product per tile. p. 9<ref:2609.15810#pg3>. ExpCast-FP8 turns a log-domain score into an E4M3 probability code with a single fused multiply-add, replacing the exponential and the cast. p. 9<ref:2609.15810#pg5>. On Wan2.2, LongCat-Video, HunyuanVideo-1. p. 0 p. 05, and MiniMax-H3, VC-Attention stays closer to full-precision attention than the training-free baselines at the same bit width. p. 9<ref:2609.15810#pg9>. On B200 at 8 bits, VC-Attention runs attention faster than BF16 FlashAttention-4 by 1. p. 959× <ref:2609. p. 015810#pg7>. On H200 at 8 bits, VC-Attention runs attention faster than BF16 FlashAttention-4 by 1. p. 946× <ref:2609. p. 015810#pg7>. On workstation Blackwell at 4 bits, V-Smooth computes attention 2. p. 827× faster on the RTX PRO 6000 and 3. p. 858× faster on the RTX 5090. p. 1<ref:2609.15810#pg7>. On Wan2.2, LongCat-Video, HunyuanVideo-1.5, and MiniMax-H3, VC-Attention generates one Wan2. p. 12 clip 1.19× faster on B200 and 1.36× faster on the RTX 5090.<ref:2609.15810#pg7>. The remaining error does not lie in QK. p. 8<ref:2609.15810#pg4>. V-Smooth instead operates on the value operand, which adds 1. p. 81–2.8 dB at 8 bits and 0. p. 15–3.6 dB at 4 bits over the matched-precision baseline. p. 8<ref:2609.15810#pg4>.
Green — the paper says it, and the page is printed. Red — no passage carries it, so treat that sentence as unverified. The same check runs on your own text: check a summary against its source, $5.
Improvements for AI systems
-
Value smoothing restores accuracy by grouping value tokens with similar values using an online k-means, quantizing only what is left after subtracting a block mean, and restoring that mean inside the online recurrence. This prevents output error dominated by value outliers, which
follow no fixed channel or spatiotemporal pattern.
-
ExpCast-FP8 restores speed by mapping log domain scores directly to E4M3 probability codes with one fused multiply-add,
eliminating the FP32 exponential and the FP32-to-FP8 cast.
This eliminates the longest pipeline stage on datacenter GPUs wherethe FP32 exponential between them becomes the longest pipeline stage.
-
VC-Attention improves fidelity over low-bit baselines, achieving a speedup of 1.60x over SageAttention2 and 5.5x faster than SageAttention2 at higher PSNR over 100 prompts on MiniMax-H3, Wan2.2, LongCat-Video, and HunyuanVideo-1.5.
-
The system achieves an end to end speedup of up to 3.6x on the RTX 5090 for the MiniMax-H3 model when using VC-Attention with ExpCast-FP8, compared to the BF16 FlashAttention-4 baseline.
-
For video diffusion models, VC-Attention allows for a training free low bit attention framework that addresses both accuracy and efficiency by pairing Value smoothing with a fused probability Cast.
Sources
- QuaRot: Outlier-Free 4-Bit Inference in Rotated LLMs
- SANA-Video: Efficient Video Generation with Block Linear Diffusion Transformer
- DC-VideoGen: Efficient Video Generation with Deep Compression Video Autoencoder
- INT-FlashAttention: Enabling Flash Attention for INT8 Quantization
- PipeFusion: Patch-level Pipeline Parallelism for Diffusion Transformers Inference
- Seedance 1.0: Exploring the Boundaries of Video Generation Models
- LTX-Video: Realtime Video Latent Diffusion
- LongCat-Video Technical Report
- Movie Gen: A Cast of Media Foundation Models
- Parallel Decoding Distillation for Fast Image and Video Generation
- QVD: Post-training Quantization for Video Diffusion Models
- Wan: Open and Advanced Large-Scale Video Generative Models
- VideoLCM: Video Latent Consistency Model
- HunyuanVideo 1.5 Technical Report
- Quant VideoGen: Auto-Regressive Long Video Generation via 2-Bit KV-Cache Quantization
- Sparse VideoGen2: Accelerate Video Generation with Sparse Attention via Semantic-Aware Permutation
- FlashAttention-4: Algorithm and Kernel Pipelining Co-Design for Asymmetric Hardware Scaling
- SageAttention3: Microscaling FP4 Attention for Inference and An Exploration of 8-Bit Training
- SageAttention2++: A More Efficient Implementation of SageAttention2
- Attn-QAT: 4-Bit Attention With Quantization-Aware Training
Related papers
- Lightweight Adaptation of General-Purpose VLMs for Multispectral and SAR Image Understanding
- Systematic Evaluation of Underwater Image Reconstruction
- InteracVid: Building a Real Interactive Audio-Visual Response Dataset from Live-Chat Videos
- Count Anything
- Shot-Aware Frame Sampling for Video Understanding
- Reduce Tokens, Refine Semantics: Training-Free Acceleration of Vision-Language Models