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

让可扩展的元学习变得实用

Making Scalable Meta Learning Practical

Carnegie Mellon University(卡内基梅隆大学);Stanford University(斯坦福大学);UCSD(加州大学圣地亚哥分校);MBZUAI(穆罕默德·本·扎耶德人工智能大学);Allen Institute for AI(艾伦人工智能研究所)

Sang Keun Choe, Sanket Vaibhav Mehta, Hwijeen Ahn, Willie Neiswanger, Pengtao Xie, Emma Strubell, Eric Xing

AI总结:

针对元学习可扩展性差的问题,提出SAMA框架,结合隐式微分算法与分布式训练技术,在降低计算与内存开销的同时提升吞吐量,并在语言和视觉任务中取得显著效果。

摘要:

尽管元学习(即学会学习)在机器学习程序中具有学习多样归纳偏置的灵活性,但长期以来,由于其巨大的计算/内存开销、训练不稳定性以及缺乏高效的分布式训练支持,一直被认为存在可扩展性差的问题。在本研究中,我们致力于让可扩展的元学习变得实用,为此引入了SAMA,它结合了隐式微分算法和系统两方面的进展。具体而言,SAMA旨在灵活支持元学习程序基层级中的广泛自适应优化器,同时通过避免显式计算二阶梯度信息来降低计算负担,并利用为一阶梯度实现的高效分布式训练技术。在多个大规模元学习基准上进行评估,与其他基线元学习算法相比,SAMA在单GPU/多GPU设置下分别展现出高达1.7倍/4.8倍的吞吐量提升和2.0倍/3.8倍的内存消耗降低。此外,我们表明基于SAMA的数据优化在BERT和RoBERTa大型语言模型上带来了文本分类准确率的一致提升,并在图像分类任务的小规模和大规模数据剪枝中均取得了最先进的结果,证明了可扩展元学习在语言和视觉领域的实际适用性。

英文摘要:

Despite its flexibility to learn diverse inductive biases in machine learning programs, meta learning (i.e., learning to learn) has long been recognized to suffer from poor scalability due to its tremendous compute/memory costs, training instability, and a lack of efficient distributed training support. In this work, we focus on making scalable meta learning practical by introducing SAMA, which combines advances in both implicit differentiation algorithms and systems. Specifically, SAMA is designed to flexibly support a broad range of adaptive optimizers in the base level of meta learning programs, while reducing computational burden by avoiding explicit computation of second-order gradient information, and exploiting efficient distributed training techniques implemented for first-order gradients. Evaluated on multiple large-scale meta learning benchmarks, SAMA showcases up to 1.7/4.8x increase in throughput and 2.0/3.8x decrease in memory consumption respectively on single-/multi-GPU setups compared to other baseline meta learning algorithms. Furthermore, we show that SAMA-based data optimization leads to consistent improvements in text classification accuracy with BERT and RoBERTa large language models, and achieves state-of-the-art results in both small- and large-scale data pruning on image classification tasks, demonstrating the practical applicability of scalable meta learning across language and vision domains.

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

↑