arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.01565cs.LGstat.ML
收藏

贝叶斯力量用于解释上下文学习泛化

Bayes' Power for Explaining In-Context Learning Generalizations

University of Freiburg(弗赖堡大学);Charité University Medicine Berlin(柏林夏里特医学院);ELLIS Institute Tübingen(ELLIS研究所蒂宾根分所)

Samuel Müller, Noah Hollmann, Frank Hutter

AI总结:

本文提出将大规模单epoch训练下的神经网络行为解释为近似数据生成过程的真实后验,并用其解释和预测ICL向未见任务的泛化。

摘要:

传统上,神经网络训练主要被视为最大似然估计(MLE)的一种近似。这种解释起源于在小型数据集上进行多个epoch训练十分常见、且性能受数据约束的时代;但在由语言模型等大型自监督设置所开启的大规模单epoch训练时代,它已显得不足。在这一新设置中,性能受算力约束,而数据容易获得。随着模型变得更加强大,上下文学习(ICL),即基于上下文在单次前向传播中进行学习,成为主导范式之一。本文认为,在这一时代,对神经网络行为更有用的解释是:它近似于由数据生成过程所定义的真实后验。我们展示了这种解释对于ICL的力量,以及它在预测向此前未见任务泛化方面的效用。我们展示了模型如何通过有效组合来自训练数据的知识,成为稳健的上下文学习者。我们通过实验对此加以说明,这些实验揭示了令人惊讶的泛化,而所有这些泛化都可通过精确后验得到解释。最后,我们展示了后验泛化能力的内在约束,以及神经网络在近似这些后验时的局限性。

英文摘要:

Traditionally, neural network training has been primarily viewed as an approximation of maximum likelihood estimation (MLE). This interpretation originated in a time when training for multiple epochs on small datasets was common and performance was data bound; but it falls short in the era of large-scale single-epoch trainings ushered in by large self-supervised setups, like language models. In this new setup, performance is compute-bound, but data is readily available. As models became more powerful, in-context learning (ICL), i.e., learning in a single forward-pass based on the context, emerged as one of the dominant paradigms. In this paper, we argue that a more useful interpretation of neural network behavior in this era is as an approximation of the true posterior, as defined by the data-generating process. We demonstrate this interpretations' power for ICL and its usefulness to predict generalizations to previously unseen tasks. We show how models become robust in-context learners by effectively composing knowledge from their training data. We illustrate this with experiments that reveal surprising generalizations, all explicable through the exact posterior. Finally, we show the inherent constraints of the generalization capabilities of posteriors and the limitations of neural networks in approximating these posteriors.

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

↑