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

Introduction

Standard meta-learning frameworks typically operate under the assumption of a stationary task distribution, where the underlying rules and data types remain constant throughout the training process. However, real-world applications often involve streaming data where environments evolve, task distributions shift, and labeled data is scarce.

This paper identifies two critical gaps in current research: non-stationarity, which leads to "catastrophic forgetting" of earlier knowledge as new task types are introduced, and Out-of-Distribution (OOD) noise, where unlabeled data used to bolster few-shot learning is contaminated with irrelevant samples. To bridge these gaps, the authors introduce a new benchmark and a robust learning framework.

The SETS Benchmark

The authors propose SETS (Semi-supervised meta-learning with Evolving Task diStributions), a challenging benchmark designed to simulate real-world data streams. Unlike traditional few-shot learning, SETS requires models to learn from a sequence of tasks where the distribution shifts (e.g., transitioning from bird recognition to aircraft recognition) while leveraging unlabeled data that may contain "distractor" images from entirely different domains.

The SETS task structure involves support data, query data, and unlabeled data containing both in-distribution and out-of-distribution samples.

The ORDER Framework

To conquer the SETS benchmark, the researchers developed ORDER (OOD Robust and knowleDge presErved semi-supeRvised meta-learning). The framework is built upon three technical pillars:

  • Metric-Based OOD Detection: In few-shot scenarios, traditional statistical OOD modeling is often infeasible. ORDER utilizes the task's query set as a "calibration" anchor, calculating the distance of unlabeled samples to class prototypes in the feature space to flag OOD noise.
  • Mutual Information (MI) Regularization: Rather than treating OOD data as a nuisance to be discarded, ORDER uses it as a regularizer. It maximizes MI between class prototypes and in-distribution unlabeled data to enhance feature transfer, while explicitly minimizing MI between prototypes and OOD data to robustify the model against noise.
  • Optimal Transport (OT) for Memory: To mitigate catastrophic forgetting, ORDER maintains a small memory buffer of previous tasks. It employs Optimal Transport to align the feature distributions of current tasks with those in memory, ensuring the model's internal representations stay consistent over time even as the input data changes.

Large-Scale Evaluation

The SETS benchmark is significantly larger and more diverse than standard meta-learning datasets, consisting of over 72,000 tasks. The core sequence is built from six major datasets, including CIFARFS, AIRCRAFT, and CUB, with OOD noise sampled from Omniglot, Vggflower, and Fish datasets.

The SETS benchmark evaluates models on a long sequence of tasks where the distribution changes over time, requiring continuous adaptation without forgetting.

Key Results and Insights

ORDER demonstrated substantial performance gains over state-of-the-art semi-supervised meta-learning baselines:

  • Accuracy: In 5-way 5-shot settings, ORDER achieved 53.96% accuracy, outperforming the next best baseline (TPN) by nearly 8%.
  • Forgetting Mitigation: The OT-based memory mechanism improved 1-shot accuracy by over 7% compared to standard sequential training, proving that feature-space alignment is a powerful tool for preserving knowledge.
  • Robustness: The method remained stable even when the proportion of OOD data in the unlabeled set was increased significantly, whereas competing methods saw sharp performance drops.

Conclusion

By reframing OOD noise as a regularization opportunity and using Optimal Transport for distribution alignment, the ORDER framework provides a mathematically grounded path toward meta-learning in non-stationary environments. Future work will explore fully unsupervised scenarios where models must rely entirely on raw unlabeled streams to adapt to new tasks.

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