arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2502.06244cs.LG
收藏

PiKE:低梯度冲突下大规模多任务学习的自适应数据混合方法

PiKE: Adaptive Data Mixing for Large-Scale Multi-Task Learning Under Low Gradient Conflicts

University of Southern California(南加州大学);Google Research(谷歌研究)

Zeman Li, Yuan Deng, Peilin Zhong, Meisam Razaviyayn, Vahab Mirrokni

AI总结:

本文提出PiKE自适应数据混合算法,利用正梯度交互动态调整多任务采样权重,在大规模预训练低梯度冲突场景下实现更快收敛和更优下游性能。

摘要:

现代基础模型在多样化数据集上进行训练,以增强跨任务和跨领域的泛化能力。这一过程中的核心挑战在于如何确定从多个数据源有效混合和采样数据的方式,这自然引出了多任务学习(MTL)的视角。虽然先前在多任务学习领域的工作侧重于缓解梯度冲突,但我们观察到,大规模预训练场景——例如多语言或多领域训练——往往表现出极少甚至没有梯度冲突。受这一观察的启发,我们提出了PiKE(Positive gradient interaction-based K-task weights Estimator,基于正梯度交互的K任务权重估计器),这是一种自适应数据混合算法,能够在训练过程中动态调整采样权重。PiKE利用非冲突的梯度交互来最小化每一步平均损失下降的近紧上界,同时计算开销可忽略不计。我们提供了理论收敛保证,并证明PiKE优于静态和非自适应的混合基线方法。此外,我们将PiKE扩展以促进跨任务的均衡学习。在大规模语言模型预训练上的大量实验证实,与现有方法相比,PiKE实现了更快的收敛速度和更好的下游性能。

英文摘要:

Modern foundation models are trained on diverse datasets to enhance generalization across tasks and domains A central challenge in this process is determining how to effectively mix and sample data from multiple sources This naturally leads to a multitask learning (MTL) perspective While prior work in MTL has emphasized mitigating gradient conflicts we observe that largescale pretraining scenariossuch as multilingual or multidomain trainingoften exhibit little to no gradient conflict Motivated by this observation we propose PiKE (Positive gradient interaction-based K-task weights Estimator) an adaptive data mixing algorithm that dynamically adjusts sampling weights during training PiKE exploits nonconflicting gradient interactions to minimize a neartight upper bound on the average loss decrease at each step while incurring negligible computational overhead We provide theoretical convergence guarantees and show that PiKE outperforms static and nonadaptive mixing baselines Furthermore we extend PiKE to promote balanced learning across tasks Extensive experiments on largescale language model pretraining confirm that PiKE achieves faster convergence and improved downstream performance compared to existing approaches

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

↑