Self-Supervised Spatio-Temporal Representation Learning for Microservice Anomaly Detection

Microservice architecture is widely adopted in massive Internet applications due to its advantages such as agility and scalability. It is important to accurately detect anomalies to ensure the reliability of microservice systems. Unsupervised methods based on prediction or reconstruction have been proposed to monitor the time series of metrics for each virtual component (named pod). However, such methods have only used normal data for training representation of time series therefore the difference between normal and anomaly data is not fully represented. Moreover, the 2D spatial-temporal dependency among metric time series have been considered in literature but the interdependency among metric data implied by the physical co-deployment of components in the microservice system has not been considered. In this paper, we propose a self-supervised spatio-temporal representation learning model, named 3DCNN-VAE, for microservice anomaly detection. We customized VAE to learn comparative representations between normal and anomaly to construct discriminative features for multivariate time series representations. 3DCNN is introduced as an encoder in VAE to extract 3D spatio-temporal dependencies between multivariate metric data. Meanwhile, we use GNN to reduce the influence of metric indexing on feature extraction. The latent space representation in the VAE structure is used as the pre-trained time series representation, and the VAE decoder is transformed into MLP to complete downstream classification tasks for anomaly detection. Results on realistic dataset show that 3DCNN-VAE outperforms the best baseline by 9.8% on recall and 4.2% on F1-score.

Authors

Institutions

Publication Details

Published
2025-04-11
DOI
https://doi.org/10.1109/wccct65447.2025.11027933
Primary Topic
Software System Performance and Reliability
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Self-Supervised Spatio-Temporal Representation Learning for Microservice Anomaly Detection

Zhong Cao, Yishuai Chen, Shuowen Liang, Yuchun Guo et al.
Software System Performance and Reliability
article

Self-Supervised Spatio-Temporal Representation Learning for Microservice Anomaly Detection

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

Abstract

Microservice architecture is widely adopted in massive Internet applications due to its advantages such as agility and scalability. It is important to accurately detect anomalies to ensure the reliability of microservice systems. Unsupervised methods based on prediction or reconstruction have been proposed to monitor the time series of metrics for each virtual component (named pod). However, such methods have only used normal data for training representation of time series therefore the difference between normal and anomaly data is not fully represented. Moreover, the 2D spatial-temporal dependency among metric time series have been considered in literature but the interdependency among metric data implied by the physical co-deployment of components in the microservice system has not been considered. In this paper, we propose a self-supervised spatio-temporal representation learning model, named 3DCNN-VAE, for microservice anomaly detection. We customized VAE to learn comparative representations between normal and anomaly to construct discriminative features for multivariate time series representations. 3DCNN is introduced as an encoder in VAE to extract 3D spatio-temporal dependencies between multivariate metric data. Meanwhile, we use GNN to reduce the influence of metric indexing on feature extraction. The latent space representation in the VAE structure is used as the pre-trained time series representation, and the VAE decoder is transformed into MLP to complete downstream classification tasks for anomaly detection. Results on realistic dataset show that 3DCNN-VAE outperforms the best baseline by 9.8% on recall and 4.2% on F1-score.

Beijing Jiaotong University (CN)
Openalex Percentile: Top 86%
Software System Performance and Reliability
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.