Attention Driven CNN-Transformer Framework for Intrusion Detection in Internet of Vehicles

The Internet of Vehicles (IoV) has emerged as a vital enabler of Intelligent Transportation Systems (ITS), offering seamless communication between vehicles, roadside units, and cloud servers. By enabling real-time data exchange, IoV improves traffic monitoring, collision avoidance, fleet management, and autonomous driving. However, the openness of wireless vehicular communication makes IoV networks highly vulnerable to cyber threats such as denial-of-service (DoS), probing, spoofing, and malware propagation. These threats compromise service availability and data integrity, ultimately endangering human safety. Thus, intrusion detection becomes a crucial layer of defense. Traditional intrusion detection methods based on machine learning, such as Support Vector Machines (SVM), Decision Trees, and Random Forests, perform satisfactorily on structured data but struggle with the high-dimensional and dynamic nature of IoV traffic. Similarly, standalone deep learning models like Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks capture spatial or temporal patterns independently, but fail to combine both effectively, leading to detection limitations in complex vehicular environments. To address this challenge, a hybrid CNN–Transformer framework is proposed in this paper. The CNN module extracts discriminative spatial features from vehicular traffic records, while the Transformer encoder employs a self-attention mechanism to model long-range temporal dependencies. Experimental validation on the UNSW-NB15 dataset demonstrates that the proposed model achieves 98% detection accuracy with superior precision, recall, and F1-score compared to baseline methods. These results highlight the robustness of the CNN–Transformer IDS in identifying both common and rare categories of IoV cyberattacks.

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2025-09-22
DOI
https://doi.org/10.5281/zenodo.17177943
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Attention Driven CNN-Transformer Framework for Intrusion Detection in Internet of Vehicles

Zenodo (CERN European Organization for Nuclear Research)
Stock Market Forecasting Methods
article

Attention Driven CNN-Transformer Framework for Intrusion Detection in Internet of Vehicles

article en

Abstract

The Internet of Vehicles (IoV) has emerged as a vital enabler of Intelligent Transportation Systems (ITS), offering seamless communication between vehicles, roadside units, and cloud servers. By enabling real-time data exchange, IoV improves traffic monitoring, collision avoidance, fleet management, and autonomous driving. However, the openness of wireless vehicular communication makes IoV networks highly vulnerable to cyber threats such as denial-of-service (DoS), probing, spoofing, and malware propagation. These threats compromise service availability and data integrity, ultimately endangering human safety. Thus, intrusion detection becomes a crucial layer of defense. Traditional intrusion detection methods based on machine learning, such as Support Vector Machines (SVM), Decision Trees, and Random Forests, perform satisfactorily on structured data but struggle with the high-dimensional and dynamic nature of IoV traffic. Similarly, standalone deep learning models like Convolutional Neural Networks (CNNs) and Long Short-Term Memory (LSTM) networks capture spatial or temporal patterns independently, but fail to combine both effectively, leading to detection limitations in complex vehicular environments. To address this challenge, a hybrid CNN–Transformer framework is proposed in this paper. The CNN module extracts discriminative spatial features from vehicular traffic records, while the Transformer encoder employs a self-attention mechanism to model long-range temporal dependencies. Experimental validation on the UNSW-NB15 dataset demonstrates that the proposed model achieves 98% detection accuracy with superior precision, recall, and F1-score compared to baseline methods. These results highlight the robustness of the CNN–Transformer IDS in identifying both common and rare categories of IoV cyberattacks.

Zenodo (CERN European Organization for Nuclear Research)
Reduced inequalities
Openalex Percentile: Top 40%
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.