Verifying Properties of Binary Neural Networks Using Sparse Polynomial Optimization

Jianting Yang, Srecko Ðurasinovic, Jean B. Lasserre, Victor Magron, Jun Zhao
5/1/2024

No confident code implementation found for this paper.

Abstract

This paper explores methods for verifying the properties of Binary Neural Networks (BNNs), focusing on robustness against adversarial attacks. Despite their lower computational and memory needs, BNNs, like their full-precision counterparts, are also sensitive to input perturbations. Established methods for solving this problem are predominantly based on Satisfiability Modulo Theories and Mixed-Integer Linear Programming techniques, which are characterized by NP complexity and often face scalability issues. We introduce an alternative approach using Semidefinite Programming relaxations derived from sparse Polynomial Optimization. Our approach, compatible with continuous input space, not only mitigates numerical issues associated with floating-point calculations but also enhances verification scalability through the strategic use of tighter first-order semidefinite relaxations. We demonstrate the effectiveness of our method in verifying robustness against both $\|.\|_\infty$ and $\|.\|_2$-based adversarial attacks.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Cite this paper

@article{yang2024verifying,
  title  = {Verifying Properties of Binary Neural Networks Using Sparse Polynomial Optimization},
  author = {Jianting Yang and Srecko Ðurasinovic and Jean B. Lasserre and Victor Magron and Jun Zhao},
  year   = {2024},
  eprint = {2405.17049},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2405.17049},
  journal = {ICLR 2024 2024}
}

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

Discussion