[论文解读] General Cutting Planes for Bound-Propagation-Based Neural Network Verification
这篇论文将界限传播泛化为包含任意剪裁平面约束(包括放宽的整数变量),并将GPU加速的界限传播(GCP-CROWN)与现成的MIP求解器相结合,以生成高质量的割,并在具有挑战性的基准测试上实现最先进的验证性能。
Bound propagation methods, when combined with branch and bound, are among the most effective methods to formally verify properties of deep neural networks such as correctness, robustness, and safety. However, existing works cannot handle the general form of cutting plane constraints widely accepted in traditional solvers, which are crucial for strengthening verifiers with tightened convex relaxations. In this paper, we generalize the bound propagation procedure to allow the addition of arbitrary cutting plane constraints, including those involving relaxed integer variables that do not appear in existing bound propagation formulations. Our generalized bound propagation method, GCP-CROWN, opens up the opportunity to apply general cutting plane methods for neural network verification while benefiting from the efficiency and GPU acceleration of bound propagation methods. As a case study, we investigate the use of cutting planes generated by off-the-shelf mixed integer programming (MIP) solver. We find that MIP solvers can generate high-quality cutting planes for strengthening bound-propagation-based verifiers using our new formulation. Since the branching-focused bound propagation procedure and the cutting-plane-focused MIP solver can run in parallel utilizing different types of hardware (GPUs and CPUs), their combination can quickly explore a large number of branches with strong cutting planes, leading to strong verification performance. Experiments demonstrate that our method is the first verifier that can completely solve the oval20 benchmark and verify twice as many instances on the oval21 benchmark compared to the best tool in VNN-COMP 2021, and also noticeably outperforms state-of-the-art verifiers on a wide range of benchmarks. GCP-CROWN is part of the $α,\!β$-CROWN verifier, the VNN-COMP 2022 winner. Code is available at http://PaperCode.cc/GCP-CROWN
研究动机与目标
- 鼓励将高效的界限传播与通用切平面结合,以增强神经网络验证器。
- 将界限传播泛化以处理涉及任意层变量和放宽整数变量的切平面。
- 利用现成的MIP求解器生成割并与GPU界限传播并行运行以提高效率。
- 在oval20和oval21基准以及SDP-FO模型上展示出色的实证性能。
提出的方法
- 将界限传播泛化以包括跨任意层的任意剪裁平面约束,涉及 x^(i)、hat{x}^(i) 和 z^(i)。
- 将带有剪裁平面的LP松弛形式化,并推导对偶问题以获得逐层界限传播规则(定理3.1)。
- 引入 g(alpha, beta) 作为收紧后的下界目标,通过梯度上升优化 alpha, beta 来收紧界限。
- 将GPU加速的界限传播(GCP-CROWN)与不带分支的现成MIP求解器(CPU)生成切平面,并将割输入到并行、异步设置中的界限传播验证器。
- 将GCP-CROWN整合到 alpha,beta-CROWN 框架中,并调整BnB策略以利用提前割和不同子域难度。
实验结果
研究问题
- RQ1Can general cutting planes be incorporated into bound-propagation-based NN verifiers without relying on slow LP solvers?
- RQ2How can cutting planes involving variables from multiple layers (including relaxed integer variables) improve verification bounds?
- RQ3What is the impact of combining GPU-accelerated bound propagation with CPU-based MIP-generated cuts on verification performance?
- RQ4How does GCP-CROWN+MIP perform on hard benchmarks (oval20, oval21, SDP-FO) compared to state-of-the-art verifiers?
- RQ5Does integrating general cuts into a BaB framework yield complete verification on challenging networks?
主要发现
- GCP-CROWN completely solves all oval20 instances with average time under 5 seconds per instance.
- On oval21, GCP-CROWN verifies roughly twice as many instances as the competition winner in VNN-COMP 2021.
- GCP-CROWN with MIP cuts outperforms state-of-the-art bound-propagation verifiers on a wide range of benchmarks.
- Using general cutting planes, including those across multiple layers and relaxed integer variables, significantly strengthens convex relaxations and reduces branching.
- The CPU-MIP solver and GPU-bound propagation run in parallel, enabling efficient exploration of many branches with strong cuts.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。