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

论宏观上的随时学习

On Anytime Learning at Macroscale

McGill University(麦吉尔大学);Mila(米拉人工智能研究所);Facebook AI Research(脸书人工智能研究院)

Lucas Caccia, Jing Xu, Myle Ott, Marc'Aurelio Ranzato, Ludovic Denoyer

摘要:

在机器学习的许多实际应用中,数据随着时间的推移以大块的形式顺序到达。然后,从业者必须决定如何分配他们的计算预算,以便在任何时间点获得最佳性能。凸优化的在线学习理论表明,最好的策略是在数据到达时立即使用。然而,当使用深度非线性网络时,这可能不是最好的策略,特别是当这些网络对每个数据块执行多次传递时,会使整体分布呈现非独立同分布。在本文中,我们形式化的学习设置在最简单的情况下,每个数据块是从相同的底层分布,并作出第一次尝试,在经验上回答以下问题:学习者应该等待多久才训练新到达的块?学习者应该采用什么架构?随着时间的推移,学习者是否应该随着观察到的数据的增加而增加容量?我们使用在经典计算机视觉基准上训练的卷积神经网络以及在大规模语言建模任务上训练的大型Transformer模型来探索这种学习设置。代码可在\url{www.github.com/facebookresearch/ALMA}上获得。

英文摘要:

In many practical applications of machine learning data arrives sequentially over time in large chunks. Practitioners have then to decide how to allocate their computational budget in order to obtain the best performance at any point in time. Online learning theory for convex optimization suggests that the best strategy is to use data as soon as it arrives. However, this might not be the best strategy when using deep non-linear networks, particularly when these perform multiple passes over each chunk of data rendering the overall distribution non i.i.d.. In this paper, we formalize this learning setting in the simplest scenario in which each data chunk is drawn from the same underlying distribution, and make a first attempt at empirically answering the following questions: How long should the learner wait before training on the newly arrived chunks? What architecture should the learner adopt? Should the learner increase capacity over time as more data is observed? We probe this learning setting using convolutional neural networks trained on classic computer vision benchmarks as well as a large transformer model trained on a large-scale language modeling task. Code is available at \url{www.github.com/facebookresearch/ALMA}.

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

↑