Monitoring and Diagnosability of Perception Systems

Perception is a critical component of high-integrity applications of robotics and autonomous systems, such as self-driving vehicles. In these applications, failure of perception systems may put human life at risk, and a broad adoption of these technologies requires the development of methodologies to guarantee and monitor safe operation. Despite the paramount importance of perception systems, currently there is no formal approach for system-level monitoring. In this work, we propose a mathematical model for runtime monitoring and fault detection and identification in perception systems. Towards this goal, we draw connections with the literature on diagnosability in multiprocessor systems, and generalize it to account for modules with heterogeneous outputs that interact over time. The resulting temporal diagnostic graphs (i) provide a framework to reason over the consistency of perception outputs –across modules and over time– thus enabling fault detection, (ii) allow us to establish formal guarantees on the maximum number of faults that can be uniquely identified in a given perception system, and (iii) enable the design of efficient algorithms for fault identification. We demonstrate our monitoring system, dubbed PerSyS, in realistic simulations using the LGSVL self-driving simulator and the Apollo Auto autonomy software stack, and show that PerSyS is able to detect failures in challenging scenarios (including scenarios that have caused self-driving car accidents in recent years), and is able to correctly identify faults while entailing a minimal computation overhead (< 5 ms on a single-core CPU).

[1]  Georgios E. Fainekos,et al.  Planning in Dynamic Environments Through Temporal Logic Monitoring , 2016, AAAI Workshop: Planning for Hybrid Systems.

[2]  Luca Carlone,et al.  A Polynomial-time Solution for Robust Registration with Extreme Outlier Rates , 2019, Robotics: Science and Systems.

[3]  Sanjit A. Seshia,et al.  Towards Verified Artificial Intelligence , 2016, ArXiv.

[4]  Philip Koopman,et al.  Challenges in Autonomous Vehicle Testing and Validation , 2016 .

[5]  Sanjit A. Seshia,et al.  Mining assumptions for synthesis , 2011, Ninth ACM/IEEE International Conference on Formal Methods and Models for Codesign (MEMPCODE2011).

[6]  Alberto L. Sangiovanni-Vincentelli,et al.  Systematic Testing of Convolutional Neural Networks for Autonomous Driving , 2017, ArXiv.

[7]  Ezio Bartocci,et al.  Lectures on Runtime Verification: Introductory and Advanced Topics , 2018 .

[8]  Sanjit A. Seshia,et al.  VerifAI: A Toolkit for the Formal Design and Analysis of Artificial Intelligence-Based Systems , 2019, CAV.

[9]  Heng Yang,et al.  TEASER: Fast and Certifiable Point Cloud Registration , 2021, IEEE Transactions on Robotics.

[10]  David I. Spivak,et al.  Temporal Type Theory , 2017, Progress in Computer Science and Applied Logic.

[11]  Sanjit A. Seshia,et al.  Combining Model Checking and Runtime Verification for Safe Robotics , 2017, RV.

[12]  Amnon Shashua,et al.  On a Formal Model of Safe and Scalable Self-driving Cars , 2017, ArXiv.

[13]  Luca Carlone,et al.  Modeling Perceptual Aliasing in SLAM via Discrete–Continuous Graphical Models , 2018, IEEE Robotics and Automation Letters.

[14]  Richard M. Murray,et al.  Decomposing GR(1) games with singleton liveness guarantees for efficient synthesis , 2017, 2017 IEEE 56th Annual Conference on Decision and Control (CDC).

[15]  Félix Ingrand,et al.  Recent Trends in Formal Validation and Verification of Autonomous Robots Software , 2019, 2019 Third IEEE International Conference on Robotic Computing (IRC).

[16]  César Sánchez,et al.  Runtime Verification for Decentralised and Distributed Systems , 2018, Lectures on Runtime Verification.

[17]  Heng Yang,et al.  In Perfect Shape: Certifiably Optimal 3D Shape Reconstruction From 2D Landmarks , 2020, 2020 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR).

[18]  Christoph Stiller,et al.  Functional system architectures towards fully automated driving , 2016, 2016 IEEE Intelligent Vehicles Symposium (IV).

[19]  Insup Lee,et al.  Self-Driving Vehicle Verification Towards a Benchmark , 2018, ArXiv.

[20]  Alberto Speranzon,et al.  Hierarchical Multi-objective planning: From mission specifications to contingency management , 2014, 2014 IEEE International Conference on Robotics and Automation (ICRA).

[21]  P. Johnstone,et al.  REVIEWS-Sketches of an elephant: A topos theory compendium , 2003 .

[22]  Silvano Dal-Zilio,et al.  Formal Verification of Complex Robotic Systems on Resource-Constrained Platforms , 2018, 2018 IEEE/ACM 6th International FME Workshop on Formal Methods in Software Engineering (FormaliSE).

