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 size of the action set changes remains unaddressed. In this paper, we present first steps towards developing 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 fixed, static set of actions. However, real-world environments are rarely so rigid. In domains like medical treatment, recommender systems, or robotics, new options—such as new drugs, products, or hardware capabilities—are constantly introduced. When the action set grows, standard RL policies often fail because their neural network output layers are fixed, or they require complete retraining, leading to catastrophic forgetting and extreme sample inefficiency.
This paper introduces the Lifelong Markov Decision Process (L-MDP) and a novel algorithm, LAICA, designed to autonomously and efficiently adapt to a growing action set over an agent's lifetime.
The Lifelong MDP Framework
The authors formalize the L-MDP as an extension of the standard MDP where the action set $\mathcal{A}_k$ can change across episodes. This framework models the evolution of available choices over time, as shown in the graphical model below.
The LAICA Algorithm
To address the challenges of L-MDPs, the authors propose a policy decomposition technique. They assume that discrete actions exist within an underlying, unknown continuous vector space. The policy is split into two components:
- $\beta$ (State-to-Latent): A decision-making policy that maps the current state to a continuous vector in the underlying action space. Its architecture remains invariant to the number of available actions.
- $\hat{\phi}$ (Latent-to-Action): An action-mapping function that snaps the continuous vector to the closest available discrete action.
When new actions are introduced, the LAICA (Lifelong Adaptation and Improvement for Changing Actions) algorithm freezes $\beta$ and updates $\hat{\phi}$ using a supervised learning objective based on inverse dynamics. This allows the agent to infer where new actions fit in the latent space without relying on sparse reward signals. Once adapted, standard RL resumes to improve the decision-making policy $\beta$.
Experimental Evaluation
The approach was evaluated on three diverse environments: a synthetic Maze domain and two large-scale real-world datasets (a Video-Tutorial platform with 29 million clicks and Multimedia Editing Software with 1.75 billion clicks).
As illustrated in the results, LAICA significantly outperforms baselines that either relearn from scratch or naively append parameters. In real-world recommender systems, LAICA achieved approximately double the total expected return of its competitors. Crucially, while naive baselines suffer performance drops when new actions are introduced, LAICA demonstrates immediate retention and rapid recovery.
Key Insights
- Bounded Sub-optimality: The performance gap between an agent with a limited action set and one with access to all future actions is mathematically proven to be bounded and shrinks as more actions are added.
- Adaptation as Supervised Learning: By treating action adaptation as a supervised problem (updating $\hat{\phi}$), LAICA avoids the sample-hungry trial-and-error typical of RL.
- Parameter Invariance: Because the core decision-making network $\beta$ does not change its output size, the agent retains past knowledge perfectly, preventing catastrophic forgetting.
Conclusion and Future Work
LAICA provides a robust framework for RL in dynamic environments. While it currently assumes a "smooth" relationship between new and old actions and focuses on action addition, future work could explore handling "alien" actions or the removal of actions from the set. Theoretically, the invariant policy parameterization should support action removal, though this remains to be empirically validated.
Summary updated