English

Testing for Fault Diversity in Reinforcement Learning

Software Engineering 2024-03-25 v1

Abstract

Reinforcement Learning is the premier technique to approach sequential decision problems, including complex tasks such as driving cars and landing spacecraft. Among the software validation and verification practices, testing for functional fault detection is a convenient way to build trustworthiness in the learned decision model. While recent works seek to maximise the number of detected faults, none consider fault characterisation during the search for more diversity. We argue that policy testing should not find as many failures as possible (e.g., inputs that trigger similar car crashes) but rather aim at revealing as informative and diverse faults as possible in the model. In this paper, we explore the use of quality diversity optimisation to solve the problem of fault diversity in policy testing. Quality diversity (QD) optimisation is a type of evolutionary algorithm to solve hard combinatorial optimisation problems where high-quality diverse solutions are sought. We define and address the underlying challenges of adapting QD optimisation to the test of action policies. Furthermore, we compare classical QD optimisers to state-of-the-art frameworks dedicated to policy testing, both in terms of search efficiency and fault diversity. We show that QD optimisation, while being conceptually simple and generally applicable, finds effectively more diverse faults in the decision model, and conclude that QD-based policy testing is a promising approach.

Keywords

Cite

@article{arxiv.2403.15065,
  title  = {Testing for Fault Diversity in Reinforcement Learning},
  author = {Quentin Mazouni and Helge Spieker and Arnaud Gotlieb and Mathieu Acher},
  journal= {arXiv preprint arXiv:2403.15065},
  year   = {2024}
}

Comments

11 pages, 4 figures, 1 algorithm, AST @ ICSE 2024

R2 v1 2026-06-28T15:29:40.979Z