Abstract
This paper addresses policy learning in non-stationary environments and games with continuous actions. Rather than the classical reward maximization mechanism, inspired by the ideas of follow-the-regularized-leader (FTRL) and mirror descent (MD) update, we propose a no-regret style reinforcement learning algorithm PORL for continuous action tasks. We prove that PORL has a last-iterate convergence guarantee, which is important for adversarial and cooperative games. Empirical studies show that, in stationary environments such as MuJoCo locomotion controlling tasks, PORL performs equally well as, if not better than, the soft actor-critic (SAC) algorithm; in non-stationary environments including dynamical environments, adversarial training, and competitive games, PORL is superior to SAC in both a better final policy performance and a more stable training process.
Introduction
Standard reinforcement learning (RL) algorithms, such as Soft Actor-Critic (SAC), are typically built on the assumption of stationarity—the belief that environment rewards and transition physics remain constant. However, real-world applications often involve shifting dynamics, such as mechanical wear in robotics or the evolving strategies of opponents in multi-agent games. In these non-stationary settings, traditional reward-maximization methods often suffer from extreme performance fluctuations or failure to converge.
To bridge the gap between theoretical stability and practical deep RL, we introduce PORL (Policy Optimization with Regularized Leader). PORL is a no-regret style algorithm designed for continuous action spaces that ensures stable learning even when the "rules of the game" change mid-stream.
The Challenge of Non-stationarity
When faced with non-stationarity, standard algorithms tend to overreact to temporary shifts in the environment. While the field of online learning offers "no-regret" techniques to handle changing distributions, these are traditionally designed for discrete actions or rely on averaging historical policies. In deep RL, averaging neural network weights is computationally impractical and often leads to poor performance. PORL addresses this by providing a last-iterate convergence guarantee, ensuring that the final learned policy is the optimal one, rather than just an average of past attempts.
PORL: Policy Optimization with Regularized Leader
PORL draws inspiration from two pillars of optimization theory: Follow-the-Regularized-Leader (FTRL) and Mirror Descent (MD).
Key technical innovations include:
- Stabilized Objective Function: PORL modifies the standard RL objective with a Kullback-Leibler (KL) divergence term. This term penalizes the current policy for deviating too sharply from the previous iteration, acting as a "safety rail" during training.
- Continuous Action Handling: While FTRL is usually applied to discrete actions, we derive a policy update rule specifically for probability density functions, enabling its use in complex continuous-action tasks.
- Convergence to Equilibrium: We provide theoretical proof that PORL converges to a Quantal Response Equilibrium (QRE), guaranteeing high-quality final policies in both adversarial and cooperative settings.
Experimental Evaluation
Adversarial and Non-stationary Tasks
We evaluated PORL against SAC in several challenging scenarios, including Generative Adversarial Imitation Learning (GAIL) and environments with shifting physical properties (e.g., changing gravity). In adversarial imitation tasks, where a policy must learn while a discriminator simultaneously adapts to catch it, PORL demonstrated significantly higher stability and final performance.
In the adversarial HalfCheetah-v2 task, PORL achieved a final return of approximately 10,179, vastly outperforming SAC’s 6,575. While SAC often suffered "sudden death" performance drops when the environment shifted, PORL’s conservative update rule resisted these shocks, leading to a much smoother training curve.
Competitive Multi-Agent Games
In competitive Multi-Agent Particle Environments (MPE), such as SimplePush and SimpleAdversary, agents must learn to outmaneuver adapting opponents. PORL consistently achieved higher expected returns than both SAC and Neural Fictitious Self-Play (NFSP).
Cross-play evaluations further confirmed that PORL-trained agents are more robust and harder for adversaries to exploit compared to those trained with standard RL methods.
Conclusion
PORL provides a unified framework for continuous-action RL that excels in both stationary and non-stationary environments. By integrating no-regret learning principles with deep RL, it offers the stability required for real-world tasks and competitive games. Future work will explore vanishing entropy coefficients to reach precise Nash Equilibria and the application of diverse regularizers for specific task structures.
Summary updated