Robust Policy Optimization via Adversarial Importance Sampling

Amine Andam, Jamal Bentahar, Mustapha Hedabou
9/11/2026
cs.LG
rl

Official code: AmineAndam04/advrl (1 star, Python, last commit 2026-09-11).

Abstract

Significant progress has been made in safeguarding deep reinforcement learning (DRL) policies against input perturbations. Developing robust DRL involves three main stages: algorithm design, implementation, and evaluation.

Show full abstract

In this work, we identify and address a key limitation at each stage. First, we introduce Adversarial Importance Sampling (Advis), a method that uses importance sampling over trajectories from standard training to estimate and optimize verifiable worst-case returns. Advis satisfies three desirable criteria not jointly achieved by prior work: it requires no additional environment interactions, no auxiliary networks, and captures long-term robustness. Second, we introduce advrl, a modular PyTorch library that provides clean, single-file implementations of existing robustness methods and adversarial attacks, facilitating rapid prototyping and enabling reproducible and traceable evaluations. Third, we revisit evaluation under learned adversaries and show that optimal adversarial hyperparameters do not transfer across agents, which can lead to an overestimation of robustness when using a limited set of attacker configurations. Accordingly, we evaluate policies against a large and diverse set of attackers, using 6-14x more configurations than prior work. Finally, we evaluate our approach on continuous control environments, demonstrating its effectiveness relative to existing baselines. The code is available at: https://github.com/AmineAndam04/advrl

View on arXivView PDF

Code Implementations(1)

AmineAndam04/advrlOfficial100%

Adversarial Reinforcement Learning

10PythonSep 11, 20262 months ago

Similar Papers

Cite this paper

@article{andam2026robust,
  title  = {Robust Policy Optimization via Adversarial Importance Sampling},
  author = {Amine Andam and Jamal Bentahar and Mustapha Hedabou},
  year   = {2026},
  eprint = {2609.13044},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2609.13044v1}
}

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/2609.13044.svg)](https://codeofpaper.com/paper/2609.13044)

Discussion