TraceCRL: contrastive representation learning for microservice trace analysis
The DOI matches its Crossref record; 11 of the 11 references it cites were found in a registry or an index.
Abstract
Due to the large amount and high complexity of trace data, microservice trace analysis tasks such as anomaly detection, fault diagnosis, and tail-based sampling widely adopt machine learning technology. These trace analysis approaches usually use a preprocessing step to map structured features of traces to vector representations in an ad-hoc way. Therefore, they may lose important information such as topological dependencies between service operations. In this paper, we propose TraceCRL, a trace representation learning approach based on contrastive learning and graph neural network, which can incorporate graph structured information in the downstream trace analysis tasks. Given a trace, TraceCRL constructs an operation invocation graph where nodes represent service operations and edges represent operation invocations together with predefined features for invocation status and related metrics. Based on the operation invocation graphs of traces TraceCRL uses a contrastive learning method to train a graph neural network-based model for trace representation. In particular, TraceCRL employs six trace data augmentation strategies to alleviate the problems of class collision and uniformity of representation in contrastive learning. Our experimental studies show that TraceCRL can significantly improve the performance of trace anomaly detection and offline trace sampling. It also confirms the effectiveness of the trace augmentation strategies and the efficiency of TraceCRL.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Zhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Li, W., & Ding, D. (2021) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2018.2887384 · Cited by 410 · cited 8×
“[39] propose an improved trace visualization approach to support fault analysis and debugging.”
BackgroundMethodInfluentialSelf-citationZhou, X., Peng, X., Xie, T., Sun, J., Ji, C., Liu, D., Xiang, Q., & He, C. (2019) · Proceedings of the 2019 27th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3338906.3338961 · Cited by 277
Self-citationUnsupervised Detection of Microservice Trace Anomalies through Service-Level Deep Bayesian Networks
Liu, P., Xu, H., Ouyang, Q., Jiao, R., Chen, Z., Zhang, S., Yang, J., Mo, L., Zeng, J., Xue, W., et al. (2020) · 2020 IEEE 31st International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre5003.2020.00014 · Cited by 252 · cited 23×
“The resulting approaches are called STV-WSET, OCV-Sieve, TraceCRLWSET, and TraceCRL-Sieve, respectively.”
BackgroundMethodInfluentialPractical Root Cause Localization for Microservice Systems via Trace Analysis
Li, Z., Chen, J., Jiao, R., Zhao, N., Wang, Z., Zhang, S., Wu, Y., Jiang, L., Yan, L., Wang, Z., et al. (2021) · 2021 IEEE/ACM 29th International Symposium on Quality of Service (IWQOS) · doi:10.1109/iwqos52092.2021.9521340 · Cited by 159
(2017) · doi:10.1145/3132747.3132749 · Cited by 144
Enjoy your observability: an industrial survey of microservice tracing and analysis
Li, B., Peng, X., Xiang, Q., Wang, H., Xie, T., Sun, J., & Liu, X. (2022) · Empirical Software Engineering · doi:10.1007/s10664-021-10063-9 · Cited by 121 · cited 5×
“Industrial microservice systems may include hundreds to thousands of services running in a complicated cloud infrastructure and with a large number of service instances created and destroyed dynamically [12, 39].”
BackgroundInfluentialSelf-citationGraph-based trace analysis for microservice architecture understanding and problem diagnosis
Guo, X., Peng, X., Wang, H., Li, W., Jiang, H., Ding, D., Xie, T., & Su, L. (2020) · Proceedings of the 28th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3368089.3417066 · Cited by 118 · cited 2×
“Guo et al. [5] propose a trace aggregation and visualization approach to help understand microservice architecture and diagnose problems at runtime.”
BackgroundSelf-citationAutomated Analysis of Distributed Tracing: Challenges and Research Directions
Bento, A., Correia, J., Filipe, R., Araujo, F., & Cardoso, J. (2021) · Journal of Grid Computing · doi:10.1007/s10723-021-09551-5 · Cited by 45
Yu, G., Huang, Z., & Chen, P. (2023) · Journal of Software: Evolution and Process · doi:10.1002/smr.2413 · Cited by 44 · cited 1×
“[36] extend Mirorank by using hierarchical clustering and k-means algorithm to detect anomalous traces and then use spectrum analysis to locate the root causes.”
MethodSifter: Scalable Sampling for Distributed Traces, without Feature Engineering
Las-Casas, P., Papakerashvili, G., Anand, V., & Mace, J. (2019) · Proceedings of the ACM Symposium on Cloud Computing · doi:10.1145/3357223.3362736 · Cited by 42 · cited 1×
“The same authors [11] propose a neural network-based trace sampling approach which constructs trace vectors based on fixed-length operation sequences.”
Background
Cited by
Yu, G., Chen, P., Li, Y., Chen, H., Li, X., & Zheng, Z. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616249 · Cited by 140
(2024) · doi:10.1145/3597503.3639088 · Cited by 22
Self-citationPre-training Code Representation with Semantic Flow Graph for Effective Bug Localization
Du, Y., & Yu, Z. (2023) · Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering · doi:10.1145/3611643.3616338 · Cited by 19
Efficient and Robust Trace Anomaly Detection for Large-Scale Microservice Systems
Zhang, S., Pan, Z., Liu, H., Jin, P., Sun, Y., Ouyang, Q., Wang, J., Jia, X., Zhang, Y., Yang, H., et al. (2023) · 2023 IEEE 34th International Symposium on Software Reliability Engineering (ISSRE) · doi:10.1109/issre59848.2023.00012 · Cited by 14
Self-citationA comprehensive benchmark and empirical study of trace anomaly detection
Sun, Y., Shao, M., Nie, X., Yang, K., Li, X., Hao, B., Zhang, S., Pei, C., He, D., Li, Y., et al. (2025) · IEEE Transactions on Services Computing · doi:10.1109/tsc.2025.3622122 · Cited by 1
“TraceCRL: Following the GraphCL (Graph Contrastive Learning with Augmentations) framework [29], TraceCRL [30] leverages contrastive learning and graph neural networks to learn effective trace representations.”
Metadata
- Authors
- Zhang, C., Peng, X., Zhou, T., Sha, C., Yan, Z., Chen, Y., & Yang, H.
- Venue
- Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering
- Publisher
- ACM
- Published
- 2022-11-07
- Pages
- 1221-1232
- OpenAlex
- W4308642198
- Cited by
- 36
- References
- 11
- FWCI
- 7.36
- Type
- conference paper
- Language
- en
- Open access
- closed
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
How to cite
Cite CoChat for the checks on this page, and the paper for its own findings.
- This page
- CoChat. (2026). Citation check: TraceCRL: contrastive representation learning for microservice trace analysis. https://app.cochat.ai/papers/10.1145/3540250.3549146
- The paper
- Zhang, C., Peng, X., Zhou, T., Sha, C., Yan, Z., Chen, Y., & Yang, H. (2022). TraceCRL: contrastive representation learning for microservice trace analysis. Proceedings of the 30th ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering. https://doi.org/10.1145/3540250.3549146
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.