mlsanityData to 14 Oct 2026

X-WAD: eXplainable Web Anomaly Detection

arXiv 2608.27172 ↗First posted 27 Aug 2026cs.CRcited by 0

On the map: LLM safety and security → Backdoor and data poisoning attacks

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Backdoor and data poisoning attacks, one of 12 directions in LLM safety and security. Builds on 12 of its 25 references that are in the map. First posted on arXiv 27 Aug 2026.

Builds on

12 of 25 references.

References · 12

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2019Attention is not Explanationcited by 929
  3. 2024Smarter, Better, Faster, Longer: A Modern Bidirectional Encoder for Fast, Memory Efficient, and Long Context Finetuning and Inferencecited by 554
  4. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 335
  5. 2020Problems with Shapley-value-based explanations as feature importance measurescited by 200
  6. 2021LogBERT: Log Anomaly Detection via BERTcited by 118
  7. 2023Interpretable Online Log Analysis Using Large Language Models with Prompt Strategiescited by 38
  8. 2023The Inadequacy of Shapley Values for Explainabilitycited by 31
  9. 2024On Behalf of the Stakeholders: Trends in NLP Model Interpretability in the Era of LLMscited by 25
  10. 2021HTTP2vec: Embedding of HTTP Requests for Detection of Anomalous Trafficcited by 6
  11. 2024Capturing the security expert knowledge in feature selection for web application attack detectioncited by 2
  12. 2025ADALog: Adaptive Unsupervised Anomaly detection in Logs with Self-attention Masked Language Modelcited by 2

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Next-generation cyberattack detection with large language models: anomaly analysis across heterogeneous logs
  2. 2026LogSemFuse: Semantic Evidence Fusion for Explainable Log Anomaly Detection ↗
  3. 2025FusionLog: Cross-System Log-based Anomaly Detection via Fusion of General and Proprietary Knowledge
  4. 2025ALPHA: LLM-Enabled Active Learning for Human-Free Network Anomaly Detection
  5. 2026Sample-Efficient LLM-Based Detection of Malicious Web Server Logs with Forensically Explainable Reasoning
  6. 2026RuleForge: Automated Generation and Validation for Web Vulnerability Detection at Scale
  7. 2021Dynamically Modelling Heterogeneous Higher-Order Interactions for Malicious Behavior Detection in Event Logs ↗
  8. 2025Explainable and Fine-Grained Safeguarding of LLM Multi-Agent Systems via Bi-Level Graph Anomaly Detection