Network Security and Intrusion DetectionNetwork Packet Processing and Optimization
TL;DR
This study benchmarks machine learning (ML) and deep learning models for intrusion detection using the publicly available FWAF dataset, and emphasizes the value of balancing performance with interpretability, empowering Security Operations Centers (SOC) to validate automated decisions and foster trustworthy AI-driven web application firewalls.
Abstract
Bridging the gap between predictive accuracy and interpretability in web application security, this study benchmarks machine learning (ML) and deep learning (DL) models for intrusion detection using the publicly available FWAF dataset. We evaluate six widely used classifiers—Logistic Regression, Decision Tree, Random Forest, XGBoost, 1D-CNN, and LSTM—under a highly imbalanced setting (benign-dominant traffic). All models are trained on identical data using a unified pipeline with stratified train/validation/test splits (64%/16%/20%) and class-weight balancing to ensure a fair comparison. Models are assessed using accuracy, precision, recall, F1-score, and imbalance-aware measures (Macro-F1, PRAUC, and MCC). To improve transparency, we integrate Explainable Artificial Intelligence (XAI) techniques—specifically SHAP (SHapley Additive ExPlanations) and LIME (Local Interpretable Model-Agnostic Explanations)—to quantify feature contributions and highlight decision patterns relevant to WAF operation. An ablation study confirms that attack-indicator features (is_xss, is_lfi, is_oci, is_sqli) are derived independently from labels via regex matching, with their removal causing only marginal performance degradation (1–2% Macro-F1). Experimental results show that Random Forest achieves the strongest overall performance (99.3% accuracy, 0.949 Macro-F1, 0.935 PR-AUC), while the feature-based LSTM provides comparable results (99.2% accuracy, 0.937 Macro-F1, 0.928 PR-AUC). Ultimately, the study emphasizes the value of balancing performance with interpretability, empowering Security Operations Centers (SOC) to validate automated decisions and foster trustworthy AI-driven web application firewalls
The results show that the ensemble techniques are a practical approach to boost the precision of LLMs in the detection of vulnerabilities and suggest that ensemble methods offer great potential in the advancement of software security analysis.
H. Al-Ofeishat, Azhar Hussain, M. Faheem et al.· Engineering, Technology &...· 0 citations
SMOTE-Stack-XAI, a stacked ensemble framework that uses the Synthetic Minority Oversampling Technique (SMOTE) to address class imbalance, outperforms the RF, hybrid RF-SVM, and hybrid SVM-LR baselines with an accuracy of 99.3%, precision of 99.2%, recall of 99.4%, and F1-score of 99.3%.
Bhukya Dharma, D. Latha· International journal of com...· 0 citations
A hybrid framework that integrates SMOTE and CTGAN for minority-class augmentation, a Bidirectional Long Short-Term Memory network for supervised traffic classification, and a benign-trained Variational Autoencoder (VAE) for validating low-confidence predictions is proposed.
Felicia Maake, Justice Nkoana, V. Baloyi et al.· Big Data and Cognitive Compu...· 0 citations
A DistilBERT-Stacked Ensemble pipeline to improve detection efficiency and robustness while reducing false-positive and false-negative rates is designed and optimised to highlight the value of adversarial training and stacked meta-learning in building robust Web Application Firewalls for SQLi detection.
Lilliane Linnet Musoke, A. Badii, A. Ashlam· 0 citations
Cyberattacks are becoming a more apparent danger to modern network traffic. Robust and transparent Intrusion Detection Systems (IDS) are increasingly needed to counter this massive wave. The emergence of Machine Learning (ML) and Deep Learning (DL) offers a huge advantage in detecting this wave with high precision; nev...
Ahmad Jauharul Ilmi, Denar Regata Akbi· INOVTEK Polbeng - Seri Infor...· 0 citations
An explainable ensemble learning framework for predicting loan approval using Random Forest, XGBoost, and LightGBM models is proposed and it is revealed that CreditScore, EmploymentType, and Income are the most influential factors in determining loan approval decisions.
Mikaria Gultom· Journal of Digital Market an...· 0 citations
Related blog posts
MIT News · Artificial Intelligence· news.mit.eduOct 18, 2026
A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.