mlsanityData to 14 Oct 2026

Are LSTMs Good Few-Shot Learners?

arXiv 2310.14139 ↗First posted 22 Oct 2023cs.LG cs.AI stat.MLcited by 3

Not on the map. Why?

Abstract (arXiv)

Deep learning requires large amounts of data to learn new tasks well, limiting its applicability to domains where such data is available. Meta-learning overcomes this limitation by learning how to learn. In 2001, Hochreiter et al. showed that an LSTM trained with backpropagation across different tasks is capable of meta-learning. Despite promising results of this approach on small problems, and more recently, also on reinforcement learning problems, the approach has received little attention in the supervised few-shot learning setting. We revisit this approach and test it on modern few-shot learning benchmarks. We find that LSTM, surprisingly, outperform the popular meta-learning technique MAML on a simple few-shot sine wave regression benchmark, but that LSTM, expectedly, fall short on more complex few-shot image classification benchmarks. We identify two potential causes and propose a new method called Outer Product LSTM (OP-LSTM) that resolves these issues and displays substantial performance gains over the plain LSTM. Compared to popular meta-learning baselines, OP-LSTM yields competitive performance on within-domain few-shot image classification, and performs better in cross-domain settings by 0.5% to 1.9% in accuracy score. While these results alone do not set a new state-of-the-art, the advances of OP-LSTM are orthogonal to other advances in the field of meta-learning, yield new insights in how LSTM work in image classification, allowing for a whole range of new research directions. For reproducibility purposes, we publish all our research code publicly.

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 18 of its 39 references that are in the map. First posted on arXiv 22 Oct 2023.

Builds on

18 of 39 references.

References · 18

  1. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
  2. 2015Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classificationcited by 3,611
  3. 2017Prototypical Networks for Few-shot Learningcited by 3,015
  4. 2016Matching Networks for One Shot Learningcited by 2,255
  5. 2015Convolutional LSTM Network: A Machine Learning Approach for Precipitation Nowcastingcited by 1,436
  6. 2016Learning to learn by gradient descent by gradient descentcited by 620
  7. 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 503
  8. 2016Learning to reinforcement learncited by 377
  9. 2019Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examplescited by 315
  10. 2022Data Distributional Properties Drive Emergent In-Context Learning in Transformerscited by 309
  11. 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 105
  12. 2020A Survey of Deep Meta-Learningcited by 100
6 more
  1. 2019Meta-Learning with Warped Gradient Descentcited by 98
  2. 2019Meta-Curvaturecited by 70
  3. 2017Meta-Learning and Universality: Deep Representations and Gradient Descent can Approximate any Learning Algorithmcited by 65
  4. 2020Meta Learning Backpropagation And Improving Itcited by 49
  5. 2021What is Going on Inside Recurrent Meta Reinforcement Learning Agents?cited by 3
  6. 2023Subspace Adaptation Prior for Few-Shot Learningcited by 1

Built on by

Cited by year

Citing papers per year: 2023: 1; 2024: 1; 2025: 1.

3 papers.