Solving Non-rectangular Reward-Robust MDPs via Frequency Regularization

Uri Gadot, Esther Derman, Navdeep Kumar, Maxence Mohamed Elfatihi, Kfir Levy, Shie Mannor

Standard robust reinforcement learning (RL) often results in "overly conservative" behavior. This stems from a common mathematical simplification: the assumption that uncertainty is independent at every state, known as rectangularity. This paper challenges this assumption by exploring non-rectangular reward uncertainty, proving that coupling uncertainty across the environment is mathematically equivalent to regularizing the policy's visitation frequency.

The Problem: The Rectangularity Assumption

In Robust Markov Decision Processes (RMDPs), agents are trained to perform well despite deviations in rewards or transitions. To keep the optimization tractable, researchers typically assume an adversary can "attack" every state-action pair to the maximum extent simultaneously.

In reality, uncertainty is often global. For example, a sensor might have a total noise budget across an entire mission. By assuming the worst-case scenario happens everywhere at once, rectangular RMDPs produce agents that are "too scared" to take risks, leading to significant performance degradation in nominal conditions. This paper addresses coupled (non-rectangular) reward uncertainty, where the total deviation of the reward function is bounded across the entire state-action space using an $L_p$-norm.

Methodology: Frequency Regularization

The authors focus on RMDPs with known transitions but rewards $R$ that lie within an $L_p$-norm ball of radius $\alpha$ around a nominal reward $R_0$. Their key contribution is a fundamental duality:

  1. Frequency Regularization Link: Maximizing the worst-case return under coupled $L_p$ reward uncertainty is equivalent to maximizing a regularized return. The regularizer is the $L_q$ norm (where $q$ is the Holder conjugate of $p$) of the policy's state-action visitation frequency (occupancy measure).
  2. Robust Policy Gradient (RPG): Because non-rectangularity breaks standard Bellman recursion, the authors derive a new policy gradient theorem. They prove their gradient ascent method converges to the global optimum at a rate of $O(1/k)$.
  3. Actor-Critic Implementation: The theory is scaled into a practical online algorithm that estimates occupancy measures and robust Q-values to update the policy.

Key Insights: The Conservatism Trap

The paper highlights why traditional methods fail through a striking visualization of uncertainty sets.

Comparison of uncertainty sets: Rectangular (green) vs. $L_p$ (red) vs. True (blue) for varying $\alpha$.

As shown above, rectangular sets (green) encompass a much larger volume of "worst-case" scenarios than coupled sets (red). By choosing a coupled set, the model covers the "true" uncertainty (blue) more precisely without including impossible "worst-of-all-worlds" scenarios.

Furthermore, the $L_q$ norm of the visitation frequency acts as a form of entropy regularization. It encourages the agent to distribute its presence across the state space. By spreading out its "visitation budget," the agent makes it harder for an adversary to significantly impact the total reward in any single area.

Experimental Results

The approach was evaluated on both tabular environments and continuous control benchmarks (Mountain Car and Ant-v3):

  • Superior Robustness: In tabular tests, the coupled approach achieved significantly higher Conditional Value-at-Risk (CVaR) than s-rectangular baselines. As the uncertainty radius $\alpha$ increased, the rectangular model's performance plummeted, while the coupled model remained stable.
  • Benchmark Performance: In high-dimensional tasks, the proposed algorithm outperformed standard PPO and Domain Randomization when rewards were perturbed during testing.
  • Computational Efficiency: The complexity of policy evaluation is $O(S^2 A \log(1/\epsilon))$, making it comparable to non-robust MDPs and feasible for real-world use.

Limitations and Future Directions

While promising, the current framework is limited to $L_p$ norm balls where $p > 1$. Additionally, this work focuses on reward uncertainty; coupling transition uncertainty remains a significantly harder problem due to the "butterfly effect" of transition changes. Future work may also explore adaptive adversaries that respond to the agent's shifting policy.

Summary updated

BibTeX
@inproceedings{gadot2024solving,
  author = {Uri Gadot and Esther Derman and Navdeep Kumar and Maxence Mohamed Elfatihi and Kfir Levy and Shie Mannor},
  title = {{Solving Non-rectangular Reward-Robust MDPs via Frequency Regularization}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2024},
  doi = {10.1609/aaai.v38i19.30101},
}
Figure