RaZeR: Pushing the Limits of NVFP4 Quantization with Redundant Zero Remapping

Yuzong Chen, Xilai Dai, Jake Hyun, Chi-Chih Chang, Wonsuk Jang, Yuheng Wu, Thierry Tambe, Jae-sun Seo, Mohamed S. AbdelfattahNeurIPS 2026

TL;DR

When squeezing massive AI models down to 4-bit numbers, every single bit counts—yet NVIDIA’s cutting-edge NVFP4 format quietly wastes representational space on "negative zero" and unused sign bits. RaZeR (Redundant Zero Remapping) hijacks these wasted bits to unlock dynamic, high-value numbers on the fly. The result is significantly smarter 4-bit language models at the exact same memory footprint, running at blistering speeds.

What Problem Does This Paper Address?

Running Large Language Models (LLMs) requires hauling billions of parameters across memory, which is slow and power-hungry. To fix this, engineers quantize models, shrinking high-precision 16- or 32-bit numbers down to 4-bit formats.

NVIDIA’s recent Blackwell GPUs introduced NVFP4, a 4-bit floating-point format that groups numbers into blocks of 16, with each block sharing an 8-bit scaling factor (FP8) to preserve dynamic range.

Figure 2: NVFP4 overview. A 16-value block of FP4 elements shares an FP8-E4M3 scale, followed by a tensor-wise FP32 scale.

While NVFP4 is fast, 4 bits only give you $2^4 = 16$ possible patterns—a brutal constraint when trying to capture the nuances of neural network weights and activations. Worse, NVFP4 leaves efficiency on the table:

  1. Twin Zeros: Because FP4 uses a sign bit plus magnitude, it encodes both $+0$ and $-0$. In math (and neural nets), $-0$ is completely redundant, reducing the 16 precious slots to 15 unique values.
  2. Unused Scale Bits: The 8-bit scaling factor per block also has a sign bit, even though scaling factors in NVFP4 are always positive.

Methods

The authors propose RaZeR, a clever bit-level recycling scheme that modifies the NVFP4 format without adding a single byte of memory overhead.

First, RaZeR reclaims the "-0" slot in each 16-element block and remaps it to an extra, useful quantization level called a special value.

Figure 1: Overview of RaZeR, which remaps the redundant FP4 zero encoding to a special value.

Instead of picking one static replacement for the whole model, RaZeR lets each block choose its best special value from a small menu of candidates. Where does it store the metadata telling the hardware which special value a block chose? Inside the wasted bits of the FP8 block scaling factor:

  • For Activations: Taking the 1 unused sign bit from the FP8 scale gives 1 bit of metadata per block, allowing each block to choose between $2^1 = 2$ special values.
  • For Weights: LLM weights have a tighter numerical range than activations and don't need the full range of the FP8 scale. Shrinking the scale by one exponent bit (from E4M3 to E3M3) causes zero accuracy loss and frees up a second bit. With 2 free bits, weight blocks can pick from $2^2 = 4$ special values.

To keep hardware cheap and fast, all special values are restricted to multiples of $0.5$ (matching native FP4 granularity). Beyond the format itself, the authors built two things to prove RaZeR works in the real world: custom software GPU kernels for today's NVIDIA Blackwell GPUs (complete with an SM-limiting auto-tuner to avoid thread-reduction bottlenecks on small matrices), and a custom hardware Tensor Core design for future chips.

Datasets

No new benchmarks were introduced; the authors used standard datasets across calibration and evaluation:

  • Calibration: A subset of the Pile dataset (to find optimal special values for activations).
  • Language Modeling (Perplexity): Wikitext-2 and C4.
  • Zero-Shot Commonsense/Reading: PIQA, HellaSwag, Winogrande, ARC, and LAMBADA (via LM-Eval).
  • Complex Reasoning (Chain-of-Thought): GSM8K (math word problems) and MMLU.

