Abstract
In massive cloud computing environments, detecting task slowdowns is critical for maintaining system reliability. Traditional methods focusing on individual tasks suffer from poor scalability and high noise levels. This paper discusses SORN (Skimming Off and Reconstructing Non-slowing fluctuation), an unsupervised framework designed to detect cluster-wide slowdowns by analyzing task duration distributions. SORN addresses the challenges of compound periodicity and contaminated training data through three novel components: Skimming Attention, Neural Optimal Transport (OT), and a Picky Loss function. Evaluation on industrial datasets from Alibaba and Carnegie Mellon University demonstrates that SORN significantly outperforms state-of-the-art anomaly detection models, achieving F1 scores as high as 0.979.
1. Introduction
Modern cloud systems execute millions of concurrent tasks. Monitoring these tasks for "slowdowns"—instances where execution time exceeds expectations—is vital for identifying system-wide malfunctions. However, traditional task-level monitoring faces two primary hurdles. First, the sheer volume of tasks makes individual monitoring computationally expensive and impractical at scale. Second, virtualized environments introduce significant noise; a single slow task often represents a transient fluctuation rather than a systemic issue.
To overcome these limitations, the SORN framework shifts the analytical focus from individual instances to the cluster-wide task duration distribution. While this approach improves scalability, it introduces new complexities, such as overlapping daily and weekly cycles (compound periodicity) and "non-slowing fluctuations" (random speedups). Furthermore, real-world training data is often "contaminated" with existing anomalies, which can bias unsupervised models toward learning incorrect "normal" behavior.
2. The SORN Framework
SORN introduces three key innovations to handle the nuances of cloud-scale duration distributions.
2.1 Skimming Attention
Standard self-attention mechanisms often suffer from "amplitude bias," where high-amplitude periodic cycles (e.g., massive daily spikes) drown out subtler, low-amplitude patterns. The authors provide theoretical proof of this bias and propose Skimming Attention as a solution. This multi-layer mechanism "skims off" dominant periodic components in initial layers, allowing subsequent layers to focus on and reconstruct finer, low-amplitude details. This ensures the model captures the full spectrum of compound periodicity found in real-world cloud traffic.
2.2 Neural Optimal Transport (OT)
Distinguishing between a cluster-wide slowdown and a harmless fluctuation (like a sudden speedup) is critical. SORN incorporates Neural Optimal Transport as a specialized layer. By designing a "transportation cost matrix" that specifically penalizes distribution shifts toward longer durations (slowdowns) while ignoring shifts toward shorter durations, the model becomes highly sensitive to performance degradation. Because SORN intentionally fails to reconstruct these "slowdown" shifts, the resulting reconstruction error—the anomaly score—becomes much sharper and more reliable for detection.
2.3 Picky Loss Function
Unsupervised models are frequently trained on data that already contains anomalies. To prevent the model from learning these anomalies as "normal" behavior, SORN employs a Picky Loss function. This adaptive weighting mechanism assigns higher importance to "reliable" time slots—those showing broad associations across the entire time series—and lower weights to isolated, potentially anomalous spikes.
3. Experimental Evaluation
The framework was evaluated against four datasets: Ali1 & Ali2 (15 days of industrial monitoring data from 25 Alibaba clusters), Mustang (five years of task duration data from Carnegie Mellon University), and Sync (a synthetic dataset for controlled testing of noise and periodicity).
3.1 Performance and Efficiency
SORN consistently outperformed state-of-the-art (SOTA) baselines, including TranAD, AnomalyTransformer, and DCdetector. On the Ali1 dataset, SORN achieved an F1 score of 0.979, significantly higher than AnomalyTransformer (0.923) and TranAD (0.864).
Beyond accuracy, SORN maintains a lower memory footprint than heavy-duty models like DCdetector. By modeling distributions rather than individual tasks, the computational complexity remains independent of the number of tasks, making it inherently "cloud-native" and ready for hyper-scale environments.
3.2 Robustness
Tests on the synthetic Sync dataset demonstrated SORN's resilience. The model maintained an F1 score above 0.9 even under conditions of high noise or "lax" periodicity (where cycles do not repeat perfectly). This robustness is essential for real-world deployment where environmental conditions are rarely ideal.
4. Conclusion and Future Work
SORN represents a significant advancement in cloud monitoring by leveraging distribution-based analysis and specialized attention mechanisms. While highly effective, its sensitivity can be influenced by the granularity of predefined task duration buckets. Future research will explore the integration of Large Language Models (LLMs) for automated root cause analysis and the development of multi-agent systems to facilitate autonomous recovery once slowdowns are detected.
Summary updated