[Paper Review] A Transfer Learning and Optimized CNN Based Intrusion Detection System for Internet of Vehicles
This paper proposes a transfer learning and hyper-parameter optimized CNN-based intrusion detection system (IDS) for the Internet of Vehicles (IoV), transforming network traffic into images for enhanced attack pattern recognition. Using Particle Swarm Optimization (PSO) to tune five pre-trained CNN models (VGG16, VGG19, Xception, Inception, InceptionResNet) and ensemble learning via confidence averaging and concatenation, the system achieves over 99.25% F1-score on both Car-Hacking and CICIDS2017 datasets, demonstrating high accuracy and real-time feasibility with test times under 3.2 ms per packet.
Modern vehicles, including autonomous vehicles and connected vehicles, are increasingly connected to the external world, which enables various functionalities and services. However, the improving connectivity also increases the attack surfaces of the Internet of Vehicles (IoV), causing its vulnerabilities to cyber-threats. Due to the lack of authentication and encryption procedures in vehicular networks, Intrusion Detection Systems (IDSs) are essential approaches to protect modern vehicle systems from network attacks. In this paper, a transfer learning and ensemble learning-based IDS is proposed for IoV systems using convolutional neural networks (CNNs) and hyper-parameter optimization techniques. In the experiments, the proposed IDS has demonstrated over 99.25% detection rates and F1-scores on two well-known public benchmark IoV security datasets: the Car-Hacking dataset and the CICIDS2017 dataset. This shows the effectiveness of the proposed IDS for cyber-attack detection in both intra-vehicle and external vehicular networks.
Motivation & Objective
- To address the growing cyber-attack surface in connected and autonomous vehicles due to insufficient authentication and encryption in vehicular networks.
- To develop a high-accuracy, real-time intrusion detection system (IDS) for both intra-vehicle (CAN-based) and external vehicular networks.
- To improve detection performance by transforming network traffic into image representations for better CNN-based pattern recognition.
- To optimize CNN models using Particle Swarm Optimization (PSO) for enhanced feature learning and classification.
- To enhance detection robustness and accuracy through ensemble learning strategies (confidence averaging and concatenation).
Proposed method
- Transforms raw vehicle network traffic data into 2D image representations using a chunk-based data transformation method to visualize temporal and pattern features.
- Employs five pre-trained deep CNN architectures—VGG16, VGG19, Xception, Inception, and InceptionResNet—as base learners for transfer learning.
- Applies Particle Swarm Optimization (PSO) to tune hyper-parameters of the CNN models, improving model generalization and detection accuracy.
- Integrates the optimized base models using two ensemble learning techniques: confidence averaging and feature concatenation, to boost overall performance.
- Trains and evaluates the ensemble models on two public IoV security datasets: Car-Hacking (intra-vehicle) and CICIDS2017 (external network).
- Evaluates real-time feasibility by measuring test time per packet on a Raspberry Pi, ensuring compliance with real-time vehicular network constraints.
Experimental results
Research questions
- RQ1Can transforming vehicle network traffic into image form improve the performance of CNN-based intrusion detection in IoV systems?
- RQ2How effective is Particle Swarm Optimization (PSO) in tuning CNN hyper-parameters for intrusion detection on IoV datasets?
- RQ3Do ensemble learning strategies (confidence averaging and concatenation) significantly improve detection accuracy and F1-score compared to individual models?
- RQ4Can the proposed IDS achieve high detection performance with low inference latency suitable for real-time deployment in vehicle systems?
- RQ5How does the proposed framework compare to state-of-the-art IDS methods in terms of F1-score, accuracy, and inference speed on benchmark IoV datasets?
Key findings
- The proposed IDS achieved 100% F1-score on the Car-Hacking dataset, outperforming all compared state-of-the-art methods by at least 0.09%.
- On the CICIDS2017 dataset, the confidence averaging ensemble model achieved a 99.925% F1-score, the highest among all evaluated models.
- The confidence averaging ensemble method required only 1.5 ms per packet for inference, meeting the real-time requirement of 10 ms per packet for vehicular networks.
- The total training time for the confidence averaging ensemble was 2,658.1 seconds, significantly lower than the 3,598.7 seconds required by the concatenation method.
- All PSO-optimized base models achieved F1-scores above 99.67% on the CICIDS2017 dataset, demonstrating the effectiveness of hyper-parameter tuning.
- The image-based data transformation method enabled clear visual distinction of attack patterns, especially in the Car-Hacking dataset, contributing to high detection performance.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.