Key Insights and Ideas

  • Mind the Gap at $\pm 5.0$: Standard FP4 represents $\pm\{0, 0.5, 1, 1.5, 2, 3, 4, 6\}$. Notice the sudden jump between 4 and 6! When sweeping for the best special values, the authors found a universal sweet spot at $\pm 5.0$. Bridging that gap near the maximum values drastically cuts rounding errors for both weights and activations.
  • Asymmetric Tolerance: Weights and activations behave very differently. Weights have tame distributions and happily give up an exponent bit in their scaling factor without losing accuracy. Activations are notorious for wild outliers, meaning they desperately need every exponent bit in the FP8 scale—leaving only the redundant sign bit free.
  • Hardware-Friendly Offsets: In their custom Tensor Core design, decoding special values doesn't require expensive high-precision multipliers. By storing special values as tiny 4-bit offsets from $6.0$, the hardware reconstructs them on the fly with minuscule silicon overhead.
Figure 3: Left: Weight quantization error when adding a different pair of special values to FP4. Right: Overview of the RaZeR hardware design.

Key Results

Tested across Llama-2, Llama-3, and Qwen-3 models (ranging from 3B to 32B parameters), RaZeR consistently beats existing 4-bit formats:

  • Perplexity: Relative to native NVFP4, RaZeR cuts average perplexity loss (relative to FP16) by 34.6% in weight-only quantization and 31.2% in weight-activation quantization. It also beats the recent FourOverSix state-of-the-art method, reducing perplexity loss by 29.2% and 23.3%, respectively.
  • Reasoning Boost: On tough tasks like GSM8K (using Llama-3.1-8B with 4-bit weights and activations), RaZeR hits 82.64% accuracy, leaping ahead of native NVFP4 (77.71%) and FourOverSix (78.17%).
  • Real-World Speed & Silicon: On RTX 5090, RTX Pro 6000, and DGX Spark GPUs, RaZeR’s weight-only kernels achieve near-best-in-class single-batch decoding speeds, sitting squarely on the accuracy-throughput Pareto frontier. Meanwhile, synthesizing their custom Tensor Core in 28nm tech adds a negligible 0.37% chip area and 1.35% chip power overhead.

Limitations and Future Work

  • No Native Silicon Yet: Current Blackwell Tensor Cores are hardwired for standard NVFP4, so today's GPUs can only run RaZeR via custom software kernels for weight-only quantization. Getting full 4-bit weight-and-activation speedups requires adopting the proposed Tensor Core modifications in future chips—which the authors hope to physically tape-out next.
  • Model Distribution Quirks: While shrinking the weight block scale to E3M3 was lossless for Llama and Qwen, future LLM architectures might have wider weight distributions that need the full E4M3 scale. RaZeR would still work, though weights would drop from 4 special value choices down to 2 (using only the redundant sign bit).

Summary updated

Abstract

The recently introduced 4-bit format, NVFP4, demonstrates remarkable performance and memory benefits for quantized large language model (LLM) inference. However, we observe two types of redundancy in NVFP4 encoding: (1) The FP4 element format naturally exposes an unused quantization value due to its sign-magnitude representation that contains both positive and negative zeros. (2) The FP8 block scaling factor has an unused sign bit because it is always positive. Additionally, we find that LLM weights are more tolerant to a lower-precision block scaling factor. Based on these observations, we propose Redundant Zero Remapping (RaZeR), an enhanced numerical format that pushes the limits of NVFP4 for more accurate LLM quantization under the same memory footprint. RaZeR leverages the redundant bits of the block scaling factor to adaptively remap the redundant FP4 zero to additional quantization values with improved accuracy. To demonstrate the practicality of RaZeR, we design efficient GPU kernels for RaZeR-quantized LLM inference and propose novel hardware to natively support this. Extensive experiments validate RaZeR's superior performance for 4-bit LLM quantization. For example, relative to native NVFP4, RaZeR reduces the average perplexity loss by 34.6% and 31.2% under weight-only and weight-activation quantization, respectively. Our work presents a promising direction for designing accurate and efficient low-precision numerics on future hardware platforms.
BibTeX
@inproceedings{chen2026razer,
  author = {Yuzong Chen and Xilai Dai and Jake Hyun and Chi-Chih Chang and Wonsuk Jang and Yuheng Wu and Thierry Tambe and Jae-sun Seo and Mohamed S. Abdelfattah},
  title = {{RaZeR: Pushing the Limits of NVFP4 Quantization with Redundant Zero Remapping}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=pnWgnXoHMP},
}
Figure