Reward Certification for Policy Smoothed Reinforcement Learning

Ronghui Mu, Leandro Soriano Marcolino, Tianle Zhang, Yanghao Zhang, Xiaowei Huang +1 more
12/11/2023
cs.LGcs.AI

No official code found. Best implementation: mrh996/ReCePS (2 stars, last commit 2024-12-16). 1 more below.

Abstract

Reinforcement Learning (RL) has achieved remarkable success in safety-critical areas, but it can be weakened by adversarial attacks. Recent studies have introduced "smoothed policies" in order to enhance its robustness. Yet, it is still challenging to establish a provable guarantee to certify the bound of its total reward. Prior methods relied primarily on computing bounds using Lipschitz continuity or calculating the probability of cumulative reward above specific thresholds. However, these techniques are only suited for continuous perturbations on the RL agent's observations and are restricted to perturbations bounded by the $l_2$-norm. To address these limitations, this paper proposes a general black-box certification method capable of directly certifying the cumulative reward of the smoothed policy under various $l_p$-norm bounded perturbations. Furthermore, we extend our methodology to certify perturbations on action spaces. Our approach leverages f-divergence to measure the distinction between the original distribution and the perturbed distribution, subsequently determining the certification bound by solving a convex optimisation problem. We provide a comprehensive theoretical analysis and run sufficient experiments in multiple environments. Our results show that our method not only improves the certified lower bound of mean cumulative reward but also demonstrates better efficiency than state-of-the-art techniques.

View on arXivView PDF

Code Implementations(2)

TrustAI/ReCePSCommunity100%

ReCePS: Reward Certification for Policy Smoothed Reinforcement Learning - AAAI 2024

10Python, Jupyter NotebookDec 12, 20231 years ago
mrh996/ReCePSCommunity65%

Reward Certification for Policy Smoothed Reinforcement Learning

20Python, Jupyter NotebookDec 16, 20241 years ago

Similar Papers

Cite this paper

@article{mu2023reward,
  title  = {Reward Certification for Policy Smoothed Reinforcement Learning},
  author = {Ronghui Mu and Leandro Soriano Marcolino and Tianle Zhang and Yanghao Zhang and Xiaowei Huang and Wenjie Ruan},
  year   = {2023},
  eprint = {2312.06436},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2312.06436v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.06436.svg)](https://codeofpaper.com/paper/2312.06436)

Discussion