ApiQ: Finetuning of 2-Bit Quantized Large Language Model
Baohao Liao, Christian Herold, Shahram Khadivi, Christof Monz
摘要
Memory-efficient finetuning of large language models (LLMs) has recently attracted huge attention with the increasing size of LLMs, primarily due to the constraints posed by GPU memory limitations and the effectiveness of these methods compared to full finetuning. Despite the advancements, current strategies for memory-efficient finetuning, such as QLoRA, exhibit inconsistent performance across diverse bit-width quantizations and multifaceted tasks. This inconsistency largely stems from the detrimental impact of the quantization process on preserved knowledge, leading to catastrophic forgetting and undermining the utilization of pretrained models for finetuning purposes. In this work, we introduce a novel quantization framework named ApiQ, designed to restore the lost information from quantization by concurrently initializing the LoRA components and quantizing the weights of LLMs. This approach ensures the maintenance of the original LLM's activation precision while mitigating the error propagation from shallower into deeper layers. Through comprehensive evaluations conducted on a spectrum of language tasks with various LLMs, ApiQ demonstrably minimizes activation error during quantization. Consequently, it consistently achieves superior finetuning results across various bit-widths. Notably, one can even finetune a 2-bit Llama-2-70b with ApiQ on a single NVIDIA A100-80GB GPU without any memory-saving techniques, and achieve promising results. 1
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 10 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRA: Low-Rank Adaptation of Large Language Models 引用了 Language Models are Few-Shot Learners
- DiaBlo: Diagonal Blocks Are Sufficient For Finetuning 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- DiaBlo: Diagonal Blocks Are Sufficient For Finetuning 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- DiaBlo: Diagonal Blocks Are Sufficient For Finetuning 引用了 Language Models are Few-Shot Learners
- PIQA: Reasoning about Physical Commonsense in Natural Language 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- QLoRA: Efficient Finetuning of Quantized LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- Efficient Quantization of Mixture-of-Experts with Theoretical Generalization Guarantees 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- Efficient Quantization of Mixture-of-Experts with Theoretical Generalization Guarantees 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- QeRL: Beyond Efficiency - Quantization-enhanced Reinforcement Learning for LLMs 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- QeRL: Beyond Efficiency - Quantization-enhanced Reinforcement Learning for LLMs 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
- QWHA: Quantization-Aware Walsh-Hadamard Adaptation for Parameter-Efficient Fine-Tuning on Large Language Models 引用了 PIQA: Reasoning about Physical Commonsense in Natural Language
- QWHA: Quantization-Aware Walsh-Hadamard Adaptation for Parameter-Efficient Fine-Tuning on Large Language Models 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
- QWHA: Quantization-Aware Walsh-Hadamard Adaptation for Parameter-Efficient Fine-Tuning on Large Language Models 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- Language Models are Few-Shot Learners 引用了 WinoGrande: An Adversarial Winograd Schema Challenge at Scale
- LoQT: Low-Rank Adapters for Quantized Pretraining 引用了 LoRA: Low-Rank Adaptation of Large Language Models
- LoQT: Low-Rank Adapters for Quantized Pretraining 引用了 QLoRA: Efficient Finetuning of Quantized LLMs
引用它的顶会 Paper10
- QeRL: Beyond Efficiency - Quantization-enhanced Reinforcement Learning for LLMsWei Huang, Yi Ge, Shuai Yang, Yicheng Xiao 等ICLR 2026 · 19 次引用
- LoQT: Low-Rank Adapters for Quantized PretrainingSebastian Loeschcke, Mads Toftrup, Michael J. Kastoryano, Serge J. Belongie 等NeurIPS 2024 · 14 次引用
- DiaBlo: Diagonal Blocks Are Sufficient For FinetuningSelcuk Gurses, Aozhong Zhang, Yanxia Deng, Xun Dong 等ICLR 2026 · 2 次引用
- Efficient Quantization of Mixture-of-Experts with Theoretical Generalization GuaranteesMohammed Nowaz Rabbani Chowdhury, Kaoutar El Maghraoui, Hsinyu Tsai, Naigang Wang 等ICLR 2026 · 2 次引用
- QWHA: Quantization-Aware Walsh-Hadamard Adaptation for Parameter-Efficient Fine-Tuning on Large Language ModelsHyesung Jeon, Seojune Lee, Beomseok Kang, Yulhwa Kim 等ICLR 2026 · 1 次引用
它引用的 Paper21
- Language Models are Few-Shot LearnersTom B. Brown, Benjamin Mann, Nick Ryder, Melanie Subbiah 等NeurIPS 2020 · 64,255 次引用
- LoRA: Low-Rank Adaptation of Large Language ModelsEdward J. Hu, Yelong Shen, Phillip Wallis, Zeyuan Allen-Zhu 等ICLR 2022 · 18,833 次引用
- QLoRA: Efficient Finetuning of Quantized LLMsTim Dettmers, Artidoro Pagnoni, Ari Holtzman, Luke ZettlemoyerNeurIPS 2023 · 5,863 次引用
- WinoGrande: An Adversarial Winograd Schema Challenge at ScaleKeisuke Sakaguchi, Ronan Le Bras, Chandra Bhagavatula, Yejin ChoiAAAI 2020 · 3,037 次引用
- PIQA: Reasoning about Physical Commonsense in Natural LanguageYonatan Bisk, Rowan Zellers, Ronan Le Bras, Jianfeng Gao 等AAAI 2020 · 2,916 次引用
相关 Paper
- LQ-LoRA: Low-rank plus Quantized Matrix Decomposition for Efficient Language Model FinetuningHan Guo, Philip Greengard, Eric P. Xing, Yoon KimICLR 2024 · 94 次引用
- LoftQ: LoRA-Fine-Tuning-aware Quantization for Large Language ModelsYixiao Li, Yifan Yu, Chen Liang, Nikos Karampatziakis 等ICLR 2024 · 217 次引用
- Accurate LoRA-Finetuning Quantization of LLMs via Information RetentionHaotong Qin, Xudong Ma, Xingyu Zheng, Xiaoyang Li 等ICML 2024 · 83 次引用
- QLLM: Accurate and Efficient Low-Bitwidth Quantization for Large Language ModelsJing Liu, Ruihao Gong, Xiuying Wei, Zhiwei Dong 等ICLR 2024 · 75 次引用
- Fine-tuning Quantized Neural Networks with Zeroth-order OptimizationSifeng SHANG, JIAYI ZHOU, Chenyu Lin, Minxian Li 等ICLR 2026 · 5 次引用
