Transformer-Based RF Jamming Detection in Vehicular Networks: A BERT Model Analysis
Open Access
- 12 November 2026
- journal article
- Published by Association for Computing Machinery (ACM) in Digital Threats: Research and Practice
Abstract
Vehicular networks are increasingly susceptible to RF jamming attacks that compromise communication reliability. This paper proposes four Transformer-based intrusion detection system (IDS) models – BERT, RoBERTa, DistilBERT, and ALBERT – and compares them against three baselines (KNN, RaFo, and LSTM) under vehicular mobility conditions of \(25\) m/s and \(15\) m/s. At \(25\) m/s, BERT and DistilBERT outperform all baselines, while RoBERTa and ALBERT show slightly lower performance. Under the more challenging \(15\) m/s scenario, all Transformer-based models exhibit superior generalization compared to the baselines, which experience significant degradation. The proposed models also maintain higher stability across key metrics—accuracy, precision, recall, and F1-score. Confusion matrix analysis confirms that no RF jamming traffic is misclassified as benign, even under degraded conditions, an essential property for timely threat detection in dynamic vehicular environments. Finally, a computational cost analysis indicates that BERT is better suited for deployment in resource-rich roadside units, while DistilBERT offers the most balanced trade-off for constrained environments, combining low inference time, reduced memory usage, and moderate resource demands. RoBERTa and ALBERT occupy intermediate positions in this spectrum.
This publication has 20 references indexed in Scilit:
- Revolutionizing Cyber Threat Detection With Large Language Models: A Privacy-Preserving BERT-Based Lightweight Model for IoT/IIoT DevicesIEEE Access, 2024
- Intelligent transportation system for internet of vehicles based vehicular networks for smart citiesComputers and Electrical Engineering, 2022
- CAN-BERT do it? Controller Area Network Intrusion Detection System based on BERT Language Model2022
- Distributed Task Scheduling in Serverless Edge Computing Networks for the Internet of Things: A Learning ApproachIEEE Internet of Things Journal, 2022
- RoBERTa-LSTM: A Hybrid Model for Sentiment Analysis With Transformer and Recurrent Neural NetworkIEEE Access, 2022
- CyBERT: Contextualized Embeddings for the Cybersecurity Domain2021
- Intrusion Detection Method Using Bi-Directional GPT for in-Vehicle Controller Area NetworksIEEE Access, 2021
- A Survey on the Current Security Landscape of Intelligent Transportation SystemsIEEE Access, 2021
- Real-Time Vehicle Detection from Short-range Aerial Image with Compressed MobileNet2019
- Jamming attack detection in a pair of RF communicating vehicles using unsupervised machine learningVehicular Communications, 2018