Skip to content

Verification of Nonlinear Specifications for Neural NetworksVerification of Non-Linear Specifications for Neural Networks

arXiv· arXiv:1902.09592· Chongli Qin, Krishnamurthy, Dvijotham, Brendan O'Donoghue, Rudy Bunel, Robert Stanforth, Sven Gowal, Jonathan Uesato, Grzegorz Swirszcz, Pushmeet KohliDeepMindIndexed by this site · 27 days ago· Originally publishedDefenses

Translation in progress — untranslated text is omitted.

Quick read

Analysis and theory

Based on the paper PDF (AI-generated); refer to the original

AI summaryThe researchers propose convex-relaxable specifications, a class of nonlinear specifications, extending neural network verification algorithms from linear specifications to richer model properties. This class of specifications can model energy conservation in learned dynamical models of physical systems, semantic consistency of classifier output labels under adversarial perturbations, and error upper bounds for a system that predicts sums of handwritten digits. Experiments show the method can effectively verify these specifications, and for models that cannot be verified, the evaluation also exposes their failure modes, indicating that trained models must not only fit the training data but also remain consistent with the specifications.

Questions
Most existing neural network verification handles only linear constraints on outputs (e.g., invariance under adversarial perturbations), whereas what actually matters are nonlinear specifications: consistency with physical laws, label semantic consistency, and downstream task error.
Methods
Define convex-relaxable specifications: as long as a nonlinear specification has an efficiently computable convex relaxation, verification can be written as a convex optimization problem whose size is proportional to the network; the paper gives two types of relaxation constructions: softmax and quadratic functions.
Experiments and results
On the three specification types — CIFAR-10 semantic, MNIST digit sum, and pendulum energy — the verification bound and adversarial bound are close under small perturbations (e.g., for the semantic specification at δ≤6/255 the gap is less than 0.9%); models with higher verification bounds perform better on long-horizon trajectories and semantic consistency.
Limitations and future work
The authors state that extending the algorithm to real applications still requires further work; in the digit sum task, probability products make the relaxation looser (gap about 13% at δ=6/255); experiments only use small networks with 120–860000 parameters, and SDP relaxation solving is relatively slow.
Read originalarxiv.org