Large language models (LLMs) generate text one token at a time, and each step must read a growing memory cache of previous tokens. This cache becomes a bottleneck for speed and memory, especially with long contexts like entire books.
BitDecoding-FP4 shrinks this cache by storing values in a very compact 4-bit format and uses a co-design of new algorithms and hardware-aware kernels to keep accuracy high. It reduces three main sources of error: quantizing queries, avoiding underflow in attention probabilities, and handling outliers in keys.
The system stays within 0.5 percent of the original accuracy while delivering 2.4 to 3.0 times higher peak serving throughput than standard 16-bit cache, enabling faster and more memory-efficient deployment of large models with long contexts.
