Lifelong Learning with a Changing Action Set

Yash Chandak, Georgios Theocharous, Chris Nota, Philip S. Thomas

Abstract: In many real-world sequential decision making problems, the number of available actions (decisions) can vary over time. While problems like catastrophic forgetting, changing transition dynamics, changing rewards functions, etc. have been well-studied in the lifelong learning literature, the setting where the action set changes remains unaddressed. In this paper, we present an algorithm that autonomously adapts to an action set whose size changes over time. To tackle this open problem, we break it into two problems that can be solved iteratively: inferring the underlying, unknown, structure in the space of actions and optimizing a policy that leverages this structure. We demonstrate the efficiency of this approach on large-scale real-world lifelong learning problems.

Introduction

Standard Reinforcement Learning (RL) typically assumes a static action space. However, in "lifelong learning" scenarios—such as a robot gaining new hardware components or a recommender system adding new products—the action set grows over time. Traditional RL agents struggle here, often forced to either re-learn from scratch (which is computationally expensive) or add new parameters in a way that leads to poor generalization and unstable learning. This paper introduces LAICA (Lifelong Adaptation and Improvement for Changing Actions), a framework designed to handle a changing action set by leveraging the latent structure of the action space.

The LAICA Framework

The core innovation of LAICA is the decoupling of the agent's policy from the specific cardinality of the action set. It achieves this by breaking the policy into two distinct, interacting components:

  1. The High-Level Policy ($\beta$): Instead of selecting a specific discrete action, this policy outputs a vector in a continuous, latent "structure space." The number of parameters in $eta$ remains invariant regardless of how many actions are available.
  2. The Action Estimator ($\hat{\phi}$): This component maps the latent vector from $eta$ to the actual discrete actions available at any given moment.
The LAICA graphical model, illustrating the decoupling of the high-level policy from the observed action set via a latent structure space.

The Learning Process

LAICA operates in two iterative phases:

  • Adaptation Phase: When new actions are introduced, the agent uses an inverse dynamics model to infer the relationship between these new actions and the environment. This is treated as a supervised learning task, making it significantly more data-efficient than reward-based RL.
  • Improvement Phase: Once the action mapping is updated, the agent employs standard RL (such as Deterministic Policy Gradient) to fine-tune the high-level policy $\beta$.

Experimental Evaluation

The authors evaluated LAICA across three distinct domains, including massive real-world datasets:

  • Maze Domain: A continuous-state maze where an agent's 256 possible movement actions were introduced sequentially in five sets.
  • Tutorial Recommendation MDP: A dataset based on 29 million user clicks from a video-tutorial platform, involving 1,498 unique tutorials (actions).
  • Software Tool Recommendation MDP: A large-scale dataset based on 1.75 billion clicks from professional multimedia software, involving 1,843 different tools (actions).

Key Results and Insights

LAICA demonstrates superior performance and stability compared to baselines that either re-learn from scratch or simply append new parameters. By learning a latent space where similar actions are clustered together, the agent can effectively "guess" the effect of a new action based on its similarity to known actions. This prevents the significant performance drops typically observed when action sets change.

Total expected return over episodes for LAICA and baseline methods across Software and Tutorial MDPs, demonstrating superior performance and stability.

In the recommender system tasks, LAICA performed nearly twice as well as the baselines. The use of supervised "warm-starts" via inverse dynamics allows the agent to understand a new action's function before attempting to maximize rewards with it, leading to much faster convergence.

Conclusion

LAICA addresses a critical gap in lifelong learning by providing a mechanism for agents to adapt to changing action sets. While the framework relies on the existence of an underlying latent structure among actions, it offers a robust and data-efficient solution for real-world applications like recommender systems and robotics where action sets are dynamic. Future work may explore scenarios involving action removal and the integration of completely unrelated new action categories.

Summary updated

BibTeX
@inproceedings{chandak2020lifelong,
  author = {Yash Chandak and Georgios Theocharous and Chris Nota and Philip S. Thomas},
  title = {{Lifelong Learning with a Changing Action Set}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2020},
  url = {https://openreview.net/forum?id=KC6dYD71ZHU},
}
Figure