Structured Transforms for Low-Overhead Quantization of Language Models
Daria Cherniuk, Alexander Rudikov, Boris Kashin, Ivan Oseledets
NeurIPS page · OpenReview · alphaXiv · Open on the map
Category: Efficient LLM Inference & Training › Low-bit LLM Quantization · Type: new method · Keywords: language model quantization, Kashin decomposition, Discrete Cosine Transform, low-overhead quantization, 2-bit factor codes, stable clustering
Summary
Kashin-DCT introduces a structured, sign-randomized Discrete Cosine Transform to improve Kashin-decomposition-based quantization, achieving efficient low-overhead 2-bit factor codes for language models.
Explained to a 5-year-old
We want to make big computer brain models smaller so they use less memory. The paper finds a way to split each number into two tiny pieces using a special math trick. This trick makes the pieces easy to store and fast to compute. The new method stays stable even when the model gets confused. It helps the models run faster on simple hardware.
Explained to a 5-year-old, longer
Big computer programs called language models need a lot of memory to work. When we want to use them on small devices, we need to make them smaller. The paper looks at how to cut down the size of the numbers inside these models. It uses a special math pattern that spreads the numbers out nicely. This pattern helps keep the numbers easy to read and store. The new method also makes sure the numbers stay balanced and don't get too wild. It works like a clever way to pack the information tightly. The result is that the model can still understand language but uses less space. It also runs faster on simple hardware that can only handle very small numbers. The approach is robust, meaning it doesn't break easily even in tough situations. Overall, it makes big language models more friendly for small devices.
For a technical reader
The paper proposes a quantization pipeline that replaces dense orthogonal transforms with a sign-randomized DCT, cutting per-iteration complexity from O(N²) to O(N log N). A greedy alternating update ensures a four-peak distribution for stable 2-bit clustering and provides closed-form cluster initialization, eliminating multi-restart k-means. Combined with OPTQ-style error compensation and QuIP-style incoherence preprocessing, the method yields two 2-bit factor codes per channel, matching state-of-the-art performance on OPT, Llama-2, and Pythia while remaining numerically stable on stress configurations.
Problem
Quantizing large language models efficiently while maintaining stability and low computational overhead is challenging, as existing methods rely on dense random orthogonal transforms and costly multi-restart clustering.
Method
The approach replaces the dense random orthogonal matrix with a sign-randomized Discrete Cosine Transform, uses a greedy alternating update algorithm to guarantee a four-peak distribution for stable 2-bit clustering, and initializes cluster centers in closed form. It also incorporates OPTQ-style error compensation and QuIP-style incoherence preprocessing, yielding a JAX pipeline that produces two 2-bit factor codes per channel.
Results
The resulting pipeline matches or exceeds OPTQ, QuIP, QuIP-RG and a QuIP# variant at 4-bit per channel on the three models, while remaining numerically stable on stress configurations where prior methods diverge or produce NaNs, and provides favorable wall-clock scaling.
Contributions
It introduces a structured, sign-randomized DCT transform that reduces per-iteration cost to O(N log N), a greedy alternating update algorithm that guarantees a four-peak distribution and closed-form cluster initialization, and a robust JAX pipeline that combines error compensation and incoherence preprocessing for stable low-overhead quantization.
Practical relevance
The approach enables efficient inference on native 2-bit hardware by producing compact factor codes, reducing memory and computational overhead for deploying large language models.
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