Security Properties of Neural Networks as Decision Problems
Abstract
Certifying a deployed neural network raises decision problems that the verification literature has not classified: whether the model carries a backdoor planted in its training data, whether a fault in its stored parameters can drive it into an unsafe state, whether its output leaks a private part of its input. We formalise eight such problems and classify what we can. The organising observation is a logical one. The function computed by a piecewise linear network, together with all its node values, is definable by a quantifier-free formula of real addition of size linear in the network, so a property of the network is a quantifier-alternation sentence, which Sontag's 1985 theorem places in the polynomial hierarchy at the level of its prefix. Membership results are thus corollaries, and the argument makes plain what they need: that the quantified objects are inputs rather than the network's own parameters. Non-interference, monotonicity and counterfactual fairness have exactly the complexity of network equivalence and of interval verification, all co-NP- complete over ReLU. Detection of backdoor triggers from a quantised alphabet is Sigma2P-complete, one level above robustness certification, so it does not reduce to polynomially many robustness queries unless the hierarchy collapses. Inversion resistance is co-NP-complete for every lp metric, p a fixed positive integer. Quantifying over parameters instead of inputs - the fault model of bit-flip attacks, radiation upsets and analog accelerators - makes verification exists-R-complete already for networks of identity nodes, for which every previously studied problem is in P, and it stays so when each parameter is confined to a box of inverse-polynomial width; the corresponding safety question is forall-R-complete for ReLU.
Create a lesson
Metadata
- Categories
- cs.LO, cs.CC, cs.CR, cs.LG
- Comments
- 26 pages, 1 table
Related papers
Quantitative Reachability Properties Beyond Decisiveness
Shared title terminologycs.LORaphaël Faure, Alain Finkel, Lina Ye
Burnside Problems for Matrix Semigroup Quotients with Applications to Border Complexity
Shared title terminologycs.LORoland Guttenberg, Nathan Lhote, Mahsa Shirmohammadi et al.
From Constraints to Causality: Petri net Encodings for Explaining Binary Neural Network Inference
Shared title terminologycs.LOAlex Chan, Mohamed Tarraf, Alex Yakovlev et al.
Parameterized Weakest-Precondition Calculus for Fine-grained Properties of Quantum Loops
Shared title terminologycs.LOTianshi Yu, Minbo Gao, Li Zhou
Properties of Public Announcements as Operators: Commutativity, Monotonicity, Idempotence, Fixed Points, and Stabilization
Shared title terminologycs.LOEiji Yamada
A polynomial-size logical twin for neural networks
Shared title terminologycs.LOSandro Preto, Marcelo Finger