Your Policy Regularizer is Secretly an Adversary
Rob Brekelmans, Tim Genewein, Jordi Grau-Moya, Grégoire Delétang, Markus Kunesch, Shane Legg, Pedro Ortega
TL;DR
This work reframes policy regularization in reinforcement learning as robustness to adversarial reward perturbations and uses convex duality to derive the robust set of perturbations under $KL$ and $α$-divergences. It shows that the worst-case reward perturbations correspond to the gradient of the regularizer and that the policy-form and value-form perturbations coincide at optimality, linked through path-consistency and an indifference condition. The authors provide a detailed theoretical development plus visual experiments illustrating the robust set, worst-case perturbations, and certificates of optimality, and they contrast divergence-based regularization with entropy-based analyses. The results clarify how regularized policies generalize to adversarially perturbed rewards and connect to related algorithms that leverage duality and path-consistency in learning objectives.
Abstract
Policy regularization methods such as maximum entropy regularization are widely used in reinforcement learning to improve the robustness of a learned policy. In this paper, we show how this robustness arises from hedging against worst-case perturbations of the reward function, which are chosen from a limited set by an imagined adversary. Using convex duality, we characterize this robust set of adversarial reward perturbations under KL and alpha-divergence regularization, which includes Shannon and Tsallis entropy regularization as special cases. Importantly, generalization guarantees can be given within this robust set. We provide detailed discussion of the worst-case reward perturbations, and present intuitive empirical examples to illustrate this robustness and its relationship with generalization. Finally, we discuss how our analysis complements and extends previous results on adversarial reward robustness and path consistency optimality conditions.
