Naturalistic Driving Data-Based Anomalous Driving Behavior Detection Using Hypertuned Deep Autoencoders
Abstract
:1. Introduction
- An efficient modified z-score-based autoencoder approach is proposed for detecting anomalous driving behaviors among running traffic.
- Experiments are performed on the benchmark Next Generation Simulation (NGSIM) vehicle trajectories and supporting datasets to discover anomalous driving behavior to assess our proposed approach’s performance.
- Results reveal that the proposed method detected 81 anomalous driving behaviors out of 1031 naturalistic driving behavior instances (7.86%) with an accuracy of 96.31%, without early stopping, whereas, with early stopping, our method successfully detected 147 anomalous driving behaviors (14.26%) with an accuracy of 95.25%. Results demonstrate that combining multiple parameters helps better and more efficiently categorize safe and unsafe driving behaviors.
2. Literature Review
3. Proposed Approach
3.1. Dataset
3.2. Feature Selection
3.3. Z-Score Method
- , i.e., the median value of the sample
- MAD, is calculated as follows in Equation (1):
3.4. Deep Learning Model
Algorithm 1 Anomalous driving behavior detection using deep learning |
Input: Driving Behavior data Xi, labels Yi Output: Anomaly Types Evaluation Metrics: Accuracy, Loss
|
- Minimum Processor: Core i5 (5th Generation)
- Minimum RAM: 8 GB
- No external GPU is required
- The concerned dataset;
- Software tools for data preprocessing, such as cleaning and formatting the driving data for deep learning algorithms;
- Software tools for implementing and training the deep learning model, such as TensorFlow or PyTorch.
4. Results and Discussion
4.1. Standard (without Early Stopping)
4.2. Using Early-Stopping
5. Conclusions and Future Work
Author Contributions
Funding
Institutional Review Board Statement
Informed Consent Statement
Data Availability Statement
Conflicts of Interest
References
- Sajid, F.; Javed, A.R.; Basharat, A.; Kryvinska, N.; Afzal, A.; Rizwan, M. An efficient deep learning framework for distracted driver detection. IEEE Access 2021, 9, 169270–169280. [Google Scholar] [CrossRef]
- Min, H.; Fang, Y.; Wu, X.; Lei, X.; Chen, S.; Teixeira, R.; Zhu, B.; Zhao, X. A Fault Diagnosis Framework for Autonomous Vehicles with Sensor Self-Diagnosis. Expert Syst. Appl. 2023, 120002. [Google Scholar] [CrossRef]
- Javed, A.R.; Shahzad, F.; ur Rehman, S.; Zikria, Y.B.; Razzak, I.; Jalil, Z.; Xu, G. Future smart cities requirements, emerging technologies, applications, challenges, and future aspects. Cities 2022, 129, 103794. [Google Scholar] [CrossRef]
- Xu, J.; Park, S.H.; Zhang, X.; Hu, J. The improvement of road driving safety guided by visual inattentional blindness. IEEE Trans. Intell. Transp. Syst. 2021, 23, 4972–4981. [Google Scholar] [CrossRef]
- Xiao, Z.; Fang, H.; Jiang, H.; Bai, J.; Havyarimana, V.; Chen, H.; Jiao, L. Understanding private car aggregation effect via spatio-temporal analysis of trajectory data. IEEE Trans. Cybern. 2023, 53, 2346–2357. [Google Scholar] [CrossRef] [PubMed]
- Javed, A.R.; Ahmed, W.; Pandya, S.; Maddikunta, P.K.R.; Alazab, M.; Gadekallu, T.R. A Survey of Explainable Artificial Intelligence for Smart Cities. Electronics 2023, 12, 1020. [Google Scholar] [CrossRef]
- Javed, A.R.; Hassan, M.A.; Shahzad, F.; Ahmed, W.; Singh, S.; Baker, T.; Gadekallu, T.R. Integration of blockchain technology and federated learning in vehicular (iot) networks: A comprehensive survey. Sensors 2022, 22, 4394. [Google Scholar] [CrossRef] [PubMed]
- Beshah, T.; Ejigu, D.; Abraham, A.; Snasel, V.; Kromer, P. Pattern recognition and knowledge discovery from road traffic accident data in ethiopia: Implications for improving road safety. In Proceedings of the 2011 World Congress on Information and Communication Technologies, Mumbai, India, 11–14 December 2011; pp. 1241–1246. [Google Scholar]
- Hadi, A.S.; Imon, A.R.; Werner, M. Detection of outliers. Wiley Interdiscip. Rev. Comput. Stat. 2009, 1, 57–70. [Google Scholar] [CrossRef]
- Rodrigues, J. Outliers Make Us Go MAD: Univariate Outlier Detection. 2018. Available online: https://medium.com/@joaopedroferrazrodrigues/outliers-make-us-go-mad-univariate-outlier-detection-3a72f1ea8c7 (accessed on 26 January 2023).
- Zhang, H.; Luo, G.; Li, J.; Wang, F.Y. C2FDA: Coarse-to-fine domain adaptation for traffic object detection. IEEE Trans. Intell. Transp. Syst. 2021, 23, 12633–12647. [Google Scholar] [CrossRef]
- Javed, A.R.; Usman, M.; Rehman, S.U.; Khan, M.U.; Haghighi, M.S. Anomaly detection in automated vehicles using multistage attention-based convolutional neural network. IEEE Trans. Intell. Transp. Syst. 2020, 22, 4291–4300. [Google Scholar] [CrossRef]
- Wang, H.; Gao, Q.; Li, H.; Wang, H.; Yan, L.; Liu, G. A structural evolution-based anomaly detection method for generalized evolving social networks. Comput. J. 2022, 65, 1189–1199. [Google Scholar] [CrossRef]
- Wang, F.; Wang, H.; Zhou, X.; Fu, R. A Driving Fatigue Feature Detection Method Based on Multifractal Theory. IEEE Sens. J. 2022, 22, 19046–19059. [Google Scholar] [CrossRef]
- Xu, J.; Zhang, X.; Park, S.H.; Guo, K. The alleviation of perceptual blindness during driving in urban areas guided by saccades recommendation. IEEE Trans. Intell. Transp. Syst. 2022, 23, 16386–16396. [Google Scholar] [CrossRef]
- Tejada, A.; Legius, M.J. Towards a quantitative “safety” metric for autonomous vehicles. In Proceedings of the 26th International Technical Conference on the Enhanced Safety of Vehicles (ESV), Eindhoven, The Netherlands, 10–13 June 2019. [Google Scholar]
- Xu, J.; Guo, K.; Sun, P.Z. Driving performance under violations of traffic rules: Novice vs. experienced drivers. IEEE Trans. Intell. Veh. 2022, 7, 908–917. [Google Scholar] [CrossRef]
- Shinar, D. Traffic Safety and Human Behavior; Emerald Group Publishing: Bingley, UK, 2017. [Google Scholar]
- Belin, M.; Johansson, R.; Lindberg, J.; Tingvall, C. The Vision Zero and its consequences. In Proceedings of the 4th International Conference on Safety and the Environment in the 21st Century, Vienna, Austria, 23–27 November 1997; pp. 23–27. [Google Scholar]
- Yao, Z.; Yoon, H.S. Control strategy for hybrid electric vehicle based on online driving pattern classification. SAE Int. J. Altern. Powertrains 2019, 8, 91–102. [Google Scholar] [CrossRef]
- Schwarting, W.; Pierson, A.; Alonso-Mora, J.; Karaman, S.; Rus, D. Social behavior for autonomous vehicles. Proc. Natl. Acad. Sci. USA 2019, 116, 24972–24978. [Google Scholar] [CrossRef] [PubMed]
- Juhlin, O. Traffic behaviour as social interaction-implications for the design of artificial drivers. In Proceedings of the 6th World Congress on Intelligent Transport Systems (ITS), Toronto, ON, Canada, 8–12 November 1999. [Google Scholar]
- Kim, K.; Kim, J.S.; Jeong, S.; Park, J.H.; Kim, H.K. Cybersecurity for autonomous vehicles: Review of attacks and defense. Comput. Secur. 2021, 103, 102150. [Google Scholar] [CrossRef]
- Xu, J.; Pan, S.; Sun, P.Z.; Park, S.H.; Guo, K. Human-Factors-in-Driving-Loop: Driver Identification and Verification via a Deep Learning Approach using Psychological Behavioral Data. IEEE Trans. Intell. Transp. Syst. 2022, 24, 3383–3394. [Google Scholar] [CrossRef]
- Xiao, Z.; Shu, J.; Jiang, H.; Min, G.; Chen, H.; Han, Z. Perception Task Offloading with Collaborative Computation for Autonomous Driving. IEEE J. Sel. Areas Commun. 2023, 41, 457–473. [Google Scholar] [CrossRef]
- De La Torre, G.; Rad, P.; Choo, K.K.R. Driverless vehicle security: Challenges and future research opportunities. Future Gener. Comput. Syst. 2020, 108, 1092–1111. [Google Scholar] [CrossRef]
- Chen, P.; Wu, J.; Li, N. A Personalized Navigation Route Recommendation Strategy Based on Differential Perceptron Tracking User’s Driving Preference. Comput. Intell. Neurosci. 2023, 2023, 8978398. [Google Scholar] [CrossRef]
- Eziama, E.; Awin, F.; Ahmed, S.; Marina Santos-Jaimes, L.; Pelumi, A.; Corral-De-Witt, D. Detection and identification of malicious cyber-attacks in connected and automated vehicles’ real-time sensors. Appl. Sci. 2020, 10, 7833. [Google Scholar] [CrossRef]
- Tejada, A.; Manders, J.; Snijders, R.; Paardekooper, J.P.; de Hair-Buijssen, S. Towards a Characterization of Safe Driving Behavior for Automated Vehicles Based on Models of “Typical” Human Driving Behavior. In Proceedings of the 2020 IEEE 23rd International Conference on Intelligent Transportation Systems (ITSC), Rhodes, Greece, 20–23 September 2020; pp. 1–6. [Google Scholar]
- Cao, B.; Zhang, W.; Wang, X.; Zhao, J.; Gu, Y.; Zhang, Y. A memetic algorithm based on two_Arch2 for multi-depot heterogeneous-vehicle capacitated arc routing problem. Swarm Evol. Comput. 2021, 63, 100864. [Google Scholar] [CrossRef]
- Wang, Y.; Masoud, N.; Khojandi, A. Real-time sensor anomaly detection and recovery in connected automated vehicle sensors. IEEE Trans. Intell. Transp. Syst. 2020, 22, 1411–1421. [Google Scholar] [CrossRef]
- Svensson, Å.; Hydén, C. Estimating the severity of safety related behaviour. Accid. Anal. Prev. 2006, 38, 379–385. [Google Scholar] [CrossRef] [PubMed]
- Zhou, C.; Paffenroth, R.C. Anomaly detection with robust deep autoencoders. In Proceedings of the 23rd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, Halifax, NS, Canada, 13–17 August 2017; pp. 665–674. [Google Scholar]
- Wang, X.; Mavromatis, I.; Tassi, A.; Santos-Rodriguez, R.; Piechocki, R.J. Location anomalies detection for connected and autonomous vehicles. In Proceedings of the 2019 IEEE 2nd Connected and Automated Vehicles Symposium (CAVS), Honolulu, HI, USA, 22–23 September 2019; pp. 1–5. [Google Scholar]
- Miglani, A.; Kumar, N. Deep learning models for traffic flow prediction in autonomous vehicles: A review, solutions, and challenges. Veh. Commun. 2019, 20, 100184. [Google Scholar] [CrossRef]
- Liu, W.; Quijano, K.; Crawford, M.M. YOLOv5-Tassel: Detecting tassels in RGB UAV imagery with improved YOLOv5 based on transfer learning. IEEE J. Sel. Top. Appl. Earth Obs. Remote. Sens. 2022, 15, 8085–8094. [Google Scholar] [CrossRef]
- Xia, X.; Hashemi, E.; Xiong, L.; Khajepour, A. Autonomous Vehicle Kinematics and Dynamics Synthesis for Sideslip Angle Estimation Based on Consensus Kalman Filter. IEEE Trans. Control. Syst. Technol. 2022, 31, 179–192. [Google Scholar] [CrossRef]
- Xia, X.; Xiong, L.; Huang, Y.; Lu, Y.; Gao, L.; Xu, N.; Yu, Z. Estimation on IMU yaw misalignment by fusing information of automotive onboard sensors. Mech. Syst. Signal Process. 2022, 162, 107993. [Google Scholar] [CrossRef]
- Liu, W.; Xia, X.; Xiong, L.; Lu, Y.; Gao, L.; Yu, Z. Automated vehicle sideslip angle estimation considering signal measurement characteristic. IEEE Sens. J. 2021, 21, 21675–21687. [Google Scholar] [CrossRef]
- Xiong, L.; Xia, X.; Lu, Y.; Liu, W.; Gao, L.; Song, S.; Yu, Z. IMU-based automated vehicle body sideslip angle and attitude estimation aided by GNSS using parallel adaptive Kalman filters. IEEE Trans. Veh. Technol. 2020, 69, 10668–10680. [Google Scholar] [CrossRef]
- Gao, L.; Xiong, L.; Xia, X.; Lu, Y.; Yu, Z.; Khajepour, A. Improved vehicle localization using on-board sensors and vehicle lateral velocity. IEEE Sens. J. 2022, 22, 6818–6831. [Google Scholar] [CrossRef]
- Dot, U. Next Generation Simulation (NGSIM) Vehicle Trajectories and Supporting Data; US Department of Transportation: Washington, DC, USA, 2018.
Ref. | Focus | Proposed Approach | Dataset | Results | Limitations |
---|---|---|---|---|---|
[28] | Identification of Malicious Cyber Attacks | Bayesian deep learning (BDL) combined with the discrete wavelet transform (DWT) | Veremi (i.e., vehicle comparison misbehavior) | Performance gain as compared to CNN | Poor performance on low network density |
[29] | Characterization of Autonomous Cars’ Safe Driving Behavior | DL model (Autoencoders) | Longitudinal, naturalistic driving data (from NGSIM) | Distinguish between normal (safe) and abnormal (unsafe) driving styles | Outliers and longitudinal interactions between two vehicles were considered |
[31] | Real-Time Sensor Anomaly Detection | One Class Support Vector Machine models | Self Generated | Better anomaly detection and time delay factor PoC | Only single vehicle sensor data are used |
Hyperparameter | Value |
---|---|
Batch Size | 100 |
Epochs | 50 |
Activation Function | elu |
Optimizer | adam |
Loss Function | mse |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2023 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Abbas, S.; Malik, M.O.; Javed, A.R.; Hong, S.-P. Naturalistic Driving Data-Based Anomalous Driving Behavior Detection Using Hypertuned Deep Autoencoders. Electronics 2023, 12, 2072. https://doi.org/10.3390/electronics12092072
Abbas S, Malik MO, Javed AR, Hong S-P. Naturalistic Driving Data-Based Anomalous Driving Behavior Detection Using Hypertuned Deep Autoencoders. Electronics. 2023; 12(9):2072. https://doi.org/10.3390/electronics12092072
Chicago/Turabian StyleAbbas, Shafqat, Muhammad Ozair Malik, Abdul Rehman Javed, and Seng-Phil Hong. 2023. "Naturalistic Driving Data-Based Anomalous Driving Behavior Detection Using Hypertuned Deep Autoencoders" Electronics 12, no. 9: 2072. https://doi.org/10.3390/electronics12092072
APA StyleAbbas, S., Malik, M. O., Javed, A. R., & Hong, S.-P. (2023). Naturalistic Driving Data-Based Anomalous Driving Behavior Detection Using Hypertuned Deep Autoencoders. Electronics, 12(9), 2072. https://doi.org/10.3390/electronics12092072