EUVIMEDObjevte EUVIMED
Open access · CC BY-NC-ND 4.0

Self-Supervised Contrastive Learning for Few-Shot Anomaly Detection in Cloud Infrastructure

Liwen Cheng, Haoqi Sun, Elena Petrović

American Journal of Machine Learning · 2025

DOI: 10.71465/ajml3439 ↗

At a glance

Journal article in American Journal of Machine Learning, 2025. Written by Liwen Cheng and 2 co-authors. The full text is freely available (open access, CC BY-NC-ND 4.0).

AbstraktBibliografické údajeCiteRelated studies

Abstract (original language)

Cloud infrastructure systems have become increasingly critical for modern enterprises, yet their complexity poses significant challenges for anomaly detection, particularly when labeled training data is scarce. This paper proposes a novel framework that integrates self-supervised contrastive learning with few-shot learning techniques to address the challenge of anomaly detection in cloud environments with limited labeled samples. The approach leverages contrastive representation learning to extract meaningful features from unlabeled cloud system data, enabling the model to effectively distinguish between normal and anomalous patterns using only a few labeled examples per anomaly class. Our method introduces a multi-stage architecture that combines variational autoencoder-based representation learning with prototypical network classification and meta-learning optimization strategies. Experimental results on three real-world cloud infrastructure datasets demonstrate that the proposed framework achieves superior performance compared to traditional supervised methods and existing few-shot learning approaches, with an average F1-score improvement of 12.3% in 5-way 1-shot scenarios. The framework exhibits strong generalization capabilities across different cloud service types and infrastructure configurations, making it particularly suitable for practical deployment in dynamic cloud environments where new anomaly patterns emerge frequently.

Cite

APA

Cheng, L., Sun, H., & Petrović, E. (2025). Self-Supervised Contrastive Learning for Few-Shot Anomaly Detection in Cloud Infrastructure. American Journal of Machine Learning. https://doi.org/10.71465/ajml3439

Vancouver

Cheng L, Sun H, Petrović E. Self-Supervised Contrastive Learning for Few-Shot Anomaly Detection in Cloud Infrastructure. American Journal of Machine Learning. 2025. doi:10.71465/ajml3439

BibTeX
@article{Cheng2025,
  author = {Cheng, Liwen and Sun, Haoqi and Petrović, Elena},
  title = {Self-Supervised Contrastive Learning for Few-Shot Anomaly Detection in Cloud Infrastructure},
  journal = {American Journal of Machine Learning},
  year = {2025},
  doi = {10.71465/ajml3439}
}
Start for free →