基于量子优化的神经网络精确且渐进完备的鲁棒验证
Exact and Asymptotically Complete Robust Verifications of Neural Networks via Ising Solvers
AI总结:
本文提出两种基于量子优化的模型,用于精确且渐进完备地验证神经网络的鲁棒性,通过分段线性界限和量子Benders分解提高认证效率。
摘要:
深度神经网络(DNN)在各个领域中实现了高性能,但仍然容易受到对抗性扰动的影响,限制了其在安全关键应用中的使用。在此,我们引入了两种基于量子优化的模型,用于鲁棒验证,以减少在受限制输入扰动下的认证组合负担。对于分段线性激活函数(例如ReLU和hardtanh),我们的第一个模型产生了一个精确的公式,该公式是正确且完整的,能够精确识别对抗性示例。对于一般激活函数(包括sigmoid和tanh),我们的第二个模型通过分段常数界限构建可扩展的上界,并且是渐进完整的,随着分割的细化,近似误差会消失。我们进一步将量子Benders分解与区间算术相结合,以加快求解速度,并提出证书转移界限,将剪枝网络的鲁棒性保证与原始模型的鲁棒性保证相关联。最后,逐层划分策略通过在深度中耦合子问题,支持量子-经典混合的工作流程。在鲁棒性基准测试中的实验显示了高认证准确性,表明量子优化可以作为神经网络复杂激活函数的鲁棒性保证的原理性原始元素。
英文摘要:
We present an Ising-compatible framework for formal neural-network robustness verification under bounded input perturbations. For piecewise activations (both continuous piecewise-linear and discrete piecewise-constant), the Exact Logarithmic Piecewise Model (Log-PW) provides an exact, sound, and complete formulation with a state-optimal logarithmic encoding, reducing the binary variables per neuron from linear $O(κ)$ to information-theoretically minimal logarithmic complexity $O(\lceil \log_2 κ\rceil)$ via logarithmic SOS2 (Log-PWL) and SOS1 (Log-PWC) constraints. For general element-wise activations, the Asymptotic Step-Envelope Model (Step-Env) leverages Log-PWC to construct sound, refinable endpoint enclosures. An exact monotonic reduction based on Jordan decomposition further extends this framework to arbitrary non-monotonic activations. We further develop a hybrid Benders solver with output-sensitive iteration bounds, leveraging a Helly-based conflict compression theory to avoid generic exponential cut explosion. In particular, for shallow networks with fixed input dimension, this establishes an unconditionally polynomial Benders iteration complexity in network size. Interval pruning, certificate transfer for pruned networks, and layerwise classical--Ising partitioning further reduce spin requirements. Experiments demonstrate exact certification fidelity for piecewise-linear networks and near-reference accuracy for non-linear activations under compact spin budgets. On MNIST benchmarks, Log-PW halves binary decision spins over One-Hot formulations, while Helly-based cuts achieve up to a $13.41\times$ speedup and an $87.6\%$ reduction in master queries over standard baselines.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。