NeurIPS 2026QuestionsPapersAreasAboutMarkdown

NyoomFloat12: Accelerating LLM Inference via Lossless 12-bit Weight Compression

Sylvie Liberman, Xinyu Fang, Tianyi Zhang, Tri Dao, Dan Fu

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Low-Precision LLM Inference · Type: new method · Keywords: weight compression, lossless encoding, LLM inference, GPU bandwidth, memory efficiency

Areas: Model Architectures & Sequence Modeling › Language Model Architectures › Mixture of Experts Optimizations

Summary

NyoomFloat12 (NF12) introduces a lossless 12-bit fixed-length weight format for BF16 LLM parameters that exploits common exponent patterns, enabling SIMD-friendly decode and zero-overhead outlier handling, achieving up to 1.21× speedup in bandwidth-bound GEMV, 1.35× over cuBLAS, and up to 2.67× higher throughput on Qwen3-32B in the capacity-bound regime.

Explained to a 5-year-old

Big computer models need a lot of tiny numbers to work. These numbers have extra zeros that aren't needed. We found a way to cut those zeros out so the numbers become a bit smaller. This makes the computer work faster and do more at once. It helps the computer answer questions quicker.

Explained to a 5-year-old, longer

Computers that talk like people need to remember many small numbers. Those numbers are stored in a format that sometimes has extra space that isn't needed. We looked at many of these numbers and saw a pattern that most of them share. By noticing this pattern, we can drop some parts of the numbers without losing information. The remaining parts fit into a smaller space, like moving from a big box to a smaller box. This smaller box still holds all the original information exactly. Because the numbers are smaller, the computer can move them faster from memory. It also means the computer can keep more numbers in its quick memory at the same time. With more numbers stored, the computer can think about longer things or answer questions faster. The new method works like a clever trick that saves space and time. It helps big language models run smoother on everyday computers. Overall, it makes the computer smarter and quicker without changing how it works.

For a technical reader

The system compresses BFloat16 model weights into a compact 12-bit representation by removing redundant exponent bits that are common across most weight matrices. This fixed-length format is designed to be decoded efficiently on SIMD hardware, and any weights that don’t fit the pattern are stored verbatim with no extra overhead. As a result, inference kernels run faster and require less memory bandwidth, allowing larger models to fit in the GPU’s cache and delivering measurable speedups on real LLM workloads.

Problem

Large language models store weights in BFloat16 format, which contains more information than needed, yet exploiting this redundancy on GPUs has not yielded significant wall-clock speedups because of bandwidth and capacity bottlenecks, and existing lossless compression schemes are compute-bound on SIMD decode.

Method

The approach identifies that most BF16 weights share a common exponent pattern after per-matrix scaling, allowing removal of the upper exponent bits. It then encodes the remaining bits in a fixed-length 12-bit format that is SIMD-friendly, and uses a verbatim buffer for out-of-range groups with zero per-group storage overhead, preserving exact values losslessly.

Results

In the bandwidth-bound regime, the approach achieves up to 1.21× speedup over matched BF16 and 1.35× over cuBLAS, reaching 71% of the theoretical optimum. In the capacity-bound regime on Qwen3-32B, the reduced footprint provides 4.5× more KV-cache space, and decode at near-peak HBM bandwidth yields up to 2.67× higher throughput.

Contributions

The paper introduces a lossless 12-bit fixed-length weight format that exploits redundancy in BF16 weights, enabling SIMD-friendly decode and zero-overhead outlier handling. It also demonstrates significant speedups in both bandwidth- and capacity-bound inference scenarios on large language models.

Practical relevance

The approach enables faster and more memory-efficient LLM inference on existing GPU hardware, allowing larger models or higher throughput without additional hardware.

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction