iTCRL: Causal-Intervention-Based Trace Contrastive Representation Learning for Microservice Systems
- 20 August 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Software Engineering
- Vol. 50 (10) , 2583-2601
Abstract
Nowadays, microservice architecture has become mainstream way of cloud applications delivery. Distributed tracing is crucial to preserve the observability of microservice systems. However, existing trace representation approaches only concentrate on operations, relationships and metrics related to service invocations. They ignore service events that denotes meaningful, singular point in time during the service’s duration. In this paper, we propose iTCRL, a novel trace contrastive representation learning approach based on causal intervention. This approach first constructs a unified graph representation for each trace to describe the runtime status of service events in traces and the complex relationships between them. Then, Causal-intervention-based Trace Contrastive Learning is proposed, which learns trace representations from causal perspective based on the unified graph representations of traces. It uses causal intervention to generate contrastive views, heterogeneous graph neural network-based trace encoder to learn trace representations, and direct causal effect to guide the training of trace encoder. Experimental results on three datasets show that iTCRL outperforms all baselines in terms of trace classification, trace anomaly detection, trace sampling and noise robustness, and also validate the contribution of Causal-intervention-based Trace Contrastive Learning.Keywords
Funding Information
- National Key R & D Program of China (2022YFB3304300)
- National Natural Science Foundation Project of China (62072342, 61672392)
- Fundamental Research Funds for the Central Universities (2042023kf1018)
This publication has 31 references indexed in Scilit:
- HAQJSK: Hierarchical-Aligned Quantum Jensen-Shannon Kernels for Graph ClassificationIEEE Transactions on Knowledge and Data Engineering, 2024
- Permutation Equivariant Graph Framelets for Heterophilous Graph LearningIEEE Transactions on Neural Networks and Learning Systems, 2024
- Multimodal graph learning based on 3D Haar semi-tight framelet for student engagement predictionInformation Fusion, 2024
- BLoG: Bootstrapped graph representation learning with local and global regularization for recommendationPattern Recognition, 2023
- Eadro: An End-to-End Troubleshooting Framework for Microservices on Multi-source Data2023
- Multi-Agent Trajectory Prediction With Heterogeneous Edge-Enhanced Graph Attention NetworkIEEE Transactions on Intelligent Transportation Systems, 2022
- ServiceRank: Root Cause Identification of Anomaly in Large-Scale Microservice ArchitecturesIEEE Transactions on Dependable and Secure Computing, 2021
- Unsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks2020
- Momentum Contrast for Unsupervised Visual Representation Learning2020
- Drain: An Online Log Parsing Approach with Fixed Depth Tree2017