An explainable deep learning framework for multi-class malicious URL classification using priority-coefficient analysis
The increasing complexity of cyber-attacks requires URL classifiers that are both accurate and transparent. This paper presents X-URL, a pipeline-level framework for four-class URL classification (Benign, Defacement, Malware, and Phishing). A Quantitative Feature Analysis (QFA) branch computes URL length, digit density, special-character frequency, Shannon entropy, Information Gain, and a normalized Priority Coefficient using training data only. These QFA variables are used for independent statistical validation and class-specific interpretation; they are not concatenated with character embeddings and do not modify the neural loss. The predictive path receives only padded character sequences and uses a character-level Bidirectional Long Short-Term Memory (BiLSTM), class-frequency weighted cross-entropy, and Bayesian model selection based on validation macro-F1. SHAP DeepExplainer is applied post hoc to the fixed trained model and does not feed back into training or hyperparameter optimization. On the cleaned training partition, stratified 5-fold cross-validation yields 98.53 ± 0.03% accuracy for the optimized weighted BiLSTM, compared with 97.74 ± 0.20% for the raw BiLSTM, 98.16 ± 0.02% for BiLSTM–Random Forest, 97.93 ± 0.05% for BiLSTM–XGBoost, and 96.03 ± 0.08% for Char-CNN. A separate hold-out snapshot ( n = 130,236) yields 97.73% accuracy and 97.72% weighted F1. Because production throughput, temporal generalization, domain-disjoint performance, adversarial robustness, and expert validation were not evaluated, the results support further operational assessment rather than a claim of deployment readiness.
Authors
- Arshpreet Kaur (ORCID: https://orcid.org/0000-0002-5157-5870)
- Dac‐Nhuong Le (ORCID: https://orcid.org/0000-0003-2601-2803)
- Tran Minh Bao (ORCID: https://orcid.org/0009-0005-6871-1516)
- Nguyễn Gia Như
- Kumar Shashvat
Institutions
- Duy Tan University (VN)
- Industrial University of Ho Chi Minh City (VN)
- Ho Chi Minh City University of Industry and Trade (VN)
- Hai Phong University of Management and Technology (VN)
- Manipal University Jaipur
Publication Details
- Journal
- Discover Artificial Intelligence
- Published
- 2026-10-14
- DOI
- https://doi.org/10.1007/s44163-026-02458-8
- Primary Topic
- Spam and Phishing Detection
- Type
- article
- Field-Weighted Citation Impact
- 0.00