LoRaQ: Optimized Low Rank Approximation for 4-bit Quantization

Yann Bouquet, Alireza Khodamoradi, Sophie Yáng Shen, Kristof Denolf, Mathieu Salzmann

TL;DR

Running giant image-generating Diffusion Transformers (DiTs) on a tight hardware budget usually means compressing them to 4-bit precision—a move that ruins image quality unless you add a sluggish, 16-bit "helper" branch to clean up the rounding errors. LoRaQ rethinks how that helper branch is built so that everything—weights, helper branch, and layer-to-layer data traffic—can be quantized below 16 bits without expensive data-heavy setup. The result is sharper, more faithful images and up to 3.19× faster GPU kernels at the exact same memory footprint.

What Problem Does This Paper Address?

Modern text-to-image models like FLUX.1 and PixArt-$\Sigma$ rely on massive Diffusion Transformer backbones. Shrinking their weights and activations from 16-bit down to 4-bit (post-training quantization, or PTQ) makes them much cheaper to run, but DiTs are notoriously sensitive: tiny rounding errors snowball across iterative denoising steps and wreck the final image.

State-of-the-art methods like SVDQuant rescue quality by splitting each linear layer into two parallel paths: a 4-bit residual branch and a skinny low-rank branch (computed via Singular Value Decomposition, or SVD) that absorbs extreme outlier values.

Here is the catch:

  1. The 16-bit bottleneck: Because SVD is a rigid mathematical truncation of the original matrix, quantizing the low-rank branch destroys its precision. So, prior methods leave that branch in 16-bit (FP16), forcing 16-bit activation traffic between layers and leaving fast, sub-16-bit hardware paths underutilized.
  2. Heavy calibration: Finding that low-rank branch previously required costly, data-dependent calibration procedures, making it hard to quantize massive models on modest hardware.

Methods

LoRaQ keeps the standard, lightweight activation-smoothing step from prior work (calibrated on a small set of prompts), and introduces a data-free optimization for the weights.

Generic LoRaQ layer decomposition into quantized low-rank and residual branches

Instead of approximating the weight matrix via SVD, LoRaQ directly shapes and absorbs the quantization error itself:

  • Idempotent Reformulation: You cannot run gradient descent directly through a rounding (quantization) function because its derivative is zero almost everywhere. The authors note that quantization is idempotent—quantizing an already-quantized number changes nothing ($Q(X) = X$). By shifting the original weights $W$ by a low-rank perturbation $LR$ and minimizing $\|Q(W + LR) - W - LR\|_F^2$ via gradient descent (initialized with SVD), LoRaQ nudges $W + LR$ onto the quantization grid so the error cleanly factors into $LR$.
  • Quantized Higher-Rank Branches & Rotations: Because LoRaQ optimizes directly against the quantization operator, the low-rank factors $L$ and $R$ can themselves be quantized (e.g., to 4, 6, or 8 bits). Using fewer bits per number lets you increase the matrix rank under the exact same memory budget. To squeeze out even more precision for free, LoRaQ applies an optimized rotation matrix ($\Omega \in \text{SO}(\rho')$) between $L$ and $R$ that minimizes per-factor rounding error while cancelling out mathematically ($L\Omega\Omega^TR = LR$).

The authors showcase two main setups alongside the SVDQuant baseline: LoRaQ-A (matching SVDQuant's 16/4-bit activation split, but with a 4-bit, rank-128 helper branch) and LoRaQ-B (a fused 8-bit activation pipeline with an 8-bit, rank-64 helper branch).

LoRaQ-B fully sub-16-bit pipeline with 8-bit activations and fused GPU kernel

Datasets

No new benchmarks are introduced; the authors follow established evaluation protocols:

  • Calibration: 128 captions from the COCO 2017 validation set (used strictly for the shared activation-smoothing scales; LoRaQ's low-rank weight optimization uses zero data).
  • Evaluation: 5,000 generated samples each on MJHQ-30K and sDCI (summarized Dense Captioning Images) to test visual quality and similarity against 16-bit baselines.

Key Insights and Ideas

  • Symmetric 8-bit beats asymmetric 16/4-bit: SVDQuant feeds 16-bit activations to the low-rank branch and 4-bit to the residual. A theoretical noise analysis by the authors proves this split only beats a uniform 8-bit/8-bit split if the residual branch holds less than 0.39% of the weight energy. Across 762 layers of real DiTs, the median residual energy is actually 77% to 87%. Switching to 8-bit activations everywhere (LoRaQ-B) halves inter-layer memory traffic and doubles the precision of the branch doing most of the heavy lifting!
  • Wider and narrower-bit beats skinnier and 16-bit: At a fixed memory budget (512 bits per hidden dimension), a rank-64 branch in 8-bit or a rank-128 branch in 4-bit captures much more residual quantization error than a rank-32 branch stuck in 16-bit, because DiT weights spread their energy well beyond the top 32 singular directions.

Key Results

Evaluated on PixArt-$\Sigma$ (0.6B), SANA (1.6B), and FLUX.1-schnell (12B) across integer (SINT4, MXINT4) and microscaling float (MXFP4e2) formats:

  • Fidelity & Quality: At equal memory overhead, LoRaQ-A beats SVDQuant on perceptual similarity (LPIPS) in every single test setting, and improves PSNR and Image Reward (IR) in nearly all of them. For instance, on SANA (SINT4 on MJHQ), LoRaQ-A drops FID from 19.3 to 16.1 (matching the 16.2 BF16 baseline) and boosts PSNR from 17.8 to 19.2 dB.
  • Visuals: Qualitative comparisons show LoRaQ preserves fine textures, lighting, and facial features that drift or blur under SVDQuant.
Visual comparison of PixArt-Sigma generations across FP16, SVDQuant, and LoRaQ-B
  • Hardware Speedups: Because LoRaQ-B eliminates 16-bit data movement and runs its rank-64 branch on native FP8 hardware tiles, it achieves 1.08× to 3.19× kernel-level speedups over SVDQuant on an AMD MI355 GPU across real Flux and PixArt-$\Sigma$ layer shapes (and up to 3.15× on MI350).

Limitations and Future Work

  • Occasional FID dips: Because LoRaQ’s weight objective reconstructs the 16-bit weights without looking at activation data, it occasionally trails SVDQuant’s data-dependent calibration on distributional FID scores (always within $\Delta\text{FID} \le 1.0$) and in one PSNR setting.
  • Future Directions: The authors suggest adding an optional, lightweight data-calibration pass to close those tiny FID gaps while keeping the fast data-free mode as the default, as well as testing LoRaQ beyond DiTs on other generative model families.

Summary updated

BibTeX
@inproceedings{bouquet2026loraq,
  author = {Yann Bouquet and Alireza Khodamoradi and Sophie Yáng Shen and Kristof Denolf and Mathieu Salzmann},
  title = {{LoRaQ: Optimized Low Rank Approximation for 4-bit Quantization}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2026},
  url = {https://openreview.net/forum?id=2S5ArH5uJa},
}
Figure