A Temporally Dynamic Feature-Extraction Framework for Phishing Detection with LIME and SHAP Explanations
Open Access
- 14 February 2026
- journal article
- research article
- Published by MDPI AG in Future Internet
- Vol. 18 (2) , 101
Abstract
Phishing remains one of the most pervasive social engineering threats, exploiting human vulnerabilities and continuously evolving to bypass static detection mechanisms. Existing machine learning models achieve high accuracy but often act as opaque systems that lack robustness to evolving tactics and explainability, limiting trust and real-world deployment. In this research, we propose a dynamic Explainable AI (XAI) approach for phishing detection that integrates temporally aware feature extraction with dual interpretability through LIME and SHAP applied to the resulting window-level features. The novelty of this research lies in a temporally dynamic feature framework that simulates a plausible email reading progression using a heuristic temporal model and employs a sliding window aggregation method to capture behavioural and temporal patterns within email content. Using an aggregated dataset of 82,500 phishing and legitimate emails, dynamic features were extracted and used to train four classifiers: Random Forest, XGBoost, Multi-Layer Perceptron, and Logistic Regression. Ensemble models demonstrated strong performance with XGBoost achieving 94% accuracy and Random Forest 93%. This research addresses an important gap by combining dynamically constructed temporal features with transparent explanations, achieving high detection performance while preserving interpretability. These findings demonstrate that dynamic temporal modelling with explainable learning can enhance the trustworthiness and practicality of phishing detection systems, highlighting that temporally structured features and explainable learning can enhance the trustworthiness and practical deployability of phishing detection systems without incurring excessive computational overhead.Keywords
This publication has 37 references indexed in Scilit:
- Improving Time Series Forecasting by Applying the Sliding Window Approach2025
- Detection of malicious URLs using Temporal Convolutional Network and Multi-Head Self-Attention mechanismApplied Soft Computing, 2024
- Novel interpretable and robust web-based AI platform for phishing email detectionComputers and Electrical Engineering, 2024
- Applications in engineering and medicine with new generalized class of distribution: Properties, estimation methods, and simulationAlexandria Engineering Journal, 2024
- Explainable AI for cybersecurity automation, intelligence and trustworthiness in digital twin: Methods, taxonomy, challenges and prospectsICT Express, 2024
- Phishing Detection using Gradient Boosting ClassifierProcedia Computer Science, 2023
- An Intelligent Phishing Detection Scheme Using Machine Learning2020
- How many words do we read per minute? A review and meta-analysis of reading rateJournal of Memory and Language, 2019
- Persuasion: How phishing emails can influence users and bypass security measuresInternational Journal of Human-Computer Studies, 2019
- Detection of online phishing email using dynamic evolving neural network based on reinforcement learningDecision Support Systems, 2018