DAIRE detects CAN attacks with 99.96% accuracy in 0.03 ms
DAIRE achieves 99.96% overall accuracy, 99.88% detection rate, 0.02% false positive rate, and 0.03 ms inference per sample on CAN attack datasets
AI/ML arXiv 22 Apr 2026 Method Prototype evidence
Published as “DAIRE: A lightweight AI model for real-time detection of Controller Area Network attacks in the Internet of Vehicles”
Why it matters
The model’s sub-millisecond latency and tiny memory footprint make it practical for deployment on embedded automotive controllers, enabling real-time intrusion detection without adding significant computational load.
Summary
DAIRE achieves near-perfect detection of CAN-bus attacks, reporting a 99.88% detection rate, 0.02% false-positive rate and 99.96% overall accuracy across the CICIoV2024 and Car-Hacking datasets, while classifying each sample in just 0.03 ms. The evidence comes from the authors’ own benchmark results; however, the paper notes a slight drop to 99.78% detection and 0.04% false-positive on the larger Car-Hacking set, indicating the headline numbers are an average across datasets.
What they found 4
- Average detection rate 99.88%, false-positive rate 0.02%, accuracy 99.96% on benchmark datasets.
“achieving an average detection rate of 99.88%, a false positive rate of 0.02%, and an overall accuracy of 99.96%.”
- Inference time of 0.03 ms per sample with 0.35 KB memory usage.
“classification time of just 0.03 ms per sample”
- On the Car-Hacking dataset (3,259,649 messages) detection rate 99.78%, false-positive 0.04%, accuracy 99.93%.
“When tested on the larger (with a total number of 3,259,649 CAN messages) dataset Car-Hacking, DAIRE achieved an average DR of 99.78% and a FPR of 0.04% with an accuracy of 99.93%.”
- Compared to six works, DAIRE attains the fastest classification time (0.03 ms) and smallest memory (0.35 KB).
“DAIRE 99.78% 0.04% 0.03 ms 0.35 KB Car-Hacking Intel i7-7700; 3.6 GHz; single core. CAN data to decimal; Lightweight ANN.”
Caveats 5
- Performance on the larger Car-Hacking dataset drops to 99.78% detection and 0.04% false-positive, slightly below the reported average of 99.88%/0.02%.
- The authors acknowledge that hyperparameters were tuned for the CICIoV2024 dataset, which may limit generalizability to other datasets.
- Although DAIRE’s lightweight design and CAN-specific constraints, including message formats and permissible value ranges, may limit the feasibility of adversarial attacks, attackers familiar with CAN could still craft convincing injections or alter message sequences. Thus, DAIRE’s robustness against adversarial scenarios cannot be taken for granted.
- DAIRE is evaluated using datasets for wired networks that contain specific attacks, such as DoS, fuzzy, and spoofing. In the future, we would like to evaluate DAIRE against other types of generalized datasets that also contain malicious activities related to mobility features and data with varying traffic conditions, such as routing attacks, speed of vehicle, and distance between vehicles, etc.
- The results presented in Table 7 show that DAIRE performs slightly better on the CICIoV2024 dataset compared to the Car-Hacking dataset. This difference in performance can be attributed to the hyperparameters of DAIRE being specifically tuned for the CICIoV2024 dataset.
What’s new here 4
- A neuron allocation formula (Ni = i × c) that scales layer size with the number of attack classes.
- Use of sparse categorical cross-entropy loss and RMSprop optimizer for efficient training on CAN data.
- Demonstrated real-time inference of 0.03 ms per sample with only 0.35 KB memory footprint.
- Evaluation on two public CAN-bus attack datasets showing high accuracy and low latency compared to prior deep-learning approaches.