NeurIPS 2026QuestionsPapersAreasAboutMarkdown

Rethinking Gradient Approximation in Quantization: A Zeroth-Order Expectation Perspective

Wenkang Wang, Jia Zhang, Zelin Wei, Dongxu Liu, Jiabao Li, Wanli Shi, Bin Gu

NeurIPS page · OpenReview · Open on the map

Category: Efficient LLM Inference & Training › Zeroth-Order Fine-Tuning · Type: new method · Keywords: gradient approximation, quantization, zeroth-order expectation, surrogate gradient, LLM quantization, model compression

Summary

The paper introduces ZOE-Grad, a zeroth-order expectation view of quantization surrogate gradients that provides a unified interpretation and improves gradient quality for LLM quantization.

Explained to a 5-year-old

When we make big computer models smaller, we need to round numbers. Rounding is not smooth, so we cannot easily calculate how to change them. Usually, people use a trick to guess the change, but that trick is not perfect. The paper looks at this guessing trick from a new angle, using a method that works like averaging many guesses. It shows that the usual trick is like a sudden jump that ignores the shape of the numbers. A smoother guessing method can see the shape better and makes the model work better.

Explained to a 5-year-old, longer

When we make big computer brain models smaller, we need to turn big numbers into smaller ones. This is called quantization. The numbers we use are not smooth, so we cannot easily calculate how to change them. Usually, people use a trick to guess the change, but that trick is not perfect. The paper looks at this guessing trick from a new angle, using a method that works like averaging many guesses. It shows that the usual trick is like a sudden jump that ignores the shape of the numbers. A smoother guessing method can see the shape better and makes the model work better. The new idea works well on many different big models. It also has a proof that it will not make mistakes too often. This helps researchers and engineers make smaller models that still understand language well. It also makes it easier to run these models on phones or computers with less memory. The paper gives clear rules for how to use the new guessing method. It also points out where the method might still be limited. Overall, the work makes quantizing big language models more reliable and easier to use.

For a technical reader

The paper introduces ZOE-Grad, a new way to approximate gradients when quantizing large language models by viewing surrogate gradients as expectations of zeroth-order estimators. It shows that the commonly used Straight-Through Estimator (STE) is a special case that ignores local quantization boundaries, while continuous perturbation-based surrogates capture more nuanced gradient information. The framework provides bounded-error convergence guarantees and validates its superiority on several popular model families (OPT, LLaMA-2, Qwen3) through extensive experiments. By offering a unified theoretical interpretation, ZOE-Grad enables practitioners to select more expressive surrogates for efficient model deployment. The work also highlights practical considerations such as perturbation distribution choices and convergence behavior for real-world quantization pipelines.

Problem

Quantizing large models with multi-bit quantization uses non-differentiable rounding, requiring surrogate gradients that lack a unified theoretical foundation and often ignore quantization boundary geometry.

Method

The approach formulates quantization surrogate gradients as expectations of zeroth-order gradient estimators, establishing an equivalence that reveals STE as a degenerate perturbation and proposes continuous perturbation-based surrogates that capture boundary-local information. Under this framework, the quantized objective is optimized with bounded-error convergence guarantees.

Results

The approach shows consistent performance improvements over STE across multiple large language model architectures.

Contributions

It provides a unified zeroth-order expectation interpretation of quantization surrogate gradients, reveals limitations of STE, introduces continuous perturbation-based surrogates, and offers bounded-error convergence guarantees for quantized optimization.

Practical relevance

Provides a more expressive gradient surrogate for efficient, high-quality quantization of large language models, aiding deployment on limited 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