A Survey of Time Series Anomaly Detection Methods in the AIOps Domain

Zhenyu Zhong, Qiliang Fan, Jiacheng Zhang, Minghua Ma, Shenglin Zhang, Yongqian Sun, Qingwei Lin, Yuzhi Zhang, Dan PeiarXiv 2023 · DOI

Introduction: The AIOps Challenge

Modern Internet services generate a staggering volume of telemetry data. Millions of Key Performance Indicators (KPIs)—ranging from CPU utilization to service response times—must be monitored in real-time to ensure reliability. Traditional manual thresholding is no longer viable at this scale. This paper surveys the landscape of anomaly detection specifically for Artificial Intelligence for IT Operations (AIOps), a field characterized by unique and formidable challenges.

The AIOps domain presents four primary "nightmare" scenarios for standard machine learning:

  1. Huge Dimensionality: Monitoring millions of entities simultaneously across complex microservice architectures.
  2. Label Scarcity: The prohibitive cost of having human engineers manually label millions of data points.
  3. Concept Drift: Frequent software and hardware updates that constantly redefine "normal" behavior.
  4. Data Imbalance: The inherent rarity of anomalies, which complicates the training of supervised classifiers.

Taxonomy of Anomaly Detection

To navigate this complex field, the authors propose a comprehensive taxonomy that categorizes research by data sources, input types, anomaly definitions, and major challenges.

Taxonomy of time series anomaly detection in the AIOps domain.

As shown in the taxonomy, the field is broadly divided by the nature of the input data: Univariate Time Series (UTS), which monitor a single metric, and Multivariate Time Series (MTS), which monitor entities with multiple correlated metrics.

Methodological Approaches

The survey distinguishes between methods based on the complexity of the data they handle and the specific operational context.

Examples of different time series data types in AIOps: (a) System-related UTS, (b) System-related MTS, (c) User-perceived or service performance UTS, and (d) User-perceived or service performance MTS.

Univariate Methods (UTS)

UTS methods focus on individual metrics.

  • Classical & Statistical: Techniques like ARIMA, Holt-Winters, and EWMA are valued for their speed but often fail to capture complex, non-linear patterns.
  • Extreme Value Theory (EVT): Unsupervised approaches like SPOT and FluxEV are notable for calculating thresholds based on the "tails" of probability distributions, avoiding the pitfalls of assuming normal distribution.
  • Reconstruction-based: Models like Variational Autoencoders (VAEs) and GANs learn a compressed representation of "normal" data. Anomalies are identified by high reconstruction errors. VAE-based models (e.g., Donut, Bagel) are currently considered the gold standard for unsupervised UTS due to their noise robustness.

Multivariate Methods (MTS)

MTS methods must account for Spatiotemporal Dependence:

  • Temporal Dependence: Captured using sequence models like RNNs (LSTMs) or CNNs to track changes over time.
  • Spatial Dependence: The "new frontier" involves Graph Neural Networks (GNNs). By treating metrics or microservices as nodes in a graph, GNNs (e.g., GDN, MTAD-GAT) can model complex inter-dependencies, such as how database latency impacts web server throughput. Understanding system topology is often as critical as the metric values themselves.

Benchmarks and Evaluation

The survey identifies critical open-source datasets for benchmarking:

  • UTS: Yahoo (S5), Numenta Anomaly Benchmark (NAB), and the AIOPS 2018 KPI Challenge.
  • MTS: Server Machine Dataset (SMD), SMAP, and MSL.
  • Industrial: Data from major players like Baidu and Alibaba.

A key insight in evaluation is the "Point-Adjustment" strategy. In AIOps, detecting any part of a multi-minute anomaly is often sufficient to trigger a necessary alert. While "Point-Adjusted F1-scores" are common, the authors caution that they can sometimes inflate a model's perceived performance.

Future Directions

The field is shifting from supervised to self-supervised learning to combat label scarcity. However, several gaps remain:

  • Privacy: Developing federated learning approaches for sensitive system logs.
  • Efficiency: Creating lightweight deep learning models capable of scaling to millions of metrics.
  • Root Cause Analysis: Moving beyond detection to "localization"—identifying exactly which component failed and why.

Summary updated

BibTeX
@misc{zhong2023survey,
  author = {Zhenyu Zhong and Qiliang Fan and Jiacheng Zhang and Minghua Ma and Shenglin Zhang and Yongqian Sun and Qingwei Lin and Yuzhi Zhang and Dan Pei},
  title = {{A Survey of Time Series Anomaly Detection Methods in the AIOps Domain}},
  year = {2023},
  eprint = {2308.00393},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2308.00393},
}
Figure