paper-with-me

홈 › Papers

Memory Efficient Meta-Learning with Large Images

2021-07-02 · NeurIPS 2021 12 · John Bronskill, Daniela Massiceti, Massimiliano Patacchiola, Katja Hofmann, Sebastian Nowozin, Richard E. Turner

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.

📄 PDF Abstract BibTeX arXiv:2107.01105

Code (2)

cambridge-mlg/LITE 공식 구현 pytorch
microsoft/ORBIT-Dataset 공식 구현 pytorch

Tasks

Few-Shot Image ClassificationGPUMeta-LearningTransfer Learning

Similar Papers 제목 키워드 기반

Learning Meta-class Memory for Few-Shot Semantic Segmentation

2021-08-06 · ICCV 2021 10 · Zhonghua Wu, Xiangxi Shi, Guosheng Lin, Jianfei Cai

Currently, the state-of-the-art methods treat few-shot semantic segmentation task as a conditional foreground-background segmentation problem, assuming each class is independent. In this paper, we introduce the concept o…

Few-Shot Semantic SegmentationSegmentationSemantic Segmentation

Memory-Driven Metaheuristics: Improving Optimization Performance

2024-11-07 · Salar Farahmand-Tabar

Metaheuristics are stochastic optimization algorithms that mimic natural processes to find optimal solutions to complex problems. The success of metaheuristics largely depends on the ability to effectively explore and ex…

Stochastic Optimization

MetaMem: Evolving Meta-Memory for Knowledge Utilization through Self-Reflective Symbolic Optimization

2026-01-27 · Haidong Xin, Xinze Li, Zhenghao Liu, Yukun Yan 외 arxiv

Existing memory systems enable Large Language Models (LLMs) to support long-horizon human-LLM interactions by persisting historical interactions beyond limited context windows. However, while recent approaches have succe…

Modern Hopfield Networks meet Encoded Neural Representations -- Addressing Practical Considerations

2024-09-24 · Satyananda Kashyap, Niharika S. D'Souza, Luyao Shi, Ken C. L. Wong 외

Content-addressable memories such as Modern Hopfield Networks (MHN) have been studied as mathematical models of auto-association and storage/retrieval in the human declarative memory, yet their practical use for large-sc…

Natural Language QueriesRetrieval

Meta-Memory: Retrieving and Integrating Semantic-Spatial Memories for Robot Spatial Reasoning

2025-09-25 · Yufan Mao, Hanjing Ye, Wenlong Dong, Chengjie Zhang 외 arxiv

Navigating complex environments requires robots to effectively store observations as memories and leverage them to answer human queries about spatial locations, which is a critical yet underexplored research challenge. W…

Spatial Reasoning