paper-with-me

Papers

Quantized Side Tuning: Fast and Memory-Efficient Tuning of Quantized Large Language Models

2024-01-13 · Zhengxin Zhang, Dan Zhao, Xupeng Miao, Gabriele Oliaro, Qing Li, Yong Jiang, Zhihao Jia

Finetuning large language models (LLMs) has been empirically effective on a variety of downstream tasks. Existing approaches to finetuning an LLM either focus on parameter-efficient finetuning, which only updates a small number of trainable parameters, or attempt to reduce the memory footprint during the training phase of the finetuning. Typically, the memory footprint during finetuning stems from three contributors: model weights, optimizer states, and intermediate activations. However, existing works still require considerable memory and none can simultaneously mitigate memory footprint for all three sources. In this paper, we present Quantized Side Tuing (QST), which enables memory-efficient and fast finetuning of LLMs by operating through a dual-stage process. First, QST quantizes an LLM's model weights into 4-bit to reduce the memory footprint of the LLM's original weights; QST also introduces a side network separated from the LLM, which utilizes the hidden states of the LLM to make task-specific predictions. Using a separate side network avoids performing backpropagation through the LLM, thus reducing the memory requirement of the intermediate activations. Furthermore, QST leverages several low-rank adaptors and gradient-free downsample modules to significantly reduce the trainable parameters, so as to save the memory footprint of the optimizer states. Experiments show that QST can reduce the total memory footprint by up to 2.3 $\times$ and speed up the finetuning process by up to 3 $\times$ while achieving competent performance compared with the state-of-the-art. When it comes to full finetuning, QST can reduce the total memory footprint up to 7 $\times$.

📄 PDF Abstract BibTeX arXiv:2401.07159

Code (1)

youarespecialtome/qst 공식 구현 pytorch

Methods 이 논문이 사용한 방법론

SPEED The monocular depth estimation (MDE) is the task of estimating depth from a single frame. This information is an essential knowledge in many computer vision tasks such as scene…
Focus 설명 없음

Similar Papers 제목 키워드 기반

Memory-Efficient Fine-Tuning for Quantized Diffusion Model

2024-01-09 · Hyogon Ryu, Seohyun Lim, Hyunjung Shim

The emergence of billion-parameter diffusion models such as Stable Diffusion XL, Imagen, and DALL-E 3 has significantly propelled the domain of generative AI. However, their large-scale architecture presents challenges i…

modelQuantization

Efficient Fine-Tuning of Quantized Models via Adaptive Rank and Bitwidth

2025-05-02 · Changhai Zhou, Yuhua Zhou, Qian Qiao, Weizhong Zhang 외

QLoRA effectively combines low-bit quantization and LoRA to achieve memory-friendly fine-tuning for large language models (LLM). Recently, methods based on SVD for continuous update iterations to initialize LoRA matrices…

GSM8KQuantization

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

QFT: Quantized Full-parameter Tuning of LLMs with Affordable Resources

2023-10-11 · Zhikai Li, Xiaoxuan Liu, Banghua Zhu, Zhen Dong 외

Large Language Models (LLMs) have showcased remarkable impacts across a wide spectrum of natural language processing tasks. Fine-tuning these pre-trained models on downstream datasets provides further significant perform…

GPUparameter-efficient fine-tuningQuantization

Memory-Efficient Fine-Tuning of Compressed Large Language Models via sub-4-bit Integer Quantization

2023-05-23 · NeurIPS 2023 11

Large language models (LLMs) face the challenges in fine-tuning and deployment due to their high memory demands and computational costs. While parameter-efficient fine-tuning (PEFT) methods aim to reduce the memory usage…

In-Context LearningLanguage ModelingLanguage ModellingLogical Reasoning+2