MT-FBERT: Malicious Traffic Detection Based on Efficient Federated Learning of BERT
Open Access
- 23 July 2025
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 17 (8) , 323
Abstract
The rising frequency of network intrusions has significantly impacted critical infrastructures, leading to an increased focus on the detection of malicious network traffic in recent years. However, traditional port-based and classical machine learning-based malicious network traffic detection methods suffer from a dependence on expert experience and limited generalizability. In this paper, we propose a malicious traffic detection method based on an efficient federated learning framework of Bidirectional Encoder Representations from Transformers (BERT), called MT-FBERT. It offers two major advantages over most existing approaches. First, MT-FBERT pretrains BERT using two pre-training tasks along with an overall pre-training loss on large-scale unlabeled network traffic, allowing the model to automatically learn generalized traffic representations, which do not require human experience to extract the behavior features or label the malicious samples. Second, MT-FBERT finetunes BERT for malicious network traffic detection through an efficient federated learning framework, which both protects the data privacy of critical infrastructures and reduces resource consumption by dynamically identifying and updating only the most significant neurons in the global model. Evaluation experiments on public datasets demonstrated that MT-FBERT outperforms state-of-the-art baselines in malicious network traffic detection.Keywords
Funding Information
- Basic Research Program of Yunnan Provincial Science and Technology Department, China (202501AS070131)
This publication has 37 references indexed in Scilit:
- RCEP rules on cross-border data flows: Asian characteristics and implications for developing countriesAsia Pacific Law Review, 2024
- Global data governance at a turning point? Rethinking China-U.S. cross-border data flow regulatory modelsComputer Law & Security Review, 2024
- Federated distillation and blockchain empowered secure knowledge sharing for Internet of medical ThingsInformation Sciences, 2024
- FedOPT: federated learning-based heterogeneous resource recommendation and optimization for edge computingSoft Computing, 2024
- FEAT: A Federated Approach for Privacy-Preserving Network Traffic Classification in Heterogeneous EnvironmentsIEEE Internet of Things Journal, 2022
- TSCRNN: A novel classification scheme of encrypted traffic based on flow spatiotemporal features for efficient management of IIoTComputer Networks, 2021
- Industrial Control Systems: Cyberattack trends and countermeasuresComputer Communications, 2020
- Feature analysis of encrypted malicious trafficExpert Systems with Applications, 2019
- Deep packet: a novel approach for encrypted traffic classification using deep learningSoft Computing, 2019
- Lessons from StuxnetComputer, 2011