Balancing Efficiency and Efficacy: A Contextual Bandit-Driven Framework for Multi-Tier Cyber Threat Detection
Open Access
- 5 June 2025
- journal article
- research article
- Published by MDPI AG in Applied Sciences
- Vol. 15 (11) , 6362
Abstract
In response to the rising volume and sophistication of cyber intrusions, data-oriented methods have emerged as critical defensive measures. While machine learning—including neural network-based solutions—has demonstrated strong capabilities in identifying malicious activities, several fundamental challenges remain. Chief among these difficulties are the substantial resource demands related to data preprocessing and inference procedures, limited scalability beyond centralized environments, and the necessity of deploying multiple specialized detection models to address diverse stages of the cyber kill chain. This paper introduces a contextual bandit-based reinforcement learning approach, designed to reduce operational expenditures and enhance detection cost-efficiency by introducing an adaptive decision boundary within a layered detection scheme. The proposed framework continually measures the confidence of each participating detection model, applying a reward-driven mechanism to balance cost and accuracy. Specifically, each potential action, representing a particular decision boundary, earns a reward reflecting its overall cost-to-effectiveness ratio, thereby prioritizing reduced overheads. We validated our method using two highly representative datasets that capture prevalent modern-day threats: phishing and malware. Our findings show that this contextual bandit-based strategy adeptly regulates the frequency of resource-intensive detection tasks, significantly lowering both inference and processing expenses. Remarkably, it achieves this reduction with minimal compromise to overall detection accuracy and efficacy.Keywords
Funding Information
- King Saud University, Riyadh, Saudi Arabia (ORF-2025-233)
This publication has 60 references indexed in Scilit:
- Evasion Attempt for the Malicious PowerShell Detector Considering Feature Weights2024
- Assessing Static and Dynamic Features for Packing Detection2024
- Advancing Network Security in Industrial IoT: A Deep Dive into AI-Enabled Intrusion Detection SystemsAdvanced Engineering Informatics, 2024
- Machine Learning Techniques for Anomaly-Based Detection System on CSE-CIC-IDS2018 Dataset2023
- Internet of Things intrusion detection systems: a comprehensive review and future directionsCluster Computing, 2022
- Applications of deep learning for phishing detection: a systematic literature reviewKnowledge and Information Systems, 2022
- AI-Based Modeling: Techniques, Applications and Research Issues Towards Automation, Intelligent and Smart SystemsSN Computer Science, 2022
- Toward situational awareness in threat detection. A surveyWIREs Forensic Science, 2021
- A survey on intrusion detection system: feature selection, model, performance measures, application perspective, challenges, and future research directionsArtificial Intelligence Review, 2021
- Machine learning and deep learning methods for intrusion detection systems: recent developments and challengesSoft Computing, 2021