Twin Graph-based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System

Jun Huang, Yang Yang, Hang Yu, Jianguo Li, Xiao Zheng
10/7/2023
cs.LGcs.SE

Official code: alipay/microservice_system_twin_graph_based_anomaly_detection (41 stars, last commit 2023-10-25).

Abstract

Microservice architecture has sprung up over recent years for managing enterprise applications, due to its ability to independently deploy and scale services. Despite its benefits, ensuring the reliability and safety of a microservice system remains highly challenging. Existing anomaly detection algorithms based on a single data modality (i.e., metrics, logs, or traces) fail to fully account for the complex correlations and interactions between different modalities, leading to false negatives and false alarms, whereas incorporating more data modalities can offer opportunities for further performance gain. As a fresh attempt, we propose in this paper a semi-supervised graph-based anomaly detection method, MSTGAD, which seamlessly integrates all available data modalities via attentive multi-modal learning. First, we extract and normalize features from the three modalities, and further integrate them using a graph, namely MST (microservice system twin) graph, where each node represents a service instance and the edge indicates the scheduling relationship between different service instances. The MST graph provides a virtual representation of the status and scheduling relationships among service instances of a real-world microservice system. Second, we construct a transformer-based neural network with both spatial and temporal attention mechanisms to model the inter-correlations between different modalities and temporal dependencies between the data points. This enables us to detect anomalies automatically and accurately in real-time. The source code of MSTGAD is publicly available at https://github.com/alipay/microservice_system_twin_graph_based_anomaly_detection.

View on arXivView PDF

Code Implementations(1)

Similar Papers

Cite this paper

@article{huang2023twin,
  title  = {Twin Graph-based Anomaly Detection via Attentive Multi-Modal Learning for Microservice System},
  author = {Jun Huang and Yang Yang and Hang Yu and Jianguo Li and Xiao Zheng},
  year   = {2023},
  eprint = {2310.04701},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2310.04701v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2310.04701.svg)](https://codeofpaper.com/paper/2310.04701)

Discussion