Introduction
Traditional Reinforcement Learning (RL) typically assumes a "stationary" environment, where the underlying rules and reward structures remain constant over time. In such settings, algorithmic success is measured using static regret—a metric comparing the agent's performance against the single best fixed policy chosen in hindsight.
However, real-world applications like human-robot interaction, financial trading, or continual learning are inherently non-stationary. Reward functions can drift gradually or change abruptly. In these dynamic scenarios, comparing an agent to a single fixed policy is insufficient. Instead, performance must be evaluated using dynamic regret, which compares the agent’s performance in each episode against the optimal policy for that specific episode.
Addressing dynamic regret introduces a twofold challenge: the agent must explore to learn unknown transition dynamics (which are assumed fixed but unknown) while simultaneously adapting to adversarially changing rewards. Prior research has predominantly focused on "model-based" approaches that build comprehensive models of the environment, which are often computationally expensive. This paper introduces POWER and POWER++, the first model-free RL algorithms designed to minimize dynamic regret in environments with changing rewards.
Methodology
The authors propose two model-free algorithms grounded in policy optimization to tackle non-stationary rewards:
1. POWER (Policy Optimization With PEriodic Restart)
POWER utilizes a Mirror Descent-style update to iteratively improve the policy. Its defining feature is a "periodic restart" mechanism. Every $\tau$ episodes, the algorithm resets its policy estimate and value functions. This deliberate amnesia prevents the agent from over-committing to stale information derived from past reward structures that are no longer applicable.
2. POWER++
POWER++ is an enhanced variant that employs Optimistic Mirror Descent (OMD). Instead of merely reacting to the most recently observed reward, POWER++ treats the previous reward as a predictable sequence to anticipate the next one. This "active prediction" enables the agent to stabilize more rapidly against drifting rewards.
Both algorithms incorporate a least-squares policy evaluation step with an added exploration bonus to manage the uncertainty of the unknown transition kernels.
Theoretical Insights and Results
As a purely theoretical contribution, this paper focuses on mathematical proofs and regret bounds rather than empirical dataset evaluations. The authors establish guarantees for any episodic Markov Decision Process (MDP) satisfying a "smooth visitation" assumption.
Regret Decomposition: A key insight is that dynamic regret naturally decomposes into two distinct components:
- Exploration Error: The penalty incurred due to uncertainty about the environment's transition physics.
- Adaptation Error: The penalty resulting from the environment's non-stationarity (reward drift).
Adaptive Near-Optimality: The proposed algorithms smoothly interpolate between different regimes of non-stationarity. If the environment is entirely stationary, the dynamic regret scales at $\tilde{O}(T^{1/2})$, matching the optimal performance bound for static environments.
Performance in Volatile Environments: In settings with moderate variation, the regret scales with the environment's "variation budget" ($P_T$), achieving a bound of $\tilde{O}(T^{2/3} P_T^{1/3})$. By moving from POWER to POWER++, the authors demonstrate that active prediction significantly reduces the adaptation error component of this bound.
Crucially, these model-free bounds match or exceed existing model-based results (such as those for UCRL2 variants) while demanding fewer computational resources. This marks the first dynamic regret analysis for model-free RL algorithms in non-stationary settings.
Limitations and Future Work
While groundbreaking, the theoretical framework has several limitations that present avenues for future research:
- Fixed Transitions: The analysis assumes that while rewards can change adversarially, the underlying transition kernels remain constant. Real-world non-stationarity frequently involves shifts in both rewards and dynamics.
- Full Information Rewards: The current proofs rely on the agent observing the entire reward function at the end of an episode (full-information feedback), rather than just the reward for the specific trajectory taken (bandit feedback).
- Hyperparameter Tuning: The optimal restart interval $\tau$ depends on prior knowledge of the variation budget ($P_T$). Developing parameter-free versions that automatically adapt $\tau$ without knowing the extent of future environmental changes remains an open challenge.
Summary updated