ConQuR: Corner Aligned Activation Quantization via Optimized Rotations for LLMs
Chayne Thrash, Ali Abbasi, Soheil Kolouri
NeurIPS page · OpenReview · Open on the map
Category: Efficient LLM Inference & Training › Low-bit LLM Quantization · Type: new method · Keywords: activation quantization, orthogonal rotation, hyper-cube alignment, post-training calibration, LLM efficiency
Summary
ConQuR introduces a lightweight post-training rotation calibration method that aligns normalized LLM activations with hypercube corners via orthogonal Procrustes, enabling efficient low-bit activation quantization without costly end-to-end training or large activation storage.
Explained to a 5-year-old
Big computer programs called language models need a lot of memory to run. To make them smaller, we shrink the numbers they use. But shrinking can make mistakes because some numbers are too big. The new idea rotates the numbers so they spread out evenly, like moving toys around a circle. This helps keep the program working well while using less memory.
Explained to a 5-year-old, longer
Large language models are computer programs that can write and understand text, but they need a lot of memory to store all the information they learn. When we try to make them smaller for phones or laptops, we compress the numbers that represent this information. However, some numbers are much larger than others, which can cause the compressed version to make mistakes. Researchers have found a way to rearrange these numbers so that they are more balanced, like mixing ingredients in a smoothie. This rearrangement is done by rotating the numbers in a special way that spreads the size evenly across all dimensions. The rotation can be calculated quickly without needing to train the model again. It also works while looking at new data one piece at a time, so we don’t have to keep a big collection of old data on disk. This makes the model both smaller and faster to use. The new method has been tested on several popular language models ranging from a few billion to seventy billion parameters. It keeps the model’s performance good on tasks like answering questions and reasoning about everyday situations. By avoiding heavy training and large storage, the approach makes it easier to run language models on limited hardware. Overall, the technique helps bring powerful language models to more devices without losing their usefulness.
For a technical reader
The paper tackles activation quantization for LLMs by learning orthogonal rotations that align activations with hypercube corners, solved via the orthogonal Procrustes problem. It introduces an online calibration step that updates rotations on the fly, eliminating the need to store large activation datasets. Experiments on Llama-2 and Llama-3 models show competitive perplexity and reasoning performance while avoiding expensive end-to-end training. This yields a memory-efficient inference solution suitable for resource-constrained deployments.
Problem
Low-bit activation quantization for large language models suffers from activation outliers that cause large quantization error. Existing rotation-based solutions either require expensive end-to-end training or need to store activation corpora, creating compute and storage overhead.
Method
The approach learns orthogonal rotations that align normalized activations with the corners of an inscribed hypercube, solved efficiently via the orthogonal Procrustes problem, and updates rotations online during calibration without storing activations.
Results
The approach achieves competitive or improved performance on perplexity benchmarks and common sense reasoning tasks while avoiding costly end-to-end training and large offline activation storage.
Contributions
A lightweight post-training rotation calibration method that aligns activations with hypercube corners using orthogonal Procrustes, and an online calibration procedure that updates rotations on the fly without storing activations.
Practical relevance
Enables more efficient deployment of large language models on resource-constrained hardware by reducing memory footprint and inference cost.
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