Unsupervised Anomaly Detection on Microservice Traces through Graph VAE
Zhe Xie, Haowen Xu, Wenxiao Chen, Wanxue Li, Huai Jiang, Liangfei Su, Hanzhang Wang, Dan Pei
摘要
The microservice architecture is widely employed in large Internet systems. For each user request, a few of the microservices are called, and a trace is formed to record the tree-like call dependencies among microservices and the time consumption at each call node. Traces are useful in diagnosing system failures, but their complex structures make it difficult to model their patterns and detect their anomalies. In this paper, we propose a novel dual-variable graph variational autoencoder (VAE) for unsupervised anomaly detection on microservice traces. To reconstruct the time consumption of nodes, we propose a novel dispatching layer. We find that the inversion of negative log-likelihood (NLL) appears for some anomalous samples, which makes the anomaly score infeasible for anomaly detection. To address this, we point out that the NLL can be decomposed into KL-divergence and data entropy, whereas lower-dimensional anomalies can introduce an entropy gap with normal inputs. We propose three techniques to mitigate this entropy gap for trace anomaly detection: Bernoulli & Categorical Scaling, Node Count Normalization, and Gaussian Std-Limit. On five trace datasets from a top Internet company, our proposed Trace-VAE achieves excellent F-scores.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning 引用了 DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
- ThirdEye: Attention Maps for Safe Autonomous Driving Systems 引用了 Misbehaviour prediction for autonomous driving systems
- GAMMA: Graph Neural Network-Based Multi-Bottleneck Localization for Microservices Applications 引用了 DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep Learning
引用它的顶会 Paper4
- Automatic Root Cause Analysis via Large Language Models for Cloud IncidentsYinfang Chen, Huaibing Xie, Minghua Ma, Yu Kang 等EuroSys 2024 · 175 次引用
- GAMMA: Graph Neural Network-Based Multi-Bottleneck Localization for Microservices ApplicationsGagan Somashekar, Anurag Dutt, Mainak Adak, Tania Lorido-Botran 等WWW 2024 · 15 次引用
- UMGAD: Unsupervised Multiplex Graph Anomaly DetectionXiang Li, Jianpeng Qi, Zhongying Zhao, Guanjie Zheng 等ICDE 2025 · 4 次引用
- Large Language Models as Realistic Microservice Trace GeneratorsDonghyun Kim, Sriram Ravula, Taemin Ha, Alex Dimakis 等EMNLP 2025 · 2 次引用
它引用的 Paper5
- DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 次引用
- Handling Distribution Shifts on Graphs: An Invariance PerspectiveQitian Wu, Hengrui Zhang, Junchi Yan, David WipfICLR 2022 · 261 次引用
- DeepTraLog: Trace-Log Combined Microservice Anomaly Detection through Graph-based Deep LearningChenxi Zhang, Xin Peng, Chaofeng Sha, Ke Zhang 等ICSE 2022 · 163 次引用
- Misbehaviour prediction for autonomous driving systemsAndrea Stocco, Michael Weiss, Marco Calzana, Paolo TonellaICSE 2020 · 138 次引用
- ThirdEye: Attention Maps for Safe Autonomous Driving SystemsAndrea Stocco, Paulo J. Nunes, Marcelo d'Amorim, Paolo TonellaASE 2022 · 43 次引用
相关 Paper
- A Semi-Supervised VAE Based Active Anomaly Detection Framework in Multivariate Time Series for Online SystemsTao Huang, Pengfei Chen, Ruipeng LiWWW 2022 · 74 次引用
- CAVIAR: Disentangling Root Causes with an ICA-based VAE for Large-Scale Microservice SystemsXinrui Jiang, Tingzhu Bi, Meng Ma, Ping WangKDD 2026
- Revisiting VAE for Unsupervised Time Series Anomaly Detection: A Frequency PerspectiveZexin Wang, Changhua Pei, Minghua Ma, Xin Wang 等WWW 2024 · 90 次引用
- Twin Graph-Based Anomaly Detection via Attentive Multi-Modal Learning for Microservice SystemJun Huang, Yang Yang, Hang Yu, Jianguo Li 等ASE 2023 · 32 次引用
- TraceCRL: contrastive representation learning for microservice trace analysisChenxi Zhang, Xin Peng, Tong Zhou, Chaofeng Sha 等FSE 2022 · 36 次引用
