Anomaly Detection of CAN Bus Messages Using a Deep Neural Network for Autonomous Vehicles
Open Access
- 4 August 2019
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 9 (15), 3174
- https://doi.org/10.3390/app9153174
Abstract
The in-vehicle controller area network (CAN) bus is one of the essential components for autonomous vehicles, and its safety will be one of the greatest challenges in the field of intelligent vehicles in the future. In this paper, we propose a novel system that uses a deep neural network (DNN) to detect anomalous CAN bus messages. We treat anomaly detection as a cross-domain modelling problem, in which three CAN bus data packets as a group are directly imported into the DNN architecture for parallel training with shared weights. After that, three data packets are represented as three independent feature vectors, which corresponds to three different types of data sequences, namely anchor, positive and negative. The proposed DNN architecture is an embedded triplet loss network that optimizes the distance between the anchor example and the positive example, makes it smaller than the distance between the anchor example and the negative example, and realizes the similarity calculation of samples, which were originally used in face detection. Compared to traditional anomaly detection methods, the proposed method to learn the parameters with shared-weight could improve detection efficiency and detection accuracy. The whole detection system is composed of the front-end and the back-end, which correspond to deep network and triplet loss network, respectively, and are trainable in an end-to-end fashion. Experimental results demonstrate that the proposed technology can make real-time responses to anomalies and attacks to the CAN bus, and significantly improve the detection ratio. To the best of our knowledge, the proposed method is the first used for anomaly detection in the in-vehicle CAN bus.This publication has 14 references indexed in Scilit:
- Automatic lexical stress and pitch accent detection for L2 English speech using multi-distribution deep neural networksSpeech Communication, 2018
- End-to-End Text-Independent Speaker Verification with Triplet Loss on Short UtterancesPublished by International Speech Communication Association ,2017
- Field classification, modeling and anomaly detection in unknown CAN bus networksVehicular Communications, 2017
- LiBrA-CANACM Transactions on Embedded Computing Systems, 2017
- Intrusion Detection System Using Deep Neural Network for In-Vehicle Network SecurityPLOS ONE, 2016
- Learning Local Image Descriptors with Deep Siamese and Triplet Convolutional Networks by Minimizing Global Loss FunctionsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2016
- Person Re-identification by Multi-Channel Parts-Based CNN with Improved Triplet Loss FunctionPublished by Institute of Electrical and Electronics Engineers (IEEE) ,2016
- Deep Metric Learning Using Triplet NetworkLecture Notes in Computer Science, 2015
- A Practical Wireless Attack on the Connected Car and Security Protocol for In-Vehicle CANIEEE Transactions on Intelligent Transportation Systems, 2014
- Efficient Protocols for Secure Broadcast in Controller Area NetworksIEEE Transactions on Industrial Informatics, 2013