Skip to content
#explainable ai Open access

A Comparative Study of Explainable (XAI) Deep and Ensemble Learning Models for a Web Application Firewall Using the FWAF Dataset

Sep 2026 · El-Cezeri Fen ve Mühendislik Dergisi · 0 citations · 17 references
Network Security and Intrusion Detection Network 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

Read PDF

Similar papers

Open access Aug 2026

Enhancing Vulnerability Detection Precision through Ensemble Learning with Large Language Models

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. · 0 citations
Open access Aug 2026

SMOTE-Stack-XAI: An Explainable Stacked Ensemble Learning Framework Integrating Random Forest, XGBoost, SVM and Deep Neural Networks for Real-Time Credit Card Fraud Detection

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 · 0 citations
Open access Sep 2026

A Hybrid SMOTE-CTGAN and VAE-LSTM Framework for Interpretable Intrusion Detection in Imbalanced Network Traffic

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. · 0 citations
Review Aug 2026

Enhancing Web Application Firewalls with Machine Learning for SQL Injection Detection

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
Open access Aug 2026

Comparative Analysis of Performance and Interpretability of XGBoost and TabNet Models in IDS Using XAI

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 · 0 citations
Open access Aug 2026

Explainable Ensemble Learning for Loan Approval Prediction Using XGBoost, LightGBM, and Random Forest with SHAP Analysis

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 · 0 citations

Related blog posts

MIT News · Artificial Intelligence Oct 15, 2026

AI model decodes the language cells use to communicate

A new computational approach reveals how cells communicate to assemble into tissues. This could accelerate stem cell engineering, improve disease models, and inform therapies.

We use cookies to run the site and, with your consent, for analytics and to show ads. See our Cookie Policy.