Lune

NeurIPS2021Top-tier venue

Memory Efficient Meta-Learning with Large Images

John Bronskill, Daniela Massiceti, Massimiliano Patacchiola, Katja Hofmann, Sebastian Nowozin, Richard E. Turner

Abstract

Meta learning approaches to few-shot classification are computationally efficient at test time, requiring just a few optimization steps or single forward pass to learn a new task, but they remain highly memory-intensive to train. This limitation arises because a task's entire support set, which can contain up to 1000 images, must be processed before an optimization step can be taken. Harnessing the performance gains offered by large images thus requires either parallelizing the meta-learner across multiple GPUs, which may not be available, or trade-offs between task and image size when memory constraints apply. We improve on both options by proposing LITE, a general and memory efficient episodic training scheme that enables meta-training on large tasks composed of large images on a single GPU. We achieve this by observing that the gradients for a task can be decomposed into a sum of gradients over the task's training images. This enables us to perform a forward pass on a task's entire training set but realize significant memory savings by back-propagating only a random subset of these images which we show is an unbiased approximation of the full gradient. We use LITE to train meta-learners and demonstrate new state-of-the-art accuracy on the real-world ORBIT benchmark and 3 of the 4 parts of the challenging VTAB+MD benchmark relative to leading meta-learners. LITE also enables meta-learners to be competitive with transfer learning approaches but at a fraction of the test-time computational cost, thus serving as a counterpoint to the recent narrative that transfer learning is all you need for few-shot classification.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

11 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Strong Baselines for Parameter-Efficient Few-Shot Fine-Tuning cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
  • Skill-based Meta-Reinforcement Learning cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
  • Learning Large-scale Neural Fields via Context Pruned Meta-Learning cites Large-Scale Meta-Learning with Continual Trajectory Shifting
  • CrossTransformers: spatially-aware few-shot transfer cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
  • ORBIT: A Real-World Few-Shot Dataset for Teachable Object Recognition cites Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few Examples
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers11

  1. First Session Adaptation: A Strong Replay-Free Baseline for Class-Incremental LearningAristeidis Panos, Yuriko Kobe, Daniel Olmeda Reino, Rahaf Aljundi et al.ICCV 2023 · 60 citations
  2. Skill-based Meta-Reinforcement LearningTaewook Nam, Shao-Hua Sun, Karl Pertsch, Sung Ju Hwang et al.ICLR 2022 · 55 citations
  3. Strong Baselines for Parameter-Efficient Few-Shot Fine-TuningSamyadeep Basu, Shell Xu Hu, Daniela Massiceti, Soheil FeiziAAAI 2024 · 54 citations
  4. Online Adaptation of Language Models with a Memory of Amortized ContextsJihoon Tack, Jaehyung Kim, Eric Mitchell, Jinwoo Shin et al.NeurIPS 2024 · 46 citations
  5. Learning Large-scale Neural Fields via Context Pruned Meta-LearningJihoon Tack, Subin Kim, Sihyun Yu, Jaeho Lee et al.NeurIPS 2023 · 16 citations

Builds on6

  1. Meta-Dataset: A Dataset of Datasets for Learning to Learn from Few ExamplesEleni Triantafillou, Tyler Zhu, Vincent Dumoulin, Pascal Lamblin et al.ICLR 2020 · 692 citations
  2. Few-Shot Adversarial Learning of Realistic Neural Talking Head ModelsEgor Zakharov, Aliaksandra Shysheya, Egor Burkov, Victor S. LempitskyICCV 2019 · 687 citations
  3. CrossTransformers: spatially-aware few-shot transferCarl Doersch, Ankush Gupta, Andrew ZissermanNeurIPS 2020 · 420 citations
  4. ORBIT: A Real-World Few-Shot Dataset for Teachable Object RecognitionDaniela Massiceti, Luisa M. Zintgraf, John Bronskill, Lida Theodorou et al.ICCV 2021 · 55 citations
  5. Large-Scale Meta-Learning with Continual Trajectory ShiftingJaewoong Shin, Haebeom Lee, Boqing Gong, Sung Ju HwangICML 2021 · 18 citations

Related papers

  1. Making Scalable Meta Learning PracticalSang Keun Choe, Sanket Vaibhav Mehta, Hwijeen Ahn, Willie Neiswanger et al.NeurIPS 2023 · 28 citations
  2. Meta-Adaptive Prompt Distillation for Few-Shot Visual Question AnsweringAkash Gupta, Amos Storkey, Mirella LapataICLR 2026
  3. Graph Meta Learning via Local SubgraphsKexin Huang, Marinka ZitnikNeurIPS 2020 · 205 citations
  4. Hard-Meta-Dataset++: Towards Understanding Few-Shot Performance on Difficult TasksSamyadeep Basu, Megan Stanley, John Bronskill, Soheil Feizi et al.ICLR 2023
  5. Meta-RCNN: Meta Learning for Few-Shot Object DetectionXiongwei Wu, Doyen Sahoo, Steven C. H. HoiACM MM 2020 · 94 citations
Dusk over the sea between two cliffs drawn in fine vertical lines