Chiosa
Machine Learning

A finer weight grid brings multiplier-free LLM inference closer

Fractional Power-of-Two Quantization for Efficient and Effective Multiplier-Free LLM Inference · arXiv:2610.21257

3 min
Updated

In plain words

A language model can use fewer bits to store its numbers, but the saved space can come at the cost of accuracy. Standard power-of-two quantization uses widely spaced weight values, which the paper identifies as a problem at four bits.

The paper introduces FPoT, which places weight values closer together so the model can use shifts and additions instead of integer multipliers. In tests, FPoT stayed close to uniform integer quantization on most of the tested model and setting combinations; it did not match it in every case.

The research

Can language models use weight values that make arithmetic simpler without giving up much accuracy? Standard power-of-two quantization offers shifts and additions instead of integer multipliers, but its widely spaced levels are an accuracy obstacle at four bits.

FPoT uses a finer logarithmic grid for weights, pairing it with integer activations to support multiplier-free shift-and-add inference.

The authors ask whether a finer weight grid can reduce the accuracy cost of using power-of-two values for multiplier-free language-model inference. FPoT places weight levels halfway between standard power-of-two levels and keeps activations uniformly quantized as integers.

On Llama-3-8B at W4A4KV4, FPoT's WikiText-2 perplexity is 7.60 versus 7.36 for uniform integer weights; its average accuracy across nine zero-shot tests is 64.8% versus 65.2%.

Across seven models and 21 settings, that accuracy average is within one percentage point of uniform integers in 20 settings, showing close results in most reported cases.

The model results use a particular preprocessing and calibration pipeline, and the detailed Llama-3-8B comparison reports three calibration seeds. The hardware figures are estimates from a simplified component-cost model; the paper leaves end-to-end chip validation for future work.

What the evidence shows

  • The coarse-grid problem

    The paper introduces Fractional Power-of-Two quantization (FPoT), a method for quantizing large language-model weights. It addresses a specific tension: standard Power-of-Two quantization can replace integer multipliers with shifts and additions, but its weight levels are widely spaced.

    The authors identify that coarse spacing as an accuracy obstacle at low bit widths, especially in the four-bit setting they study.

  • A finer weight grid

    FPoT puts weight levels at half-octave intervals, closer together than standard PoT's factor-of-two spacing. It pairs this grid with uniformly quantized integer activations, keeping the logarithmic grid on static weights.

    The design also approximates the square-root-of-two operation with one addition and incorporates that hardware approximation when quantizing weights.

  • A grid-level diagnostic

    A numerical comparison tests the grids using a Gaussian weight model, with 15 levels and jointly optimized scale. FPoT's mean squared error is 1.27 times that of uniform INT4, while standard PoT's is 3.21 times.

    This supports the claim that the denser grid better matches the modeled weights, but it does not measure language-model accuracy.

  • Results across models

    On Llama-3-8B at W4A4KV4, FPoT's WikiText-2 perplexity is 7.60, compared with 7.36 for uniform integer weights and 8.79 for standard PoT. Separately, the evaluation framework scores the model's accuracy on nine zero-shot tests, and researchers report their unweighted average: 64.8% for FPoT and 65.2% for uniform integers.

    Across seven models and 21 settings, the nine-test average is within one percentage point of uniform integers in 20 combinations.

  • The design's boundaries

    A control on Llama-3-8B finds higher perplexity when FPoT is applied to activations as well as weights than when activations stay uniform integers. This supports the method's choice to apply its logarithmic grid to weights only in the tested setup.

    Hardware savings are estimated with a simplified component-cost model, and the paper identifies end-to-end chip validation as future work.

Deep

Next paperA training flow makes CNNs fit a fixed edge chip’s number rules