Continuous Meta-Learning without Tasks
James Harrison, Apoorva Sharma, Chelsea Finn, Marco Pavone
Abstract
Meta-learning is a promising strategy for learning to efficiently learn using data gathered from a distribution of tasks. However, the meta-learning literature thus far has focused on the task segmented setting, where at train-time, offline data is assumed to be split according to the underlying task, and at test-time, the algorithms are optimized to learn in a single task. In this work, we enable the application of generic meta-learning algorithms to settings where this task segmentation is unavailable, such as continual online learning with unsegmented time series data. We present meta-learning via online changepoint analysis (MOCA), an approach which augments a meta-learning algorithm with a differentiable Bayesian changepoint detection scheme. The framework allows both training and testing directly on time series data without segmenting it into discrete tasks. We demonstrate the utility of this approach on three nonlinear meta-regression benchmarks as well as two meta-image-classification benchmarks. Preliminaries Meta-Learning. The core idea of meta-learning is to directly optimize the few-shot learning performance of a machine learning model over a distribution of learning tasks, such that this learning performance generalizes to other tasks from this distribution. A meta-learning method consists of two phases: meta-training and online adaptation. Let θ be the parameters of this model learned in meta-training. During online adaptation, the model uses context data D t = (x 1:t , y 1:t ) from within one task to compute statistics η t = f θ (D t ), where f is a function parameterized by θ. For example, in MAML [10], the statistics are the neural network weights after gradient updates computed using D t . For recurrent network-based meta-learning algorithms, these statistics correspond to the hidden state of the network. For a simple nearest-neighbors model, η may simply be the context data. The model then performs predictions by using these statistics to define a conditional distribution on y given new inputs x, which we write y | x, D t ∼ p θ (y | x, η t ). Adopting a Bayesian perspective, we refer to p θ (y | x, η t ) as the posterior predictive distribution. The performance of this model on this task can be evaluated through the log-likelihood of task data under this posterior predictive distribution L Meta-learning algorithms, broadly, aim to optimize the parameters θ such that the model performs well across a distribution of tasks, min θ E Ti∼p(T ) [E Dt∼Ti [L(D t , θ)]] . Across most meta-learning algorithms, both the update rule f θ (•) and the prediction function are chosen to be differentiable operations, such that the parameters can be optimized via stochastic gradient descent. Given a dataset
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers25
- Gradient-based Editing of Memory Examples for Online Task-free Continual LearningXisen Jin, Arka Sadhu, Junyi Du, Xiang RenNeurIPS 2021 · 124 citations
- Continual Learning via Local Module CompositionOleksiy Ostapenko, Pau Rodríguez, Massimo Caccia, Laurent CharlinNeurIPS 2021 · 98 citations
- Online Fast Adaptation and Knowledge Accumulation (OSAKA): a New Approach to Continual LearningMassimo Caccia, Pau Rodríguez, Oleksiy Ostapenko, Fabrice Normandin et al.NeurIPS 2020 · 83 citations
- Variational Bayesian Last LayersJames Harrison, John Willes, Jasper SnoekICLR 2024 · 75 citations
- Deep Reinforcement Learning amidst Continual Structured Non-StationarityAnnie Xie, James Harrison, Chelsea FinnICML 2021 · 43 citations
Builds on1
Related papers
- Meta-D2AG: Causal Graph Learning with Interventional Dynamic DataTian Gao, Songtao Lu, Junkyu Lee, Elliot Nelson et al.NeurIPS 2025
- Learning to Continually Learn with the Bayesian PrincipleSoochan Lee, Hyeonseong Jeon, Jaehyeon Son, Gunhee KimICML 2024 · 11 citations
- Meta-Learning Framework with Applications to Zero-Shot Time-Series ForecastingBoris N. Oreshkin, Dmitri Carpov, Nicolas Chapados, Yoshua BengioAAAI 2021 · 135 citations
- Few-Shot One-Class Classification via Meta-LearningAhmed Frikha, Denis Krompaß, Hans-Georg Köpken, Volker TrespAAAI 2021 · 68 citations
- Learning to Adapt to Evolving DomainsHong Liu, Mingsheng Long, Jianmin Wang, Yu WangNeurIPS 2020 · 63 citations
