Saved in:
Bibliographic Details
Main Authors: Lebaku, Prathyush Kumar Reddy, Gao, Lu, Zhang, Yunpeng, Li, Zhixia, Liu, Yongxin, Arafin, Tanvir
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2506.22984
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866912455946403840
author Lebaku, Prathyush Kumar Reddy
Gao, Lu
Zhang, Yunpeng
Li, Zhixia
Liu, Yongxin
Arafin, Tanvir
author_facet Lebaku, Prathyush Kumar Reddy
Gao, Lu
Zhang, Yunpeng
Li, Zhixia
Liu, Yongxin
Arafin, Tanvir
contents Anomaly detection in connected autonomous vehicles (CAVs) is crucial for maintaining safe and reliable transportation networks, as CAVs can be susceptible to sensor malfunctions, cyber-attacks, and unexpected environmental disruptions. This study explores an anomaly detection approach by simulating vehicle behavior, generating a dataset that represents typical and atypical vehicular interactions. The dataset includes time-series data of position, speed, and acceleration for multiple connected autonomous vehicles. We utilized machine learning models to effectively identify abnormal driving patterns. First, we applied a stacked Long Short-Term Memory (LSTM) model to capture temporal dependencies and sequence-based anomalies. The stacked LSTM model processed the sequential data to learn standard driving behaviors. Additionally, we deployed a Random Forest model to support anomaly detection by offering ensemble-based predictions, which enhanced model interpretability and performance. The Random Forest model achieved an R2 of 0.9830, MAE of 5.746, and a 95th percentile anomaly threshold of 14.18, while the stacked LSTM model attained an R2 of 0.9998, MAE of 82.425, and a 95th percentile anomaly threshold of 265.63. These results demonstrate the models' effectiveness in accurately predicting vehicle trajectories and detecting anomalies in autonomous driving scenarios.
format Preprint
id arxiv_https___arxiv_org_abs_2506_22984
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Cybersecurity-Focused Anomaly Detection in Connected Autonomous Vehicles Using Machine Learning
Lebaku, Prathyush Kumar Reddy
Gao, Lu
Zhang, Yunpeng
Li, Zhixia
Liu, Yongxin
Arafin, Tanvir
Machine Learning
Anomaly detection in connected autonomous vehicles (CAVs) is crucial for maintaining safe and reliable transportation networks, as CAVs can be susceptible to sensor malfunctions, cyber-attacks, and unexpected environmental disruptions. This study explores an anomaly detection approach by simulating vehicle behavior, generating a dataset that represents typical and atypical vehicular interactions. The dataset includes time-series data of position, speed, and acceleration for multiple connected autonomous vehicles. We utilized machine learning models to effectively identify abnormal driving patterns. First, we applied a stacked Long Short-Term Memory (LSTM) model to capture temporal dependencies and sequence-based anomalies. The stacked LSTM model processed the sequential data to learn standard driving behaviors. Additionally, we deployed a Random Forest model to support anomaly detection by offering ensemble-based predictions, which enhanced model interpretability and performance. The Random Forest model achieved an R2 of 0.9830, MAE of 5.746, and a 95th percentile anomaly threshold of 14.18, while the stacked LSTM model attained an R2 of 0.9998, MAE of 82.425, and a 95th percentile anomaly threshold of 265.63. These results demonstrate the models' effectiveness in accurately predicting vehicle trajectories and detecting anomalies in autonomous driving scenarios.
title Cybersecurity-Focused Anomaly Detection in Connected Autonomous Vehicles Using Machine Learning
topic Machine Learning
url https://arxiv.org/abs/2506.22984