In-Vehicle CAN Intrusion Detection With Lightweight Ensemble Models
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing intrusion detection methods for in-vehicle controller area networks face challenges due to high computation costs and inefficiencies, particularly in environments with limited computing capability, and are not suitable for real-time detection of network attacks.
Innovation Solution
A method utilizing particle swarm optimization (PSO)-light gradient boosting machine (LightGBM) bidirectional feature selection and a stacking integrated model, combined with clustering and mixed sampling techniques, to enhance detection accuracy and reduce training time, including data preprocessing, feature selection, and model integration.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If deep learning methods are used for intrusion detection, then detection accuracy is improved, but computation cost increases
Solution Approach 1:
The patent segments the intrusion detection task into two distinct phases: an offline training phase that uses deep learning methods to build comprehensive detection models, and an online detection phase that employs lightweight inference algorithms. This segmentation allows the system to leverage the high accuracy of deep learning during training while minimizing computation costs during real-time operation in resource-constrained in-vehicle environments.
Solution Approach 2:
The patent performs preliminary action by pre-training deep learning models offline using extensive datasets and computational resources. The trained models are then deployed to in-vehicle systems where they perform lightweight inference. This preliminary training phase captures complex attack patterns beforehand, enabling efficient real-time detection without requiring heavy computation during actual intrusion detection in the vehicle.
2Productivity
If traditional machine learning algorithms are used, then computation efficiency is improved, but detection accuracy decreases
Solution Approach 1:
The patent merges multiple machine learning algorithms (Random Forest, XGBoost, LightGBM) into an ensemble system that leverages the strengths of each individual algorithm. By combining these models, the system achieves higher detection accuracy than any single algorithm could provide alone, while maintaining computational efficiency through optimized inference processes suitable for in-vehicle environments.
Solution Approach 2:
The patent creates a composite detection system that integrates multiple algorithmic 'materials' with different properties. Each machine learning algorithm contributes unique detection capabilities, and their combination forms a robust composite model that achieves high accuracy while maintaining computational efficiency. This composite approach allows the system to benefit from diverse detection strategies simultaneously.
3Measurement precision
If more features are used for detection, then detection accuracy is improved, but model complexity increases
Solution Approach 1:
The patent extracts and selects only the most discriminative features from a large pool of potential features using feature importance analysis and selection algorithms. This extraction process identifies and retains the critical features that contribute most to detection accuracy while discarding redundant or less informative features, thereby reducing model complexity without significantly compromising detection performance.
Solution Approach 2:
The patent applies local quality by assigning different weights and importance levels to different features based on their discriminatory power. Rather than treating all features uniformly, the system identifies specific high-value features that are locally optimal for detecting particular types of intrusions, creating a more efficient and less complex model structure that focuses computational resources on the most informative features.
Data Source
AI summary
The present disclosure belongs to the technical field of security of the Internet of vehicles, and discloses an intrusion detection method and device for an in-vehicle controller area network. The method of the present disclosure includes: digitizing and normalizing collected original data, obtaining preprocessed data, and dividing the preprocessed data into a training set and a test set; conducting feature selection on the preprocessed data through a particle swarm optimization (PSO)-light gradient boosting machine (GBM) bidirectional feature selection method; and classifying test set data subjected to the feature selection with a stacking integrated model, and obtaining an intrusion detection result. The present disclosure is configured to efficiently and accurately detect intrusion information appearing in the in-vehicle controller area network, and prevent security incidents of the Internet of vehicles caused by intrusion into the in-vehicle controller area network.


