Supervised contrastive ResNet and transfer learning for the in-vehicle intrusion detection system

Thien-Nu Hoang,Daehee Kim
DOI: https://doi.org/10.1016/j.eswa.2023.122181
IF: 8.5
2024-03-01
Expert Systems with Applications
Abstract:High-end vehicles have been equipped with several electronic control units (ECUs), which provide upgrading functions to enhance the driving experience. The controller area network (CAN) is a well-known protocol that connects these ECUs because of its modesty and efficiency. However, the CAN bus is vulnerable to various types of attacks. Although the intrusion detection system (IDS) is proposed to address the security problem of the CAN bus, most previous studies only provide alerts when attacks occur without knowing the specific type of attack. Moreover, an IDS is designed for a specific car model due to diverse car manufacturers. In this study, we proposed a novel deep learning model called supervised contrastive (SupCon) ResNet, which can handle multiple attack classification on the CAN bus. Furthermore, the model can be used to improve the performance of a limited-size dataset using a transfer learning technique. The capability of the proposed model is evaluated on two real car datasets. When tested with the Car Hacking dataset, the experiment results show that the SupCon loss reduces the overall false-negative rates of four types of attack by an average of five times compared to the vanilla cross-entropy loss. In addition, the model achieves the highest F1 score on both the vehicle models of the survival dataset by utilizing transfer learning. Finally, the model can adapt to hardware constraints in terms of memory size and running time to be deployed in real devices.
computer science, artificial intelligence,engineering, electrical & electronic,operations research & management science
What problem does this paper attempt to address?