On Integer Programming for the Binarized Neural Network Verification Problem

Woojin Kim, James R. Luedtke
10/1/2025
cs.LGmath.OC

No confident code implementation found for this paper.

Abstract

Binarized neural networks (BNNs) are feedforward neural networks with binary weights and activation functions. In the context of using a BNN for classification, the verification problem seeks to determine whether a small perturbation of a given input can lead it to be misclassified by the BNN, and the robustness of the BNN can be measured by solving the verification problem over multiple inputs. The BNN verification problem can be formulated as an integer programming (IP) problem. However, the natural IP formulation is often challenging to solve due to a large integrality gap induced by big-$M$ constraints. We present two techniques to improve the IP formulation. First, we introduce a new method for obtaining a linear objective for the multi-class setting. Second, we introduce a new technique for generating valid inequalities for the IP formulation that exploits the recursive structure of BNNs. We find that our techniques enable verifying BNNs against a higher range of input perturbation than existing IP approaches within a limited time.

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!

Similar Papers

Cite this paper

@article{kim2025integer,
  title  = {On Integer Programming for the Binarized Neural Network Verification Problem},
  author = {Woojin Kim and James R. Luedtke},
  year   = {2025},
  eprint = {2510.01525},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2510.01525v1}
}

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

Discussion