Testing for Fault Diversity in Reinforcement Learning
<|reference_start|>Testing for Fault Diversity in Reinforcement Learning: 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.<|reference_end|>
@article{mazouni2024testing,
    title={Testing for Fault Diversity in Reinforcement Learning},
    author={Quentin Mazouni, Helge Spieker, Arnaud Gotlieb and Mathieu Acher},
    journal={arXiv preprint arXiv:2403.15065},
    year={2024},
    doi={10.1145/3644032.3644458},
    archivePrefix={arXiv},
    eprint={2403.15065},
    primaryClass={cs.SE}
}