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

基于可扩展在线双层优化的自适应训练分布

Adaptive Training Distributions with Scalable Online Bilevel Optimization

Apple(苹果公司)

David Grangier, Pierre Ablin, Awni Hannun

AI总结:

本文提出一种基于在线双层优化的算法,通过优先计算能改善目标分布损失的梯度来调整预训练数据分布,在部分情况下优于现有领域适应策略,并提供了适用性测试方法。

摘要:

在海量网络语料库上预训练的大型神经网络是现代机器学习的核心。在这种范式下,大型且异构的预训练数据的分布很少与应用领域的分布相匹配。本研究考虑在拥有少量反映目标测试条件的数据样本的情况下,对预训练分布进行修改。我们提出了一种算法,该算法受近期将此场景表述为在线双层优化问题的启发。考虑到可扩展性,我们的算法优先计算那些最有可能改善目标分布上损失的训练点的梯度。实验表明,在某些情况下,该方法优于领域适应文献中的现有策略,但在其他情况下可能无法成功。我们提出了一种简单的测试方法,以评估该方法何时能预期良好运行,并指出进一步的研究方向以解决当前的局限性。

英文摘要:

Large neural networks pretrained on web-scale corpora are central to modern machine learning. In this paradigm, the distribution of the large, heterogeneous pretraining data rarely matches that of the application domain. This work considers modifying the pretraining distribution in the case where one has a small sample of data reflecting the targeted test conditions. We propose an algorithm motivated by a recent formulation of this setting as an online, bilevel optimization problem. With scalability in mind, our algorithm prioritizes computing gradients at training points which are likely to most improve the loss on the targeted distribution. Empirically, we show that in some cases this approach is beneficial over existing strategies from the domain adaptation literature but may not succeed in other cases. We propose a simple test to evaluate when our approach can be expected to work well and point towards further research to address current limitations.

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

↑