PREMAP: A Unifying PREiMage APproximation Framework for Neural Networks

Xiyue Zhang, Benjie Wang, Marta Kwiatkowska, Huan Zhang
8/17/2024
cs.LGcs.AIcs.LO

No official code found. Best implementation: Zhang-Xiyue/PreimageApproxForNNs (6 stars, MIT, last commit 2025-05-20).

Abstract

Most methods for neural network verification focus on bounding the image, i.e., set of outputs for a given input set. This can be used to, for example, check the robustness of neural network predictions to bounded perturbations of an input. However, verifying properties concerning the preimage, i.e., the set of inputs satisfying an output property, requires abstractions in the input space. We present a general framework for preimage abstraction that produces under- and over-approximations of any polyhedral output set. Our framework employs cheap parameterised linear relaxations of the neural network, together with an anytime refinement procedure that iteratively partitions the input region by splitting on input features and neurons. The effectiveness of our approach relies on carefully designed heuristics and optimization objectives to achieve rapid improvements in the approximation volume. We evaluate our method on a range of tasks, demonstrating significant improvement in efficiency and scalability to high-input-dimensional image classification tasks compared to state-of-the-art techniques. Further, we showcase the application to quantitative verification and robustness analysis, presenting a sound and complete algorithm for the former and providing sound quantitative results for the latter.

View on arXivView PDF

Code Implementations(1)

MIT
68C++, CudaJan 11, 20241 years agoMIT

Similar Papers

Cite this paper

@article{zhang2024premap,
  title  = {PREMAP: A Unifying PREiMage APproximation Framework for Neural Networks},
  author = {Xiyue Zhang and Benjie Wang and Marta Kwiatkowska and Huan Zhang},
  year   = {2024},
  eprint = {2408.09262},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2408.09262v2}
}

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/2408.09262.svg)](https://codeofpaper.com/paper/2408.09262)

Discussion