Skip to main content
QUICK REVIEW

[Paper Review] Second-Order Provable Defenses against Adversarial Attacks

Sahil Singla, Soheil Feizi|arXiv (Cornell University)|Jun 1, 2020
Adversarial Robustness in Machine LearningComputer Science33 references7 citations
TL;DR

This paper proposes Curvature-based Robustness Certificate (CRC) and Curvature-based Robust Training (CRT), which leverage second-order information (Hessian eigenvalue bounds) to compute efficient, tight robustness certificates for deep neural networks under $\ell_2$-bounded adversarial attacks. By regularizing the network's curvature during training, CRT achieves state-of-the-art certified robust accuracy—69.79%, 57.78%, and 53.19% on 2-, 3-, and 4-layer MNIST networks—significantly outperforming IBP-based methods.

ABSTRACT

A robustness certificate is the minimum distance of a given input to the decision boundary of the classifier (or its lower bound). For {\it any} input perturbations with a magnitude smaller than the certificate value, the classification output will provably remain unchanged. Exactly computing the robustness certificates for neural networks is difficult since it requires solving a non-convex optimization. In this paper, we provide computationally-efficient robustness certificates for neural networks with differentiable activation functions in two steps. First, we show that if the eigenvalues of the Hessian of the network are bounded, we can compute a robustness certificate in the $l_2$ norm efficiently using convex optimization. Second, we derive a computationally-efficient differentiable upper bound on the curvature of a deep network. We also use the curvature bound as a regularization term during the training of the network to boost its certified robustness. Putting these results together leads to our proposed {\bf C}urvature-based {\bf R}obustness {\bf C}ertificate (CRC) and {\bf C}urvature-based {\bf R}obust {\bf T}raining (CRT). Our numerical results show that CRT leads to significantly higher certified robust accuracy compared to interval-bound propagation (IBP) based training. We achieve certified robust accuracy 69.79\%, 57.78\% and 53.19\% while IBP-based methods achieve 44.96\%, 44.74\% and 44.66\% on 2,3 and 4 layer networks respectively on the MNIST-dataset.

Motivation & Objective

  • To develop a provably robust defense against $\ell_2$-bounded adversarial attacks using second-order information (curvature) rather than first-order Lipschitz bounds.
  • To compute efficient and tight robustness certificates by bounding the eigenvalues of the Hessian matrix of the network.
  • To design a differentiable, curvature-based regularization term that reduces network curvature during training to improve certified robustness.
  • To demonstrate that curvature regularization leads to significantly higher certified robust accuracy than existing interval-bound propagation (IBP) methods.

Proposed method

  • Derive a closed-form expression for the Hessian of a deep neural network with differentiable activations using Lemma 1.
  • Establish theoretical conditions under which the robustness certificate can be computed via convex optimization using bounds on Hessian eigenvalues.
  • Propose the Curvature-based Robustness Certificate (CRC) as a tight, efficiently computable lower bound on the minimum $\ell_2$ distance to the decision boundary.
  • Introduce a differentiable upper bound on the curvature (Hessian eigenvalues) that can be used as a regularizer during training.
  • Develop Curvature-based Robust Training (CRT) by incorporating the curvature bound as a regularization term to minimize network curvature while preserving accuracy.
  • Use duality theory to relate the certificate and attack problems, enabling efficient computation of provably closest adversarial examples under verifiable conditions.

Experimental results

Research questions

  • RQ1Can second-order information (Hessian eigenvalues) be used to derive tighter and more efficient robustness certificates than first-order methods like IBP?
  • RQ2Is it possible to compute a differentiable, upper bound on the curvature of deep networks that can be used as a regularizer during training?
  • RQ3Does minimizing the curvature of a network via regularization lead to higher certified robust accuracy without degrading standard accuracy?
  • RQ4Under what conditions can the CRC method provably identify the closest adversarial example to a given input?
  • RQ5How does curvature-based regularization compare to IBP and other adversarial training baselines in terms of certified robustness on MNIST and Fashion-MNIST?

Key findings

  • CRT achieves certified robust accuracy of 69.79% on 2-layer, 57.78% on 3-layer, and 53.19% on 4-layer MNIST networks—significantly outperforming IBP-based methods (44.96%, 44.74%, 44.66% respectively).
  • Even without adversarial training, curvature regularization enables nontrivial certified robust accuracy: 84.73%, 88.66%, and 89.61% on 2-, 3-, and 4-layer sigmoid networks.
  • The CRC method provably identifies the closest adversarial example in 44.17% of cases for 2-layer, 22.59% for 3-layer, and 19.53% for 4-layer networks on MNIST.
  • Adding a small curvature regularization term ($\gamma = 0.005$) increases the CRC from ~0.48 to ~0.83 on 2-layer sigmoid networks while reducing standard accuracy by less than 0.5%.
  • The CROWN certificate increases only slightly with curvature regularization, but CRC increases substantially, indicating that CRC is a tighter and more informative certificate.
  • For 4-layer networks with ReLU and sigmoid activations, curvature regularization leads to certified robust accuracy above 85% even without adversarial training, demonstrating the method's effectiveness.

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.