Skip to main content
QUICK REVIEW

[Paper Review] Formal Verification of CNN-based Perception Systems

Panagiotis Kouvaros, Alessio Lomuscio|arXiv (Cornell University)|Nov 28, 2018
Adversarial Robustness in Machine LearningComputer Science13 references22 citations
TL;DR

This paper proposes a formal verification method for CNN-based perception systems using mixed-integer linear programming (MILP) to assess local transformational robustness against affine and photometric image transformations. The approach is complete and automatically identifies robustness violations, revealing that a standard MNIST CNN is brittle under small transformations, with accuracy improving from 19% to 26% after adversarial retraining using verified transformations.

ABSTRACT

We address the problem of verifying neural-based perception systems implemented by convolutional neural networks. We define a notion of local robustness based on affine and photometric transformations. We show the notion cannot be captured by previously employed notions of robustness. The method proposed is based on reachability analysis for feed-forward neural networks and relies on MILP encodings of both the CNNs and transformations under question. We present an implementation and discuss the experimental results obtained for a CNN trained from the MNIST data set.

Motivation & Objective

  • To address the lack of formal verification methods for learning-enabled perception components in safety-critical autonomous systems.
  • To define a new notion of robustness—local transformational robustness—targeting geometric and photometric image variations relevant to real-world deployment.
  • To develop a complete, automated verification method for CNN classifiers that can detect all robustness violations under specified transformations.
  • To enable systematic assessment and improvement of CNN robustness through formal verification and adversarial retraining.
  • To extend formal verification techniques from pixel-level perturbations to structured image transformations, improving relevance and tightness of guarantees.

Proposed method

  • The method formulates the robustness verification problem as a reachability analysis task for feed-forward neural networks.
  • It encodes both the CNN architecture and the transformation constraints into mixed-integer linear programs (MILP).
  • The MILP formulation enables complete verification: if a misclassification exists under a transformation, it is guaranteed to be found.
  • The approach supports a wide range of transformations, including translation, scaling, rotation, luminosity, and contrast changes.
  • The framework is implemented in a tool called VENUS, which generates transformed images for retraining to improve robustness.
  • The method is applied to a CNN trained on MNIST, with verification and retraining pipelines fully automated.

Experimental results

Research questions

  • RQ1Can formal verification of CNN-based perception systems be achieved with completeness guarantees for structured image transformations?
  • RQ2How does local transformational robustness differ from and improve upon traditional local robustness defined over pixel-wise perturbations?
  • RQ3To what extent are standard CNNs, such as those trained on MNIST, robust to realistic image transformations like translation and contrast changes?
  • RQ4Can verified transformation data be used to improve CNN robustness through adversarial retraining?
  • RQ5How does the scalability of the MILP-based verification method depend on network size and transformation complexity?

Key findings

  • The CNN trained on MNIST was found to be non-locally transformationally robust, with misclassifications occurring even under small translations, zooming, and subsampling.
  • The model also showed fragility under luminosity and contrast changes, indicating poor robustness to photometric variations.
  • Verification revealed that the network’s accuracy on transformed MNIST images dropped to 19% before retraining.
  • After augmenting the training set with over 10,000 transformed images generated by the VENUS tool, the network’s accuracy improved to 26%.
  • The MILP-based method successfully identified all robustness violations under the specified transformations, confirming completeness.
  • The method’s performance degrades with increasing network size due to heavier MILP encodings, highlighting a need for scalability improvements.

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.