Interpretable Anomaly Detection in Cellular Networks by Learning Concepts in Variational Autoencoders

Amandeep Singh, Michael Weber, Markus Lange-HegermannarXiv 2023

TL;DR

This paper introduces a novel approach to anomaly detection in cellular networks by leveraging Variational Autoencoders (VAEs) to learn interpretable representations of Key Performance Indicators (KPIs). By incorporating "concepts" derived from K-means clustering into the VAE's latent space, the model not only detects anomalies but also explains which KPIs are anomalous and to what degree, paving the way for faster and more autonomous network issue resolution.

What Problem Does This Paper Address?

The explosive growth of mobile technology generates vast amounts of data, making it increasingly challenging for network operators to manually monitor performance and detect anomalies. While existing anomaly detection methods exist, a significant hurdle is not just identifying that an anomaly has occurred, but understanding why – specifically, which Key Performance Indicators (KPIs) are contributing to the anomaly and the magnitude of their deviation. This lack of interpretability hinders efficient troubleshooting and resolution.

Methods

The core of the proposed solution is a modified Variational Autoencoder (VAE). The authors enhance the standard VAE by:

  • Concept Learning with K-means: They first use the K-means algorithm to cluster network elements based on their KPI values, defining "concepts" (represented by centroids) that capture typical behavior patterns for individual KPIs.
  • Conditional VAE Prior: Instead of a standard Gaussian prior for the latent space, they introduce a conditional prior, $p(z|c)$, where $c$ represents the learned concept. This modification forces the VAE to learn distinct latent representations for different concepts, thereby enhancing interpretability.
  • Anomaly Detection via Reconstruction Loss and Z-scores: Anomalies are initially detected based on reconstruction loss. To interpret these anomalies, the learned Gaussian distributions in the latent dimensions are used to calculate Z-scores for each KPI. These Z-scores provide a quantitative measure of how much a specific KPI deviates from its learned normal behavior, allowing for the identification of the anomalous KPI and its magnitude.

Datasets

The study utilizes a time-series dataset collected from cellular networks covering approximately 100,000 km² with over 9,000 base stations. The dataset comprises 5 KPIs: Call Drop Rate, Total Drops, eNodeB Drops, MME Drops, and Total Call Attempts. The data was collected over a 150-day period and split into training, validation, and testing sets. The authors also incorporated 500 arbitrary centroids derived from K-means clustering into the dataset.

Key Insights and Ideas

  • Interpretable Latent Space is Key: The paper strongly emphasizes that simply detecting anomalies isn't enough; understanding the "why" is crucial for practical applications. Their VAE modification directly addresses this by making the latent space interpretable.
  • Concepts as Bridges: Using K-means to define "concepts" acts as a bridge between raw KPI data and the VAE's latent representation, allowing the model to learn meaningful, concept-specific patterns.
  • Z-scores for Quantifying Anomalies: The use of Z-scores derived from the learned latent distributions provides a clear, quantitative way to pinpoint which KPIs are anomalous and by how much, moving beyond just a high reconstruction loss.
  • Deep Learning for Big Data in Networks: The work showcases the potential of deep learning, specifically VAEs, to handle the massive scale of data generated by modern cellular networks for autonomous anomaly detection.

Key Results

  • The proposed VAE model successfully learns interpretable latent representations for individual KPIs, visualized in scatter plots showing the relationship between learned means and log-variances.
  • The Z-score analysis effectively identifies specific KPIs responsible for detected anomalies. For instance, in Table 2, anomalies are pinpointed to specific KPIs (e.g., Call Drop Rate, Total Drops, MME Drops) where Z-scores are high, while others remain close to their learned mean.
  • The model demonstrates the ability to penalize larger anomalies more accurately, as evidenced by clearer representations in the test dataset compared to the training dataset for certain KPIs.

Limitations and Future Work

  • Data Cleaning for Training: The authors note that visualizing data samples can help clean up the training dataset by identifying potential anomalies that might otherwise skew the learning process. This suggests that a purely "normal" dataset for training is ideal.
  • Generalizability of Concepts: While K-means is used to derive concepts, the paper doesn't extensively discuss how these concepts might generalize across different network areas or time periods.
  • Root Cause Analysis: The paper explicitly states it does not concentrate on root cause analysis but rather on identifying the failing component. Future work could extend this to provide more actionable insights for root cause identification.
  • Autonomous Anomaly Resolution: The framework offers a faster and autonomous solution for detection, but the next logical step would be to integrate this with automated remediation or alerting systems.

Summary updated

BibTeX
@misc{singh2023interpretable,
  author = {Amandeep Singh and Michael Weber and Markus Lange-Hegermann},
  title = {{Interpretable Anomaly Detection in Cellular Networks by Learning Concepts in Variational Autoencoders}},
  year = {2023},
  eprint = {2306.15938},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2306.15938},
}
Figure