Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

BitDecoding-FP4: Native FP4 KV Cache Decoding via Algorithm-System Co-Design

[Sztuczna inteligencja] Autorzy: Dayou Du, Woon Yee Ng, Guangming Sheng i 3 więcej

The key-value (KV) cache dominates memory capacity and bandwidth in long-context LLM serving. While 4-bit microscaling formats (NVFP4, MXFP4) shrink the cache and run attention on FP4 Tensor Cores, a fundamental gap remains between algorithmic quantization and system-aware acceleration: existing FP4 KV systems use vanilla quantization that causes severe accuracy drops, whereas accuracy-oriented 4-bit algorithms rely on vector codebooks whose lookup overhead degrades decoding throughput. We present BitDecoding-FP4, an algorithm--system co-design for accurate and efficient native FP4 KV decoding. We mitigate three error sources: Dual-Residual Query Quantization splits queries into two FP4 tensors, cutting query logit error from 60% to 1%; Underflow-Aware Probability Scaling prevents E4M3 scales from rounding long-context probabilities to zero; and Outlier-Aware Key Quantization combines s…

Kategoria arxiv
cs.AI
Kategoria
Sztuczna inteligencja
Pdf
https://arxiv.org/pdf/2611.09825v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie