X-WAD: eXplainable Web Anomaly Detection

The rapid growth of web-based services, particularly API-driven architectures, reflects an increasing reliance on distributed systems, exposing sensitive data to security risks and making the adoption of automated defensive mechanisms essential. In this context, where benign traffic predominates in real-world settings, modern defenses increasingly model normal behavior, relying on semi-supervised approaches trained on only normal data. However, ensuring the complete absence of anomalous instances in such training data is inherently difficult in practice, and mislabeled or contaminated attack samples can introduce backdoors into the learned defense, causing the model to silently misclassify certain attack patterns as normal behavior. This paper investigates the effectiveness of Transformer-based Language Models (TLMs) in the detection of anomalies in HTTP requests, focussing on providing detailed explanations for the detected anomalies. The study employs token-level logit-based surprisal mapping to provide both an anomaly score and a direct, detailed explanation via heatmap-like highlighting. The effectiveness of the proposed explainability approach is demonstrated by the discovery of labelling inconsistencies in a popular public dataset, revealing how anomalous contamination in the training data had induced backdoor-like failures in the detection models.

Link
https://www.semanticscholar.org/paper/8132a73fbf474ea474806c1ce8308f9c53e30511
Found by
Semantic Scholar
Authors
Matteo Bitussi, Roberto Doriguzzi-Corin
Categories
dataset
Published
2026-08-27
Last seen by the radar
2026-08-29
Citations
0
Influential citations
0
Radar score
28.50 / 100 (how it is scored)
Why it scored so
Matched: dataset, training data; Primary record: Semantic Scholar
Related links
https://arxiv.org/abs/2608.27172
Is this record right? If you made this work and something here is wrong or missing, tell us what to fix.

More records found by Semantic Scholar