General-Purpose In-Context Learning by Meta-Learning Transformers
Abstract
Modern machine learning requires system designers to specify aspects of the learning pipeline, such as losses, architectures, and optimizers. Meta-learning, or learning-to-learn, instead aims to learn those aspects, and promises to unlock greater capabilities with less manual effort. One particularly ambitious goal of meta-learning is to train general-purpose learning algorithms from scratch, using only black box models with minimal inductive bias. Such a model takes in training data, and produces test-set predictions, without any explicit definition of an inference model, training loss, or optimization algorithm. In this paper we show that Transformers and other black-box models can be meta-trained to act as general-purpose in-context learners. We characterize phase transitions between algorithms that generalize, algorithms that memorize, and algorithms that fail to meta-train at all, induced by changes in model size, number of tasks, and meta-optimization. We further show that the capabilities of meta-trained algorithms are bottlenecked by the accessible state size (memory) determining the next prediction, unlike standard models which are thought to be bottlenecked by parameter count.
Cite
Text
Kirsch et al. "General-Purpose In-Context Learning by Meta-Learning Transformers." NeurIPS 2022 Workshops: MetaLearn, 2022.Markdown
[Kirsch et al. "General-Purpose In-Context Learning by Meta-Learning Transformers." NeurIPS 2022 Workshops: MetaLearn, 2022.](https://mlanthology.org/neuripsw/2022/kirsch2022neuripsw-generalpurpose/)BibTeX
@inproceedings{kirsch2022neuripsw-generalpurpose,
title = {{General-Purpose In-Context Learning by Meta-Learning Transformers}},
author = {Kirsch, Louis and Harrison, James and Sohl-Dickstein, Jascha and Metz, Luke},
booktitle = {NeurIPS 2022 Workshops: MetaLearn},
year = {2022},
url = {https://mlanthology.org/neuripsw/2022/kirsch2022neuripsw-generalpurpose/}
}