LoRaQ: Optimized Low Rank Approximation for 4-bit Quantization
Yann Bouquet, Alireza Khodamoradi, Sophie Y Shen, Kristof Denolf, Mathieu Salzmann
NeurIPS page · Open on the map
Category: Efficient LLM Inference & Training › Low-bit Post-Training Quantization · Type: new method · Keywords: post-training quantization, low-rank approximation, diffusion transformers, image generation, mixed-precision quantization
Areas: Code & Coding Agents › Code Generation and Optimization › Model Quantization
Summary
LoRaQ is a data-free calibration approach that enables fully sub-16-bit low-rank approximation for 4-bit quantization of diffusion transformers, improving generative quality and speed.
Explained to a 5-year-old
Big computers make pictures using a model that is too big to fit on small devices. To make it smaller, we cut the model into a tiny piece and learn how to fix mistakes without needing lots of extra data. This tiny piece can also be made very small, so the whole model uses less memory. Because it uses less memory, the model can run faster on phones and other small gadgets. This helps people see better pictures on their devices without waiting long.
Explained to a 5-year-old, longer
Big computers can draw pictures using something called a diffusion transformer, which is a very large set of instructions. When we want to use this model on a phone or a small computer, we need to make it smaller so it fits. Making it smaller means we change the numbers inside the model to only 4 bits each, which saves a lot of space. However, making the model that small often makes the pictures look worse. To fix this, researchers added a tiny extra piece of math that learns how to correct the mistakes. This extra piece is called a low-rank approximation because it only needs a few numbers to work. The clever part is that they can train this extra piece without needing any extra pictures or data. Because the extra piece can also be made very small, the whole model can be fully low-bit, no high-precision parts left. This allows the model to use even less memory and run faster on hardware that supports mixed precision. The new method also lets the model work with different bit widths for different parts, like using 8-bit for some parts and 4-bit for others. As a result, the pictures stay good while the model becomes smaller and quicker. This makes it possible to enjoy high-quality image generation on devices like smartphones and tablets without waiting for a long time.
For a technical reader
The paper tackles the quality loss that occurs when large diffusion models are quantized to 4-bit for edge deployment. Existing solutions keep an auxiliary high-precision branch that must be calibrated with lots of data and cannot be quantized itself. The authors replace this with a data-free calibration that learns a low-rank correction directly in low precision, allowing the entire pipeline to be sub-16-bit. This not only preserves image quality but also enables mixed-precision configurations and yields up to 3.19× speedups on modern GPUs. The result is a compact, fast model that can be shipped on devices with limited memory and compute.
Problem
Post-training quantization of large diffusion transformers to low bit widths (e.g., 4-bit) often degrades generative quality. Existing solutions use high-precision auxiliary branches that require heavy data-dependent calibration and cannot be quantized themselves, limiting memory savings and hardware efficiency.
Method
The approach optimizes quantization error compensation using a data-free calibration that learns low-rank approximation matrices directly in low precision. It replaces high-precision auxiliary branches with quantized low-rank branches, enabling a fully sub-16-bit pipeline and allowing mixed-precision configurations.
Results
The approach achieves higher generative quality than existing methods at the same memory cost on Pixart-Σ, SANA and Flux.1, and mixed-precision configurations (e.g., W8A8, W6A6, W4A8) provide further gains while delivering up to 3.19× kernel-level speedups on AMD MI355.
Contributions
It introduces a data-free calibration technique that enables fully sub-16-bit low-rank approximation for quantization, removing the need for high-precision auxiliary branches. The work also explores mixed-precision configurations and demonstrates speedups on modern hardware.
Practical relevance
The fully quantized pipeline enables deployment of high-quality diffusion models on resource-constrained hardware, reducing memory footprint and improving inference speed.
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