Fault Diversity in Reinforcement Learning Policy Testing
Reinforcement Learning (RL) is the common approach to solving sequential decision-making problems. Testing is an effective method for detecting functional faults in RL policies. Not only should policy testing find as many failures as possible, but it should also reveal diverse ones. In that regard, Quality diversity optimization (QD) is a type of evolutionary algorithm that returns a set of high-quality diverse solutions. In this article, we explore the use of Quality Diversity to tackle fault diversity in policy testing. We define and address the challenges of adapting QD to testing policies with both deterministic test cases – considered by most of the literature – and stochastic executions. We utilize stochastic executions to define a domain-agnostic generic behavior space, tailored to policy testing. We compare QD-based policy testing to a state-of-the-art policy testing framework with two QD optimizers and three environments. Our evaluation assess fault detection, fault diversity and investigate the sensitivity of our method to the behavior space definition and the number of test executions. Our results show that QD improves fault diversity without significantly reducing fault discovery. Furthermore, QD optimization does not necessarily need domain knowledge and can adapt to generic behaviors with stochastic executions.
Authors
- Mathieu Acher (ORCID: https://orcid.org/0000-0003-1483-3858)
- Helge Spieker (ORCID: https://orcid.org/0000-0003-2494-4279)
- Arnaud Gotlieb (ORCID: https://orcid.org/0000-0002-8980-7585)
- Quentin Mazouni (ORCID: https://orcid.org/0009-0003-3519-5514)
Institutions
- Simula Research Laboratory (NO)
- Institut de Recherche en Informatique et Systèmes Aléatoires (FR)
- Institut National des Sciences Appliquées de Rennes (FR)
- Université de Rennes (FR)
Publication Details
- Journal
- ACM Transactions on Software Engineering and Methodology
- Published
- 2026-06-29
- DOI
- https://doi.org/10.1145/3821533
- Primary Topic
- Reinforcement Learning in Robotics
- Type
- article
- Field-Weighted Citation Impact
- 0.00