paperbot · PL 论文追踪

全部论文 待读 收藏

P2 AutoLog: A Log Sequence Synthesis Framework for Anomaly Detection

AutoLog:面向异常检测的日志序列合成框架
ASE 2023 38th IEEE/ACM International Conference on Automated Software Engineering (ASE)2023匹配度 4/10 · 论文利用程序分析(调用图、执行图)合成日志序列以支持日志异常检测,与'PL→AI'中静态分析服务于机器学习系统有间接关联;但未涉及LLM/Agent、浮点程序分析或贝叶斯程序分析,且目标应用是日志异常检测而非用户核心关注的ML系统/Agentic程序,因此匹配度有限。引用 20 inbox
Yintong Huo, Yichen Li, Yuxin Su, Pinjia He, Zifan Xie, Michael R. Lyu
crossref: 2026-09-12dblp: 2026-09-12arxiv: 2026-09-12

AI 速览

一句话:提出首个自动化日志生成方法,无需运行系统即可用程序分析合成运行时日志序列,为异常检测提供高质量训练数据。

现有公开日志数据集在日志事件完备性、跨系统可扩展性与用途灵活性上存在不足,制约了基于日志的异常检测的工业应用。AutoLog 是首个自动化日志生成方法:无需实际运行系统,先用程序分析探测与调用图关联的日志语句,再为每个方法构建执行图并剪枝调用图,以可扩展方式定位日志相关执行路径,最后依据人工知识为路径传播异常标签,并通过可控参数生成灵活日志序列。在 50 个流行 Java 项目上,其日志事件比同系统现有数据集多 9–58 倍,单机生成速度快 15 倍,且可调节数据规模、异常率与组件指示符;使用其数据使异常检测器性能提升约 1.93%。

问题
现有公开日志数据集在日志事件完备性、跨系统可扩展性和日志用途灵活性上存在局限,导致基于日志的异常检测技术难以在工业界落地。
方法
AutoLog 利用程序分析,在不实际运行系统的前提下,通过探测日志语句、构建并剪枝方法的调用图与执行图来定位日志相关执行路径,再基于人工知识沿路径传播异常标签并生成可控的日志序列。
评估
在 50 个流行 Java 项目上与现有数据集对比:日志事件量多 9–58 倍,单机生成速度快 15 倍,支持调节数据规模、异常率与组件指示符,并使异常检测器性能提升约 1.93%。
原文摘要(Abstract)

The rapid progress of modern computing systems has led to a growing interest in informative run-time logs. Various log-based anomaly detection techniques have been proposed to ensure software reliability. However, their implementation in the industry has been limited due to the lack of high-quality public log resources as training datasets. While some log datasets are available for anomaly detection, they suffer from limitations in (1) comprehensiveness of log events; (2) scalability over diverse systems; and (3) flexibility of log utility. To address these limitations, we propose AUTOLOG, the first automated log generation methodology for anomaly detection. AUTOLOG uses program analysis to generate runtime log sequences without actually running the system. AUTOLOG starts with probing comprehensive logging statements associated with the call graphs of an application. Then, it constructs execution graphs for each method after pruning the call graphs to find log-related execution paths in a scalable manner. Finally, AUTOLOG propagates the anomaly label to each acquired execution path based on human knowledge. It generates flexible log sequences by walking along the log execution paths with controllable parameters. Experiments on 50 popular Java projects show that AUTOLOG acquires significantly more (9x-58x) log events than existing log datasets from the same system, and generates log messages much faster (15x) with a single machine than existing passive data collection approaches. AUTOLOG also provides hyper-parameters to adjust the data size, anomaly rate, and component indicator for simulating different real-world scenarios. We further demonstrate AUTOLOG's practicality by showing that AUTOLOG enables log-based anomaly detectors to achieve better performance (1.93%) compared to existing log datasets. We hope AUTOLOG can facilitate the benchmarking and adoption of automated log analysis techniques.

链接与引用

DOI 原文 · arXiv · PDF(开放获取) · DBLP

BibTeX
@inproceedings{abs-2308-09324,
  title = {AutoLog: A Log Sequence Synthesis Framework for Anomaly Detection},
  author = {Yintong Huo and Yichen Li and Yuxin Su and Pinjia He and Zifan Xie and Michael R. Lyu},
  booktitle = {ASE},
  year = {2023},
  doi = {10.1109/ase56229.2023.00133}
}