Adapting the Behavior of Reinforcement Learning Agents to Changing Action Spaces and Reward Functions
Raul de la Rosa, Ivana Dusparic, Nicolas Cardozo
TL;DR
The paper tackles non-stationary reinforcement learning where reward functions and action spaces change over time. It introduces MORPHIN, a self-adaptive Q-learning framework that couples online concept-drift detection via the Page-Hinkley test with dynamic adjustments of exploration and learning rates, while preserving a single $Q$-table to prevent forgetting and support new actions. Empirical results in Gridworld and traffic-signal control show MORPHIN achieves faster adaptation and improved learning efficiency (up to $1.7\times$) compared to standard Q-learning, though drift detector sensitivity can miss subtler drifts. This work contributes a lightweight, practical approach for continual learning in dynamic environments, with potential extensions to deep RL and edge deployments.
Abstract
Reinforcement Learning (RL) agents often struggle in real-world applications where environmental conditions are non-stationary, particularly when reward functions shift or the available action space expands. This paper introduces MORPHIN, a self-adaptive Q-learning framework that enables on-the-fly adaptation without full retraining. By integrating concept drift detection with dynamic adjustments to learning and exploration hyperparameters, MORPHIN adapts agents to changes in both the reward function and on-the-fly expansions of the agent's action space, while preserving prior policy knowledge to prevent catastrophic forgetting. We validate our approach using a Gridworld benchmark and a traffic signal control simulation. The results demonstrate that MORPHIN achieves superior convergence speed and continuous adaptation compared to a standard Q-learning baseline, improving learning efficiency by up to 1.7x.
