静态嵌入模型在HTTP请求异常检测中的比较评估 Comparative Evaluation of Static Embedding Models for HTTP Request Anomaly Detection 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-09-22
👁️ 预览文献
💡 AI 中文简介
本研究比较了Word2Vec、FastText和Doc2Vec三种静态嵌入模型在HTTP请求异常检测中的效果。作者提出HEDA架构,将嵌入表示与单类异常检测模型结合,仅用正常流量训练,在三个数据集上测试。结果表明,嵌入模型的选择显著影响检测性能,其中FastText表现最稳定,能在保持低误报率的同时实现高检测率。
领域网络安全/Web应用安全
适合谁读需要一定专业背景(了解机器学习、网络安全基础)
核心贡献1. 提出了HEDA模块化检测架构,统一了静态嵌入与单类异常检测的流程。2. 首次在统一框架下系统比较了三种静态嵌入模型在HTTP请求异常检测中的性能,为实际应用提供了选型依据。
关键数据FastText在所有数据集上表现最一致,实现了高检测率且误报率可控;嵌入表示的选择对检测性能有显著影响。
推荐理由如果你关注Web安全或异常检测,这篇论文用实验数据告诉你哪种词嵌入模型最靠谱,帮你少走弯路。
关键词["HTTP异常检测", "静态词嵌入", "Word2Vec", "FastText", "Doc2Vec", "单类分类"]

原文摘要

查看英文原文摘要

Web applications are increasingly targeted by cyberattacks that exploit HTTP requests to evade security mechanisms. Traditional web application firewalls (WAFs) rely on rule-based approaches that often exhibit high false positive rates and limited adaptability. Recent studies have explored machine learning techniques and word embedding models to improve anomaly detection in HTTP traffic. This paper presents a benchmark for static embedding models, specifically Word2Vec, FastText, and Doc2Vec, within a unified, single-class classification framework. We propose HEDA (HTTP Embedding-Based Detection Architecture), a modular detection pipeline that combines static embedding representations with single-class anomaly detection models to detect anomalies at the request level. The approach operates in an unsupervised environment, where both the embedding models and detectors are trained exclusively on benign HTTP traffic. The proposed methodology is evaluated on three datasets with heterogeneous characteristics, including both synthetic and real traffic. The experimental results show that the choice of embedding representation significantly affects detection performance, and that FastText-based embeds produce the most consistent results across all datasets, achieving high detection rates while keeping false positive rates under control.