arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.16710cs.AIcs.CLcs.LG
收藏

基于梯度轨迹追踪的有影响力语言数据选择

Influential Language Data Selection via Gradient Trajectory Pursuit

Google DeepMind(谷歌DeepMind)

Zhiwei Deng, Tao Li, Yang Li

AI总结:

本文提出梯度轨迹追踪(GTP)算法,通过L0正则化目标联合选择数据点,实现自动去重和高效压缩采样,在指令微调中仅用0.5%数据即可达到完整性能。

摘要:

为训练构建理想的数据集一直是构建高性能大语言模型的核心(Touvron et al., 2023; Achiam et al., 2023; Team et al., 2024)。梯度影响分数(Pruthi et al., 2020; Xia et al., 2024)已被证明与模型性能相关,并常被用作数据选择的标准。然而,现有方法要么基于单个样本排序,要么采用低效的匹配过程,导致性能次优或扩展性问题。本文提出梯度轨迹追踪(GTP)算法,通过在L0范数正则化目标下联合选择数据点来追踪梯度轨迹。该算法具有以下特点:(1)采用联合选择而非独立的top-k选择,能够自动去除重复样本;(2)通过压缩采样过程实现更高效率,并可利用分布式框架进一步加速。在实验中,我们在域内和跨域数据选择基准上验证了该算法,结果表明其持续优于top-k选择及竞争性算法,例如,在目标指令微调任务上,我们的算法仅选择低至0.5%的数据即可达到完整性能。

英文摘要:

Curating a desirable dataset for training has been the core of building highly capable large language models (Touvron et al., 2023; Achiam et al., 2023; Team et al.,2024). Gradient influence scores (Pruthi et al., 2020; Xia et al., 2024) are shown to be correlated with model performance and are commonly used as the criterion for data selection. However, existing methods are built upon either individual sample rankings or inefficient matching process, leading to suboptimal performance or scaling up issues.In this paper, we propose Gradient Trajectory Pursuit (GTP), an algorithm that performs pursuit of gradient trajectories via jointly selecting data points under an L0-norm regularized objective. The proposed algorithm highlights: (1) joint selection instead of independent top-k selection, which automatically de-duplicates samples; (2) higher efficiency with compressive sampling processes, which can be further sped up using a distributed framework. In the experiments, we demonstrate the algorithm in both in-domain and target-domain selection benchmarks and show that it outperforms top-k selection and competitive algorithms consistently, for example, our algorithm chooses as low as 0.5% data to achieve full performance on the targeted instruction tuning tasks

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

↑