arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01296cs.LGcs.AI
收藏

面向任务特定微调的推测式核心集选择

Speculative Coreset Selection for Task-Specific Fine-tuning

Xi’an Jiaotong University(西安交通大学);University of Massachusetts, Amherst(马萨诸塞大学阿默斯特分校);Nanyang Technological University(南洋理工大学)

Xiaoyu Zhang, Juan Zhai, Shiqing Ma, Chao Shen, Tianlin Li, Weipeng Jiang, Yang Liu

AI总结:

提出 STAFF 推测式核心集选择方法,用同族小模型估分并由目标 LLM 验证,在三项任务上显著提升性能、降低选择开销。

摘要:

任务特定微调对于大语言模型(LLM)的部署至关重要,但它需要大量计算资源和时间。现有解决方案提出了核心集选择方法,以提高数据效率并降低模型训练开销,但它们仍存在局限:1)在高剪枝率下会忽略有价值的样本,从而降低核心集的性能;2)在核心集选择期间需要较高的时间开销来微调并评估目标 LLM。本文提出 STAFF,这是一种推测式核心集选择方法。STAFF 利用与目标 LLM 同属一个模型家族的小模型来高效估计数据分数,随后在目标 LLM 上验证这些分数,以准确识别重要区域并为其分配更多选择预算,同时保持对简单区域的覆盖。我们在三个 LLM 和三个下游任务上评估了 STAFF,结果表明,在不同剪枝率下,STAFF 将 SOTA 方法的性能最高提升 54.3%,并将选择开销最高降低 70.5%。此外,我们观察到,STAFF 在低剪枝率(即 20%)下选出的核心集甚至能够取得比完整数据集更好的微调性能。

英文摘要:

Task-specific fine-tuning is essential for the deployment of large language models (LLMs), but it requires significant computational resources and time. Existing solutions have proposed coreset selection methods to improve data efficiency and reduce model training overhead, but they still have limitations: 1) Overlooking valuable samples at high pruning rates, which degrades the coreset's performance. 2) Requiring high time overhead during coreset selection to fine-tune and evaluate the target LLM. In this paper, we introduce STAFF, a speculative coreset selection method. STAFF leverages a small model from the same family as the target LLM to efficiently estimate data scores and then verifies the scores on the target LLM to accurately identify and allocate more selection budget to important regions while maintaining coverage of easy regions. We evaluate STAFF on three LLMs and three downstream tasks and show that STAFF improves the performance of SOTA methods by up to 54.3% and reduces selection overhead by up to 70.5% at different pruning rates. Furthermore, we observe that the coreset selected by STAFF at low pruning rates (i.e., 20%) can even obtain better fine-tuning performance than the full dataset.

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

↑