Skip to main content
QUICK REVIEW

[Paper Review] Verifying Controllers with Convolutional Neural Network-based Perception: A Case for Intelligible, Safe, and Precise Abstractions

Chiao Hsieh, Keyur Joshi|arXiv (Cornell University)|Nov 10, 2021
Adversarial Robustness in Machine LearningComputer Science1 citations
TL;DR

This paper proposes a method to generate intelligible, safe, and precise set-valued abstractions of convolutional neural network (CNN)-based perception systems in autonomous control pipelines. By learning piece-wise affine models from data and system-level safety requirements, the approach enables formal verification of the abstracted system using tools like CBMC, with evaluations showing that abstractions can guide detection of corner cases and safe operating envelopes across diverse environments.

ABSTRACT

Convolutional Neural Networks (CNN) for object detection, lane detection, and segmentation now sit at the head of most autonomy pipelines, and yet, their safety analysis remains an important challenge. Formal analysis of perception models is fundamentally difficult because their correctness is hard if not impossible to specify. We present a technique for inferring intelligible and safe abstractions for perception models from system-level safety requirements, data, and program analysis of the modules that are downstream from perception. The technique can help tradeoff safety, size, and precision, in creating abstractions and the subsequent verification. We apply the method to two significant case studies based on high-fidelity simulations (a) a vision-based lane keeping controller for an autonomous vehicle and (b) a controller for an agricultural robot. We show how the generated abstractions can be composed with the downstream modules and then the resulting abstract system can be verified using program analysis tools like CBMC. Detailed evaluations of the impacts of size, safety requirements, and the environmental parameters (e.g., lighting, road surface, plant type) on the precision of the generated abstractions suggest that the approach can help guide the search for corner cases and safe operating envelops.

Motivation & Objective

  • To address the challenge of verifying control systems that rely on CNN-based perception, where formal specification of the CNN itself is infeasible.
  • To create abstractions of perception modules that are both safe and interpretable to human designers, testers, and auditors.
  • To balance tradeoffs between safety, precision, and abstraction size in a way that supports system-level verification.
  • To guide the discovery of corner cases and safe operating envelopes through quantitative analysis of abstraction precision under varying environmental and system parameters.

Proposed method

  • Constructs piece-wise affine set-valued abstractions of CNN perception modules using regression on data from simulations or real-world runs.
  • Uses ground truth perception inputs (e.g., lane position, crop row distance) as targets for regression to improve abstraction precision.
  • Defines abstractions as over-approximations where each set's center is a piece-wise affine function of the ground truth input, with bounds adjusted to satisfy safety requirements.
  • Applies uniform rectangular partitions over state and environmental parameter spaces to define abstraction regions, with refinement via finer partitions increasing precision.
  • Uses program analysis tools like CBMC to verify the abstracted system, replacing the original CNN perception with the learned abstraction.
  • Employs a safety-invariant-based approach to guide abstraction construction, ensuring that the abstract system remains within safe operating boundaries.

Experimental results

Research questions

  • RQ1Can we generate abstractions of CNN-based perception systems that are both safe and intelligible to human stakeholders?
  • RQ2How does the choice of partitioning strategy (e.g., uniform vs. adaptive) affect the precision and size of the abstractions?
  • RQ3To what extent can abstraction precision reveal fragile regions in the state and environment space where safety requirements are most likely to be violated?
  • RQ4Can the abstraction-based verification approach effectively identify corner cases and define safe operating envelopes for autonomous systems?

Key findings

  • The precision of the abstractions improves significantly with finer partitions, as shown by heatmaps indicating higher precision scores in regions like the 20×20 partition case.
  • The abstractions reveal consistent patterns in fragile regions—such as white bands near equilibrium and white spots in corners—indicating where perception errors are most likely to lead to safety violations.
  • The method successfully identifies unsafe regions in both the autonomous vehicle and agricultural robot case studies, such as when lateral deviation exceeds 0.228 meters or yaw exceeds 30 degrees.
  • The approach enables formal verification of the abstracted system using CBMC, demonstrating feasibility of end-to-end verification with abstractions.
  • Environmental parameters such as lighting, road surface, and plant type significantly influence abstraction precision, with the method quantitatively exposing these sensitivities.
  • The results suggest that abstractions can guide system design by highlighting regions where perception models are most vulnerable, informing improvements in perception, control, or ODD (operating design domain) definitions.

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.