arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2401.11030cs.CRcs.ARcs.LGcs.SYeess.SY
收藏

探索用于汽车CAN入侵检测的高度量化神经网络

Exploring Highly Quantised Neural Networks for Intrusion Detection in Automotive CAN

Trinity College Dublin(都柏林圣三一大学)

Shashwat Khandelwal, Shreejith Shanker

AI总结:

本文提出2位自定义量化MLP(CQMLP)用于汽车CAN多攻击入侵检测,并通过FINN在XCZU7EV上实现低延迟、低能耗的数据流硬件部署。

摘要:

当今车辆包含网联自动驾驶和高级驾驶辅助系统(ADAS)等智能系统,以提升驾驶体验;这得益于与基础设施连接性的增强,以及来自不同传感模式的信息融合。然而,不断提升的连接性与车辆内部的传统网络架构相结合,可能被利用来对关键车辆系统发起主动和被动攻击,并直接影响乘客安全。近期文献表明,基于机器学习的入侵检测模型能够成功检测多种目标攻击向量,而面向低功耗平台的量化神经网络使其部署成为可能。为同时检测多种攻击向量,通常需要多个模型,这会增加面积、(资源)成本和能耗。本文提出使用自定义量化MLP(CQMLP)作为多类分类模型的方案,该模型能够从控制器局域网(CAN)消息的正常流量中检测多种攻击。具体的量化方式和神经架构通过联合设计空间探索确定,最终选择2位精度和n层MLP。我们的2位版本使用Brevitas训练,并通过AMD/Xilinx的FINN工具流优化为数据流硬件模型,目标器件为XCZU7EV。结果表明,2位CQMLP模型在作为IDS集成时,能够检测恶意攻击消息(DoS、模糊测试和欺骗攻击),准确率高达99.9%,与文献中的最先进方法相当。此外,该数据流模型可实现线速检测,从接收消息起延迟为0.11 ms,每次推理消耗0.23 mJ,非常适合集成到关键CAN网络中的ECU。

英文摘要:

Vehicles today comprise intelligent systems like connected autonomous driving and advanced driving assistance systems (ADAS) to enhance the driving experience, which is enabled through increased connectivity to infrastructure and fusion of information from different sensing modes. However, the rising connectivity coupled with the legacy network architecture within vehicles can be exploited for launching active and passive attacks on critical vehicle systems and directly affecting the safety of passengers. Machine learning-based intrusion detection models have been shown to successfully detect multiple targeted attack vectors in recent literature, whose deployments are enabled through quantised neural networks targeting low-power platforms. Multiple models are often required to simultaneously detect multiple attack vectors, increasing the area, (resource) cost, and energy consumption. In this paper, we present a case for utilising custom-quantised MLP's (CQMLP) as a multi-class classification model, capable of detecting multiple attacks from the benign flow of controller area network (CAN) messages. The specific quantisation and neural architecture are determined through a joint design space exploration, resulting in our choice of the 2-bit precision and the n-layer MLP. Our 2-bit version is trained using Brevitas and optimised as a dataflow hardware model through the FINN toolflow from AMD/Xilinx, targeting an XCZU7EV device. We show that the 2-bit CQMLP model, when integrated as the IDS, can detect malicious attack messages (DoS, fuzzing, and spoofing attack) with a very high accuracy of 99.9%, on par with the state-of-the-art methods in the literature. Furthermore, the dataflow model can perform line rate detection at a latency of 0.11 ms from message reception while consuming 0.23 mJ/inference, making it ideally suited for integration with an ECU in critical CAN networks.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