Guiding the Search Towards Failure-Inducing Test Inputs Using Support Vector Machines
Lev Sorokin, Niklas Kerscher
TL;DR
The paper addresses the challenge of efficiently finding failure revealing inputs in large SBST search spaces. It introduces NSGA-II-SVM, a surrogate guided by SVM classification to direct evolutionary search toward high risk regions, retraining after each iteration. In a preliminary AVP case study, NSGA-II-SVM outperforms random search and NSGA-II-DT, identifying about $34\%$ more distinct failure cases and achieving better quality indicators. This approach offers a practical, scalable means to accelerate the discovery of critical failure scenarios in safety-critical, learning-enabled systems and can be extended to other domains with large input spaces.
Abstract
In this paper, we present NSGA-II-SVM (Non-dominated Sorting Genetic Algorithm with Support Vector Machine Guidance), a novel learnable evolutionary and search-based testing algorithm that leverages Support Vector Machine (SVM) classification models to direct the search towards failure-revealing test inputs. Supported by genetic search, NSGA-II-SVM creates iteratively SVM-based models of the test input space, learning which regions in the search space are promising to be explored. A subsequent sampling and repetition of evolutionary search iterations allow to refine and make the model more accurate in the prediction. Our preliminary evaluation of NSGA-II-SVM by testing an Automated Valet Parking system shows that NSGA-II-SVM is more effective in identifying more critical test cases than a state of the art learnable evolutionary testing technique as well as naive random search.
