Skip to main content
QUICK REVIEW

[Paper Review] Semidefinite relaxations for certifying robustness to adversarial examples

Aditi Raghunathan, Jacob Steinhardt|arXiv (Cornell University)|Nov 2, 2018
Adversarial Robustness in Machine LearningComputer Science210 citations
TL;DR

The paper introduces a semidefinite programming (SDP) relaxation to certify robustness of arbitrary ReLU networks against adversarial perturbations, showing tighter bounds than prior LP-based relaxations and providing meaningful non-vacuous certificates on several networks.

ABSTRACT

Despite their impressive performance on diverse tasks, neural networks fail catastrophically in the presence of adversarial inputs---imperceptibly but adversarially perturbed versions of natural inputs. We have witnessed an arms race between defenders who attempt to train robust networks and attackers who try to construct adversarial examples. One promise of ending the arms race is developing certified defenses, ones which are provably robust against all attackers in some family. These certified defenses are based on convex relaxations which construct an upper bound on the worst case loss over all attackers in the family. Previous relaxations are loose on networks that are not trained against the respective relaxation. In this paper, we propose a new semidefinite relaxation for certifying robustness that applies to arbitrary ReLU networks. We show that our proposed relaxation is tighter than previous relaxations and produces meaningful robustness guarantees on three different "foreign networks" whose training objectives are agnostic to our proposed relaxation.

Motivation & Objective

  • Motivate the need for certified defenses against adversarial perturbations
  • Develop a convex, SDP-based relaxation that upper-bounds the worst-case loss over adversaries for ReLU networks
  • Demonstrate that the SDP relaxation yields tighter robustness certificates than LP-based relaxations on real networks
  • Show that networks trained with various robust objectives still receive meaningful certificates under the SDP approach
  • Provide practical guidance on applying the SDP certificate to multi-layer networks and compare with concurrent verification approaches

Proposed method

  • Formulate the worst-case margin maximization under ReLU and attack constraints as a QCQP by representing ReLU via linear and quadratic constraints
  • Relax the QCQP to a semidefinite program (SDP) by introducing a matrix of monomials P = vv^T and enforcing P ≽ 0 plus linear/quadratic constraints
  • Generalize the one-layer SDP to multi-layer networks by stacking layer-wise ReLU constraints and propagation bounds on intermediate activations
  • Derive bounds on intermediate activations using simple interval arithmetic to tighten the SDP (l^i, u^i) bounds
  • Compare SDP guidance to LP relaxations, highlighting joint activation reasoning and tighter bounds in multi-unit settings
  • Experiment with networks trained by Grad-NN, LP-NN, and PGD-NN on MNIST to certify robustness at epsilon = 0.1 under l∞-norm attacks
  • Use interval-based bounds to obtain practical certificates (SDP-cert) and compare against LP-cert and Grad-cert

Experimental results

Research questions

  • RQ1Can an SDP-based relaxation tighten robustness certificates for ReLU networks compared to LP relaxations?
  • RQ2Do SDP certificates provide meaningful non-vacuous guarantees on networks not trained specifically for certification?
  • RQ3How does the SDP relaxation scale to multi-layer networks and how do intermediate activation bounds affect tightness?
  • RQ4How do certifiable safeguards from SDP compare with concurrent verification approaches on standard benchmarks (MNIST)?

Key findings

  • SDP-cert yields non-vacuous robustness certificates across all tested networks, including a four-layer PGD-trained model with an 18% bound at epsilon = 0.1
  • On Grad-NN and LP-NN, SDP-cert improves or matches previously known certification bounds (e.g., Grad-NN from 35% to 20% non-certifiable; LP-NN from 22% to 20%)
  • LP-cert often underperforms compared to SDP-cert on multi-layer networks, due to its inability to capture joint activation interactions
  • For the tested networks, SDP-cert consistently achieves smaller non-certifiable fractions than LP-cert and Grad-cert (e.g., Grad-NN: 20% vs. 97% vs. 35%; LP-NN: 20% vs. 22% vs. 93%; PGD-NN: 18% vs. 100% vs. n/a)
  • Geometric interpretation shows SDP tightens by coupling activations across layers, unlike LP which treats units independently
  • Computation time: SDP solving around 25 minutes per example vs. ~5 minutes for LP in the reported experiments

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.