ThirdEye: Attention Maps for Safe Autonomous Driving Systems
Andrea Stocco, Paulo J. Nunes, Marcelo d'Amorim, Paolo Tonella
Abstract
Automated online recognition of unexpected conditions is an indispensable component of autonomous vehicles to ensure safety even in unknown and uncertain situations. In this paper we propose a runtime monitoring technique rooted in the attention maps computed by explainable artificial intelligence techniques. Our approach, implemented in a tool called ThirdEye, turns attention maps into confidence scores that are used to discriminate safe from unsafe driving behaviours. The intuition is that uncommon attention maps are associated with unexpected runtime conditions. In our empirical study, we evaluated the effectiveness of different configurations of ThirdEye at predicting simulation-based injected failures induced by both unknown conditions (adverse weather and lighting) and unsafe/uncertain conditions created with mutation testing. Results show that, overall, ThirdEye can predict 98% misbehaviours, up to three seconds in advance, outperforming a state-of-the-art failure predictor for autonomous vehicles.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
12 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Detecting Socially Abnormal Highway Driving Behaviors via Recurrent Graph Attention Networks cites Misbehaviour prediction for autonomous driving systems
- Model-based exploration of the frontier of behaviours for deep learning system testing cites Taxonomy of real faults in deep learning systems
- DeepHyperion: exploring the feature space of deep learning-based systems through illumination search cites Model-based exploration of the frontier of behaviours for deep learning system testing
- DeepHyperion: exploring the feature space of deep learning-based systems through illumination search cites Taxonomy of real faults in deep learning systems
- Unsupervised Anomaly Detection on Microservice Traces through Graph VAE cites Misbehaviour prediction for autonomous driving systems
- DeepCrime: mutation testing of deep learning systems based on real faults cites Taxonomy of real faults in deep learning systems
- Are LLMs Correctly Integrated into Software Systems? cites Taxonomy of real faults in deep learning systems
- Towards Reliable AI: Adequacy Metrics for Ensuring the Quality of System-level Testing of Autonomous Vehicles cites Model-based exploration of the frontier of behaviours for deep learning system testing
- Towards Reliable AI: Adequacy Metrics for Ensuring the Quality of System-level Testing of Autonomous Vehicles cites DeepHyperion: exploring the feature space of deep learning-based systems through illumination search
Cited by top-tier papers12
- Unsupervised Anomaly Detection on Microservice Traces through Graph VAEZhe Xie, Haowen Xu, Wenxiao Chen, Wanxue Li et al.WWW 2023 · 44 citations
- Detecting Socially Abnormal Highway Driving Behaviors via Recurrent Graph Attention NetworksYue Hu, Yuhang Zhang, Yanbing Wang, Daniel B. WorkWWW 2023 · 11 citations
- Towards Reliable AI: Adequacy Metrics for Ensuring the Quality of System-level Testing of Autonomous VehiclesNeelofar, Aldeida AletiICSE 2024 · 11 citations
- Do Large Language Models Pay Similar Attention Like Human Programmers When Generating Code?Bonan Kou, Shengmai Chen, Zhijie Wang, Lei Ma et al.FSE 2024 · 8 citations
- Are LLMs Correctly Integrated into Software Systems?Yuchen Shao, Yuheng Huang, Jiawei Shen, Lei Ma et al.ICSE 2025 · 4 citations
Builds on10
- Taxonomy of real faults in deep learning systemsNargiz Humbatova, Gunel Jahangirova, Gabriele Bavota, Vincenzo Riccio et al.ICSE 2020 · 281 citations
- Misbehaviour prediction for autonomous driving systemsAndrea Stocco, Michael Weiss, Marco Calzana, Paolo TonellaICSE 2020 · 138 citations
- Model-based exploration of the frontier of behaviours for deep learning system testingVincenzo Riccio, Paolo TonellaFSE 2020 · 134 citations
- DeepCrime: mutation testing of deep learning systems based on real faultsNargiz Humbatova, Gunel Jahangirova, Paolo TonellaISSTA 2021 · 114 citations
- DeepHyperion: exploring the feature space of deep learning-based systems through illumination searchTahereh Zohdinasab, Vincenzo Riccio, Alessio Gambi, Paolo TonellaISSTA 2021 · 76 citations
Related papers
- Where, What, Why: Towards Explainable Driver Attention PredictionYuchen Zhou, Jiayu Tang, Xiaoyan Xiao, Yueyao Lin et al.ICCV 2025 · 8 citations
- Effects of Explanations on Driver Situation Awareness Under Physical Adversarial Attacks in Automated Driving: A Driving Simulator StudyRao Li, Jiazheng Gao, Yiqi Zhang, Aiping XiongCCS 2026
- Manipulating the Mind's Eye: A-SAGE, the Attention-Based Attack on ViT ExplainabilityBoshi Zheng, Yan Li, Jiabin LiuAAAI 2026
- DRIVE: Deep Reinforced Accident Anticipation with Visual ExplanationWentao Bao, Qi Yu, Yu KongICCV 2021 · 64 citations
- Eyes on the Road, Mind Beyond Vision: Context-Aware Multi-modal Enhanced Risk AnticipationJiaxun Zhang, Haicheng Liao, Yumu Xie, Chengyue Wang et al.ACM MM 2025 · 2 citations
