Abstract
Standard robust Reinforcement Learning (RL) often yields overly conservative policies because it prepares for the absolute worst-case scenario. This paper introduces a "soft-robust" framework that optimizes performance over a distribution of possible environment models, striking a balance between aggressive reward-seeking and conservative risk-aversion. The authors propose a scalable Soft-Robust Actor-Critic (SR-AC) algorithm and successfully extend it to deep RL, demonstrating the first application of robustness to continuous action spaces.
Introduction
In real-world RL applications, the environment the agent is trained on (the nominal model) often differs from the environment it gets deployed in due to noisy data, sim-to-real gaps, or changing dynamics. "Robust MDPs" address this by assuming the environment's transition probabilities belong to a known "uncertainty set" and training the agent to maximize rewards under the absolute worst-case scenario.
However, this worst-case focus makes agents incredibly conservative. Consider an agent trying to maximize wealth: it could either launch a startup (high expected reward, but high risk of bankruptcy) or become a teacher (low risk, but low reward). A standard RL agent might blindly launch the startup, failing catastrophically if the market changes. A robust RL agent will almost always choose teaching, leaving money on the table. This work aims to find a middle ground—a "soft-robust" agent that accounts for uncertainty but isn't paralyzed by the fear of the worst-case scenario. Furthermore, existing robust methods rely on offline dynamic programming, which scales poorly to large state spaces and cannot handle continuous actions.
Methodology
To solve the conservativeness problem, the authors shift the objective function. Instead of taking the infimum (minimum/worst-case) over the uncertainty set, they define a soft-robust objective: the expected performance over a prior distribution of transition models within the uncertainty set.
Average Transition Model
By weighting the uncertainty set using the prior distribution, the authors define an "average transition model." This allows them to prove that a unique stationary distribution exists, which is required for policy gradient methods.
Soft-Robust Policy Gradient Theorem
They mathematically derive the gradient of this new soft-robust objective, proving it can be estimated using samples. This leads to the SR-AC Algorithm, an online, two-timescale Soft-Robust Actor-Critic algorithm using linear function approximation, complete with theoretical convergence guarantees to a local optimum.
Deep RL Extensions
To handle complex domains, they adapt their soft-robust TD-error to deep learning, creating Soft-Robust DQN (for discrete actions) and Soft-Robust DDPG (for continuous actions).
Experimental Evaluation
The authors evaluate their algorithms on three domains, modifying environment parameters to simulate model uncertainty: a single-step toy MDP, Cart-Pole (varying pole length), and Pendulum (varying pendulum mass).
Key Results
On the Cart-Pole task, when tested across a wide range of unseen pole lengths, the standard DQN agent's performance crashes on extreme values. The Robust DQN is stable but sub-optimal overall. The Soft-Robust DQN maintains high rewards (near the maximum of 200) across a much wider range of pole lengths, striking the best balance.
In the Pendulum domain, which involves continuous action spaces, the aggressive DDPG agent suffers sudden, steep dips in performance under model misspecification (varying pendulum masses). The Soft-Robust DDPG agent is far less sensitive to these mass changes than the aggressive agent and achieves a higher peak performance than the purely robust DDPG agent.
Discussion and Key Insights
- A Tunable Knob for Risk: By changing the prior distribution over the uncertainty set, practitioners can explicitly tune how aggressive or conservative the agent should be. A distribution heavily weighted toward the nominal model is aggressive; one weighted toward pessimistic models is robust.
- Scalability via the Average Model: Replacing the computationally heavy
minoperator (used in standard robust RL) with an expectation over a distribution allows the algorithm to easily scale. The soft-robust TD-error can be seamlessly dropped into existing deep RL architectures like DQN and DDPG. - First Continuous Action Robustness: Because standard robust RL requires finding the worst-case transition for every state-action pair, it is notoriously difficult to apply to continuous action spaces. The soft-robust framework bypasses this, allowing the authors to successfully train a robust DDPG agent.
Conclusion and Future Work
The soft-robust framework provides a practical way to achieve robustness without the extreme conservatism of standard robust MDPs. While the current work uses a static adversarial distribution, future research could explore adaptive distributions that evolve based on the rewards the agent obtains. Additionally, optimizing for higher-order moments (like variance) with respect to the adversarial distribution could further enhance risk management.
Summary updated