- Rating
- 5
- Clarity
- 3
- Confidence
- 4
- Originality
- 3
- Quality
- 3
- Significance
- 3
Read review
Summary
The papers provide a theoretical framework for power-of-two grids (PO2) for weight and activation quantization in LLMs. They show that for smaller grids (~4 bits), which are now common (e.g., MXFP4 and NVFP4), choosing between two grids leads to smaller quantization error compared to a single grid. Most interestingly, they show that a combination of two sub-optimal grids can be very close to the performance of the optimally found single bin (through MSE-style optimization).
They instantiate a family of PO2 grids and provide an algorithm for finding such grids, but most lack hardware support, as they would require lookup tables that do not fit within the current INT/FP paradigm of accelerators. They do introduce one TensorCore-compatible grid, SFP4, effectively three shifted FP4 grids. SPF4 outperforms standard INT4/FP4 in both theoretical and practical reconstruction settings, but comes at a significant overhead of ~50% compared to NVFP4.
The papers benchmark their suggested PO2 grids using weight and weight/activation quantization regimes of popular LLMs, including Llama 3.2 and the Qwen family. They also perform pre-training of Llama-like models with PO2 grids and show that optimal PO2 grids outperform standard grids.
Strengths and weaknesses
Strong points/contributions
- The authors provide a theoretical framework for assessing PO2 grids in LLMs. While previous works have introduced similar frameworks, such as IF4 or 4over6, they appear to be the first to formalise the theory behind these grids.
- Corollary 3 is an interesting assertion. The idea that a combination of two sub-optimal, but potentially hardware-compatible, grids can be very close to the performance of the optimal grid is very useful, as the optimal grid is almost guaranteed not to be hardware-friendly.
- The SPF4 matmul decomposition is a great addition and shows a path for further improving the kernels. By utilising the FP4 cores, they can reap the benefits of both faster compute and better compression from the ternary FP4 grid
Weaknesses
-
While the formalising of PO2 grids is useful, the mathematical and theoretical contribution is negligible. The idea that combining the power of 2 grids is better than a single grid is self-evident. In addition, many of the optimised grids are not useful as there is no hardware support for them, and if hardware support for the look-up tables exists, P02 grids would be worse than the best optimally found grid (Corollary 3). The paper effectively introduces only one practical grid combination, SPF4, but the practical importance of it is trivial. It is 50% slower than its NVFP4 counterpart and the average. accuracy improvement is not in the order of ~0.3%.
-
The theoretical findings do not match the performance on benchmarks, but there is limited discussion. PO2(NF4) performs better than Split87 despite the fact that the latter has been explicitly learned. In addition, if we are moving away from practical grids, Split87 or PO2(NF4) should have been compared to the “optimal” single grid with the same number of levels (aka 5bits), as one bit is reserved for the choice.
Questions
- Fig. 2: What are the two colours? Is there a legend missing?
- Fig. 2: How should I interpret this graph? It is hard to understand, by looking at it, whether this is a good grid or not. Can you consider a better visualisation or provide some explanation?
- Line 223: You apply SFP4 only to weights, but the results in the table are for both weights and activations.
- Table 3 caption: What exactly does “accuracy” refer to?
- Table 4: There is no discussion of the fact that the average recovery difference between SPF4 and FP4 is quite small (~0.3%). Given such a modest improvement, the additional complexity of two further grids and a 50% latency overhead appears difficult to justify.
- Section 5.2: The NVFP4 format has an FP32 per-tensor scale along with the block-level E4M3 scales. Is this the paradigm you adopt for all the comparisons?
- Table 5: This table is very hard to read. Consider a column with the percentage difference from the baseline.
- Figure 4: These figures require some statistical metric to better demonstrate the power of the grids. PO2 (Split78) is the most powerful one, but it is hard to understand from these graphs why.
- Appendix G: Consider adding the total overhead over the full inference cost of an LLM (prefill and decoding). The overhead of the kernel could be amortised. Looking at the linear layers only can be misleading, as they are only part of the network. This could, in fact, help your results.
Limitations
yes
Paper formatting concerns
None
Final justification
The rebuttal corrected three errors in my review: the selector storage cost, the direction of Corollary 3, and the PO2(NF4) versus Split87 comparison. It also supplied the missing residual grids that had made the two top-performing methods irreproducible. The paper is technically solid, and the formalization of the multi-grid problem, together with the coverage from theory through to working kernels, is a genuine contribution.
My remaining reservations are that the headline ranking rests on single runs with 0.14pp separating the top three methods, that the 10-15% claim at line 162 does not appear to follow from Corollary 3, and that SFP4's accuracy gain is small relative to its kernel overhead. These place the paper at borderline accept rather than accept.
Final update: authors addressed many of my original concerns
Thank you for your review! We address your concerns and questions below.
We respectfully disagree that the theoretical contribution is negligible. The paper shows, for the first time, via a new modeling approach, that
Essentially, we analytically characterize the space of configurations where multiple-grid choices could be helpful, and provide practical instances where they do help and can be implemented.
Please note that Corollary 3 is an upper-bound result. It does not state that PO2 is worse than the optimal single grid. Additionally, an optimally chosen two-grid scheme cannot be worse than the best single grid, since it can always use that same grid twice.
We believe there may be a confusion here: Indeed, a 32-level single grid requires five bits for every scalar (excluding the scale). By contrast, a two-grid PO2 method stores four bits per scalar, plus one selector bit shared across a group of 16 values. The grid selector is shared by a group of 16 values, not stored per value. For a two-grid method, this is one bit per group, or 1/16 bit per value, and it is encoded in an otherwise unused scale sign. Thus, the storage-matched single-grid comparison is a 16-level grid, for which Table 2 includes the MSE-optimal grid Gopt, together with NF4 and Split87 as additional 16-level baselines.
The absence of native arbitrary-grid support on current Tensor Cores is precisely one of the system's limitations studied by the paper. This is not a reason to exclude the learned grids. The learned PO2 families quantify the accuracy opportunity that configurable lookup-table support would provide. Because different grid pairs win on different models, our conclusion is not that hardware should hard-wire a fixed “optimal” grid, but that it should expose a small programmable codebook in the low-bit datapath.
Notice that NVIDIA’s next-generation hardware (Rubin) will include support for configurable 3-bit lookup-table (LUT) operations, rendering our results even more relevant.
This result is not inconsistent with our theory: it supports it.
Please note that PO2(NF4) adaptively selects between the “Normal” NF4 prior, and a learned residual grid, whereas Split87 is a single grid. So, the fact that PO2(NF4) can outperform the highly-optimized Split87 single grid illustrates the benefit of multi-grid in specialized cases.
We apologize for this confusion: The two colors denote the snapped NF4 primary grid and its learned residual grid. The x-axis is the codepoint value, and each bar height is the distance to the neighboring codepoint. Smaller spacing indicates denser local resolution. We will clarify, and list both exact grids in Appendix C.
Everywhere including in Line 223 and all Tables SFP4 is applied only to the weights; activations are quantized using standard NVFP4. (This is required by the kernel.) We will state this explicitly in Section 5.2 and the table captions.
It is the unweighted mean of HellaSwag 0-shot, HellaSwag 10-shot, LAMBADA, MMLU, and GSM8K-CoT for each model. We will define this explicitly in the caption.
The downstream task gains are modest, since the evaluations themselves are noisy. Please notice that the reduction in the reported KL metrics, by approximately 10–11% relative to FP4, and the improvement in acceptance rate. Our intention is to show that shifted grids can recover accuracy while being implementable via existing TensorCore operations.
Our initial implementation did have significant overhead. To reduce this, we observed that the overhead of SFP4 correction can be reduced by switching the correction matmul to use MXFP8 instead of BF16 precision. For shapes with large K (reduction) dimensions, this reduces the overhead from 50% to around 25%; for shapes with large (M, N), the correction is memory-bound in the outputs, so any additional speedups would require a fused kernel.
We plan to investigate this in future work, but note that our preliminary implementation already shows feasibility of the correction mechanism.
Yes. Unless stated otherwise, the NVFP4-based comparisons use the standard two-level hierarchy: an FP32 per-tensor scale and E4M3 per-block scales. SFP4 is the explicit exception in the block-scale byte, using E3M3 magnitude plus two selector bits.
We agree, and will add the relative KL reduction versus NVFP4, including an average column to improve readability.
We are confused by this question: Figure 4 shows the converged values of the grids for MPO2 (learned pair), and PO2 (Split87), i.e. Split87 with the learned residual, as well as Shifted FP4 and NF4, which are fixed grids. We are not sure what the reviewer means by statistical metric in this case, as these are not evaluations, but the grid values themselves. We apologize if we are missing something, and would appreciate some clarification.
We agree that end-to-end measurements would be informative and would likely amortize part of the observed overhead, making our results look better. At the same time, we believe that reporting the kernel-level overhead is more transparent, as it isolates the additional cost introduced by SFP4 rather than hiding it within the full inference pipeline. If one were to integrate our implementation into
transformers, for example, one would expect to find very little additional overhead, because the baseline is not very efficient. We think that reporting the kernel overhead directly is more honest, but will add an end-to-end integration into the next revision.If you have any remaining questions or comments, we would be more than happy to discuss.