Submitted:
30 December 2025
Posted:
31 December 2025
You are already at the latest version
Abstract
To address the practical challenges of diverse anomaly patterns, strongly coupled dependencies, and high labeling costs in large-scale complex infrastructures, this paper presents an unsupervised anomaly detection method that integrates graph neural networks with Transformer models. The approach learns normal system behavior and identifies deviations without relying on anomaly labels. Infrastructure components are abstracted as nodes in a dependency graph, where nodes are characterized by multiple source observability signals. A graph encoder aggregates neighborhood information to produce structure-enhanced node representations. Self-attention mechanisms are introduced along the temporal dimension to capture long-range dynamic dependencies. This design enables joint modeling of structural relations and temporal evolution. A reconstruction-based training strategy is adopted to constrain the learning of normal patterns. Reconstruction error is used to derive anomaly scores for detection. To ensure reproducibility and ease of deployment, complete specifications of data organization, training procedures, and key hyperparameter settings are provided. Comparative experiments on public benchmarks demonstrate overall advantages across multiple evaluation metrics and confirm the effectiveness of the proposed framework in representing anomaly propagation and temporal drift characteristics in complex systems.
Keywords:
I. Introduction
II. Background
III. Method
IV. Experimental Results
V. Conclusions
References
- Chen, J.; Liu, F.; Jiang, J.; et al. TraceGra: A Trace-Based Anomaly Detection for Microservice Using Graph Deep Learning. Computer Communications 2023, vol. 204, 109–117. [Google Scholar] [CrossRef]
- Tuli, S.; Casale, G.; Jennings, N. R. TranAD: Deep Transformer Networks for Anomaly Detection in Multivariate Time Series Data. arXiv 2022, arXiv:2201.07284. [Google Scholar] [CrossRef]
- Yu, Z.; Pei, C.; Wang, X.; et al. Pre-Trained KPI Anomaly Detection Model through Disentangled Transformer. In Proceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining, 2024; pp. 6190–6201. [Google Scholar]
- Liu, Z.; Huang, X.; Zhang, J.; et al. Multivariate Time-Series Anomaly Detection Based on Enhancing Graph Attention Networks with Topological Analysis. In Proceedings of the 33rd ACM International Conference on Information and Knowledge Management, 2024; pp. 1555–1564. [Google Scholar]
- Kang, H.; Kang, P. Transformer-Based Multivariate Time Series Anomaly Detection Using Inter-Variable Attention Mechanism. Knowledge-Based Systems 2024, vol. 290, 111507. [Google Scholar] [CrossRef]
- Xu, L.; Xu, K.; Qin, Y.; et al. TGAN-AD: Transformer-Based GAN for Anomaly Detection of Time Series Data. Applied Sciences 2022, vol. 12(no. 16), 8085. [Google Scholar] [CrossRef]
- Kim, J.; Kang, H.; Kang, P. Time-Series Anomaly Detection with Stacked Transformer Representations and 1D Convolutional Network. Engineering Applications of Artificial Intelligence 2023, vol. 120, 105964. [Google Scholar] [CrossRef]
- Hagemann, T.; Katsarou, K. A Systematic Review on Anomaly Detection for Cloud Computing Environments. In Proceedings of the 2020 3rd Artificial Intelligence and Cloud Computing Conference, 2020; pp. 83–96. [Google Scholar]
- Soldani, J.; Brogi, A. Anomaly Detection and Failure Root Cause Analysis in (Micro) Service-Based Cloud Applications: A Survey. ACM Computing Surveys 2022, vol. 55(no. 3), 1–39. [Google Scholar] [CrossRef]
- C. Nwachukwu, K. Durodola‐Tunde and C. Akwiwu‐Uzoma. AI‐Driven Anomaly Detection in Cloud Computing Environments. International Journal of Science and Research Archive 2024, 13, 692–710. [Google Scholar]
- Li, J.; Gan, Q.; Liu, Z.; Chiang, C.; Ying, R.; Chen, C. An Improved Attention-Based LSTM Neural Network for Intelligent Anomaly Detection in Financial Statements. 2025. [Google Scholar]
- Xu, Q.; Xu, W.; Su, X.; Ma, K.; Sun, W.; Qin, Y. Enhancing Systemic Risk Forecasting with Deep Attention Models in Financial Time Series. In Proceedings of the 2025 2nd International Conference on Digital Economy, Blockchain and Artificial Intelligence, 2025; pp. 340–344. [Google Scholar]
- Xing, Y.; Deng, Y.; Liu, H.; Wang, M.; Zi, Y.; Sun, X. Contrastive Learning-Based Dependency Modeling for Anomaly Detection in Cloud Services. arXiv 2025, arXiv:2510.13368. [Google Scholar] [CrossRef]
- Chiang, C. F.; Li, D.; Ying, R.; Wang, Y.; Gan, Q.; Li, J. Deep Learning-Based Dynamic Graph Framework for Robust Corporate Financial Health Risk Prediction. 2025. [Google Scholar]
- Lai, J.; Chen, C.; Li, J.; Gan, Q. Explainable Intelligent Audit Risk Assessment with Causal Graph Modeling and Causally Constrained Representation Learning. 2025. [Google Scholar]
- Fan, H.; Yi, Y.; Xu, W.; Wu, Y.; Long, S.; Wang, Y. Intelligent Credit Fraud Detection with Meta-Learning: Addressing Sample Scarcity and Evolving Patterns. 2025. [Google Scholar]
- Zhang, Q.; Wang, Y.; Hua, C.; Huang, Y.; Lyu, N. Knowledge-Augmented Large Language Model Agents for Explainable Financial Decision-Making. arXiv 2025, arXiv:2512.09440. [Google Scholar] [CrossRef]
- Pan, S.; Wu, D. Trustworthy Summarization via Uncertainty Quantification and Risk Awareness in Large Language Models. arXiv 2025, arXiv:2510.01231. [Google Scholar]
- Huang, Y.; Luan, Y.; Guo, J.; Song, X.; Liu, Y. Parameter-Efficient Fine-Tuning with Differential Privacy for Robust Instruction Adaptation in Large Language Models. arXiv 2025, arXiv:2512.06711. [Google Scholar]
- Li, Y.; Han, S.; Wang, S.; Wang, M.; Meng, R. Collaborative Evolution of Intelligent Agents in Large-Scale Microservice Systems. arXiv 2025, arXiv:2508.20508. [Google Scholar] [CrossRef]
- Zhang, H.; Zhu, L.; Peng, C.; Zheng, J.; Lin, J.; Bao, R. Intelligent Recommendation Systems Using Multi-Scale LoRA Fine-Tuning and Large Language Models. 2025. [Google Scholar]
- Zhang, Q.; Lyu, N.; Liu, L.; Wang, Y.; Cheng, Z.; Hua, C. Graph Neural AI with Temporal Dynamics for Comprehensive Anomaly Detection in Microservices. arXiv 2025, arXiv:2511.03285. [Google Scholar] [CrossRef]
- Qiu, Z.; Liu, F.; Wang, Y.; Hu, C.; Cheng, Z.; Wu, D. Spatiotemporal Traffic Prediction in Distributed Backend Systems via Graph Neural Networks. arXiv 2025, arXiv:2510.15215. [Google Scholar] [CrossRef]
- Yao, G.; Liu, H.; Dai, L. Multi-Agent Reinforcement Learning for Adaptive Resource Orchestration in Cloud-Native Clusters. In Proceedings of the 2nd International Conference on Intelligent Computing and Data Analysis, 2025; pp. 680–687. [Google Scholar]
- Yao, H.; Liu, M.; Yin, Z.; et al. GLAD: Towards Better Reconstruction with Global and Local Adaptive Diffusion Models for Unsupervised Anomaly Detection. In Proceedings of the European Conference on Computer Vision, 2024; pp. 1–17. [Google Scholar]
- He, H.; Bai, Y.; Zhang, J.; et al. MambaAD: Exploring State Space Models for Multi-Class Unsupervised Anomaly Detection. Advances in Neural Information Processing Systems 2024, vol. 37, 71162–71187. [Google Scholar]
- Guo, J.; Lu, S.; Zhang, W.; et al. DiNomaly: The Less Is More Philosophy in Multi-Class Unsupervised Anomaly Detection. In Proceedings of the Computer Vision and Pattern Recognition Conference, 2025; pp. 20405–20415. [Google Scholar]
- Ding, L.; Chen, B.; Zhu, Y.; et al. Geo-HGAN: Unsupervised Anomaly Detection in Geochemical Data via Latent Space Learning. Computers & Geosciences 2024, vol. 192, 105703. [Google Scholar]
- Dai, W.; Fan, J. AutoUAD: Hyper-Parameter Optimization for Unsupervised Anomaly Detection. In Proceedings of the Thirteenth International Conference on Learning Representations, 2024. [Google Scholar]
- Luo, P.; Wang, B.; Tian, J.; et al. ADS-BPoIs: Poisoning Attacks against Deep Learning-Based Air Traffic ADS-B Unsupervised Anomaly Detection Models. IEEE Internet of Things Journal, 2024. [Google Scholar]



| Model | Acc(%) | Precision(%) | Recall(%) | F1-Score(%) |
| Glad[25] | 47.3 | 44.8 | 42.1 | 43.4 |
| Mambaad[26] | 51.6 | 49.7 | 46.8 | 48.2 |
| Dinomaly[27] | 53.9 | 52.4 | 49.1 | 50.7 |
| Geo-Hgan[28] | 55.8 | 54.1 | 52.7 | 53.4 |
| Autouad[29] | 56.7 | 55.2 | 53.0 | 54.1 |
| ADS-Bpois[30] | 58.4 | 56.8 | 55.1 | 55.9 |
| Ours | 62.1 | 61.0 | 60.3 | 60.6 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).