Meta-Learning Transformers to Improve In-Context Generalization
Not on the map. Why?
Abstract (arXiv)
In-context learning enables transformer models to generalize to new tasks based solely on input prompts, without any need for weight updates. However, existing training paradigms typically rely on large, unstructured datasets that are costly to store, difficult to evaluate for quality and balance, and pose privacy and ethical concerns due to the inclusion of sensitive information. Motivated by these limitations and risks, we propose an alternative training strategy where we leverage a collection of multiple, small-scale, and domain-specific datasets. We empirically demonstrate that the increased quality and diversity of such data improve the generalization abilities of in-context learners beyond their training domain, while achieving comparable performance with models trained on a single large-scale dataset. We investigate this paradigm by leveraging meta-learning to train an in-context learner on the Meta-Album collection under several settings. Firstly, we show the performance in a controlled environment, where the test domain is completely excluded from the training knowledge. Secondly, we explore the robustness of these models to forgetting in a continual scenario where the information is accessible for a limited time. Finally, we explore the more challenging unsupervised scenario. Our findings demonstrate that transformers still generalize for in-context prediction when trained on a curated dataset collection while offering advantages in modularity and replaceability.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 69 of its 88 references that are in the map. First posted on arXiv 7 Jul 2025.
Builds on
69 of 88 references.
References · 69
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,744
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2017mixup: Beyond Empirical Risk Minimizationcited by 5,183
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2017Prototypical Networks for Few-shot Learningcited by 3,015
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
38 more
- 2016iCaRL: Incremental Classifier and Representation Learningcited by 2,333
- 2016Matching Networks for One Shot Learningcited by 2,255
- 2017Gradient Episodic Memory for Continual Learningcited by 1,898
- 2013Fine-Grained Visual Classification of Aircraftcited by 1,726
- 2022Rethinking the Role of Demonstrations: What Makes In-Context Learning Work?cited by 1,434
- 2019Machine Unlearningcited by 1,061
- 2020Meta-Learning in Neural Networks: A Surveycited by 950
- 2020Dark Experience for General Continual Learning: a Strong, Simple Baselinecited by 911
- 2023A Comprehensive Survey of Continual Learning: Theory, Method and Applicationcited by 872
- 2023The RefinedWeb Dataset for Falcon LLM: Outperforming Curated Corpora with Web Data, and Web Data Onlycited by 763
- 2017Skin Lesion Analysis Toward Melanoma Detection: A Challenge at the 2017 International Symposium on Biomedical Imaging (ISBI), Hosted by the International Skin Imaging Collaboration (ISIC)cited by 549
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2021MetaICL: Learning to Learn In Contextcited by 454
- 2018Conditional Neural Processescited by 426
- 2023DoReMi: Optimizing Data Mixtures Speeds Up Language Model Pretrainingcited by 399
- 2018Meta-learning with differentiable closed-form solverscited by 397
- 2021Transformers Can Do Bayesian Inferencecited by 360
- 2020PULSE: Self-Supervised Photo Upsampling via Latent Space Exploration of Generative Modelscited by 358
- 2023NLP Evaluation in trouble: On the Need to Measure LLM Data Contamination for each Benchmarkcited by 348
- 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 315
- 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
- 2020Pretrained Transformers Improve Out-of-Distribution Robustnesscited by 294
- 2021Curriculum Learning: A Surveycited by 259
- 2024Leak, Cheat, Repeat: Data Contamination and Evaluation Malpractices in Closed-Source LLMscited by 229
- 2019Meta-Learning Representations for Continual Learningcited by 189
- 2021Meta-learning via Language Model In-context Tuningcited by 164
- 2020Geometric Dataset Distances via Optimal Transportcited by 158
- 2023Pretraining task diversity and the emergence of non-Bayesian in-context learning for regressioncited by 146
- 2022Transformer Neural Processes: Uncertainty-Aware Meta Learning Via Sequence Modelingcited by 127
- 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
- 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 98
- 2024Understanding Emergent Abilities of Language Models from the Loss Perspectivecited by 94
- 2020A Wholistic View of Continual Learning with Deep Neural Networks: Forgotten Lessons and the Bridge to Active and Open World Learningcited by 87
- 2023In-Context Learning through the Bayesian Prismcited by 83
- 2023The Transient Nature of Emergent In-Context Learning in Transformerscited by 76
- 2023Advances and Challenges in Meta-Learning: A Technical Reviewcited by 65
- 2021Learning a Universal Template for Few-shot Dataset Generalizationcited by 61
- 2020SpaceNet: Make Free Space For Continual Learningcited by 53
50 most cited of 69 All 69 (JSON)
Built on by
Not cited yet.