NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

CLoQ: Enhancing Fine-Tuning of Quantized LLMs via Calibrated LoRA Initialization

Yanxia Deng, Aozhong Zhang, Naigang Wang, Selcuk Gurses, Zi Yang, Penghang Yin · DOI

Abstract

As Large Language Models (LLMs) scale, the computational requirements for fine-tuning become increasingly prohibitive. While Low-Rank Adaptation (LoRA) and weight quantization offer paths toward efficiency, their combination—particularly at ultra-low bit-widths—often results in significant performance degradation due to quantization noise. This paper introduces CLoQ (Calibrated LoRA for Quantized LLMs), a novel initialization strategy that bridges this gap. By utilizing a small calibration dataset and a closed-form mathematical solution, CLoQ initializes LoRA adapters to specifically compensate for quantization errors as perceived by model activations. Our results demonstrate that CLoQ enables 2-bit models to achieve reasoning accuracies that previously required 4-bit precision, while significantly reducing the memory and time overhead of the initialization process.

Introduction

The fine-tuning of LLMs with hundreds of billions of parameters is a massive computational burden. To address this, researchers typically employ two strategies: LoRA, which updates a small subset of parameters, and Quantization, which compresses weights from 16-bit floats to 4-bit or 2-bit integers.

However, combining these techniques is non-trivial. Compressing weights to 2 bits introduces substantial mathematical noise (quantization error). Standard LoRA initialization—which typically starts with one matrix as random noise and the other as zero—is "unaware" of this error. Consequently, the fine-tuning process often fails to recover the model's original intelligence in ultra-low precision regimes. Existing attempts to mitigate this either require expensive iterative optimization or fail to account for how data actually flows through the model (the activations).

Methodology

CLoQ introduces a data-driven initialization phase that occurs prior to fine-tuning. The process is divided into two primary stages:

1. Calibrated Quantization

The authors utilize a small calibration dataset (e.g., 128 samples from WikiText-2) to quantize pre-trained weights ($W$) into low-bit weights ($Q$). This stage employs OPTQ combined with Weight Magnitude Reduction (MagR) to minimize the initial quantization error.

2. Generalized Low-Rank Approximation

This is the core innovation of CLoQ. Rather than simply matching the LoRA matrices ($AB^\top$) to the raw quantization error ($\Delta W = W - Q$), CLoQ minimizes the error as it is processed by the model's activations ($X$). The optimization objective is defined as:

$$\min \|X(AB^\top - \Delta W)\|_F^2$$

The researchers provide a novel theoretical proof showing that this problem has a closed-form solution. By utilizing two Singular Value Decompositions (SVDs) and incorporating the Gram matrix of activations ($X^\top X$), CLoQ finds an optimal starting point for the adapters without the need for backpropagation or complex iterative loops. This makes the initialization both mathematically optimal and computationally efficient.

Experimental Setup

The effectiveness of CLoQ was evaluated across several diverse benchmarks using Llama2 (7B, 13B), Llama3 (8B), and Mistral-7B models:

  • Language Modeling: Perplexity measured on the WikiText-2 test set.
  • Arithmetic Reasoning: Evaluated on GSM8K, AQuA, MAWPS, and SVAMP.
  • Commonsense Reasoning: A suite of eight tasks including BoolQ, PIQA, SIQA, HellaSwag, WinoGrande, ARC-e/c, and OBQA.

Key Results and Insights

The 2-Bit Breakthrough

Traditionally, 2-bit quantization was considered a "performance cliff" where models lost most of their reasoning capabilities. CLoQ demonstrates that with calibrated initialization, 2-bit models can remain highly functional. On Llama2-7B at 2-bit precision, CLoQ achieved 33.7% accuracy on GSM8K, significantly outperforming other methods like LoftQ (20.9%) and ApiQ-lw (26.0%).

Efficiency and Scalability

Because CLoQ relies on a closed-form SVD solution rather than gradient-based optimization, it is remarkably efficient. For a Llama2-13B model, CLoQ initialization required only 1.5 hours and 13GB of GPU memory. In contrast, LoftQ required 27GB of memory, and ApiQ-lw took 6.5 hours to complete.

Activation-Awareness

CLoQ's success highlights that activations matter. Most quantization methods focus solely on weights, but CLoQ recognizes that certain weights are more critical based on the data passing through them. By prioritizing the reduction of errors that impact the model's output, CLoQ effectively preserves model intelligence even under extreme compression.

Conclusion and Future Work

CLoQ represents a significant advancement in the deployment of LLMs on resource-constrained hardware. By proving that 2-bit models can surpass the performance of previous 4-bit standards (like INT4 QLoRA) through better initialization, the authors open new doors for ultra-low-bit fine-tuning.

Despite its success, some questions remain. While the paper identifies an optimal product $AB^\top$, there are multiple ways to decompose this into individual matrices $A$ and $B$; the specific training dynamics of these splits warrant further study. Additionally, while the method is robust, it remains sensitive to the choice of calibration data. Future research may explore how these strategies impact the broader loss landscape and whether the approach can be extended to other parameter-efficient fine-tuning (PEFT) methods.

Summary updated

BibTeX
@article{deng2025cloq,
  author = {Yanxia Deng and Aozhong Zhang and Naigang Wang and Selcuk Gurses and Zi Yang and Penghang Yin},
  title = {{CLoQ: Enhancing Fine-Tuning of Quantized LLMs via Calibrated LoRA Initialization}},
  journal = {Accepted by TMLR},
  year = {2025},
  url = {https://openreview.net/forum?id=FHnTRAAdAZ},
}
Figure