Skip to main content
QUICK REVIEW

[Paper Review] Closed-loop Analysis of Vision-based Autonomous Systems: A Case Study

Corina S. Păsăreanu, Ravi Mangal|arXiv (Cornell University)|Feb 6, 2023
Adversarial Robustness in Machine LearningComputer Science3 citations
TL;DR

This paper presents a formal probabilistic analysis framework for vision-based autonomous systems by replacing complex perception components—deep neural networks (DNNs) and cameras—with a compact probabilistic abstraction derived from DNN confusion matrices. The method enables scalable verification of closed-loop safety using model checkers like PRISM, while integrating DNN-specific run-time guards and confidence intervals to enhance soundness and safety, demonstrated on a Boeing taxiing guidance system using TaxiNet.

ABSTRACT

Deep neural networks (DNNs) are increasingly used in safety-critical autonomous systems as perception components processing high-dimensional image data. Formal analysis of these systems is particularly challenging due to the complexity of the perception DNNs, the sensors (cameras), and the environment conditions. We present a case study applying formal probabilistic analysis techniques to an experimental autonomous system that guides airplanes on taxiways using a perception DNN. We address the above challenges by replacing the camera and the network with a compact probabilistic abstraction built from the confusion matrices computed for the DNN on a representative image data set. We also show how to leverage local, DNN-specific analyses as run-time guards to increase the safety of the overall system. Our findings are applicable to other autonomous systems that use complex DNNs for perception.

Motivation & Objective

  • To address the challenge of formally verifying safety in vision-based autonomous systems with high-dimensional image inputs and complex DNNs.
  • To overcome scalability and soundness issues in existing formal analysis techniques for systems with rich sensor data.
  • To develop a compositional, probabilistic abstraction of perception components that decouples DNN complexity from system-level verification.
  • To integrate DNN-specific analysis results as run-time guards to improve system safety.
  • To incorporate confidence intervals into the analysis to strengthen the soundness of probabilistic guarantees.

Proposed method

  • Replace the camera and DNN perception pipeline with a probabilistic abstraction α that maps world states to estimated outputs using confusion matrices computed on representative image data.
  • Derive transition probabilities in α directly from empirical confusion matrices, ensuring alignment with standard ML evaluation practices.
  • Use standard probabilistic model checkers (e.g., PRISM, Storm) to analyze the abstracted closed-loop system for safety properties.
  • Integrate DNN-specific analysis results—such as mined rules for valid/invalid behavior—as run-time guards to constrain input or output behavior.
  • Apply confidence interval analysis to transition probabilities using statistical inference, enhancing the robustness of safety guarantees.
  • Remove zero-observation transitions from the model to improve scalability of confidence interval computation, while maintaining analytical soundness.

Experimental results

Research questions

  • RQ1Can a compact, probabilistic abstraction of a DNN-based perception system be constructed using confusion matrices to enable scalable formal verification of closed-loop autonomous systems?
  • RQ2How can DNN-specific analysis results be integrated as run-time guards to improve the safety of the overall system?
  • RQ3To what extent do confidence intervals on transition probabilities improve the soundness of probabilistic safety guarantees in the presence of data uncertainty?
  • RQ4How does the removal of zero-observation transitions affect the scalability and accuracy of confidence interval inference in the analysis pipeline?
  • RQ5Can the proposed method be applied to other autonomous systems using DNNs for perception from high-dimensional inputs like images?

Key findings

  • The probabilistic abstraction α, built from confusion matrices, enables formal verification of the closed-loop system using standard model checkers, with abstraction size linear in the DNN output size and independent of DNN parameters or camera complexity.
  • Incorporating run-time guards based on DNN rules reduced the error rate in perception outputs, with cte error dropping to 65.78% and he error to 76% on guarded inputs.
  • Confidence interval analysis was successfully applied to probabilistic properties, with results reported for N=4 using PRISM and FACT, though numerical instability occurred for very small probabilities.
  • Scalability was significantly improved by removing zero-observation transitions from the model, reducing analysis time from 140.676s to 5.783s on the same hardware.
  • Despite numerical challenges with the Gurobi optimizer on very small probabilities, the confidence intervals remained conservative, indicating robustness in the face of computational limitations.
  • The approach is generalizable to other autonomous systems using DNN-based perception, as demonstrated by its successful application to a real-world Boeing taxiing guidance system.

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.