Continual reinforcement learning (CRL) aims to enable agents to adapt to changing tasks while preserving previously acquired capabilities. Evaluation often relies on final aggregate metrics that can hide temporary performance degradation during adaptation. This work introduces a simple CRL benchmark that varies observation representations while preserving environment dynamics and rewards, supporting proof-of-concept demonstrations, inexpensive experimentation, and easily reproducible sanity checks. Using this benchmark, we demonstrate the stability gap in CRL: a substantial drop in prior-task performance after the introduction of new tasks, followed by partial or complete recovery. This pattern occurs despite the agent having complete access to past tasks.
Figures & tables
Figure 1: Benchmark construction and CartPole instantiation. (a) Task-specific agent inputs are constructed by applying an orthogonal transformation Ti to a base state s and concatenating the result with a one-hot task identity. (b) An instantiation on three CartPole tasks: each four-dimensional state is transformed by a task-specific matrix and paired with a three-dimensional task identifier, yielding a seven-dimensional input. (c) All three tasks can be learned by multitask training (left), whereas sequential fine-tuning (right) shows catastrophic forgetting. Illustrated here for SAC-D on CartPole .
Figure 2: A stability gap consistently shows up in CRL. Performance on Task 1 and 2 during incremental joint-training on three tasks for (a) DQN, (b) SAC-D, (c) DDPG, and (d) SAC. Dashed vertical lines mark task transitions. Curves show mean normalized returns across seeds, with shaded 95% bootstrapped confidence intervals, revealing transient drops in past-task performance in all settings.
Figure 3: Training trajectories tend to boost larger performance drops than corresponding linear paths. Task 1 return along a three-checkpoint parameter-space path for DQN, SAC-D, DDPG, and SAC. Top: heatmaps show normalized mean Task 1 return; the red dashed path connects θ1 , θ2 , and θ3 . Bottom: Task 1 return during training on Task 2 and 3 (solid orange) and along linear interpolations between successive checkpoints (dashed red), with shaded 95% bootstrapped confidence intervals. Interpolation coefficients are mapped linearly onto the corresponding training intervals for visualization. Interpolation produces pronounced return drops for DQN and DDPG, while SAC-D and SAC remain near their checkpoint returns.