Evaluating Continual Learning Algorithms by Generating 3D Virtual Environments

Enrico Meloni, Alessandro Betti, Lapo Faggi, Simone Marullo, Matteo Tiezzi, Stefano Melacci

Abstract

Continual Learning (CL) research often relies on static image sequences that fail to capture the temporal and spatial complexities of the real world. This paper introduces a parametric framework extending the SAILenv platform to generate photo-realistic, 3D virtual environments for stress-testing CL algorithms. By providing a high-level Python API, the framework allows for the creation of dynamic "lifelong" data streams with perfect, automated ground-truth annotations, including optical flow and semantic segmentation. We demonstrate the framework's utility in generating complex object trajectories and multi-modal data, offering a controllable "experimental playground" for addressing the stability-plasticity dilemma.

1. Introduction

Continual Learning (CL) aims to mimic biological learning by processing information incrementally over time. However, the field is currently limited by "toy" benchmarks like Split-MNIST or short, pre-recorded video clips. These fail to represent real-world challenges such as 3D navigation, varying lighting, and complex object occlusions. To bridge this gap, we propose a system that generates fully controllable, photo-realistic 3D environments, allowing researchers to study the stability-plasticity dilemma in more realistic settings.

2. Parametric Environment Generation

The core of our approach is parametric generation. Scenes are defined by a parameter set ($\Theta$) governing object spawning and trajectories. We implement three trajectory types:

  • LinearWaypoints: Simple point-to-point movement.
  • CatmullWaypoints: Smooth, curved motion using Catmull-Rom splines.
  • UniformMovementRandomBounce: Physics-based movement where objects drift and bounce off the camera frustum.

This allows researchers to precisely tune visual complexity, speed, and occlusion levels without needing expertise in computer graphics.

Multi-modal output showing RGB, semantic segmentation, and optical flow in a dynamic living room scene.

3. Automated Ground-Truth and Multi-modal Data

A significant hurdle in computer vision is manual labeling. Our framework leverages the underlying 3D engine (Unity) to provide pixel-wise semantic labels, depth maps, and motion vectors (optical flow) automatically. This "ground truth for free" is essential for evaluating an agent's understanding of its environment over time. As shown in Figure 5, the system can track multiple moving objects simultaneously across different modalities in real-time.

4. Experimental Results and Scenarios

The framework includes several high-quality environments, including a bedroom (room01), living room (room02), and bathroom (room03). We demonstrate its capability through complex scenarios, such as a "Tennis Racket" following a spline path through a cluttered bedroom. This provides a significantly more challenging tracking and recognition task than standard CL benchmarks.

A tennis racket following a complex spline trajectory in a bedroom environment.

5. Conclusion and Future Work

Our framework lowers the barrier for CL researchers to use complex 3D data by providing a simple Python API and reproducible randomness. Future work will explore "Active Continual Learning," where agents interact with the environment or request labels when uncertain, and increased agent autonomy in navigating these generated spaces. Currently, the system supports rigid body trajectories, with future iterations potentially including deformable objects and dynamic lighting conditions.

Summary updated

BibTeX
@inproceedings{meloni2021evaluating,
  author = {Enrico Meloni and Alessandro Betti and Lapo Faggi and Simone Marullo and Matteo Tiezzi and Stefano Melacci},
  title = {{Evaluating Continual Learning Algorithms by Generating 3D Virtual Environments}},
  booktitle = {CSSL},
  year = {2021},
  url = {https://openreview.net/forum?id=2qcNemDpdt},
}
Figure