{"title":"WMPA-ConvBERT-BM: A hybrid deep learning model optimized by whale-marine predator algorithm for IoT-enabled malicious URL detection","authors":"Zihan Zhao , Yulin Zhu , Shilong Zhang , Amr Tolba , Osama Alfarraj , Keping Yu","doi":"10.1016/j.iot.2025.101683","DOIUrl":null,"url":null,"abstract":"<div><div>The increasing prevalence of malicious Uniform Resource Locators (URLs) in Internet of Things (IoT) environments poses a significant threat to network security. To address this challenge, we propose WMPA-ConvBERT-BM, a novel hybrid deep learning architecture that integrates ConvBERT and a multi-head attention-enhanced bidirectional Gated Recurrent Unit to effectively capture both semantic and structural features from URLs. The model utilizes a dual embedding strategy combining word-level and character-level representations for enriched multi-granular input. Furthermore, we introduce a Whale-Marine Predator Algorithm (WMPA), a hybrid intelligent optimization algorithm designed to adaptively search for optimal learning rates during training, enhancing convergence and generalization. Comprehensive experiments conducted on a large-scale multi-class malicious URL dataset demonstrate that our model achieves state-of-the-art performance, attaining an accuracy of 97.6%, precision of 96.769%, recall of 97.344% and F1-score of 97.032%, outperforming existing baselines and optimization methods. Ablation studies validate the critical contributions of each component, and further comparisons show the superiority of WMPA over conventional intelligent optimization algorithms. Additionally, SHAP-based interpretability analysis reveals how integrated embeddings contribute to prediction decisions, offering transparency and insights into model behavior. Results show that our WMPA-ConvBERT-BM provides an effective and interpretable solution for robust malicious URL detection in IoT scenarios.</div></div>","PeriodicalId":29968,"journal":{"name":"Internet of Things","volume":"33 ","pages":"Article 101683"},"PeriodicalIF":7.6000,"publicationDate":"2025-07-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Internet of Things","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S2542660525001970","RegionNum":3,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, INFORMATION SYSTEMS","Score":null,"Total":0}
引用次数: 0
Abstract
The increasing prevalence of malicious Uniform Resource Locators (URLs) in Internet of Things (IoT) environments poses a significant threat to network security. To address this challenge, we propose WMPA-ConvBERT-BM, a novel hybrid deep learning architecture that integrates ConvBERT and a multi-head attention-enhanced bidirectional Gated Recurrent Unit to effectively capture both semantic and structural features from URLs. The model utilizes a dual embedding strategy combining word-level and character-level representations for enriched multi-granular input. Furthermore, we introduce a Whale-Marine Predator Algorithm (WMPA), a hybrid intelligent optimization algorithm designed to adaptively search for optimal learning rates during training, enhancing convergence and generalization. Comprehensive experiments conducted on a large-scale multi-class malicious URL dataset demonstrate that our model achieves state-of-the-art performance, attaining an accuracy of 97.6%, precision of 96.769%, recall of 97.344% and F1-score of 97.032%, outperforming existing baselines and optimization methods. Ablation studies validate the critical contributions of each component, and further comparisons show the superiority of WMPA over conventional intelligent optimization algorithms. Additionally, SHAP-based interpretability analysis reveals how integrated embeddings contribute to prediction decisions, offering transparency and insights into model behavior. Results show that our WMPA-ConvBERT-BM provides an effective and interpretable solution for robust malicious URL detection in IoT scenarios.
期刊介绍:
Internet of Things; Engineering Cyber Physical Human Systems is a comprehensive journal encouraging cross collaboration between researchers, engineers and practitioners in the field of IoT & Cyber Physical Human Systems. The journal offers a unique platform to exchange scientific information on the entire breadth of technology, science, and societal applications of the IoT.
The journal will place a high priority on timely publication, and provide a home for high quality.
Furthermore, IOT is interested in publishing topical Special Issues on any aspect of IOT.