Saved in:
Bibliographic Details
Main Authors: Kim, Woojin, Luedtke, James R.
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.01525
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915530567319552
author Kim, Woojin
Luedtke, James R.
author_facet Kim, Woojin
Luedtke, James R.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2510_01525
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle On Integer Programming for the Binarized Neural Network Verification Problem
Kim, Woojin
Luedtke, James R.
Machine Learning
Optimization and Control
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.
title On Integer Programming for the Binarized Neural Network Verification Problem
topic Machine Learning
Optimization and Control
url https://arxiv.org/abs/2510.01525