Few-shot Sequence Learning with Transformers
By Lajanugen Logeswaran, Ann Lee, Myle Ott, Honglak Lee, Marc'Aurelio Ranzato, Arthur Szlam. 2020
13 citations recorded by the source corpus.
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.
Subfields: Artificial Intelligence, Cancer Research, Computer Vision and Pattern Recognition
How researchers see this paper
The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.
In Artificial Intelligence
- Aditya Krishna Menon
- Ankit Singh Rawat
- Marek Rei
- Sanjiv Kumar
- Jordan Clive
- Kris Cao
- Vaishnavh Nagarajan
- Sebastian Ruder
In Computer Vision and Pattern Recognition
- Ankit Singh Rawat
- Marek Rei
- Sanjiv Kumar
- Jordan Clive
- Aditya Krishna Menon
- Kris Cao
- Vaishnavh Nagarajan
- Dacheng Tao
Citations in the corpus
- The Power of Scale for Parameter-Efficient Prompt Tuning (2021, neutral): “Logeswaran et al. (2020) use a learnable prepended token to adapt transformer models to various tasks, but focus on small synthetic datasets designed to accommodate a compositional task representation, as opposed to larger real-world datasets.”
- Control Prefixes for Text Generation (2021, background): “Several successive works (Logeswaran et al., 2020; Liu et al., 2021b; Lester et al., 2021) employ prompt-embedding tuning, which trains continuous embeddings prepended to the input embeddings.”
- Control Prefixes for Parameter-Efficient Text Generation (2021, background): “Several successive works (Logeswaran et al., 2020; Liu et al., 2021b; Lester et al., 2021) employ prompt tuning, where unlike the discrete text prompts in ICL, trainable soft embeddings are prepended to the input.”
- Think before you speak: Training Language Models With Pause Tokens (2023, background): “Interestingly, on the face of it, pause-finetuning bears some resemblance to an orthogonal line of work on lightweight finetuning/ensembling techniques (Liu et al., 2022; Li & Liang, 2021; Lester et al., 2021; Hambardzumyan et al., 2021; Qin & Eisner, 2021; Logeswaran et al., 2020; Liu et al., 2021;”