Continual Reinforcement Learning via Autoencoder-Driven Task and New Environment Recognition
Zeki Doruk Erden, Donia Gasmi, Boi Faltings
TL;DR
The paper tackles continual reinforcement learning without external task signals or data replay by coupling a growing set of policy networks with per-task autoencoders that detect novelty and match observations to known environments. Observations are processed by all autoencoders; a novel environment triggers the creation of a new policy-autoencoder pair, while matches select the best-fitting past policy for retrieval. Across Minigrid and Atari domains, the approach preserves prior knowledge as new tasks are learned and outperforms a vanilla single-policy baseline that suffers catastrophic forgetting. The work demonstrates that autoencoder-driven recognition enables autonomous, scalable continual RL with explicit environment discrimination, offering a pathway to integrate with other continual-learning strategies while reducing memory and signaling requirements. This has practical implications for deploying agents in dynamic, real-world settings where task boundaries are not predefined or signaled.
Abstract
Continual learning for reinforcement learning agents remains a significant challenge, particularly in preserving and leveraging existing information without an external signal to indicate changes in tasks or environments. In this study, we explore the effectiveness of autoencoders in detecting new tasks and matching observed environments to previously encountered ones. Our approach integrates policy optimization with familiarity autoencoders within an end-to-end continual learning system. This system can recognize and learn new tasks or environments while preserving knowledge from earlier experiences and can selectively retrieve relevant knowledge when re-encountering a known environment. Initial results demonstrate successful continual learning without external signals to indicate task changes or reencounters, showing promise for this methodology.
