arXiv:2604.20771cs.CRcs.AI2026-04被引 1

轻量级模型实时检测车联网CAN攻击,准确率达99.96%

DAIRE: A lightweight AI model for real-time detection of Controller Area Network attacks in the Internet of Vehicles

  • 基于轻量神经网络设计,逐层递增神经元数量提升效率
  • 在两个数据集上实现99.88%检测率、0.02%误报率
  • 每样本分类仅需0.03毫秒,适合车载实时部署

车联网(IoV)正推动交通智能化,但其依赖的控制器局域网(CAN)通信易受网络攻击。为此,本文提出DAIRE(Real-time Detection of IoV Attacks),一种轻量级机器学习框架,用于实时检测与分类多种CAN攻击(如拒绝服务、模糊攻击、欺骗攻击)。该模型基于轻量人工神经网络(ANN),每层神经元数为Ni = i × c,其中c为攻击类别总数,其余超参数经实验确定以保障实时性。采用稀疏分类交叉熵损失函数与均方根传播优化性能。在CICIoV2024和Car-Hacking数据集上的实验表明,DAIRE平均检测率达99.88%,误报率为0.02%,整体准确率达99.96%。推理速度优于现有方法,单样本分类仅需0.03毫秒,具备实际部署潜力。

原文摘要 · Abstract (English)

The Internet of Vehicles (IoV) is advancing modern transportation by improving safety, efficiency, and intelligence. However, the reliance on the Controller Area Network (CAN) introduces critical security risks, as CAN-based communication is highly vulnerable to cyberattacks. Addressing this challenge, we propose DAIRE (Detecting Attacks in IoV in REal-time), a lightweight machine learning framework designed for real-time detection and classification of CAN attacks. DAIRE is built on a lightweight artificial neural network (ANN) where each layer contains Ni = i x c neurons, with Ni representing the number of neurons in the ith layer and c corresponding to the total number of attack classes. Other hyperparameters are determined empirically to ensure real-time operation. To support the detection and classification of various IoV attacks, such as Denial-of-Service, Fuzzy, and Spoofing, DAIRE employs the sparse categorical cross-entropy loss function and root mean square propagation for loss minimization. In contrast to more resource-intensive architectures, DAIRE leverages a lightweight ANN to reduce computational demands while still delivering strong performance. Experimental results on the CICIoV2024 and Car-Hacking datasets demonstrate DAIRE's effectiveness, achieving an average detection rate of 99.88%, a false positive rate of 0.02%, and an overall accuracy of 99.96%. Furthermore, DAIRE significantly outperforms state-of-the-art approaches in inference speed, with a classification time of just 0.03 ms per sample. These results highlight DAIRE's effectiveness in detecting IoV cyberattacks and its practical suitability for real-time deployment in vehicular systems, underscoring its vital role in strengthening automotive cybersecurity.

车联网安全轻量模型实时检测神经网络

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。