TL;DR
Continual Learning (CL) research is fragmented by a dizzying array of evaluation settings and methods, hindering progress. This paper introduces Sequoia, a unified software framework that organizes CL settings into a hierarchical taxonomy based on assumptions, enabling method reusability through inheritance. This aims to standardize CL research, making it more reproducible and accelerating the development of agents that learn continuously.
What Problem Does This Paper Address?
The field of Continual Learning (CL) aims to build AI agents that can learn and adapt over time in non-stationary environments, much like humans do. However, the CL research landscape is currently a "research jungle." This is due to a lack of standardization in how CL problems are defined (settings) and how algorithms are evaluated. Different research papers often use their own unique settings, making it difficult to compare methods, reproduce results, and understand how well a method generalizes beyond its specific evaluation scenario. Furthermore, Continual Supervised Learning (CSL) and Continual Reinforcement Learning (CRL) are often treated as separate fields, leading to duplicated efforts. This fragmentation slows down the overall progress in developing truly adaptive AI systems.
Methods
Sequoia tackles this problem by introducing two core abstractions: Settings and Methods.
- Settings Hierarchy: The paper proposes a taxonomy of CL settings organized in a tree-like hierarchy. Each setting is defined by a set of assumptions about the environment (e.g., whether task boundaries are known, if task labels are available, or if the environment is stationary). More general settings (higher up in the tree) make fewer assumptions, while more specific settings (lower down) add more constraints. This hierarchical structure allows for inheritance, meaning a method developed for a general setting can be automatically applied to any of its more specific child settings.
- Unified Framework: Sequoia is implemented as a Python software framework that instantiates this hierarchical taxonomy. It provides a common interface for both Continual Supervised Learning (CSL) and Continual Reinforcement Learning (CRL) by using an
Environmentabstraction that can handle both datasets and gym-like RL environments. - Method Reusability: Methods are designed to target specific settings but can be inherited by child settings. This significantly reduces the effort required to test a method across various CL scenarios, promoting code reuse and reproducibility.
Datasets
The paper mentions the use of several standard datasets for Continual Supervised Learning (CSL) experiments:
- MNIST
- CIFAR10
- CIFAR100
- Synbols (a character classification dataset with font labels, used to create the Split-Synbols dataset for domain-incremental learning)
For Continual Reinforcement Learning (CRL), they leverage:
- Gym environments (e.g., CartPole, Hopper, HalfCheetah, Walker2d, Pendulum, MountainCar)
- Meta-World benchmarks (MT10, MT50)
- Continual World benchmarks (CW10, CW20)
- A newly introduced benchmark: Continual-MonsterKong, a pixel-based, lightweight environment built on Pygame, designed for evaluating continual learning agents with customizable tasks based on map configurations, coin/ladder placement, and agent movement.
Key Insights and Ideas
- Assumption-Based Taxonomy: Organizing CL settings by their underlying assumptions is a powerful way to create a unified structure. This allows for a systematic understanding of how different settings relate to each other and how methods can generalize.
- Inheritance for Reusability: The tree-like hierarchy with inheritance is the core mechanism for making methods reusable. This drastically reduces the burden of re-implementing and re-evaluating methods across numerous CL scenarios.
- Bridging CSL and CRL: Sequoia's unified
Environmentabstraction, capable of handling both datasets and RL environments, effectively bridges the gap between CSL and CRL research, encouraging cross-pollination of ideas and methods. - Standardization is Key: The paper strongly advocates for standardization in CL research, highlighting how a common framework and evaluation protocols can accelerate progress by improving reproducibility and comparability.
Key Results
The paper demonstrates Sequoia's utility through large-scale empirical studies. While specific quantitative results are presented in figures and tables, the key takeaway is the framework's ability to facilitate such comprehensive evaluations.
- Incremental Supervised Learning: Figure 3 and 9 show performance-runtime trade-offs for various methods on Incremental SL settings (Task-Incremental and Class-Incremental) across MNIST, CIFAR10, and Synbols. Methods like GEM and GDumb are highlighted for achieving good trade-offs.
- Continual Reinforcement Learning: Figure 4 and 10 illustrate performance-runtime trade-offs for RL backbones (e.g., from Stable-Baselines3) on Traditional and Incremental RL settings using HalfCheetah-gravity and Continual-MonsterKong. The results show a general trade-off between performance and runtime, and also between final and online performance, with different algorithms excelling in different aspects (e.g., DQN for final performance, PPO for online performance in MonsterKong).
- Transfer Matrix: Figure 11 shows a transfer matrix for PPO in Continual-MonsterKong, indicating how well the agent generalizes to unseen tasks after learning previous ones, demonstrating the benchmark's utility.
Limitations and Future Work
- Reproducibility: While Sequoia aims for reproducibility, the authors acknowledge that making settings entirely deterministic across all combinations of methods and seeds is an ongoing effort.
- Future Work: The authors plan to address the need for structural rather than nominal subtyping for defining classes, further refine the framework, and potentially expand it to other research fields. They also welcome community contributions to grow the Sequoia ecosystem.
Summary updated