arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2412.03782cs.CLcs.LG
收藏

上下文学习的更广谱系

The broader spectrum of in-context learning

Google DeepMind(谷歌DeepMind);Gatsby Computational Neuroscience Unit, UCL(Gatsby计算神经科学单位,UCL)

Andrew Kyle Lampinen, Stephanie C. Y. Chan, Aaditya K. Singh, Murray Shanahan

AI总结:

本文提出将上下文学习置于更广的元学习谱系中,认为任何上下文能降低预测损失的序列分布都可视为上下文学习,并强调应从学习新事物、呈现灵活性和应用能力等多维度研究泛化。

摘要:

语言模型能够从上下文中的少量示例学习任务,这一能力已引发大量关注。本文提供一种视角,将这类有监督的少样本学习置于一个更为广泛的元学习式上下文学习谱系之中。我们认为,任何序列分布,只要上下文能够非平凡地降低后续预测的损失,都可以被解释为在引发某种上下文学习。我们认为这一视角有助于统一语言模型所展现的广泛上下文能力——例如根据指令或角色扮演适应任务,或对时间序列进行外推。该视角还揭示了上下文学习在语言依存关系(如共指或平行结构)的低层处理中的潜在根源。最后,采用这一视角凸显了泛化的重要性,我们认为可以从多个维度研究泛化:不仅是学习新事物的能力,还包括从不同呈现方式中学习的灵活性,以及应用所学内容的能力。我们讨论了与以往元学习和目标条件智能体文献的更广泛联系,以及其他关于学习与适应的视角。我们在结尾建议,上下文学习的研究应考虑这一更广的上下文能力谱系和泛化类型。

英文摘要:

The ability of language models to learn a task from a few examples in context has generated substantial interest. Here, we provide a perspective that situates this type of supervised few-shot learning within a much broader spectrum of meta-learned in-context learning. Indeed, we suggest that any distribution of sequences in which context non-trivially decreases loss on subsequent predictions can be interpreted as eliciting a kind of in-context learning. We suggest that this perspective helps to unify the broad set of in-context abilities that language models exhibit -- such as adapting to tasks from instructions or role play, or extrapolating time series. This perspective also sheds light on potential roots of in-context learning in lower-level processing of linguistic dependencies (e.g. coreference or parallel structures). Finally, taking this perspective highlights the importance of generalization, which we suggest can be studied along several dimensions: not only the ability to learn something novel, but also flexibility in learning from different presentations, and in applying what is learned. We discuss broader connections to past literature in meta-learning and goal-conditioned agents, and other perspectives on learning and adaptation. We close by suggesting that research on in-context learning should consider this broader spectrum of in-context capabilities and types of generalization.

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

↑