| Issue |
ITM Web Conf.
Volume 78, 2025
International Conference on Computer Science and Electronic Information Technology (CSEIT 2025)
|
|
|---|---|---|
| Article Number | 03020 | |
| Number of page(s) | 9 | |
| Section | Intelligent Systems and Computing in Industry, Robotics, and Smart Infrastructure | |
| DOI | https://doi.org/10.1051/itmconf/20257803020 | |
| Published online | 08 September 2025 | |
Adaptive Multi-Arm Bandit Framework for Detecting Network Intrusions in Real Time
School of Cyber Science and Engineering, Wuhan University, Wuhan, Hubei Province, 430072, China
Network intrusion detection remains a critical challenge in cybersecurity, particularly in dynamic environments with evolving attack patterns. This paper proposes an innovative Multi-Armed Bandit (MAB) framework that addresses the limitations of traditional static machine learning models by dynamically selecting and adapting among three detection algorithms: Random Forest (RF), Recurrent Neural Network, and Extreme Gradient Boosting (XGBoost) in real-time. This approach sets each machine learning model as an independent arm and uses real-time F1-scores as rewards for optimal arm selection. Evaluations on the CIC-IDS2017 dataset demonstrate the framework's good performance, achieving an exceptional F1-score of 0.969 and accuracy of 0.943, significantly outperforming both random selection (F1: 0.939) and static Random Forest (F1: 0.950) approaches. Among various MAB algorithms tested, Thompson Sampling (TS) exhibited the strongest performance with an F1-score of 0.963 and accuracy of 0.941, demonstrating remarkable effectiveness in balancing exploration-exploitation trade-offs. The framework's consistent performance across multiple datasets (including CIC-IDS2018, UNSW-NB15, and NSL-KDD) confirms its robustness and generalization capability, suggesting substantial potential for real-world deployment in complex network environments. These results highlight the MAB framework's adaptive advantages and position it as a promising solution for next-generation intrusion detection systems.
© The Authors, published by EDP Sciences, 2025
This is an Open Access article distributed under the terms of the Creative Commons Attribution License 4.0, which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.
Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.
Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.
Initial download of the metrics may take a while.

