Fast Falsification of Neural Networks using Property Directed Testing

Moumita Das, Rajarshi Ray, Swarup Kumar Mohalik, Ansuman Banerjee
4/26/2021
cs.AIcs.LG

Official code: DMoumita/FFN (0 stars, Python, last commit 2022-01-20).

Abstract

Neural networks are now extensively used in perception, prediction and control of autonomous systems. Their deployment in safety-critical systems brings forth the need for verification techniques for such networks.

Show full abstract

As an alternative to exhaustive and costly verification algorithms, lightweight falsification algorithms have been heavily used to search for an input to the system that produces an unsafe output, i.e., a counterexample to the safety of the system. In this work, we propose a falsification algorithm for neural networks that directs the search for a counterexample, guided by a safety property specification. Our algorithm uses a derivative-free sampling-based optimization method. We evaluate our algorithm on 45 trained neural network benchmarks of the ACAS Xu system against 10 safety properties. We show that our falsification procedure detects all the unsafe instances that other verification tools also report as unsafe. Moreover, in terms of performance, our falsification procedure identifies most of the unsafe instances faster, in comparison to the state-of-the-art verification tools for feed-forward neural networks such as NNENUM and Neurify and in many instances, by orders of magnitude.

View on arXivView PDF

Code Implementations(1)

DMoumita/FFNOfficial100%
03Python, ShellApr 28, 20214 years ago

Similar Papers

Cite this paper

@article{das2021fast,
  title  = {Fast Falsification of Neural Networks using Property Directed Testing},
  author = {Moumita Das and Rajarshi Ray and Swarup Kumar Mohalik and Ansuman Banerjee},
  year   = {2021},
  eprint = {2104.12418},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2104.12418}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2104.12418.svg)](https://codeofpaper.com/paper/2104.12418)

Discussion