English

Demonstration-Guided Continual Reinforcement Learning in Dynamic Environments

Machine Learning 2025-12-23 v1

Abstract

Reinforcement learning (RL) excels in various applications but struggles in dynamic environments where the underlying Markov decision process evolves. Continual reinforcement learning (CRL) enables RL agents to continually learn and adapt to new tasks, but balancing stability (preserving prior knowledge) and plasticity (acquiring new knowledge) remains challenging. Existing methods primarily address the stability-plasticity dilemma through mechanisms where past knowledge influences optimization but rarely affects the agent's behavior directly, which may hinder effective knowledge reuse and efficient learning. In contrast, we propose demonstration-guided continual reinforcement learning (DGCRL), which stores prior knowledge in an external, self-evolving demonstration repository that directly guides RL exploration and adaptation. For each task, the agent dynamically selects the most relevant demonstration and follows a curriculum-based strategy to accelerate learning, gradually shifting from demonstration-guided exploration to fully self-exploration. Extensive experiments on 2D navigation and MuJoCo locomotion tasks demonstrate its superior average performance, enhanced knowledge transfer, mitigation of forgetting, and training efficiency. The additional sensitivity analysis and ablation study further validate its effectiveness.

Keywords

Cite

@article{arxiv.2512.18670,
  title  = {Demonstration-Guided Continual Reinforcement Learning in Dynamic Environments},
  author = {Xue Yang and Michael Schukat and Junlin Lu and Patrick Mannion and Karl Mason and Enda Howley},
  journal= {arXiv preprint arXiv:2512.18670},
  year   = {2025}
}
R2 v1 2026-07-01T08:35:26.266Z