Meta-Learning with Less Forgetting on Large-Scale Non-Stationary Task Distributions

Zhenyi Wang, Li Shen, Le Fang, Qiuling Suo, Donglin Zhan, Tiehang Duan, Mingchen Gao · DOI

Introduction

Standard meta-learning frameworks typically operate under the assumption of a stationary environment, where the distribution of tasks remains constant throughout the training process. However, real-world applications—such as autonomous driving or adaptive robotics—frequently encounter non-stationary environments where task distributions evolve over time. Furthermore, while unlabeled data is often abundant in these scenarios, it is frequently contaminated with out-of-distribution (OOD) samples that can degrade model performance.

This paper introduces a new, more realistic research setting called SETS (Semi-supervised meta-learning on Evolving Task diStributions) and proposes ORDER (OOD Robust and knowleDge presErved semi-supeRvised meta-learning), a framework designed to handle both catastrophic forgetting and OOD noise in large-scale, non-stationary task sequences.

The SETS Challenge: Non-Stationarity and Noise

The SETS setting addresses two primary hurdles that traditional meta-learning algorithms struggle to overcome:

  1. Robustness to OOD Data: Semi-supervised meta-learning aims to leverage unlabeled data to improve performance when labeled "support" data is scarce. However, if the unlabeled set contains "junk" data (images that do not belong to any current class), the model's prototypes can become corrupted.
  2. Catastrophic Forgetting: As the model moves through a sequence of different task distributions (e.g., shifting from recognizing urban objects to recognizing wildlife), it tends to overwrite the knowledge required for previous distributions.

The ORDER Framework

To address these challenges, the authors developed ORDER, which integrates three distinct mechanisms to ensure robust and continuous learning.

1. Metric-Based OOD Detection

ORDER begins by establishing a distance-based threshold for unlabeled data. By using the current task's query set as an "in-distribution" calibration reference, the model calculates the distance of unlabeled samples from class prototypes in the feature space. Samples that fall outside a specific threshold are flagged as OOD, preventing them from immediately polluting the class representations.

2. Mutual Information (MI) Regularization

Rather than simply discarding OOD data, ORDER employs an information-theoretic approach to refine the model's feature space. The framework utilizes Mutual Information regularization to:

  • Minimize MI between class prototypes and OOD data, effectively "pushing away" the influence of noisy samples.
  • Maximize MI between prototypes and in-distribution (ID) unlabeled data, enhancing the transfer of useful information from the unlabeled set.

To make this computationally feasible, the authors derived tractable variational bounds, allowing the model to optimize these information flows during standard training iterations.

3. Optimal Transport (OT) for Memory Preservation

To combat catastrophic forgetting, ORDER maintains a small memory buffer. Unlike traditional experience replay, which stores raw images, ORDER stores feature embeddings. During the learning of new task distributions, the model uses Optimal Transport to minimize the distance between the current feature distribution and the stored memory distribution. This ensures that the model’s internal representations remain consistent with previously learned knowledge without requiring the massive computational overhead of re-training on old raw data.

Large-Scale Benchmarking

The authors evaluated ORDER on a massive new benchmark constructed from six diverse datasets: CIFARFS, AIRCRAFT, CUB, Miniimagenet, Butterfly, and Plantae. This sequence comprises over 72,000 tasks, representing a significantly larger scale than typical meta-learning studies. To simulate realistic noise, OOD samples were drawn from three additional datasets: Omniglot, Vggflower, and Fish.

Key Results and Insights

ORDER demonstrated significant performance gains over existing state-of-the-art baselines in both semi-supervised and continual learning categories:

  • Superior Accuracy: In 5-way 5-shot classification tests, ORDER achieved 53.96% accuracy, outperforming the strongest semi-supervised baseline (TPN) by over 7% and standard Prototypical Networks by over 11%.
  • Resilience to Noise: While traditional semi-supervised methods saw sharp performance declines as the ratio of OOD data increased, ORDER remained relatively stable, proving its robustness to high levels of data contamination.
  • Computational Efficiency: Despite its complexity, ORDER is more efficient in terms of running time per iteration compared to other high-performing semi-supervised methods like TPN and LST, largely due to its feature-space alignment strategy.

Conclusion and Future Directions

The ORDER framework provides a principled approach to meta-learning in evolving environments by treating OOD data as a signal to be managed via Mutual Information and using Optimal Transport to preserve feature-space consistency.

While the method is highly effective, it currently relies on a small amount of labeled support data for each new task. Future research may explore fully unsupervised adaptation, where the model learns to navigate evolving task distributions without any human-provided labels. Additionally, further work is needed to automate the tuning of hyperparameters that balance the trade-off between learning new information and retaining the old.

Summary updated

BibTeX
@inproceedings{wang2022meta,
  author = {Zhenyi Wang and Li Shen and Le Fang and Qiuling Suo and Donglin Zhan and Tiehang Duan and Mingchen Gao},
  title = {{Meta-Learning with Less Forgetting on Large-Scale Non-Stationary Task Distributions}},
  booktitle = {European Conference on Computer Vision},
  year = {2022},
  doi = {10.1007/978-3-031-20044-1\_13},
}
Figure