AnomalyGen: An Automated Semantic Log Sequence Generation Framework with LLM for Anomaly Detection
Not on the map. Why?
Abstract (arXiv)
The scarcity of high-quality public log datasets has become a critical bottleneck in advancing log-based anomaly detection techniques. Current datasets exhibit three fundamental limitations: (1) incomplete event coverage, (2) artificial patterns introduced by static analysis-based generation frameworks, and (3) insufficient semantic awareness. To address these challenges, we present AnomalyGen, the first automated log synthesis framework specifically designed for anomaly detection. Our framework introduces a novel four-phase architecture that integrates enhanced program analysis with Chain-of-Thought reasoning (CoT reasoning), enabling iterative log generation and anomaly annotation without requiring physical system execution. Evaluations on Hadoop and HDFS distributed systems demonstrate that AnomalyGen achieves substantially broader log event coverage (38-95 times improvement over existing datasets) while producing more operationally realistic log sequences compared to static analysis-based approaches. When augmenting benchmark datasets with synthesized logs, we observe maximum F1-score improvements of 3.7% (average 1.8% improvement across three state-of-the-art anomaly detection models). This work not only establishes a high-quality benchmarking resource for automated log analysis but also pioneers a new paradigm for applying large language models (LLMs) in software engineering workflows.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Apr 2025.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026TriFleetRCA: On-Premise LLM Root Cause Analysis for Kubernetes20 Sep 2026
- 2026TriCalRAG: A Three-Strategy, Retrieval-Augmented Benchmark for On-Premise LLM-Based Root Cause Analysis in AIOps13 Sep 2026
- 2026Fine-Tuning Small Language Models for Solution-Oriented Windows Event Log Analysis7 May 2026
Similar, not cited
Close in wording, no citation either way
- 2026AnomalyGen: Enhancing Log-Based Anomaly Detection with Code-Guided Data Augmentation ↗
- 2026KRONE: Scalable LLM-Augmented Log Anomaly Detection via Hierarchical Abstraction
- 2026LogSemFuse: Semantic Evidence Fusion for Explainable Log Anomaly Detection ↗
- 2025Log Anomaly Detection with Large Language Models via Knowledge-Enriched Fusion
- 2026Detect, Localize, and Explain: Interactive Hierarchical Log Anomaly Analytics with LLM Augmentation
- 2026Towards Understanding LLM-Based Log Anomaly Detection: An Empirical Study of Performance, Efficiency, and Robustness
- 2025CodeAD: Synthesize Code of Rules for Log-based Anomaly Detection with LLMs
- 2024LLM meets ML: Data-efficient Anomaly Detection on Unstable Logs