In-Context In-Context Learning with Transformer Neural Processes
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 16 of its 25 references that are in the map. First posted on arXiv 19 Jun 2024.
Builds on
16 of 25 references.
References · 16
- 2017Attention Is All You Needcited by 60,361
- 2017Deep Setscited by 1,421
- 2021Improving language models by retrieving from trillions of tokenscited by 1,293
- 2021Perceiver: General Perception with Iterative Attentioncited by 1,104
- 2018Conditional Neural Processescited by 426
- 2022Multimodal Learning with Transformers: A Surveycited by 400
- 2018Neural Processescited by 311
- 2019Attentive Neural Processescited by 283
- 2022Transformer Neural Processes: Uncertainty-Aware Meta Learning Via Sequence Modelingcited by 127
- 2020Meta-Learning Stationary Stochastic Process Prediction with Convolutional Neural Processescited by 76
- 2022Learning to Induce Causal Structurecited by 68
- 2021Universal Approximation of Functions on Setscited by 62
4 more
- 2022Latent Bottlenecked Attentive Neural Processescited by 26
- 2022The Neural Process Family: Survey, Applications and Perspectivescited by 23
- 2023Episodic Multi-Task Learning with Heterogeneous Neural Processescited by 8
- 2021Multi-Task Neural Processescited by 7
Built on by
Citing papers per year: 2024: 2; 2025: 1; 2026: 1.
4 papers.
- 2024Amortized Probabilistic Conditioning for Optimization, Simulation and Inferencecited by 23
- 2024Understanding In-Context Learning of Linear Models in Transformers Through an Adversarial Lenscited by 8
- 2025Sparse Gaussian Neural Processescited by 2
- 2026Amortising Inference and Meta-Learning Priors in Neural Networkscited by 0
- 2026Amortising Inference and Meta-Learning Priors in Neural Networks9 Feb 2026
- 2025Sparse Gaussian Neural Processes2 Apr 2025
- 2024Understanding In-Context Learning of Linear Models in Transformers Through an Adversarial Lens7 Nov 2024
- 2024Amortized Probabilistic Conditioning for Optimization, Simulation and Inference20 Oct 2024