Verifying Properties of Binary Neural Networks Using Sparse Polynomial Optimization
Abstract
This work 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 (SMT) and Mixed-Integer Linear Programming (MILP) techniques, which often face scalability issues. We introduce an alternative approach using Semidefinite Programming (SDP) relaxations derived from sparse Polynomial Optimization (POP). 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 ∥.∥ ∞ and ∥.∥ 2 -based adversarial attacks.
Origin | Files produced by the author(s) |
---|