Hybrid Model for Anomaly Detection on Call Detail Records by Time Series Forecasting

Aryan Mokhtari, Leyla Sadighi, Behnam Bahrak, Mojtaba EshghiearXiv 2020

TL;DR

This paper introduces a novel hybrid model that combines GARCH, K-means, and Neural Networks to detect anomalies in cellular network call detail records (CDRs). By leveraging time series forecasting, the model achieves exceptionally high accuracy and low false positive rates, offering a more robust solution for identifying unusual network traffic patterns.

What Problem Does This Paper Address?

Cellular network operators generate vast amounts of data, including Call Detail Records (CDRs), which contain valuable information about user activity. Analyzing this data is crucial for various applications like detecting cyber-attacks, understanding user behavior, and improving network performance. A key challenge is identifying "anomalies" – deviations from normal network traffic or user behavior. These anomalies can signal issues like hardware failures, network attacks, or even unusual surges in activity due to special events. Traditional anomaly detection methods often struggle with high false positive rates (FPR) and insufficient accuracy, leading to wasted resources and degraded service quality. This paper aims to address this by developing a more accurate and reliable method for anomaly detection in CDRs, specifically focusing on predicting call volumes and identifying deviations.

Methods

The core of this paper is a hybrid anomaly detection model that integrates three distinct techniques:

  • GARCH (Generalized Autoregressive Conditional Heteroskedasticity): This statistical model is used for time series forecasting, specifically to model and predict the variance of network traffic. It's chosen because it can handle non-stationary data and automatically make the variance stationary, which was observed in the dataset.
  • K-means Clustering: This unsupervised machine learning algorithm is employed to group data points into clusters. In this context, it's used to differentiate between normal and anomalous call patterns.
  • Neural Networks (specifically NNAR - Neural Network Autoregressive): This predictive modeling technique, based on artificial neural networks, is used for time series forecasting. It leverages past observations to predict future values.

The novelty lies in the hybridization of these methods. The model operates in two modes:

  • First Mode (Less Cautious): A record is flagged as anomalous if at least one of the three methods (GARCH, K-means, Neural Network) identifies it as such.
  • Second Mode (More Cautious): A record is considered anomalous only if all three methods agree on its anomalous nature.

Additionally, the paper uses logistic regression for causality inference, helping to understand which features contribute most to the detected anomalies.

Datasets

The study utilizes a real-world Call Detail Record (CDR) dataset from a major mobile phone operator in Iran. This anonymized data covers a period of 3 months (December 21, 2016, to March 20, 2017) from a commercial area. The CDR data was aggregated to represent hourly call activities, differentiating between call-in and call-out. The dataset was split into training (48%) and testing (42%) sets for model development and evaluation. No new benchmark datasets were introduced.

Key Insights and Ideas

  • The power of hybridization: Combining statistical forecasting (GARCH), clustering (K-means), and predictive modeling (Neural Networks) creates a more robust anomaly detection system than any single method alone. This is because each method captures different aspects of data behavior.
  • Time series forecasting is key: Predicting future call volumes is fundamental to identifying deviations. The GARCH model's ability to handle variance is particularly important for network traffic data.
  • Two modes offer flexibility: The dual-mode approach (any method flags vs. all methods agree) allows for a trade-off between sensitivity and specificity, catering to different operational needs. The "all methods agree" mode significantly reduces false positives.
  • Context matters for anomalies: The paper suggests that anomalies, particularly those occurring around Iranian New Year, are often linked to increased human activity (e.g., shopping), rather than system failures. This highlights the importance of understanding external factors.

Key Results

The hybrid model demonstrated exceptional performance:

  • First Mode: Achieved an accuracy of 99.72% with a remarkably low FPR of 0.01%.
  • Second Mode: Achieved an accuracy of 99.68% with an FPR of 0.012%.

These results significantly outperform previous methods cited in the literature, as detailed in Tables 2, 3, and 4. For instance, the first mode's accuracy is substantially higher than reported by Parwez et al. [2] (90%) and Hussian et al. [20] (98.8%), while its FPR is drastically lower.

Limitations and Future Work

  • Data Limitations: The authors acknowledge that the study was limited by the available dataset.
  • Future Work: The authors suggest exploring other anomaly detection methods such as bootstrapping, vector autoregressions, and models that can handle complex seasonality for future research. They also aim to predict and detect anomalies using these advanced techniques.

Summary updated

Abstract

Mobile network operators store an enormous amount of information like log files that describe various events and users' activities. Analysis of these logs might be used in many critical applications such as detecting cyber-attacks, finding behavioral patterns of users, security incident response, network forensics, etc. In a cellular network Call Detail Records (CDR) is one type of such logs containing metadata of calls and usually includes valuable information about contact such as the phone numbers of originating and receiving subscribers, call duration, the area of activity, type of call (SMS or voice call) and a timestamp. With anomaly detection, it is possible to determine abnormal reduction or increment of network traffic in an area or for a particular person. This paper's primary goal is to study subscribers' behavior in a cellular network, mainly predicting the number of calls in a region and detecting anomalies in the network traffic. In this paper, a new hybrid method is proposed based on various anomaly detection methods such as GARCH, K-means, and Neural Network to determine the anomalous data. Moreover, we have discussed the possible causes of such anomalies.
BibTeX
@misc{mokhtari2020hybrid,
  author = {Aryan Mokhtari and Leyla Sadighi and Behnam Bahrak and Mojtaba Eshghie},
  title = {{Hybrid Model for Anomaly Detection on Call Detail Records by Time Series Forecasting}},
  year = {2020},
  eprint = {2006.04101},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04101},
}
Figure