Continuous Multi-Task Pre-training for Malicious URL Detection and Webpage Classification
Not on the map. Why?
Abstract (arXiv)
Malicious URL detection and webpage classification are critical tasks in cybersecurity and information management. In recent years, extensive research has explored using BERT or similar language models to replace traditional machine learning methods for detecting malicious URLs and classifying webpages. While previous studies show promising results, they often apply existing language models to these tasks without accounting for the inherent differences in domain data (e.g., URLs being loosely structured and semantically sparse compared to text), leaving room for performance improvement. Furthermore, current approaches focus on single tasks and have not been tested in multi-task scenarios. To address these challenges, we propose urlBERT, a pre-trained URL encoder leveraging Transformer to encode foundational knowledge from billions of unlabeled URLs. To achieve it, we propose to use 5 unsupervised pretraining tasks to capture multi-level information of URL lexical, syntax, and semantics, and generate contrastive and adversarial representations. Furthermore, to avoid inter-pre-training competition and interference, we proposed a grouped sequential learning method to ensure effective training across multi-tasks. Finally, we leverage a two-stage fine-tuning approach to improve the training stability and efficiency of the task model. To assess the multitasking potential of urlBERT, we fine-tune the task model in both single-task and multi-task modes. The former creates a classification model for a single task, while the latter builds a classification model capable of handling multiple tasks. We evaluate urlBERT on three downstream tasks: phishing URL detection, advertising URL detection, and webpage classification. The results demonstrate that urlBERT outperforms standard pre-trained models, and its multi-task mode is capable of addressing the real-world demands of multitasking.
Key facts. Cited by 3 papers in the map (data through 7 Oct 2026). Builds on 18 of its 48 references that are in the map. First posted on arXiv 18 Feb 2024.
Builds on
18 of 48 references.
References · 18
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,266
- 2014Explaining and Harnessing Adversarial Examplescited by 7,287
- 2013Distributed Representations of Words and Phrases and their Compositionalitycited by 3,462
- 2021SimCSE: Simple Contrastive Learning of Sentence Embeddingscited by 2,168
- 2016Bag of Tricks for Efficient Text Classificationcited by 869
- 2015Bidirectional LSTM-CRF Models for Sequence Taggingcited by 544
- 2019Multi-Task Deep Neural Networks for Natural Language Understandingcited by 349
- 2021ConSERT: A Contrastive Framework for Self-Supervised Sentence Representation Transfercited by 231
- 2019ERNIE 2.0: A Continual Pre-training Framework for Language Understandingcited by 230
- 2020CharBERT: Character-aware Pre-trained Language Modelcited by 63
- 2018URLNet: Learning a URL Representation with Deep Learning for Malicious URL Detectioncited by 34
6 more
- 2017Malicious URL Detection using Machine Learning: A Surveycited by 15
- 2023PMANet: Malicious URL detection via post-trained language model guided multi-level feature attention networkcited by 10
- 2022Toward More Generalized Malicious URL Detection Modelscited by 9
- 2020Look Before You Leap: Detecting Phishing Web Pages by Exploiting Raw URL And HTML Characteristicscited by 8
- 2023TransURL: Improving malicious URL detection with multi-layer Transformer encoding and multi-scale pyramid featurescited by 5
- 2019To Tune or Not To Tune? How About the Best of Both Worlds?cited by 4
Built on by
Citing papers per year: 2025: 2; 2026: 1.
3 papers.
- 2025From Past to Present: A Survey of Malicious URL Detection Techniques, Datasets and Code Repositoriescited by 1
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLscited by 1
- 2025Beyond the Link: Assessing LLMs' ability to Classify Political Content across Global Mediacited by 0
- 2026MalURLBench: A Benchmark Evaluating Agents' Vulnerabilities When Processing Web URLs26 Jan 2026
- 2025Beyond the Link: Assessing LLMs' ability to Classify Political Content across Global Media20 Jun 2025
- 2025From Past to Present: A Survey of Malicious URL Detection Techniques, Datasets and Code Repositories23 Apr 2025