arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2502.01703cs.LGcs.AIcs.CL
收藏

QLESS:一种用于大语言模型微调中数据估值与选择的量化方法

QLESS: A Quantized Approach for Data Valuation and Selection in Large Language Model Fine-Tuning

School of Electrical Engineering(电气工程学院);Mohamed bin Zayed University of Artificial Intelligence(穆罕默德·本·扎耶德人工智能大学)

Moses Ananta, Muhammad Farid Adilazuarda, Zayd Muhammad Kawakibi Zuhri, Ayu Purwarianti, Alham Fikri Aji

AI总结:

QLESS通过将梯度量化与LESS框架结合,利用LoRA随机投影和低位宽量化压缩梯度表示,在将内存使用降低最多16倍的同时保持与LESS相当的数据选择性能,为内存受限条件下的LLM微调数据估值与选择提供了实用方案。

摘要:

微调大语言模型(LLMs)通常受到处理海量数据集的计算成本制约。我们提出QLESS(量化低秩梯度相似性搜索),它将梯度量化与LESS框架相结合,以实现内存高效的数据估值与选择。QLESS采用两步压缩过程:首先,通过基于LoRA的随机投影获得低维梯度表示;然后,将这些梯度量化为低位宽表示。在多个LLM架构(LLaMA、Mistral、Qwen)和基准(MMLU、BBH、TyDiQA)上的实验表明,QLESS在将内存使用量降低最多16倍的同时,取得了与LESS相当的数据选择性能。即使1比特梯度量化也能保持数据估值质量。这些发现凸显了QLESS作为一种实用、可扩展的方法,能够在严格的内存约束下识别具有信息量的样本。

英文摘要:

Fine-tuning large language models (LLMs) is often constrained by the computational costs of processing massive datasets. We propose \textbf{QLESS} (Quantized Low-rank Gradient Similarity Search), which integrates gradient quantization with the LESS framework to enable memory-efficient data valuation and selection. QLESS employs a two-step compression process: first, it obtains low-dimensional gradient representations through LoRA-based random projection; then, it quantizes these gradients to low-bitwidth representations. Experiments on multiple LLM architectures (LLaMA, Mistral, Qwen) and benchmarks (MMLU, BBH, TyDiQA) show that QLESS achieves comparable data selection performance to LESS while reducing memory usage by up to 16x. Even 1-bit gradient quantization preserves data valuation quality. These findings underscore QLESS as a practical, scalable approach to identifying informative examples within strict memory constraints.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