Affiliation:
1. School of Automation, Xi’an University of Posts and Telecommunications, Xi’an 710121, China
Abstract
This study addresses the prediction of CAN bus data, a lesser-explored aspect within unsupervised anomaly detection research. We propose the Fast-Gated Attention (FGA) Transformer, a novel approach designed for accurate and efficient prediction of CAN bus data. This model utilizes a cross-attention window to optimize computational scale and feature extraction, a gated single-head attention mechanism in place of multi-head attention, and shared parameters to minimize model size. Additionally, a generalized unbiased linear attention approximation technique speeds up attention block computation. On three datasets—Car-Hacking, SynCAN, and Automotive Sensors—the FGA Transformer achieves predicted root mean square errors of 1.86 × 10−3, 3.03 × 10−3, and 30.66 × 10−3, with processing speeds of 2178, 2768, and 3062 frames per second, respectively. The FGA Transformer provides the best or comparable accuracy with a speed improvement ranging from 6 to 170 times over existing methods, underscoring its potential for CAN bus data prediction.
Funder
National Natural Science Foundation of China
Shaanxi Provincial Department of Science and Technology Project
Scientific Research Program Funded by Shaanxi Provincial Education Department
Xi’an Science and Technology Bureau
Reference34 articles.
1. Deep learning-based anomaly detection in cyber-physical systems: Progress and opportunities;Luo;ACM Comput. Surv.,2021
2. Driving style recognition for intelligent vehicle control and advanced driver assistance: A survey;Martinez;IEEE Trans. Intell. Transp. Syst.,2017
3. Traffic anomaly detection algorithm for CAN bus using similarity analysis;Wang;High-Confid. Comput.,2024
4. He, T., Zhang, L., Kong, F., and Salekin, A. (2020, January 20–24). Exploring inherent sensor redundancy for automotive anomaly detection. Proceedings of the ACM/IEEE Design Automation Conference, San Francisco, CA, USA.
5. CANet: An unsupervised intrusion detection system for high dimensional CAN bus data;Hanselmann;IEEE Access,2020