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

基于Transformer神经过程的上下文内上下文学习

In-Context In-Context Learning with Transformer Neural Processes

University of Cambridge(剑桥大学);The Alan Turing Institute(阿兰·图灵研究所);Microsoft Research AI for Science(微软研究院科学人工智能部门)

Matthew Ashman, Cristiana Diaconu, Adrian Weller, Richard E. Turner

AI总结:

针对标准神经过程仅能以单个数据集为条件、无法利用相似数据集提升预测的问题,研究者基于PT-TNP架构开发了ICICL-TNP模型,支持以多数据集为条件实现上下文内上下文学习,实验验证了该范式的重要性与模型有效性。

摘要:

神经过程(Neural Processes, NPs)是一类强大的元学习模型,旨在逼近真实随机过程的后验预测映射,元数据集中的每个数据集均从该真实过程中采样得到。在许多实际场景中,研究者除了可获取目标数据集外,还能访问与之存在相似性的其他数据集,将这些数据集整合进NP模型可提升预测效果。我们为NP赋予了这一能力,并将该范式称为上下文内上下文学习。\n标准NP架构(如卷积条件NP(ConvCNP)或Transformer神经过程(TNP)系列)无法实现上下文内上下文学习,因为它们仅能以单个数据集为条件。我们通过开发上下文内上下文学习伪令牌TNP(ICICL-TNP)解决了这一缺陷。ICICL-TNP基于PT-TNP系列构建,后者采用基于伪令牌的Transformer架构,规避了常规Transformer架构的二次计算复杂度。关键在于,ICICL-TNP能够同时以数据点集合和数据集集合为条件,从而实现上下文内上下文学习。我们通过多项实验验证了上下文内上下文学习的重要性以及ICICL-TNP的有效性。

英文摘要:

Neural processes (NPs) are a powerful family of meta-learning models that seek to approximate the posterior predictive map of the ground-truth stochastic process from which each dataset in a meta-dataset is sampled. There are many cases in which practitioners, besides having access to the dataset of interest, may also have access to other datasets that share similarities with it. In this case, integrating these datasets into the NP can improve predictions. We equip NPs with this functionality and describe this paradigm as in-context in-context learning. Standard NP architectures, such as the convolutional conditional NP (ConvCNP) or the family of transformer neural processes (TNPs), are not capable of in-context in-context learning, as they are only able to condition on a single dataset. We address this shortcoming by developing the in-context in-context learning pseudo-token TNP (ICICL-TNP). The ICICL-TNP builds on the family of PT-TNPs, which utilise pseudo-token-based transformer architectures to sidestep the quadratic computational complexity associated with regular transformer architectures. Importantly, the ICICL-TNP is capable of conditioning on both sets of datapoints and sets of datasets, enabling it to perform in-context in-context learning. We demonstrate the importance of in-context in-context learning and the effectiveness of the ICICL-TNP in a number of experiments.

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

↑