Few-shot Sequence Learning with Transformers
Not on the map. Why?
Abstract (arXiv)
Few-shot algorithms aim at learning new tasks provided only a handful of training examples. In this work we investigate few-shot learning in the setting where the data points are sequences of tokens and propose an efficient learning algorithm based on Transformers. In the simplest setting, we append a token to an input sequence which represents the particular task to be undertaken, and show that the embedding of this token can be optimized on the fly given few labeled examples. Our approach does not require complicated changes to the model architecture such as adapter layers nor computing second order derivatives as is currently popular in the meta-learning and few-shot learning literature. We demonstrate our approach on a variety of tasks, and analyze the generalization properties of several model variants and baseline approaches. In particular, we show that compositional task descriptors can improve performance. Experiments show that our approach works at least as well as other methods, while being more computationally efficient.
Key facts. Cited by 7 papers in the map (data through 7 Oct 2026). First posted on arXiv 17 Dec 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 4; 2022: 1; 2023: 1; 2024: 0; 2025: 1.
7 papers.
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,769
- 2023Think before you speak: Training Language Models With Pause Tokenscited by 254
- 2021Dynamic Inference with Neural Interpreterscited by 24
- 2021Control Prefixes for Parameter-Efficient Text Generationcited by 23
- 2021ProtoTransformer: A Meta-Learning Approach to Providing Student Feedbackcited by 8
- 2022ZeroBERTo: Leveraging Zero-Shot Text Classification by Topic Modelingcited by 7
- 2025HCFSLN: Adaptive Hyperbolic Few-Shot Learning for Multimodal Anxiety Detectioncited by 0
- 2025HCFSLN: Adaptive Hyperbolic Few-Shot Learning for Multimodal Anxiety Detection10 Nov 2025
- 2023Think before you speak: Training Language Models With Pause Tokens3 Oct 2023
- 2022ZeroBERTo: Leveraging Zero-Shot Text Classification by Topic Modeling4 Jan 2022
- 2021Control Prefixes for Parameter-Efficient Text Generation15 Oct 2021
- 2021Dynamic Inference with Neural Interpreters12 Oct 2021
- 2021ProtoTransformer: A Meta-Learning Approach to Providing Student Feedback23 Jul 2021
- 2021The Power of Scale for Parameter-Efficient Prompt Tuning18 Apr 2021