Improving Quantized Zeroth-Order Optimization through Reconstructed Low-Rank Structures
Fei Wang, Shuai Xie, Li Shen, Chao Xue, Ye Liu, Changxing Ding
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Zeroth-Order Fine-Tuning · Type: new method · Keywords: quantized zeroth-order optimization, low-rank gradient structure, binary-aggregated Gaussian perturbation, isotropy-enhanced quantization, memory-efficient fine-tuning
Summary
LQZO is a low-rank quantized zeroth-order optimizer that leverages low-rank gradient structures and isotropic scale reshaping to improve fine-tuning of quantized models, achieving 2-3% gains across bit-widths.
Explained to a 5-year-old
Big computer brain models need a lot of memory to work, which can be hard when we only have a small device. To train these tiny models, we use a method that does not need to look at the exact numbers inside, just guess the best changes. We also make the guesses simpler by using only a few important numbers, like drawing a small picture of how the model should change. This helps the small models learn faster and work better, even when they are very small. The new idea also works for both language and picture-understanding models.
Explained to a 5-year-old, longer
When we want to use a really big computer brain, like one that reads and writes text, it needs a lot of memory to store all its information. Sometimes we want to make that brain smaller so it can run on a phone or a tiny robot, but making it smaller can make it forget a lot. To help the small brain learn new things without using a lot of memory, we use a special training method that guesses the best changes without looking at the exact numbers. Instead of trying every possible change, we only look at a few important directions, like drawing a simple picture of what the changes should look like. We also make the guesses more balanced so that we explore different possibilities evenly. These ideas together let the small brain learn new words or skills while using very little memory. The new approach works not only for language models but also for models that understand pictures, like those used in robots. By using these tricks, the small brain can keep more of its original knowledge while still learning new things. This makes the small brain more useful in real life, where we often have limited space and power. It also helps researchers test new ideas quickly because they don't need huge computers. Overall, the method makes it easier to have smart AI on devices that are small and cheap. It opens the door for more accessible and widespread use of artificial intelligence in everyday gadgets.
For a technical reader
The paper tackles fine-tuning large language models under tight memory budgets by using zeroth-order optimization, which avoids backpropagation and further cuts memory. It notes that quantized ZO methods often underperform because they ignore the low-rank nature of gradient updates. The solution exploits this low-rank structure via a factorized perturbation, adds a binary-aggregated Gaussian scheme based on a Rademacher distribution to tighten variance, and reshapes quantization scale groups to be more isotropic. A convergence guarantee is provided, and experiments show consistent 2-3% gains across quantization levels and improved trainability of INT2 models, with benefits extending to vision transformers.
Problem
Fine-tuning large language models under strict memory constraints is challenging, and quantized zeroth-order optimizers often underperform full-precision versions, especially at low bit-widths, because they fail to exploit the low-rank nature of gradient updates.
Method
The approach parameterizes gradient perturbations with a low-rank factorization, uses a binary-aggregated Gaussian perturbation based on a Rademacher distribution to tighten variance bounds, and reshapes quantization scale groups to be more isotropic, all while providing a theoretical convergence guarantee.
Results
The approach achieves average performance gains of 2.0-3% across quantization precisions and significantly improves trainability of INT2 models, narrowing the gap with full-precision methods, and also shows superior performance on Vision Transformers.
Contributions
It introduces a low-rank parameterization of gradient perturbations, a variance-tightening binary-aggregated Gaussian perturbation, and an isotropy-enhanced scale reshaping technique, along with a theoretical convergence guarantee and cross-modality validation on vision tasks.
Limitations and assumptions
Extreme quantization still incurs information loss, and the reported gains are limited to the evaluated quantization levels and vision transformer tasks.
Practical relevance
Enables efficient fine-tuning of heavily quantized language and vision models on limited hardware, reducing memory usage while preserving performance.
Research questions this paper is counted under
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