A study on malicious URL detection based on BiGruCNN-MHA-FTW
Hui Lv & Lingting Wang
What the paper says
Malicious URLs disguised as legitimate links pose growing threats to cybersecurity. We propose BMFTW (BiGruCNN-MHA-FTW), a deep learning model for malicious URL detection that integrates character-level index mapping, Word2Vec embeddings, multi-scale dilated convolutional neural networks, BiGRU layers, and residual multi-head attention to capture both structural and contextual URL features. We propose a hybrid FTW loss combining Focal Tversky and Weighted Binary Cross-Entropy to address class imbalance. L2 regularization, dropout, and exponential learning rate decay enhance generalization, while Bayesian optimization tunes hyperparameters using the negative F1-score. Experimental results on the Malicious and Benign URLs dataset show that our model achieves 98.28% accuracy, 94.25% precision, 98.71% recall, and a 96.43% F1-score in binary classification, as well as a 94.93% F1-score in multi-class detection. These results significantly outperform baseline models with statistical confidence (P < .05). The findings demonstrate the effectiveness and robustness of combining deep learning and NLP-based strategies in malicious URL detection, offering practical value for real-world cybersecurity applications.
Evidence weight
Balanced mode · F 0.40 / M 0.15 / V 0.05 / R 0.40
| F · citation impact | 0.50 × 0.4 = 0.20 |
| M · momentum | 0.50 × 0.15 = 0.07 |
| V · venue signal | 0.50 × 0.05 = 0.03 |
| R · text relevance † | 0.50 × 0.4 = 0.20 |
† Text relevance is estimated at 0.50 on the detail page — for your query’s actual relevance score, open this paper from a search result.