paperbot · PL 论文追踪

全部论文 待读 收藏

P2 DeepTraLog

DeepTraLog
ICSE Proceedings of the 44th International Conference on Software Engineering2022匹配度 2/10 · 该论文面向微服务 trace 与日志的深度学习异常检测,属于 ML 用于软件系统可观测性/调试,与用户核心关注的静态分析、LLM/Agent 与程序分析交叉、浮点程序分析、贝叶斯程序分析均无直接关系。引用 224 inbox
Chenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang, Zhenqing Fu, Xiya Wu, Qingwei Lin, Dongmei Zhang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:提出 DeepTraLog,用统一图表示融合 trace 与日志事件,并基于 GGNN 和 deep SVDD 检测微服务异常。

微服务系统通常由大量跨机服务组成,其异常会反映在记录服务间交互的 trace 与记录服务内行为的日志中。现有 trace 异常检测将 trace 视为服务调用序列,忽略调用层级和并行/异步调用带来的复杂结构;现有日志异常检测将日志视为事件序列,难以处理分布广泛且交互复杂的微服务日志。本文提出 DeepTraLog,使用统一图表示描述 trace 的复杂结构并将日志事件嵌入其中,进而训练基于 GGNN 的 deep SVDD 模型,结合 trace 与日志检测新 trace 及其对应日志中的异常。在微服务基准上的评估显示,DeepTraLog 达到 0.93 精确率和 0.97 召回率,F1 相较最先进方法平均提升 0.37,并验证了效率、统一图表示的贡献及关键参数配置的影响。

问题
微服务系统中的异常检测需要同时利用记录服务间交互的 trace 和记录服务内行为的日志,但现有 trace 方法忽略调用层级与并行/异步结构,日志方法难以处理分布式复杂交互。
方法
DeepTraLog 用统一图表示描述 trace 的复杂结构并嵌入日志事件,基于 GGNN 训练 deep SVDD 模型,结合 trace 与日志进行异常检测。
评估
在微服务基准上评估,达到 0.93 精确率和 0.97 召回率,F1 平均提升 0.37,并验证效率、统一图表示贡献与关键参数配置影响。
原文摘要(Abstract)

A microservice system in industry is usually a large-scale distributed system consisting of dozens to thousands of services running in different machines. An anomaly of the system often can be reflected in traces and logs, which record inter-service interactions and intra-service behaviors respectively. Existing trace anomaly detection approaches treat a trace as a sequence of service invocations. They ignore the complex structure of a trace brought by its invocation hierarchy and parallel/asynchronous invocations. On the other hand, existing log anomaly detection approaches treat a log as a sequence of events and cannot handle microservice logs that are distributed in a large number of services with complex interactions. In this paper, we propose DeepTraLog, a deep learning based microservice anomaly detection approach. DeepTraLog uses a unified graph representation to describe the complex structure of a trace together with log events embedded in the structure. Based on the graph representation, DeepTraLog trains a GGNNs based deep SVDD model by combing traces and logs and detects anomalies in new traces and the corresponding logs. Evaluation on a microservice benchmark shows that DeepTraLog achieves a high precision (0.93) and recall (0.97), outperforming state-of-the-art trace/log anomaly detection approaches with an average increase of 0.37 in F1-score. It also validates the efficiency of DeepTraLog, the contribution of the unified graph representation, and the impact of the configurations of some key parameters.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{Zhang0SZFWL022,
  title = {DeepTraLog},
  author = {Chenxi Zhang and Xin Peng and Chaofeng Sha and Ke Zhang and Zhenqing Fu and Xiya Wu and Qingwei Lin and Dongmei Zhang},
  booktitle = {ICSE},
  year = {2022},
  doi = {10.1145/3510003.3510180}
}