Evaluating Pretrained Models for Deployable Lifelong Learning

Kiran Lekkala, Eshan Bhargava, Laurent Itti

TL;DR

This paper introduces a novel benchmark and a scalable system for deployable lifelong learning in visual reinforcement learning. Their approach pretrains a system on a large dataset and then deploys it to learn new tasks sequentially without forgetting, focusing on efficiency and resource utilization for real-world applications.

What Problem Does This Paper Address?

Intelligent agents need to learn and adapt to new tasks continuously, much like humans, without forgetting previously acquired knowledge. This is crucial for real-world applications where environments evolve. However, existing continual learning methods often rely on complex memory modules or data augmentation, making them difficult to scale and deploy. Furthermore, models need to be pretrained offline to provide a strong inductive bias for efficient learning when deployed. This paper addresses the challenge of creating a deployable lifelong learning system for visual reinforcement learning that is efficient, scalable, and can leverage offline pretraining.

Methods

The proposed system, named DeLL (Deployment for Lifelong Learning), consists of two main components:

  • Pretrained Encoder: A Variational Autoencoder (VAE) is trained offline on a large dataset to extract relevant features from game observations. This encoder is frozen during deployment and used to infer embeddings for task identification.
  • Meta Task-mapper: This component is also pretrained offline and is responsible for identifying the task an agent is currently facing. It uses a Few Shot Class Incremental Learning (FSCIL) approach to adapt to new tasks quickly. The task-mapper learns to predict the appropriate policy to execute based on the identified task. The system's novelty lies in its ability to identify tasks and load corresponding policies, enabling efficient adaptation to new tasks with minimal updates.

Datasets

  • Pretraining Dataset: The authors collected a dataset of expert-played YouTube videos of Atari games (distinct from the OpenAI Gym suite). This dataset comprises 1,116,275 images (360x480, resized to 84x84) and associated normalized rewards. The dataset is organized into 101 folders, each representing a unique game.
  • DeLL Benchmark: A novel benchmark is introduced for evaluating deployable lifelong learning systems. This benchmark consists of a set of unseen Atari games (based on OpenAI Gym) that are used for sequential evaluation. The benchmark focuses on scalability and resource utilization.

Key Insights and Ideas

  • Offline Pretraining for Inductive Bias: Pretraining the encoder and task-mapper on a large, diverse dataset provides a strong inductive bias, allowing the system to learn new tasks more efficiently when deployed.
  • Task Identification as the Core Mechanism: Instead of relying on complex memory replay or extensive data augmentation, the system frames lifelong learning as a task identification problem. This simplifies the learning process and improves scalability.
  • Scalability through Task-Mapper: The meta task-mapper, designed with FSCIL, can be extended to handle an indefinite number of tasks by aggregating learned parameters. This is crucial for real-world scenarios where the number of tasks can grow significantly.
  • Efficiency in Deployment: By freezing the pretrained encoder and only updating the task-mapper's last layer, the system achieves a small memory footprint and requires fewer computational resources, making it suitable for deployment.

Key Results

The paper presents results from experiments on a set of 11 Atari games.

  • Task-mapper Performance: The CEC-FSCIL based task-mapper outperforms a baseline Meta learning-based task-mapper in terms of accuracy, especially as the number of tasks (N) increases. For instance, with 20-way classification, the CEC-FSCIL task-mapper achieves an accuracy of 0.82, while the Meta learning task-mapper's performance is not directly comparable in the same table due to its architecture.
  • System Performance: The proposed DeLL system, when evaluated on the DeLL benchmark, shows competitive performance. Table 2 indicates that the "Net-mean" reward values for the proposed system are generally higher than those achieved by a random encoder or an end-to-end trained agent for the evaluated games.
  • Resource Utilization: Table 3 highlights that the proposed CEC-based system has a relatively low Model Size (MS) of 242 MB and a low Model Growth (MG) of 0.13, indicating efficient resource utilization compared to the Meta learning baseline.

Limitations and Future Work

  • Appearance-Based Representations: The current system relies on appearance-based representations from the VAE encoder. The authors acknowledge that this might limit its ability to generalize to tasks where skills are similar but appearances differ significantly.
  • Skill/Dynamic-Aware Representations: Future work will focus on incorporating representations that are aware of skills and dynamics, rather than solely appearance. This would allow for better generalization and reuse of existing policy parameters for new games that share similar underlying skills.
  • Optimal Support Set Selection: While the system uses a few-shot adaptation for the task-mapper, the authors mention exploring more optimal methods for selecting these support samples to further minimize computational overhead and accommodate more tasks.

Summary updated

BibTeX
@inproceedings{lekkala2023evaluating,
  author = {Kiran Lekkala and Eshan Bhargava and Laurent Itti},
  title = {{Evaluating Pretrained Models for Deployable Lifelong Learning}},
  booktitle = {Workshops @ WACV},
  year = {2023},
}
Figure