Requirement falsification for cyber-physical systems using generative models
Jarkko Peltomäki, Ivan Porres
TL;DR
This work tackles the problem of automatically falsifying CPS requirements expressed in STL by learning a generative model-based search strategy. The authors introduce OGAN, a GAN-inspired framework that trains a discriminator to predict a robustness score and a generator to produce falsifying inputs, enabling offline test execution without prior system models. A scaled robustness metric is proposed to stabilize neural network training and improve search guidance, and the method is comprehensively evaluated on ARCH-COMP benchmarks using a survival-analysis methodology, showing state-of-the-art effectiveness and efficiency in many cases while highlighting computational overhead as a trade-off. The results suggest that adaptive, generator-driven data augmentation substantially improves falsification performance, and the approach broadens the toolkit for CPS verification by combining formal requirements with modern generative modeling.
Abstract
We present the OGAN algorithm for automatic requirement falsification of cyber-physical systems. System inputs and outputs are represented as piecewise constant signals over time while requirements are expressed in signal temporal logic. OGAN can find inputs that are counterexamples for the correctness of a system revealing design, software, or hardware defects before the system is taken into operation. The OGAN algorithm works by training a generative machine learning model to produce such counterexamples. It executes tests offline and does not require any previous model of the system under test. We evaluate OGAN using the ARCH-COMP benchmark problems, and the experimental results show that generative models are a viable method for requirement falsification. OGAN can be applied to new systems with little effort, has few requirements for the system under test, and exhibits state-of-the-art CPS falsification efficiency and effectiveness.
