An Enhanced Safety Trust Explainable AI Hybrid Attention-CNN Model for Interpretable Anomaly Detection for Autonomous Vehicles
Authors
Department of Data Science and Analytics, Southern Delta University, Ozoro (Nigeria)
Department of Information Systems and Technology, Southern Delta University, Ozoro (Nigeria)
Department of Architecture, Southern Delta University, Ozoro (Nigeria)
Department of Computer Science, Delta State University, Abraka (Nigeria)
Department of Computer Science, Federal University of Petroleum Resources, Effurun (Nigeria)
Article Information
DOI: 10.51584/IJRIAS.2026.11090190
Subject Category: Computer Science
Volume/Issue: 11/9 | Page No: 2644-2659
Publication Timeline
Submitted: 2026-10-12
Accepted: 2026-10-17
Published: 2026-10-28
Abstract
The deployment of autonomous vehicles (AVs) demands high-accuracy anomaly detection frameworks that are not only robust but also auditable by safety engineers and regulators. While deep learning models offer state-of-the-art performance, their "black-box" nature hinders safety trust and compliance with automotive safety standards like ISO 26262. To bridge this gap, this paper introduces an Explainable Hybrid Attention-Based Convolutional Neural Network (X-HA-CNN) model engineered for interpretable anomaly detection in autonomous vehicular systems. The proposed architecture integrates a spatial-temporal CNN to extract complex environmental and vehicular features, paired with a multi-head self-attention mechanism that dynamically prioritizes critical sensory regions. Crucially, we imbed post-hoc Explainable AI (XAI) layers using integrated gradients and Grad-CAM++ directly mapped to the attention weights, yielding real-time, pixel-level visual explanations of flagged anomalies. We validated our model using the public ApolloScape and KITTI datasets against simulated sensor faults and adversarial cyber-physical injection attacks. The X-HA-CNN model achieved a 98.6% anomaly detection accuracy and an F1-score of 98.2%, outperforming standard baseline CNNs by 4.3% and traditional isolation forests by 11.5%. More importantly, the model maintains a low latency profile suitable for edge computing, demonstrating an average inference time of 14.2 milliseconds per frame, which satisfies the real-time threshold required for automated driving at highway speeds. Quantitative evaluation of the explainability framework using human-grounded faithfulness metrics shows a 91.4% alignment between the model’s focus zones and verified root-cause sensory failures. These results demonstrate that the X-HA-CNN model successfully balances high-tier diagnostic performance with the empirical interpretability necessary to foster regulatory approval and consumer trust in autonomous driving safety.
Keywords
Autonomous Vehicles, Anomaly Detection, Hybrid Convolutional Neural Networks, Multi-Head Attention, Explainable AI (XAI)
Downloads
References
1. Abel E. Edje; Odegwo Ifeanyi James; Ibobo U. D., Emekumeh Okpala Sanctus: (2026) Comparative Performance and Safety Analysis of Autonomous Vehicle Architectures: Evaluating Optimal Algorithms for L3/L4 Deployment. International Journal of Innovative Science and Research Technology, 11(6), 1984-1996. https://doi.org/10.38124/ijisrt/26jun1126 [Google Scholar] [Crossref]
2. Chen, L., Wang, Y., and Liu, H. (2025). Evaluating faithfulness and interpretability benchmarks in deep visual explanation frameworks. Journal of Artificial Intelligence Research, 74, 312–335 [Google Scholar] [Crossref]
3. Emekumeh Okpala Sanctus and Abel E. Edje: (2026) A WAKE CALL TO SEEING THE POTENTIALS OF AUTONOMOUS VEHICLES IN REVOLUTIONIZING INTELLIGENT TRANSPORTATION SYSTEMS IN NIGERIA: A MIXED-METHOD APPROACH, FUDMA Journal of Sciences (FJS) ISSN online: 2616-1370 ISSN print: 2645 – 2944,10(5), pp 112 – 122 8 DOI: https://doi.org/10.33003/fjs-2026-1005-4964 [Google Scholar] [Crossref]
4. Emekumeh Okpala Sanctus, Abel E. Edje, Arnold A. Ojugo: (2026) Hybrid Attention-Based Convolutional Neural Network Model for Anomaly Detection in Autonomous Vehicular System, International Journal of Advances in Engineering and Management (IJAEM), 8(7), pp: 170-184 www.ijaem.net ISSN: 2395-5252 [Google Scholar] [Crossref]
5. Guidotti, R., et al., 2021. "A Survey on Methods for Explaining Black Box Models." ACM Computing Surveys, 51(5), pp. 1-42. [Google Scholar] [Crossref]
6. Ibobo Uchechukwu Daniel, Emekumeh Okpala Sanctus, Nwokolo Geofrey Augustine,: (2026) BALANCING PERFORMANCE AND CONSTRAINTS IN AUTONOMOUS DRIVING: A SYSTEMATIC REVIEW OF CNN TECHNIQUES, SAFETY VALIDATION, AND OPERATIONAL ROADBLOCKS IN AUTONOMOUS VEHICLES, Science World Journal 21(3) https://dx.doi.org/10.4314/swj.v21i3.56, www.scienceworldjournal.org ISSN: 1597-6343 (Online), ISSN: 2756-391X (Print) Published by Faculty of Science, Kaduna State University [Google Scholar] [Crossref]
7. Kim, J., and Patel, S. (2023). Operationalizing SOTIF and ISO 26262 compliance in deep learning systems for highly automated vehicles. IEEE Transactions on Intelligent Transportation Systems, 24(8), 8412–8426 [Google Scholar] [Crossref]
8. Li, X., and Zhang, Y. (2024). Multi-modal sensor topologies and safety challenges in high-automation autonomous driving architectures. International Journal of Automotive Technology, 25(3), 567–581 [Google Scholar] [Crossref]
9. Martinez, M., and Gomez, F. (2021). Classical machine learning versus deep learning paradigms for CAN bus intrusion and anomaly detection: A comparative study. Computers and Security, 108, 102354 [Google Scholar] [Crossref]
10. Sanctus O. E, Abel E. Edje and Arnold A. Ojugo: (2026) Driving into the Future: A Comprehensive Survey of Autonomous Vehicle Technologies, FUDMA Journal of Sciences (FJS) ISSN online: 2616-1370 ISSN print: 2645 – 2944, 10(11), pp 227 – 241 DOI: https://doi.org/10.33003/fjs-2026-1011-5142 [Google Scholar] [Crossref]
11. Wang, T., Zhao, K., and Gupta, A. (2025). Edge-deployed spatial-temporal 3D convolutional architectures for vehicular network fault isolation. IEEE Internet of Things Journal, 12(4), 3105–3119 [Google Scholar] [Crossref]
12. Zhao, R., and Nguyen, M. V. (2026). Post-hoc explanation architectures using multi-head self-attention maps and Grad-CAM++ variations. IEEE Transactions on Pattern Analysis and Machine Intelligence, 48(2), 1420–1435 [Google Scholar] [Crossref]
13. ApolloScape Open Data Platform (2021). ApolloScape Autonomous Driving Dataset: Large-scale diverse real-world autonomous driving data for 3D perception, lane segmentation, and tracking. Available online: apolloscape.auto [ApolloScape Auto]. [Google Scholar] [Crossref]
14. Geiger, A., Lenz, P., Stiller, C., & Urtasun, R. (2021). Vision meets robotics: The KITTI dataset. The International Journal of Robotics Research, 32(11), 1231–1237. [KITTI Vision Benchmark]. [Google Scholar] [Crossref]
15. Goodfellow, I. J., Shlens, J., & Szegedy, C. (2021). Explaining and harnessing adversarial examples. In Proceedings of the International Conference on Learning Representations (ICLR). (Referenced for FGSM adversarial cyber-physical attack formulations). [Google Scholar] [Crossref]
16. Madry, A., Makelov, A., Schmidt, L., Tsipras, D., & Vladu, A.(2021). Towards Deep Learning Models Resistant to Adversarial Attacks. In International Conference on Learning Representations (ICLR). (Referenced for Projected Gradient Descent (PGD) feature perturbation frameworks). [Google Scholar] [Crossref]
17. Selvaraju, R. R., Cogswell, M., Das, A., Vedantam, R., Parikh, D., & Batra, D. (2021). Grad-CAM: Visual explanations from deep networks via gradient-based localization. In Proceedings of the IEEE International Conference on Computer Vision (ICCV), 618–626. (Referenced for the Explainable AI (XAI) trust-scoring and visual attention verification modules). [Google Scholar] [Crossref]
18. Vaswani, A., Shazeer, N., Parmar, N., Uszkoreit, J., Jones, L., Gomez, A. N., Kaiser, Ł., & Polosukhin, I. (2021). Attention is all you need. In Advances in Neural Information Processing Systems (NeurIPS), 5998–6008. (Referenced for spatial-temporal hybrid attention layers used to isolate sensor anomalies). [Google Scholar] [Crossref]
Metrics
Views & Downloads
Similar Articles
- What the Desert Fathers Teach Data Scientists: Ancient Ascetic Principles for Ethical Machine-Learning Practice
- Comparative Analysis of Some Machine Learning Algorithms for the Classification of Ransomware
- Comparative Performance Analysis of Some Priority Queue Variants in Dijkstra’s Algorithm
- Transfer Learning in Detecting E-Assessment Malpractice from a Proctored Video Recordings.
- Dual-Modal Detection of Parkinson’s Disease: A Clinical Framework and Deep Learning Approach Using NeuroParkNet