[KongchangAI]
ConceptBitDecoding-FP4

BitDecoding-FP4

An algorithm-system co-design method for long-context LLM inference that enables native FP4 KV cache decoding. Through algorithmic innovations such as dual-residual query quantization, underflow-aware probability scaling, and outlier-aware key quantization, together with system optimizations such as transposed softmax, it improves decoding throughput while preserving accuracy.

Timeline (last 90 days)

Nov 9

BitDecoding-FP4 splits the query into two FP4 tensors, drastically reducing the logit error from 60% to 1% through a dual-residual approach.

Unverified50%
Nov 9

BitDecoding-FP4 introduces an underflow-aware probability scaling mechanism to prevent probability values from underflowing to zero during quantization.

Unverified50%
Nov 9

BitDecoding-FP4 combines three techniques—static smoothing, Hadamard rotation, and scale search—to effectively suppress the impact of key outliers.

Unverified50%
Nov 9

BitDecoding-FP4 adopts transposed softmax, fusing probability quantization with softmax to reduce the write-back overhead of intermediate results.

Unverified50%
Nov 9

On dense models and MoE models, covering both GQA and MLA attention mechanisms, with NVFP4 the accuracy gap between BitDecoding-FP4 and BF16 KV stays within 0.5 percentage points; with MXFP4 the gap is 1 percentage point.

Unverified50%
Nov 9

In end-to-end serving tests on NVIDIA B300 using the Qwen3-4B and Qwen3-30B-A3B models, BitDecoding-FP4 achieved a 2.4x to 3.0x peak serving throughput improvement over BF16 KV.

Unverified50%

All Facts (6)

Source Articles