AutoQRA: Joint Optimization of Mixed-Precision Quantization and Low-rank Adapters for Efficient LLM Fine-Tuning

Changhai Zhou, Shiyang Zhang, Yuhua Zhou, Qian Qiao, Jun Gao, Cheng Jin, Kaizhou Qin, Weizhong Zhang

TL;DR

This paper introduces AutoQRA, a novel framework that jointly optimizes layer-wise quantization bit-widths and LoRA adapter ranks for efficient LLM fine-tuning. By treating these as coupled decisions, AutoQRA achieves performance close to full-precision models while using a memory footprint comparable to uniform 4-bit quantization, overcoming limitations of sequential optimization approaches.

What Problem Does This Paper Address?

Fine-tuning large language models (LLMs) for specific tasks is computationally expensive, often requiring significant GPU memory. A common workaround is to first quantize the LLM's backbone to reduce its memory footprint and then fine-tune lightweight adapters (like LoRA) on top. However, this sequential approach has a critical flaw: it optimizes quantization and adapter capacity independently. This means that a bit-width allocation that looks good for reconstructing the model might not be optimal for fine-tuning, and vice-versa. The paper highlights that the interaction between quantization noise and adapter capacity is crucial, and that different combinations of bit-widths and ranks can lead to vastly different performance outcomes even under the same memory budget. The core problem is finding the optimal joint allocation of quantization precision and adapter capacity for each layer to maximize performance within a strict memory constraint.

Methods

AutoQRA tackles this challenge with a two-phase, coarse-to-fine optimization strategy:

  1. Phase I: Global Multi-Fidelity Evolutionary Search: This phase aims to explore the vast search space of possible bit-width and rank configurations. It uses an evolutionary algorithm to generate diverse candidates. To make this efficient, it employs:
  2. Multi-fidelity evaluation: Candidates are evaluated at different levels of fine-tuning effort (low-fidelity for many, high-fidelity for a few) to save computation.
  3. Importance-guided initialization and mutation: Layer-wise sensitivity to quantization and adaptation learnability are used to "warm-start" the population and guide mutations towards more promising configurations.
  4. Surrogate screening: A learned model predicts performance to help filter candidates before expensive high-fidelity evaluations.
  5. Feasibility repair: A deterministic projection ensures that all configurations adhere to the memory budget.
  6. Phase II: Local Bayesian Refinement: Once Phase I has identified promising regions of the search space, Phase II refines these candidates. It uses:
  7. Trust-Region Bayesian Optimization (TURBO): This technique efficiently explores local areas around strong candidates identified in Phase I.
  8. Gaussian Process Surrogate: A surrogate model is trained on high-fidelity evaluations to guide the search for the optimal operating point.
  9. Expected Improvement (EI): This acquisition function guides the selection of the next candidate to evaluate, balancing exploration and exploitation.

The entire process is designed to be sample-efficient, minimizing the number of expensive full fine-tuning runs required.

Datasets

The paper evaluates AutoQRA on several standard LLM fine-tuning benchmarks:

  • Training/Fine-tuning: Alpaca52k and HC3.
  • Evaluation: BoolQ, PIQA, HellaSwag, WinoGrande, ARC-E/ARC-C, OpenBookQA, and MMLU.
  • Backbones: LLaMA-3.1/3.2 and Qwen-2.5 (various sizes).

The paper does not introduce new benchmarks but uses existing ones to demonstrate the effectiveness of its approach.

Key Insights and Ideas

  • The crucial interplay between quantization and adaptation: The paper strongly demonstrates that optimizing quantization bit-width and LoRA rank independently is suboptimal. A configuration that is good for one might be poor for the other, and their joint optimization is key to maximizing performance under memory constraints.
  • Compensation pattern: AutoQRA consistently learns configurations where layers with lower bit-widths (more aggressive quantization) are paired with higher LoRA ranks. This suggests that the adapter capacity is actively used to compensate for quantization noise in those layers.
  • Static proxies are unreliable: Traditional quantization-aware methods rely on metrics like reconstruction error or perplexity. The paper shows these proxies have only moderate correlation with actual fine-tuning performance, especially when adapters are involved, highlighting the need for dynamic, end-to-end evaluation.
  • Multi-fidelity and Bayesian Optimization are essential: The vast, discrete search space makes exhaustive search infeasible. AutoQRA's combination of multi-fidelity evolutionary search for broad exploration and Bayesian optimization for local refinement is crucial for efficiently navigating this space.
  • Feasibility repair is critical: The REPAIR(·) mechanism effectively enforces the memory budget by downgrading less sensitive layers, preserving the trainability of more critical ones.

Key Results

  • Performance close to full-precision: AutoQRA achieves performance comparable to full-precision LoRA fine-tuning across various LLM backbones.
  • Memory efficiency: For models quantized to 4-bit or less, AutoQRA consistently outperforms uniform 4-bit baselines (like QLoRA, LoftQ) and achieves a smaller memory footprint (12-22% reduction).
  • Improved robustness: AutoQRA significantly mitigates the sharp performance drops seen in uniform 4-bit methods on specific tasks, recovering performance on brittle tasks.
  • Search efficiency: AutoQRA finds competitive configurations with significantly fewer high-fidelity evaluations compared to random search (e.g., 18x faster). The search process is also faster than other automated methods.
  • Generalization: Searched configurations show good transferability across datasets and perform well on code generation tasks.

Limitations and Future Work

  • Fixed hyperparameters: AutoQRA uses default search hyperparameters and early stopping. The authors suggest that an automated controller that dynamically allocates search resources based on model scale or task heterogeneity would be a valuable future direction.
  • Scale and task heterogeneity: The sensitivity analysis indicates that smaller backbones and mixed-task evaluations might benefit from wider search parameters.
  • Meta-optimization: Developing a meta-optimization layer to automatically tune search hyperparameters for different scenarios is left for future work.

Summary updated

BibTeX
@inproceedings{zhou2026autoqra,
  author = {Changhai Zhou and Shiyang Zhang and Yuhua Zhou and Qian Qiao and Jun Gao and Cheng Jin and KAIZHOU QIN and WEIZHONG ZHANG},
  title = {{AutoQRA: Joint Optimization of Mixed-Precision Quantization and Low-rank Adapters for Efficient LLM Fine-Tuning}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=EB8MHApOav},
}
Figure