Title
MarMot: Metamorphic Runtime Monitoring of Autonomous Driving SystemsAuthor
Version
PostprintDocument type
Journal ArticleLanguage
EnglishRights
© ACMAccess
Open accessPublisher’s version
https://doi.org/10.1145/3678171Published at
ACM Transactions on Software Engineering and Methodology Vol. 34 (1). N. art. 18.xmlui.dri2xhtml.METS-1.0.item-publicationfirstpage
1xmlui.dri2xhtml.METS-1.0.item-publicationlastpage
35Publisher
ACMKeywords
Software safety
Autonomous Driving System
Runtime Monitoring
Metamorphic Testing ... [+]
Autonomous Driving System
Runtime Monitoring
Metamorphic Testing ... [+]
Software safety
Autonomous Driving System
Runtime Monitoring
Metamorphic Testing
Cyber-Physical Systems
Deep Neural Networks [-]
Autonomous Driving System
Runtime Monitoring
Metamorphic Testing
Cyber-Physical Systems
Deep Neural Networks [-]
Subject (UNESCO Thesaurus)
ComputingUNESCO Classification
ComputingAbstract
Autonomous driving systems (ADSs) are complex cyber-physical systems (CPSs) that must ensure safety even in uncertain conditions. Modern ADSs often employ deep neural networks (DNNs), which may not pr ... [+]
Autonomous driving systems (ADSs) are complex cyber-physical systems (CPSs) that must ensure safety even in uncertain conditions. Modern ADSs often employ deep neural networks (DNNs), which may not produce correct results in every possible driving scenario. Thus, an approach to estimate the confidence of an ADS at runtime is necessary to prevent potentially dangerous situations. In this article we propose MarMot, an online monitoring approach for ADSs based on metamorphic relations (MRs), which are properties of a system that hold among multiple inputs and the corresponding outputs. Using domain-specific MRs, MarMot estimates the uncertainty of the ADS at runtime, allowing the identification of anomalous situations that are likely to cause a faulty behavior of the ADS, such as driving off the road.
We perform an empirical assessment of MarMot with five different MRs, using two different subject ADSs, including a small-scale physical ADS and a simulated ADS. Our evaluation encompasses the identification of both external anomalies, e.g., fog, as well as internal anomalies, e.g., faulty DNNs due to mislabeled training data. Our results show that MarMot can identify up to 65% of the external anomalies and 100% of the internal anomalies in the physical ADS, and up to 54% of the external anomalies and 88% of the internal anomalies in the simulated ADS. With these results, MarMot outperforms or is comparable to other state-of-the-art approaches, including SelfOracle, Ensemble, and MC Dropout-based ADS monitors. [-]
Funder
Gobierno VascoProgram
Elkartek 2022Elkartek 2022
Ikertalde Convocatoria 2022-2023
Number
KK-2022/00119KK-2022/00007
IT1519-22
Project
Edge Technologies for Industrial Distributed AI Applications (EGIA)Smart, robust, secure and ethical Industrial Systems for Industry 5.0: advanced paradigms for specification, design, evaluation and monitoring (SIIRSE)
Ingeniería de Software y Sistemas (IKERTALDE 2022-2023)
Collections
- Articles - Engineering [897]



















