HTTP2vec: Embedding of HTTP Requests for Detection of Anomalous Traffic
Not on the map. Why?
Abstract (arXiv)
Hypertext transfer protocol (HTTP) is one of the most widely used protocols on the Internet. As a consequence, most attacks (i.e., SQL injection, XSS) use HTTP as the transport mechanism. Therefore, it is crucial to develop an intelligent solution that would allow to effectively detect and filter out anomalies in HTTP traffic. Currently, most of the anomaly detection systems are either rule-based or trained using manually selected features. We propose utilizing modern unsupervised language representation model for embedding HTTP requests and then using it to classify anomalies in the traffic. The solution is motivated by methods used in Natural Language Processing (NLP) such as Doc2Vec which could potentially capture the true understanding of HTTP messages, and therefore improve the efficiency of Intrusion Detection System. In our work, we not only aim at generating a suitable embedding space, but also at the interpretability of the proposed model. We decided to use the current state-of-the-art RoBERTa, which, as far as we know, has never been used in a similar problem. To verify how the solution would work in real word conditions, we train the model using only legitimate traffic. We also try to explain the results based on clusters that occur in the vectorized requests space and a simple logistic regression classifier. We compared our approach with the similar, previously proposed methods. We evaluate the feasibility of our method on three different datasets: CSIC2010, CSE-CIC-IDS2018 and one that we prepared ourselves. The results we show are comparable to others or better, and most importantly - interpretable.
Key facts. Cited by 6 papers in the map (data through 14 Oct 2026). Builds on 5 of its 20 references that are in the map. First posted on arXiv 3 Aug 2021.
Builds on
5 of 20 references.
References · 5
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2019RoBERTa: A Robustly Optimized BERT Pretraining Approachcited by 13,372
- 2015Neural Machine Translation of Rare Words with Subword Unitscited by 2,918
- 2019Neural Machine Translation with Byte-Level Subwordscited by 115
- 2019Deep Anomaly Detection in Packet Payloadcited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 1; 2024: 2; 2025: 0; 2026: 2.
6 papers.
- 2022Machine Learning with DBOScited by 0
- 2023A Novel Approach To User Agent String Parsing For Vulnerability Analysis Using Mutli-Headed Attentioncited by 0
- 2024Fingerprinting web servers through Transformer-encoded HTTP response headerscited by 0
- 2024Enhancing web traffic attacks identification through ensemble methods and feature selectioncited by 0
- 2026X-WAD: eXplainable Web Anomaly Detectioncited by 0
- 2026Comparative Evaluation of Static Embedding Models for HTTP Request Anomaly Detectioncited by 0
- 2026Comparative Evaluation of Static Embedding Models for HTTP Request Anomaly Detection22 Sep 2026
- 2026X-WAD: eXplainable Web Anomaly Detection27 Aug 2026
- 2024Enhancing web traffic attacks identification through ensemble methods and feature selection21 Dec 2024
- 2024Fingerprinting web servers through Transformer-encoded HTTP response headers26 Mar 2024
- 2023A Novel Approach To User Agent String Parsing For Vulnerability Analysis Using Mutli-Headed Attention6 Jun 2023
- 2022Machine Learning with DBOS10 Aug 2022