# Contrastive Learning-Based Dependency Modeling for Anomaly Detection in Cloud Services

arXiv: https://arxiv.org/abs/2510.13368 · HTML: https://mlsanity.com/paper/2510.13368/

## Key facts

- Cited by 9 papers in the map (data through 14 Oct 2026).
- Builds on 8 of its 19 references that are in the map.
- First posted on arXiv 15 Oct 2025.

## Builds on (most cited first, 8 of 8)

- [Collaborative Multi-Agent Reinforcement Learning Approach for Elastic Cloud Resource Scaling](https://mlsanity.com/paper/2507.00550/) (2025)
- [Maat: Performance Metric Anomaly Anticipation for Cloud Services with Conditional Diffusion](https://mlsanity.com/paper/2308.07676/) (2023)
- [Structure-Aware Temporal Modeling for Chronic Disease Progression Prediction](https://mlsanity.com/paper/2508.14942/) (2025)
- [Deep Probabilistic Modeling of User Behavior for Anomaly Detection via Mixture Density Networks](https://mlsanity.com/paper/2505.08220/) (2025)
- [GAL-MAD: Towards Explainable Anomaly Detection in Microservice Applications Using Graph Attention Networks](https://mlsanity.com/paper/2504.00058/) (2025)
- [Integrating Feature Attention and Temporal Modeling for Collaborative Financial Risk Assessment](https://mlsanity.com/paper/2508.09399/) (2025)
- [Cloudy with a Chance of Anomalies: Dynamic Graph Neural Network for Early Detection of Cloud Services' User Anomalies](https://mlsanity.com/paper/2409.12726/) (2024)
- [A Reinforcement Learning-Driven Task Scheduling Algorithm for Multi-Tenant Distributed Systems](https://mlsanity.com/paper/2508.08525/) (2025)

## Built on by (most cited first, 9 of 9)

- [Multi-Objective Adaptive Rate Limiting in Microservices Using Deep Reinforcement Learning](https://mlsanity.com/paper/2511.03279/) (2025)
- [Parameter-Efficient Fine-Tuning with Differential Privacy for Robust Instruction Adaptation in Large Language Models](https://mlsanity.com/paper/2512.06711/) (2025)
- [Structural Priors and Modular Adapters in the Composable Fine-Tuning Algorithm of Large-Scale Models](https://mlsanity.com/paper/2511.03981/) (2025)
- [Deep Q-Learning-Based Intelligent Scheduling for ETL Optimization in Heterogeneous Data Environments](https://mlsanity.com/paper/2512.13060/) (2025)
- [Deep Learning Approach to Anomaly Detection in Enterprise ETL Processes with Autoencoders](https://mlsanity.com/paper/2511.00462/) (2025)
- [Graph Neural AI with Temporal Dynamics for Comprehensive Anomaly Detection in Microservices](https://mlsanity.com/paper/2511.03285/) (2025)
- [Improving Pattern Recognition of Scheduling Anomalies through Structure-Aware and Semantically-Enhanced Graphs](https://mlsanity.com/paper/2512.18673/) (2025)
- [Shared Representation Learning for High-Dimensional Multi-Task Forecasting under Resource Contention in Cloud-Native Backends](https://mlsanity.com/paper/2512.21102/) (2025)
- [Multi-Agent Framework for Audit Risk Assessment with Explicit Uncertainty and Evidence Conflict Modeling](https://mlsanity.com/paper/2606.15640/) (2026)

## Abstract (arXiv)

This paper addresses the challenges of complex dependencies and diverse anomaly patterns in cloud service environments by proposing a dependency modeling and anomaly detection method that integrates contrastive learning. The method abstracts service interactions into a dependency graph, extracts temporal and structural features through embedding functions, and employs a graph convolution mechanism to aggregate neighborhood information for context-aware service representations. A contrastive learning framework is then introduced, constructing positive and negative sample pairs to enhance the separability of normal and abnormal patterns in the representation space. Furthermore, a temporal consistency constraint is designed to maintain representation stability across time steps and reduce the impact of short-term fluctuations and noise. The overall optimization combines contrastive loss and temporal consistency loss to ensure stable and reliable detection across multi-dimensional features. Experiments on public datasets systematically evaluate the method from hyperparameter, environmental, and data sensitivity perspectives. Results show that the proposed approach significantly outperforms existing methods on key metrics such as Precision, Recall, F1-Score, and AUC, while maintaining robustness under conditions of sparse labeling, monitoring noise, and traffic fluctuations. This study verifies the effectiveness of integrating dependency modeling with contrastive learning, provides a complete technical solution for cloud service anomaly detection, and demonstrates strong adaptability and stability in complex environments.
