NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

MixNLQ: An Effective Post-Training Nonlinear Low-Bit Quantization Method for Large Language Models

Yirong Xiong, Mingrui Cai, Gene Wen, Yuxing HanNeurIPS 2026

TL;DR

Shrinking Large Language Models (LLMs) to 3 or 4 bits usually forces an awkward compromise: fast uniform spacing mangles the model’s quirky weight shapes, while flexible lookup tables choke GPU memory bandwidth. MixNLQ breaks this deadlock by blending a linear grid with a power-of-two curve into a simple math equation. You get the high accuracy of custom non-linear quantization with fast, lookup-free GPU arithmetic.

What Problem Does This Paper Address?

Post-Training Quantization (PTQ) compresses massive LLMs without expensive retraining by rounding 16-bit weights down to 3- or 4-bit integers. The catch? LLM weights aren't evenly spread out. Instead, they form a sharp peak right around zero, flanked by long, heavy tails containing rare—but crucial—outliers.

Standard uniform (linear) quantization spaces its rounding buckets evenly; if you stretch it to catch the outliers, you starve the dense center of resolution. Purely exponential spacing hugs zero nicely, but leaves the heavy tails stranded. Meanwhile, non-uniform methods that use lookup tables (LUTs) to place buckets wherever needed incur noticeable memory overhead and slow down GPU inference with extra memory fetches. How do we match the true shape of LLM parameters without paying the lookup-table tax?

Comparison of linear, exponential, and MixNLQ interval partitioning across a peaked, heavy-tailed LLM weight distribution.

Methods

Motivated by a theoretical analysis of core and tail distributions, the authors propose a hybrid reconstruction formula for a quantization integer $q$: $$r(q) = s_1 q + s_2 2^q + s_3$$

Here, one bit stores the sign, while the remaining $n-1$ bits store the magnitude index $q$. Near zero, the linear term ($s_1 q$) provides steady resolution; out in the tails, the power-of-two term ($s_2 2^q$) expands geometrically to capture outliers. At 4 bits and above, the bias $s_3$ is dropped; at 3 bits, $s_3$ is kept to prevent zero-point drift.

  • What’s novel: Instead of fetching values from a codebook, custom CUDA and Triton kernels reconstruct weights on the fly using fast bit-shifts and basic arithmetic. To find the scales ($s_1, s_2, s_3$), MixNLQ uses a quick 1D grid search followed by a damped alternating least-squares solver—including a dynamic, per-token version for activations that runs online without calibration.
  • What’s standard: For its calibrated weight variant, MixNLQ pairs its custom scale-fitting with established techniques: AWQ-style activation importance weighting and GPTQ-style Hessian error compensation.

Datasets

The authors do not introduce new benchmarks, evaluating instead on standard datasets across LLaMA3.1-8B, Mistral-7B, and DeepSeek-32B:

  • Language Modeling & Calibration: WikiText-2 (also used for 128-sample calibration) and C4 (1,000 random samples).
  • Zero-Shot Reasoning: BoolQ, PIQA, SIQA, HellaSwag, OBQA, WinoGrande, ARC-easy, and ARC-challenge.

Key Insights and Ideas

  • Math beats memory lookups: Because powers of two ($2^q$) map cleanly onto binary hardware representations, combining linear and $2^q$ terms gives non-uniform flexibility while keeping storage nearly identical to uniform quantization and avoiding LUT bottlenecks.
  • The 3-bit cliff needs an anchor: Ablations show the offset $s_3$ does almost nothing at 4 bits. Drop to 3 bits, however, and omitting $s_3$ causes catastrophic zero-point shift—ballooning LLaMA3.1-8B’s WikiText-2 perplexity from 7.79 to 14.14.
  • Rotations and non-linear grids are allies, not rivals: Modern methods like SpinQuant rotate weight matrices to smooth out outliers. Rather than making non-uniform quantization redundant, combining SpinQuant with MixNLQ yields massive compounding gains—especially when squeezing activations down to 3 bits.

Key Results

  • Weight Quantization: Without calibration, MixNLQ beats RTN, PoT, and NF4 across almost every 3-bit and 4-bit test (e.g., cutting LLaMA3.1-8B 3-bit WikiText-2 perplexity from 8.43 with NF3 down to 7.77). With calibration, it rivals or beats GPTQ, AWQ, ANY4, and SpinQuant.
  • Activation Quantization: On 3-bit activations (W16A3), pairing MixNLQ with SpinQuant slashes WikiText-2 perplexity from 45.67 (SpinQuant alone) to 16.72, and C4 perplexity from 70.52 to 29.20. Just 1 online fitting iteration drops perplexity from 45.18 (Linear) to 8.45 with only 1.0% decoding latency overhead.
  • Speed & Footprint: Using 4-bit CUDA kernels, MixNLQ achieves 1.82× end-to-end speedup over BF16 on LLaMA3.1-8B (RTX 3090) and 1.28× on DeepSeek-32B (A100). It delivers 1.43× and 1.70× end-to-end speedups over the LUT baseline while matching uniform quantization's exact memory footprint (5.41 GiB on LLaMA3.1-8B vs. 6.83 GiB for LUT). Offline calibration-free fitting takes just 3m18s.

Limitations and Future Work

MixNLQ's arithmetic reconstruction still adds a modest compute tax over simple uniform quantization, increasing decoding latency by ~9–12% at 3 bits and ~30% at 4 bits. The authors also note that on specialized hardware where indexed table lookups are virtually free, MixNLQ's speed advantage over LUTs may shrink. Finally, their activation quantization experiments currently use "pseudo-quantization" (quantizing and immediately dequantizing back to BF16 before matrix multiplication) rather than demonstrating true low-bit end-to-end activation speedups. Future work aims to optimize low-bit GPU kernels, trim online activation-fitting costs, and build a fully quantized end-to-end inference pipeline.

Summary updated

BibTeX
@inproceedings{xiong2026mixnlq,
  author = {Yirong Xiong and Mingrui Cai and Gene Wen and Yuxing Han},
  title = {{MixNLQ: An Effective Post-Training Nonlinear Low-Bit Quantization Method for Large Language Models}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=NAj1slTG0T},
}
Figure