HiGraph: Learning Hierarchical Graph for Multivariate Time Series Anomaly Detection in Microservice Systems

Microservices enable flexible, scalable, and efficient application development in cloud environments. A service instance is a chain of microservices running in virtual pods. The service invocation trace and the pod performance metrics are recorded and analyzed to detect anomalies and ensure system stability. Spatiotemporal graph neural network models are popular for time-series representation as they can capture intra- and inter-correlation of time series. However, we find that the performance of anomaly detection depends on the dynamic correlation between containers in microservice system greatly, but has not been considered in existing work. To capture the correlation both on pod level and metric level, we propose a hierachcical graph neural network model, HiGraph, cascading of MetricLayer and PodLayer modules. MetricLayer is used to compute the correlation between metrics through mutual information. PodLayer is used to learn the dynamical correlation of the pods from trace data. It is important to note that trace data continuously records calls, while metric data has a sampling interval, making temporal alignment difficult. To address this, we innovatively use the edge weights of the graph to align them. We count the call frequency between different pods in the trace data over a specific period to update the weights of the spatial correlation graph. Extensive experiments on real data demonstrate that HiGraph improves RMSE by 4.9%, MAE by 4.8%, F1-score by 4.2% and recall by 9.2% compared to the best baseline.

Authors

Institutions

Publication Details

Published
2025-04-11
DOI
https://doi.org/10.1109/wccct65447.2025.11028023
Primary Topic
Network Security and Intrusion Detection
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

HiGraph: Learning Hierarchical Graph for Multivariate Time Series Anomaly Detection in Microservice Systems

Zhong Cao, Yishuai Chen, Ruoyao Zhang, Shuowen Liang et al.
Network Security and Intrusion Detection
article

HiGraph: Learning Hierarchical Graph for Multivariate Time Series Anomaly Detection in Microservice Systems

Zhong Cao, Yishuai Chen, Ruoyao Zhang, Shuowen Liang, Yuchun Guo, Yiming Li
article en

Abstract

Microservices enable flexible, scalable, and efficient application development in cloud environments. A service instance is a chain of microservices running in virtual pods. The service invocation trace and the pod performance metrics are recorded and analyzed to detect anomalies and ensure system stability. Spatiotemporal graph neural network models are popular for time-series representation as they can capture intra- and inter-correlation of time series. However, we find that the performance of anomaly detection depends on the dynamic correlation between containers in microservice system greatly, but has not been considered in existing work. To capture the correlation both on pod level and metric level, we propose a hierachcical graph neural network model, HiGraph, cascading of MetricLayer and PodLayer modules. MetricLayer is used to compute the correlation between metrics through mutual information. PodLayer is used to learn the dynamical correlation of the pods from trace data. It is important to note that trace data continuously records calls, while metric data has a sampling interval, making temporal alignment difficult. To address this, we innovatively use the edge weights of the graph to align them. We count the call frequency between different pods in the trace data over a specific period to update the weights of the spatial correlation graph. Extensive experiments on real data demonstrate that HiGraph improves RMSE by 4.9%, MAE by 4.8%, F1-score by 4.2% and recall by 9.2% compared to the best baseline.

Beijing Jiaotong University (CN)
Openalex Percentile: Top 86%
Network Security and Intrusion Detection
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.