# Oral 31923

- Kind: Oral
- Talk page and recording: https://iclr.cc/virtual/2025/oral/31923

> Transcript of the talk's recording (session_asr), made by speech recognition or taken from the host's captions. It may contain errors. The words are the speakers'; listen to the recording on the talk's page before quoting it.

Hello, everyone. Thank you for being here. I'm Hyunki Lee from UNIST, and I'm excited to present our work titled Flood Reward in Policy Parameter Space Implies Robust Reinforcement Learning. This is a joint work with Sangwon Yoon, the corresponding author, also from UNIST. To begin, let's talk about what we mean by reward flatness.
Our research started with a fundamental question that what does flat reward in policy parameter space mean for reinforcement learning? As you can see in the graph, flat reward in policy parameter space means that even if there is a perturbation in policy parameter theta, the expected cumulative reward stays flat, ensuring stability.
This concept of flatness has been extensively studied in supervised learning, particularly with flat minima. It is well known that flat minima leads to better generalization and robustness to perturbations compared to sharp minima. So this brings us to the ultimate question of our research, would a flat reward landscape in the policy parameter space
Enhanced robustness in our L_ against environmental variations. To deal with this question, uh we conducted a preliminary experiment with a 2D navigation task where an agent needs to navigate from the bottom green green start position at the bottom to the red goal position at the top, avoiding grey obstacles. The gap between the obstacles is very narrow, making this task tricky.
If an agent starts from the bottom and only goes up, it becomes an easy task. But if the action is retrograde or mistaken, the agent might easily hit an obstacle and fail. As expected, traditional RL using PPO quickly found the most efficient path. It takes a direct route through the narrow space between the obstacles. On the other hand, flat reward RL more specifically.
Sami and Scipio seems to consider situations where actions might be perturbed. It follows a less efficient path and maintains a marginal space from the obstacles. From this experiment, we gained a key insight that flat reward RL maintains a safer margin, demonstrating action robustness. This suggests that pursuing reward flatness could be a promising direction.
for building robust reinforcement learning agents. Now let's talk about why robustness matters in reinforcement learning. In simulated environments, RL agents perform well, but in real-world scenarios like low friction, they often fail due to small perturbations. The goal is to overcome this gap between simulations and real-world systems.
In robust reinforcement learning, its primary goal is to maintain performance despite uncertainties in the environment. These uncertainties can come in various forms, perturbations in agents' actions, changes in transition probabilities, and variations in reward functions. To achieve this, robust RL optimizes a max -min objective. This approach focuses on maximizing the worst case return under uncertainty sets.
In other words, it ensures the agents to perform well even in the most challenging scenarios by preparing for the worst possible outcomes. Here's the objective function for Robust RL. On the left, it shows the general form of maximizing the minimum expected return across all possible transition probabilities. On the right, it focuses on action robustness.
maximizing minimum expected return under action perturbations within a bound beta. However, robust reinforcement learning has limitations. First, it requires prior knowledge of uncertainty sets, which is unrealistic in real-world scenarios. Second, it struggles in continuous high-dimensional environments due to the complexity of modeling and optimizing the uncertainty sets.
Finally, it incurs high computational costs, because solving these complex maximum problems leads to computational overhead. Given the limitations of traditional robust RL approaches, we took a different path. Our goal is to enhance RL robustness using reward flatness in policy parameter space.
To pursue a flat reward landscape we applied sharpness aware minimization technique known as SAM to RL. SAM minimizes the worst case loss. We adapted SAM's min-max objective to RL by transforming loss minimization into reward maximization. And here is the objective function of our approach. Our contributions are twofold.
Theoretically, we link flat reward landscapes to action robustness and empirically, we validate this on various reinforcement learning tasks. To formalize our approach, we define two key concepts, e-flat reward maximum and delta action robust policy. E-flat reward maximum refers to rewards that remain...
Stable under parameter perturbations bounded by E, while delta action-robust policy refers to a policy that has rewards stable under action perturbations bounded by delta. These images provide a visual representation of both concepts. And here are the detailed equations for the definitions.
We prove that a parameter that achieves e-th land reward maximum implies a delta star action robust policy as shown in Proposition one. This proposition links reward flatness to action robustness with delta star bounded by the Jacobian and perturbation size e. Here's a brief overview of the proof.
We used a Taylor expansion to approximate the change in the action under parameter perturbations. This change corresponds to an action perturbation. The final equation shows that a parameter that achieves E-flat reward maximum implies a delta star action robustness, solidifying our theoretical link.
Importantly, a Delta Action Robust Policy derived by ε -Reward-Maximin satisfies the objective of action robust reinforcement learning. This shows that applying SAM to RL, SAM's objective to RL, which seeks flat reward in policy parameter space, aligns with the objective of action robust reinforcement learning.
Meaning that flat rewards naturally lead to robust RL policies without complex modeling of the uncertainty sets. Now let's see our experimental results. We evaluated our approach on Mujoco tasks. Half cheetah, hopper, and walker 2D. We compared SAM and S PPO against baselines like PPO, RNAC, and RARL.
For action robustness, we added zero-mean Gaussian noise to the actions while with varying standard deviations. These plots show the results across half-cheetah, hopper, and walker two-d. As you can see, SAM in SPPO is less sensitive to action perturbations compared to the baselines, exhibiting a smaller performance drop in all tests.
For transition robustness, we vary the torso mass and friction coefficient from 0.5x to 1.5x their original values. This joint variation plots show that SAMINA's PPO outperformed the baselines, with a smaller perturbation drop under dynamic changes. For reward robustness, we added Gaussian noise during training.
With a standard deviation of 0.1, the table compares performance with and without reward noise. The difference in per the difference in performance is smallest for semirandom PPO compared to the baselines. Finally, reward surface visualization confirms that semirandom PPO achieves flatter landscapes compared to PPO.
That's shown in these plots. Flatness metrics like lambda max and low-pass filter fail to validate this, numerically showing that feminized PPO produces a flatter reward landscape, which explains its improved robustness. In conclusion, we theoretically link that flat reward landscape to RL.
Robustness and empirically showed that SAM-enhanced PPO outperformed baselines like PPO, RNAC and RARL across various tasks. This enables reliable RL for real-world applications where robustness is critical. Our approach also broadens the scope of robust reinforcement learning with a simple yet effective approach.
Thank you for listening.
