Skip to main content
QUICK REVIEW

[Paper Review] Maximum Resilience of Artificial Neural Networks

Chih‐Hong Cheng, Georg Nührenberg|arXiv (Cornell University)|Apr 28, 2017
Adversarial Robustness in Machine LearningComputer Science16 references6 citations
TL;DR

This paper proposes a novel MIP-based approach to compute verified, maximum perturbation bounds for artificial neural networks (ANNs), enabling formal quantification of resilience to input noise or adversarial attacks. By leveraging customized MIP encoding heuristics and parallelized branch-and-bound, the method achieves up to two orders of magnitude speedup over vanilla MIP encoding and demonstrates scalability on MNIST and robotic control benchmarks.

ABSTRACT

The deployment of Artificial Neural Networks (ANNs) in safety-critical applications poses a number of new verification and certification challenges. In particular, for ANN-enabled self-driving vehicles it is important to establish properties about the resilience of ANNs to noisy or even maliciously manipulated sensory input. We are addressing these challenges by defining resilience properties of ANN-based classifiers as the maximal amount of input or sensor perturbation which is still tolerated. This problem of computing maximal perturbation bounds for ANNs is then reduced to solving mixed integer optimization problems (MIP). A number of MIP encoding heuristics are developed for drastically reducing MIP-solver runtimes, and using parallelization of MIP-solvers results in an almost linear speed-up in the number (up to a certain limit) of computing cores in our experiments. We demonstrate the effectiveness and scalability of our approach by means of computing maximal resilience bounds for a number of ANN benchmark sets ranging from typical image recognition scenarios to the autonomous maneuvering of robots.

Motivation & Objective

  • To address the critical challenge of verifying resilience in safety-critical AI systems, particularly for self-driving vehicles with ANN-based perception.
  • To formally quantify the maximum input perturbation an ANN can tolerate before misclassifying, ensuring robustness against noise or adversarial inputs.
  • To develop a scalable and efficient verification framework that computes precise, verified bounds for multi-class ANNs using optimization.
  • To provide a formal assume-guarantee interface between sensor systems and neural network classifiers, decoupling sensor design from network design.
  • To enable objective comparison of different ANNs based on their resilience to input perturbations, supporting model selection and improvement.

Proposed method

  • Reduces the problem of computing maximum resilience to a mixed-integer programming (MIP) problem by encoding non-linear activation functions (ReLU, max-pooling) using big-M linearization.
  • Employs a dataflow analysis to compute minimal big-M values, significantly reducing the MIP solver’s search space and improving performance.
  • Applies heuristic strategies such as solving multiple simplified MIP subproblems to accelerate finding feasible solutions.
  • Utilizes parallelized branch-and-bound execution across multiple CPU cores, achieving near-linear speed-up up to a certain core threshold.
  • Defines a resilience measure based on softmax output confidence, where the network must maintain classification order under perturbations.
  • Computes the maximum perturbation bound Φₘ as the solution to an optimization problem that maximizes input deviation while preserving class dominance.

Experimental results

Research questions

  • RQ1How can we formally and quantitatively measure the maximum resilience of a trained ANN to input perturbations, including adversarial noise?
  • RQ2What MIP encoding strategies can significantly reduce solver runtime for verifying ANN robustness?
  • RQ3To what extent can parallelization of branch-and-bound improve scalability for large or complex ANN verification tasks?
  • RQ4How does the confidence level α of the original classification affect the maximum tolerable perturbation bound?
  • RQ5Can the computed perturbation bounds serve as a formal interface for decoupling sensor system design from neural network design in safety-critical systems?

Key findings

  • The proposed MIP encoding with custom heuristics achieves a speed-up of approximately two orders of magnitude compared to standard MIP encodings.
  • Parallelization of branch-and-bound on up to 32 cores yields near-linear speed-up for most benchmark instances, with performance plateauing beyond 32 cores for certain problem types.
  • For the MNIST benchmark with ε=0.01, the method computed maximum resilience Φₘ in under 1 second using 12 threads, demonstrating high efficiency on standard image classification tasks.
  • For complex robotic control networks (e.g., DeepTraffic), the method computed Φₘ in under 15 minutes on 360 cores, showing scalability to real-world applications.
  • Increasing the confidence threshold α leads to higher computed perturbation bounds Φₘ, as expected, with infeasibility occurring when α exceeds the network’s maximum achievable confidence.
  • The method successfully computes minimally perturbed inputs that cause misclassification, which can be used to augment training data and improve generalization.

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.