Probabilistic Anomaly Detection for Cloud Backend Environments

Main Article Content

Callum Renshaw

Abstract

This study proposes an uncertainty-aware anomaly detection algorithm to address the challenges of dynamic coupling among multidimensional metrics, complex system dependencies, and diverse anomaly patterns in cloud backend environments. The method achieves robust modeling and accurate detection for high-dimensional non-stationary data by integrating temporal feature extraction, structural dependency modeling, and uncertainty quantification within a unified framework. A multi-scale temporal feature encoder is designed to capture both short-term fluctuations and long-term trends in system operations, while a dynamic graph mechanism models the evolving topological relationships among service nodes to enable structure-aware dependency learning. Furthermore, the model employs variational inference to perform probabilistic modeling in the latent space, estimating prediction confidence and uncertainty distributions to dynamically adjust detection thresholds and decision boundaries in complex environments. Experimental results show that the proposed algorithm maintains high detection accuracy and stability under highly dynamic conditions such as load surges, resource fluctuations, and network variations. It effectively reduces false positives and false negatives and demonstrates strong interpretability in anomaly propagation path modeling and risk identification. This research provides a scalable, interpretable, and adaptive detection framework for intelligent cloud backend operations, establishing a solid algorithmic foundation for system state awareness and risk management in complex environments.

Article Details

How to Cite
Renshaw, C. (2024). Probabilistic Anomaly Detection for Cloud Backend Environments. Journal of Computer Science and Software Applications, 4(8), 30–39. Retrieved from https://mfacademia.org/index.php/jcssa/article/view/249
Section
Articles

References

H. Wang, “Causal discriminative modeling for robust cloud service fault detection,” Journal of Computer Technology and Software, vol. 3, no. 7, 2024.

Z. Chen, D. Chen, X. Zhang, Z. Yuan and X. Cheng, “Learning graph structures with transformer for multivariate time-series anomaly detection in IoT,” IEEE Internet of Things Journal, vol. 9, no. 12, pp. 9179‑9189, 2021.

Y. Zhang, F. Regol, A. Valkanas and M. Coates, “Contrastive learning for time series on dynamic graphs,” 2022 30th European Signal Processing Conference (EUSIPCO), pp. 742‑746, Aug. 2022.

W. W. Lo, S. Layeghy, M. Sarhan, M. Gallagher and M. Portmann, “E‑GraphSAGE: A graph neural network based intrusion detection system for IoT,” arXiv preprint arXiv:2103.16329, 2021.

D. Gao, "Graph Neural Recognition of Malicious User Patterns in Cloud Systems via Attention Optimization," Transactions on Computational and Scientific Methods, vol. 4, no. 12, 2024.

Z. Li, Y. Zhao, J. Han, Y. Su, R. Jiao, X. Wen and D. Pei, “Multivariate time series anomaly detection and interpretation using hierarchical inter‑metric and temporal embedding,” Proceedings of the 27th ACM SIGKDD Conference on Knowledge Discovery & Data Mining, pp. 3220‑3230, Aug. 2021.

D. Li, D. Chen, B. Jin, L. Shi, J. Goh and S. K. Ng, “MAD‑GAN: Multivariate anomaly detection for time series data with generative adversarial networks,” International Conference on Artificial Neural Networks, pp. 703‑716, Sep. 2019.

Safdari H, De Bacco C. Community detection and anomaly prediction in dynamic networks[J]. Communications Physics, 2024, 7(1): 397.

Hundman, K., Constantinou, V., Laporte, C., Colwell, I. & Soderstrom, T., “Detecting spacecraft anomalies using LSTMs and nonparametric dynamic thresholding,” Proceedings of the 24th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 387‑395, Jul. 2018.

Zhu, L., Cui, W., Xing, Y. & Wang, Y., “Collaborative optimization in federated recommendation: integrating user interests and differential privacy,” Journal of Computer Technology and Software, vol. 3, no. 8, 2024.

Gal, Y. & Ghahramani, Z., “Dropout as a Bayesian approximation: representing model uncertainty in deep learning,” International Conference on Machine Learning, pp. 1050‑1059, Jun. 2016.

Zou, Y., “Federated distillation with structural perturbation for robust fine‑tuning of LLMs,” Transactions on Computational and Scientific Methods, vol. 4, no. 7, 2024.

Lakshminarayanan, B., Pritzel, A. & Blundell, C., “Simple and scalable predictive uncertainty estimation using deep ensembles,” Advances in Neural Information Processing Systems, vol. 30, 2017.

Li, Y., “Task‑aware differential privacy and modular structural perturbation for secure fine‑tuning of large language models,” Transactions on Computational and Scientific Methods, vol. 4, no. 7, 2024.

Tatbul, N., Lee, T. J., Zdonik, S., Alam, M. & Gottschlich, J., “Precision and recall for time series,” Advances in Neural Information Processing Systems, vol. 31, 2018.

Yao, G., “Collaborative dual‑branch contrastive learning for resource usage prediction in microservice systems,” Transactions on Computational and Scientific Methods, vol. 4, no. 5, 2024.

Zhang, C., Song, D., Chen, Y., Feng, X., Lumezanu, C., Cheng, W., … & Chawla, N. V., “A deep neural network for unsupervised anomaly detection and diagnosis in multivariate time series data,” Proceedings of the AAAI Conference on Artificial Intelligence, vol. 33, no. 01, pp. 1409‑1416, Jul. 2019.

Gong, M., “Semantic graph‑based modeling for protocol anomaly detection in heterogeneous computing systems,” Transactions on Computational and Scientific Methods, vol. 4, no. 3, 2024.

Akoglu, L., Tong, H. & Koutra, D., “Graph based anomaly detection and description: a survey,” Data Mining and Knowledge Discovery, vol. 29, no. 3, pp. 626‑688, 2015.

Audibert, J., Michiardi, P., Guyard, F., Marti, S. & Zuluaga, M. A., “USAD: unsupervised anomaly detection on multivariate time series,” Proceedings of the 26th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pp. 3395‑3404, Aug. 2020.

Gudovskiy D, Ishizaka S, Kozuka K. Cflow-ad: Real-time unsupervised anomaly detection with localization via conditional normalizing flows[C]//Proceedings of the IEEE/CVF winter conference on applications of computer vision. 2022: 98-107.

Yoon J, Sohn K, Li C L, et al. Self-supervise, refine, repeat: Improving unsupervised anomaly detection[J]. arXiv preprint arXiv:2106.06115, 2021.

Aqeel M, Sharifi S, Cristani M, et al. Self-supervised iterative refinement for anomaly detection in industrial quality control[J]. arXiv preprint arXiv:2408.11561, 2024.