COMPARATIVE ANALYSIS OF SEQUENCE-BASED AND GRAPH-BASED DEEP LEARNING FOR ANOMALY DETECTION IN MICROSERVICE TRACES

Journal of problem in computer science and information technologies, 2026

Full text Open access: Gold Metadata (CSL-JSON)
DOI 10.26577/jpcsit4220265
Data confidence 85 high
How this score is calculated

It is built from checkable properties of the record itself: whether the article has a DOI, how many independent sources confirmed its data, whether the required fields are filled in, and how recent the latest confirmation is. Disagreement between sources and a missing identifier lower it. A value of 80 or above means the record was published without further checking; 60 to 79 means it is published at reduced confidence, with a manual check advisable. A record verified by an editor by hand is never pushed below 90 by a recalculation. This scores our data about the article, not the article itself.

Abstract

The transition from monolithic to microservice architectures has significantly increased the complexity of system observability. Distributed tracing has emerged as a vital tool for monitoring inter-service interactions, yet traditional anomaly detection methods often fail to capture the intricate structural relationships inherent in these systems. This article presents a comprehensive comparative analysis of sequence-based machine learning approaches, specifically Long Short-Term Memory (LSTM) networks, with Graph-based Deep Learning methods such as Graph Neural Networks (GNNs) for anomaly detection in microservice traces. We evaluate these paradigms across three critical dimensions: structural awareness, detection accuracy, and computational efficiency. Our analysis, drawn from recent frameworks including DeepTraLog and TraceVAE, demonstrates that graph-based models provide superior structural fidelity and achieve higher precision-recall metrics while maintaining scalability for high-dimensional telemetry data. The findings indicate that GNN-based approaches achieve F1-scores up to 0.954, significantly outperforming sequence-based alternatives which typically achieve F1-scores around 0.741. These results have important implications for the design of next-generation observability platforms for cloud-native applications.