[23]  Heng Yang,et al.  Outlier-Robust Estimation: Hardness, Minimally Tuned Algorithms, and Applications , 2020, IEEE Transactions on Robotics.

[24]  Calin Belta,et al.  Control in belief space with temporal logic specifications using vision-based localization , 2016, 2016 IEEE 55th Conference on Decision and Control (CDC).

[25]  Sanjit A. Seshia,et al.  VERIFAI: A Toolkit for the Design and Analysis of Artificial Intelligence-Based Systems , 2019, ArXiv.

[26]  Georgios Fainekos,et al.  Evaluating Perception Systems for Autonomous Vehicles Using Quality Temporal Logic , 2018, RV.

[27]  Georgios Fainekos,et al.  Specifying and Evaluating Quality Metrics for Vision-based Perception Systems , 2019, 2019 Design, Automation & Test in Europe Conference & Exhibition (DATE).

[28]  John J. Leonard,et al.  Past, Present, and Future of Simultaneous Localization and Mapping: Toward the Robust-Perception Age , 2016, IEEE Transactions on Robotics.

[29]  Calin Belta,et al.  Minimum-violation scLTL motion planning for mobility-on-demand , 2017, 2017 IEEE International Conference on Robotics and Automation (ICRA).

[30]  K. V. S. Bhat,et al.  Algorithms for finding diagnosability level and t-diagnosis in a network of processors , 1982, ACM '82.

[31]  Laurent Kneip,et al.  A Certifiably Globally Optimal Solution to the Non-minimal Relative Pose Problem , 2018, 2018 IEEE/CVF Conference on Computer Vision and Pattern Recognition.

[32]  Alberto L. Sangiovanni-Vincentelli,et al.  Diagnosis and Repair for Synthesis from Signal Temporal Logic Specifications , 2016, HSCC.

[33]  André Platzer,et al.  Formal verification of obstacle avoidance and navigation of ground robots , 2016, Int. J. Robotics Res..

[34]  P. Alam,et al.  R , 1823, The Herodotus Encyclopedia.

[35]  Kevin Barraclough,et al.  I and i , 2001, BMJ : British Medical Journal.

[36]  G. F. Sullivan,et al.  An O(t3 + |E|) Fault Identification Algorithm for Diagnosable Systems , 1988, IEEE Trans. Computers.

[37]  Benjamin Morrell,et al.  Towards Resilient Autonomous Navigation of Drones , 2020, ISRR.

[38]  Calin Belta,et al.  A Fully Automated Framework for Control of Linear Systems from Temporal Logic Specifications , 2008, IEEE Transactions on Automatic Control.

[39]  Nidhi Kalra,et al.  Driving to Safety , 2016 .

[40]  I. Moerdijk,et al.  Sheaves in geometry and logic: a first introduction to topos theory , 1992 .

[41]  GERNOT METZE,et al.  On the Connection Assignment Problem of Diagnosable Systems , 1967, IEEE Trans. Electron. Comput..

[42]  Heng Yang,et al.  One Ring to Rule Them All: Certifiably Robust Geometric Perception with Outliers , 2020, NeurIPS.

[43]  Gerald M. Masson,et al.  An 0(n2.5) Fault Identification Algorithm for Diagnosable Systems , 1984, IEEE Transactions on Computers.

[44]  Sanjit A. Seshia,et al.  Safe Autonomy Under Perception Uncertainty Using Chance-Constrained Temporal Logic , 2017, Journal of Automated Reasoning.

[45]  S. Louis Hakimi,et al.  Characterization of Connection Assignment of Diagnosable Systems , 1974, IEEE Transactions on Computers.

[46]  Daniel Kang,et al.  Model Assertions for Debugging Machine Learning , 2018 .

[47]  R. Sarpong,et al.  Bio-inspired synthesis of xishacorenes A, B, and C, and a new congener from fuscol† †Electronic supplementary information (ESI) available. See DOI: 10.1039/c9sc02572c , 2019, Chemical science.

[48]  Alberto L. Sangiovanni-Vincentelli,et al.  Scenic: a language for scenario specification and scene generation , 2018, PLDI.

[49]  Fast-Forwarding to a Future of On-Demand Urban Air Transportation , 2016 .

[50]  W. Marsden I and J , 2012 .

[51]  Peter Henderson,et al.  Toward Trustworthy AI Development: Mechanisms for Supporting Verifiable Claims , 2020, ArXiv.

[52]  M. Iida,et al.  Past , 1971, PS: Political Science &amp; Politics.

[53]  Clare Dixon,et al.  Formal Specification and Verification of Autonomous Robotic Systems , 2018, ACM Comput. Surv..

[54]  Angelo Ferrando,et al.  Heterogeneous Verification of an Autonomous Curiosity Rover , 2020, NFM.