Mechanism

Quantizes the frozen base LLM to 4-bit NormalFloat (NF4) (information-theoretically optimal quantile quantization for normal weight distributions) with Double Quantization of quantization scales and Paged Optimizers, backpropagating BF16 gradients exclusively into FP16/BF16 LoRA adapters. LoftQ initializes (Q,A,B)(Q, A, B) jointly via alternating SVD so Q+BA≈W0Q + BA \approx W_0 at step 0, eliminating quantization discrepancy before post-training begins.

References

  1. QLoRA: Efficient Finetuning of Quantized LLMs ↗

    Tim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke Zettlemoyer · 2023

  2. LoftQ: LoRA-Fine-Tuning-Aware Quantization for Large Language Models ↗

    Yixiao Li, Yifan Yu, Chen Liang, Pengcheng He, Nikos Karampatziakis, Weizhu Chen et al. · 2023

    All 7 authors

    Yixiao Li, Yifan Yu, Chen Liang, Pengcheng He, Nikos Karampatziakis, Weizhu Chen, Tuo Zhao