Open Interpretability Models Contributors Research Posts About

QLoRA: Efficient Finetuning of Quantized LLMs

Source

Citation. Tim Dettmers, Artidoro Pagnoni, Ari Holtzman and Luke Zettlemoyer, all of the University of Washington. The paper marks Dettmers and Pagnoni as equal contributors. "QLoRA: Efficient Finetuning of Quantized LLMs". arXiv:2305.14314, version 1 of 23 May 2023, the only version on arXiv. Venue: Advances in Neural Information Processing Systems 36 (NeurIPS 2023). The NeurIPS proceedings site lists the paper under that title. The arXiv version still says "Preprint. Under review.", so it is the text before the venue's review. The code is at github.com/artidoro/qlora, and the 4-bit kernels are in github.com/TimDettmers/bitsandbytes. The authors say that they release their models, adapters and generations with human and GPT-4 labels. The text names no funding. The acknowledgements thank the Hyak supercomputer of the University of Washington.

Status. Planned. #4782 (catastrophic interference, weight-space programming and LoRA) would use it in its LoRA strand. This page proposes one follow-up that rounds weights only and trains nothing. No code, skill or protocol in this repo depends on the paper. The maintainer designs the campaign to fix models, so this page reports evidence and records questions only.

Read. On 2026-11-19 we downloaded the arXiv v1 PDF (26 pages) with curl and extracted its text with pdftotext. The reader was this page's author, a model (Claude Opus 5.5). We read in the source's own text the abstract, Sections 1 to 9 and the acknowledgements. We also read Appendices A to G and the references. We read Tables 1 to 13 as extracted text, except Table 11's layout, which we read as rows of numbers. We did not see the figures as images. So this page gives only their captions and the numbers that the text states, for Figures 1 to 6. We did not read the NeurIPS camera-ready text, only the proceedings page's title and abstract. We did not read the released code.

Summary

Claim. A language model's frozen weights can be stored in 4 bits while LoRA adapters train on top of them. The authors claim that this matches 16-bit full fine-tuning and 16-bit LoRA on their benchmarks. It lets one 48 GB GPU fine-tune a 65B model.

Method.

Findings, as the source reports them.

Setting Result
Memory (Section 1) Fine-tuning a 65B model drops from more than 780 GB to less than 48 GB of GPU memory
Double Quantization (Section 3) Scale overhead falls from 0.5 to 0.127 bits per weight, about 3 GB for a 65B model
Data types after quantization only, mean Pile Common Crawl perplexity (Table 2) Int4 34.34, Float4 E2M1 31.07, Float4 E3M0 29.48, NF4 with DQ 27.41. The table has no 16-bit row
LLaMA 7B to 65B, mean 5-shot MMLU over 8 cells (Table 4) BFloat16 LoRA 53.0, Float4 52.2, NF4 with DQ 53.1
Same, single cells (Table 4) 7B on FLAN v2: BFloat16 45.6, NF4 44.5. 33B on FLAN v2: 60.5 against 59.2. 65B on FLAN v2: 62.5 against 63.9
T5-3B, Super-NaturalInstructions RougeL (Table 3) BFloat16 full fine-tuning 54.3, BFloat16 LoRA 55.4, NF4 with DQ 55.3
RoBERTa-large, GLUE (Table 3) BFloat16 88.6, LoRA BFloat16 88.8, Int8 88.8, FP4 88.6. No NF4 entry
Where LoRA goes (Section 4, Figure 2) LoRA on the query and value matrices alone does not match full fine-tuning for LLaMA 7B. LoRA on all linear layers does
LoRA rank (Appendix A, Figure 4) With LoRA on all layers, r from 8 to 64 is "unrelated to final performance". Three seeds per setting
Vicuna benchmark, share of ChatGPT's score (Table 6) Guanaco 65B 99.3% (95% CI 4.4%), 33B 97.8%, 13B 90.4%, 7B 87.0%
MMLU before and after tuning, 65B (Table 5) Untuned LLaMA 63.4. After tuning: from 56.7 (Self-Instruct) to 63.9 (FLAN v2). Seven of the eight datasets score below the untuned model
MMLU before and after tuning, 13B (Table 5) Untuned 46.9. Self-Instruct 33.3, FLAN v2 51.4
Judges (Section 5.3, 6.2) GPT-4 against humans at system level: Kendall τ 0.43, Spearman 0.55. At example level: Fleiss κ 0.25. Humans among themselves: Fleiss κ 0.42
GPT-4's own Elo on Vicuna (Table 7) 1348 when GPT-4 judges, 1176 when humans judge
Data size against data choice (Appendix B.4) More data or epochs adds 0.0 to 0.5 MMLU points. The choice of dataset moves it by 1.5 to 8.0
Bias, CrowS average (Table 8) LLaMA-65B 66.6, Guanaco-65B 43.5. Lower is less biased
Weight normality (Appendix F) At a 5% threshold, 7.5% of LLaMA 7B's hidden units have weights that are not normal

Where the claims go beyond the evidence

Use in this repo