paper-with-me

Papers

Accurate and Efficient Fine-Tuning of Quantized Large Language Models Through Optimal Balance

2024-07-24 · Ao Shen, Qiang Wang, Zhiquan Lai, Xionglve Li, Dongsheng Li

Large Language Models (LLMs) have demonstrated impressive performance across various domains. However, the enormous number of model parameters makes fine-tuning challenging, significantly limiting their application and deployment. Existing solutions combine parameter quantization with Low-Rank Adaptation (LoRA), greatly reducing memory usage but resulting in noticeable performance degradation. In this paper, we identify an imbalance in fine-tuning quantized pre-trained models: overly complex adapter inputs and outputs versus low effective trainability of the adaptation. We propose Quantized LLMs with Balanced-rank Adaptation (Q-BaRA), which simplifies the adapter inputs and outputs while increasing the adapter's rank to achieve a more suitable balance for fine-tuning quantized LLMs. Additionally, for scenarios where fine-tuned LLMs need to be deployed as low-precision inference models, we introduce Quantization-Aware Fine-tuning with Higher Rank Adaptation (QA-HiRA), which simplifies the adapter inputs and outputs to align with the pre-trained model's block-wise quantization while employing a single matrix to achieve a higher rank. Both Q-BaRA and QA-HiRA are easily implemented and offer the following optimizations: (i) Q-BaRA consistently achieves the highest accuracy compared to baselines and other variants, requiring the same number of trainable parameters and computational effort; (ii) QA-HiRA naturally merges adapter parameters into the block-wise quantized model after fine-tuning, achieving the highest accuracy compared to other methods. We apply our Q-BaRA and QA-HiRA to the LLaMA and LLaMA2 model families and validate their effectiveness across different fine-tuning datasets and downstream scenarios. Code will be made available at \href{https://github.com/xiaocaigou/qbaraqahira}{https://github.com/xiaocaigou/qbaraqahira}

📄 PDF Abstract BibTeX arXiv:2407.17029

Code (1)

xiaocaigou/qbaraqahira 공식 구현 pytorch

Tasks

Quantization

Methods 이 논문이 사용한 방법론

Adapter 설명 없음
LLaMA LLaMA is a collection of foundation language models ranging from 7B to 65B parameters. It is based on the transformer architecture with various improvements that were…
ALIGN In the ALIGN method, visual and language representations are jointly trained from noisy image alt-text data. The image and text encoders are learned via contrastive loss…

Similar Papers 제목 키워드 기반

Quantized Evolution Strategies: High-precision Fine-tuning of Quantized LLMs at Low-precision Cost

2026-02-03 · Yinggan Xu, Kajetan Schweighofer, Risto Miikkulainen, Xin Qiu arxiv

Post-Training Quantization (PTQ) is essential for deploying Large Language Models (LLMs) on memory-constrained devices, yet it renders models static and difficult to fine-tune. Standard fine-tuning paradigms, including R…

Reinforcement Learning

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

2025-01-30 · Yanxia Deng, Aozhong zhang, Naigang Wang, Selcuk Gurses 외

Fine-tuning large language models (LLMs) using low-rank adaptation (LoRA) has become a highly efficient approach for downstream tasks, particularly in scenarios with limited computational resources. However, applying LoR…

Arithmetic ReasoningText Generation

QDyLoRA: Quantized Dynamic Low-Rank Adaptation for Efficient Large Language Model Tuning

2024-02-16 · Hossein Rajabzadeh, Mojtaba Valipour, Tianshu Zhu, Marzieh Tahaei 외

Finetuning large language models requires huge GPU memory, restricting the choice to acquire Larger models. While the quantized version of the Low-Rank Adaptation technique, named QLoRA, significantly alleviates this iss…

GPULanguage ModelingLanguage ModellingLarge Language Model+1

QWHA: Quantization-Aware Walsh-Hadamard Adaptation for Parameter-Efficient Fine-Tuning on Large Language Models

2025-09-22 · Hyesung Jeon, Seojune Lee, Beomseok Kang, Yulhwa Kim 외 arxiv

The demand for efficient deployment of large language models (LLMs) has driven interest in quantization, which reduces inference cost, and parameter-efficient fine-tuning (PEFT), which lowers training overhead. This moti…

parameter-efficient fine-tuning

INT2.1: Towards Fine-Tunable Quantized Large Language Models with Error Correction through Low-Rank Adaptation

2023-06-13 · Yuji Chai, John Gkountouras, Glenn G. Ko, David Brooks 외

We introduce a method that dramatically reduces fine-tuning VRAM requirements and rectifies quantization errors in quantized Large Language Models. First, we develop an extremely memory-efficient fine-tuning (EMEF) metho…

Language ModelingLanguage ModellingLarge Language ModelQuantization