arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.03750cs.LGcs.AIcs.CL
收藏

SQFT:低精度稀疏基础模型中的低成本模型适配

SQFT: Low-cost Model Adaptation in Low-precision Sparse Foundation Models

Intel Labs(英特尔实验室);Intel Corporation(英特尔公司)

Juan Pablo Muñoz, Jinjie Yuan, Nilesh Jain

AI总结:

针对大型预训练模型微调的资源受限问题,提出低精度稀疏参数高效微调方案SQFT,实现稀疏权重与低秩适配器无损合并、不同精度量化权重与适配器的目标格式合并,经多场景多模型验证有效,且开源了代码与模型。

摘要:

大型预训练模型(LPM),例如大语言模型,已得到广泛应用并被用于诸多场景中。这类模型通常会经过微调阶段以适配目标领域或下游任务。本文提出SQFT,这是一种针对LPM的低精度稀疏参数高效微调端到端解决方案,可在资源受限环境中实现高效的模型操作。此外,本文提出一种创新策略,能够在不损失稀疏性和准确率的前提下将稀疏权重与低秩适配器合并,克服了现有方法的局限性。SQFT还解决了量化权重与适配器数值精度不同的难题,可在目标数值格式下完成合并且不损失准确率。多种适配场景、不同模型以及全面的稀疏度水平均验证了SQFT的有效性。模型与代码可在https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning获取。

英文摘要:

Large pre-trained models (LPMs), such as large language models, have become ubiquitous and are employed in many applications. These models are often adapted to a desired domain or downstream task through a fine-tuning stage. This paper proposes SQFT, an end-to-end solution for low-precision sparse parameter-efficient fine-tuning of LPMs, allowing for effective model manipulation in resource-constrained environments. Additionally, an innovative strategy enables the merging of sparse weights with low-rank adapters without losing sparsity and accuracy, overcoming the limitations of previous approaches. SQFT also addresses the challenge of having quantized weights and adapters with different numerical precisions, enabling merging in the desired numerical format without sacrificing accuracy. Multiple adaptation scenarios, models, and comprehensive sparsity levels demonstrate the effectiveness of SQFT. Models and code are available at https://github.com/IntelLabs/Hardware-Aware-Automated-Machine-Learning.

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

↑