Lifelong Wandering: A realistic few-shot online continual learning setting

Mayank Lunayach, James Smith, Zsolt KiraarXiv 2022 · DOI

Introduction

In the pursuit of truly autonomous agents, machine learning must move beyond static, identically and independently distributed (i.i.d.) datasets. A robot navigating a dynamic world encounters a continuous stream of correlated visual data, often seeing only a few instances of novel objects before the environment shifts entirely. This paper introduces Continual Wandering, a novel benchmark designed to evaluate agents in a setting that simultaneously demands online learning, few-shot adaptation, and resilience to distribution shifts.

The Continual Wandering Benchmark

The core of this research is the "RoamingRooms" dataset, derived from the high-resolution Matterport3D scans of real-world indoor environments. Using the HabitatSim simulator, the authors create episodes where an agent "wanders" through a sequence of $N$ distinct environments (e.g., moving from a kitchen in one house to a bedroom in another).

The Continual Wandering setting involves navigating multiple environments where object classes emerge, disappear, and change context over time.

As shown in Figure 3, this setting introduces several realistic challenges:

  1. Online Learning: Data arrives as a single-pass stream (batch size = 1).
  2. Few-Shot Learning: New object classes (like a specific "designer chair") may only appear a handful of times.
  3. Distribution Shift: Moving between environments changes lighting, viewpoints, and the stylistic context of objects.
  4. Catastrophic Forgetting: The agent must retain knowledge of objects seen in early environments even after navigating through many subsequent ones.

Experimental Methodology

The authors evaluate several architectural approaches to address the plasticity-stability trade-off:

  • Contextual Prototypical Memory (CPM): Utilizes a Recurrent Neural Network (RNN) to incorporate spatiotemporal context into object recognition.
  • Online Averaged Prototypes (OAP): A baseline introduced by the authors that maintains running averages of feature vectors for each class, providing a simple yet robust memory mechanism.
  • Proto-OML: An adaptation of Online-aware Meta Learning that optimizes for performance across both current and previously encountered environments.
  • Learning without Forgetting (LwF): A classic continual learning approach using knowledge distillation to prevent drastic changes in the model's internal representations.

Results: The Plasticity-Stability Trade-off

The experimental results highlight a significant gap in current methodologies. Performance is measured using Average Online Accuracy ($O_{avg}$) and Average Forgetting ($F_{avg}$).

Method Online Accuracy (↑) Forgetting (↓)
Upper Bound 81.25% -
CPM 73.26% 31.11%
OAP 69.23% 5.91%
LwF 56.03% 2.38%
The trade-off between Average Online Accuracy and Average Forgetting across different methods.

As illustrated in Figure 6, there is a clear inverse relationship between accuracy and stability. CPM achieves the highest online accuracy by leveraging immediate context, but it suffers from the highest forgetting rate (over 31%). This suggests the model "overfits" to the current environment's context, making it unable to recognize the same object in a different setting later. Conversely, LwF is highly stable but lacks the plasticity to learn effectively from the online stream, resulting in the lowest accuracy.

Surprisingly, the simple OAP baseline provides the most balanced performance. By avoiding complex temporal modeling that might latch onto transient environmental cues, OAP maintains relatively high accuracy while keeping forgetting under 6%.

Conclusion

The "Continual Wandering" benchmark reveals that current state-of-the-art methods are ill-equipped for realistic robotic scenarios. The "Goldilocks" solution—one that utilizes context for immediate recognition without sacrificing long-term stability—remains elusive. Future research must focus on decoupling object features from environmental context to bridge the gap between the rigid stability of distillation and the volatile plasticity of contextual memory.

Summary updated

BibTeX
@misc{lunayach2022lifelong,
  author = {Mayank Lunayach and James Smith and Zsolt Kira},
  title = {{Lifelong Wandering: A realistic few-shot online continual learning setting}},
  year = {2022},
  eprint = {2206.07932},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.07932},
}
Figure