A Deep Learning Framework for Phishing URL Detection Using Multilevel Embeddings and Attention Based Feature Fusion
Phishing attacks remain a major cybersecurity threat, while conventional blacklist- and handcrafted feature-based detection methods have limited capability to identify previously unseen and rapidly evolving phishing URLs. This study proposes PhishDetect, a representation-aware multi-branch deep learning framework that learns complementary structural and contextual characteristics directly from URLs. Unlike approaches that rely on a single representation level, PhishDetect constructs character-level, word-level, and character–word-level embeddings and maps them to specialized Char-CNN, LSTM, and Bi-LSTM branches, respectively. The Char-CNN captures fine-grained lexical and structural patterns, the LSTM models sequential dependencies among URL tokens, and the Bi-LSTM learns bidirectional contextual relationships from the combined character–word representation. The heterogeneous branch features are subsequently integrated into a unified representation and processed by an attention-based feature weighting mechanism that emphasizes discriminative information before classification. Experiments were conducted using the public Phishing Site URLs dataset, from which a balanced subset of 120,000 URLs was used for model development and evaluation. Feature-dimensionality analysis identified a 155-dimensional fused representation as the most effective configuration. The proposed framework achieved 97.06% accuracy, 96.75% precision, 97.38% recall, and a 97.07% F1-score. Component-level ablation experiments further demonstrated the complementary contribution of the multi-branch architecture and attention mechanism. These findings indicate that representation-aware multi-level learning and adaptive feature weighting provide an effective approach for phishing URL detection.
Authors
- Yikai Liu (ORCID: https://orcid.org/0000-0003-1583-7690)
- Alok Kumar Sharma (ORCID: https://orcid.org/0000-0002-6645-3227)
- Chuan-Bi Lin
Institutions
- Chaoyang University of Technology (TW)
Publication Details
- Journal
- Research Square
- Published
- 2026-11-19
- DOI
- https://doi.org/10.21203/rs.3.rs-11263678/v1
- Primary Topic
- Spam and Phishing Detection
- Type
- preprint