Scalable Safety-Critical Policy Evaluation with Accelerated Rare Event Sampling

Mengdi Xu, Peide Huang, Fengpei Li, Jiacheng Zhu, Xuewei Qi +4 more
6/19/2021
cs.LGcs.AI
rl

Official code: Farama-Foundation/HighwayEnv (3,342 stars, Python, MIT, last commit 2026-04-07).

Abstract

Evaluating rare but high-stakes events is one of the main challenges in obtaining reliable reinforcement learning policies, especially in large or infinite state/action spaces where limited scalability dictates a prohibitively large number of testing iterations. On the other hand, a biased or inaccurate policy evaluation in a safety-critical system could potentially cause unexpected catastrophic failures during deployment.

Show full abstract

This paper proposes the Accelerated Policy Evaluation (APE) method, which simultaneously uncovers rare events and estimates the rare event probability in Markov decision processes. The APE method treats the environment nature as an adversarial agent and learns towards, through adaptive importance sampling, the zero-variance sampling distribution for the policy evaluation. Moreover, APE is scalable to large discrete or continuous spaces by incorporating function approximators. We investigate the convergence property of APE in the tabular setting. Our empirical studies show that APE can estimate the rare event probability with a smaller bias while only using orders of magnitude fewer samples than baselines in multi-agent and single-agent environments.

View on arXivView PDF

Code Implementations(1)

MIT

A minimalist environment for decision-making in autonomous driving

3,342906Python, Jupyter NotebookNov 15, 20177 months agoMIT
autonomous-drivinggym-environmentreinforcement-learning

Similar Papers

Cite this paper

@article{xu2021scalable,
  title  = {Scalable Safety-Critical Policy Evaluation with Accelerated Rare Event Sampling},
  author = {Mengdi Xu and Peide Huang and Fengpei Li and Jiacheng Zhu and Xuewei Qi and Kentaro Oguchi and Zhiyuan Huang and Henry Lam and Ding Zhao},
  year   = {2021},
  eprint = {2106.10566},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2106.10566}
}

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

Discussion