Superiority of Simplicity: A Lightweight Model for Network Device Workload Prediction

Alexander Acker, Thorsten Wittkopp, Sasho Nedelkoski, Jasmin Bogatinovski, Odej Kao

TL;DR

This paper introduces a lightweight ensemble model for predicting network device workload (KPIs) that combines a simple average predictor with a linear neural network. The model achieves competitive prediction accuracy while being computationally efficient, making it suitable for frequent retraining in dynamic IT environments.

What Problem Does This Paper Address?

The increasing complexity and scale of modern IT systems, driven by the proliferation of interconnected devices and large data centers, pose significant challenges for operation and maintenance. Monitoring solutions collect vast amounts of Key Performance Indicators (KPIs) like CPU utilization and memory usage. Predicting future KPI values based on historical data is crucial for proactive optimizations such as anomaly detection and predictive maintenance. However, forecasting IT system KPIs is difficult due to their diverse nature (e.g., volatile CPU vs. stable memory), interdependencies between components, and frequent changes from software/hardware updates. Existing complex models often struggle with high computational overhead and the need for constant retraining.

Methods

The authors propose a lightweight ensemble model for workload prediction. The core idea is to combine two simpler models:

  • Mean Predictor: This model calculates a simple average of historical mean values for a given KPI series. It's effective for constant but noisy series.
  • Linear Neural Network (NN): A feed-forward neural network is used. It takes preprocessed historical KPI data, meta-information (like hour of day and day of week), and the output of the mean predictor as input. This model is designed to capture more complex patterns and seasonality.

These two models are combined using a weighted summation in an ensemble layer. Crucially, the weights are determined by a heuristic. This heuristic checks if the NN model performs better than the average predictor on a recent validation set. If the NN performs poorly, its weight is reduced, giving more importance to the average predictor. This adaptive weighting helps the model handle diverse KPI types. The model is trained individually for each KPI series, enabling efficient retraining.

Datasets

The paper evaluates its method on the FedCSIS 2020 challenge dataset. This dataset contains historical KPI data for 3,716 hosts, with 45 different KPIs recorded hourly over three months. The data includes seven measurement aggregations per hour (count, mean, std dev, first, last, min, max). The prediction target is the future mean value of a KPI.

Key Insights and Ideas

  • Simplicity Wins: The paper argues that a lightweight approach, combining simple models, can be superior to complex ones for network workload prediction, especially given the need for frequent retraining.
  • Diversity of KPIs: Different KPI types exhibit vastly different behaviors (volatility, seasonality, noise), making a single complex model challenging. The ensemble approach with adaptive weighting helps address this.
  • Computational Feasibility is Key: The authors highlight that complex models like LSTMs, while potentially powerful, are computationally infeasible for training individual models for thousands of KPI series due to their long training times.
  • Heuristic for Weighting: The adaptive weighting heuristic is a novel contribution that allows the ensemble to dynamically favor the more appropriate predictor (average vs. NN) based on recent performance.

Key Results

The proposed lightweight model achieved an R² score of 0.10 on the preliminary 10% test data and 0.15 on the complete test data of the FedCSIS 2020 challenge. While not achieving the top scores, it performed competitively. A significant finding was the runtime analysis, showing that their linear neural network trained 10 times faster per epoch than an equivalent LSTM-based network. This difference in training time (2.37 seconds/epoch for linear vs. 25.72 seconds/epoch for LSTM) is critical for enabling individual model training for thousands of KPI series.

Limitations and Future Work

  • Limitations: The authors acknowledge that their model did not achieve the highest scores in the challenge. They also note that some KPI series are better predicted by their baseline average than by complex models, which can negatively impact the overall R² score due to the nature of the metric. The preliminary test set might not be representative of the complete dataset.
  • Future Work: The authors suggest exploring other network types like Convolutional Neural Networks (CNNs) or attention mechanisms. Further improvements could come from different numerical encodings of meta-information and exploring more sophisticated methods for learning the summation weights in the ensemble layer.

Summary updated

Abstract

The rapid growth and distribution of IT systems increases their complexity and aggravates operation and maintenance. To sustain control over large sets of hosts and the connecting networks, monitoring solutions are employed and constantly enhanced. They collect diverse key performance indicators (KPIs) (e.g. CPU utilization, allocated memory, etc.) and provide detailed information about the system state. Storing such metrics over a period of time naturally raises the motivation of predicting future KPI progress based on past observations. Although, a variety of time series forecasting methods exist, forecasting the progress of IT system KPIs is very hard. First, KPI types like CPU utilization or allocated memory are very different and hard to be expressed by the same model. Second, system components are interconnected and constantly changing due to soft- or firmware updates and hardware modernization. Thus a frequent model retraining or fine-tuning must be expected. Therefore, we propose a lightweight solution for KPI series prediction based on historic observations. It consists of a weighted heterogeneous ensemble method composed of two models - a neural network and a mean predictor. As ensemble method a weighted summation is used, whereby a heuristic is employed to set the weights. The modelling approach is evaluated on the available FedCSIS 2020 challenge dataset and achieves an overall $R^2$ score of 0.10 on the preliminary 10% test data and 0.15 on the complete test data. We publish our code on the following github repository: https://github.com/citlab/fed_challenge
BibTeX
@inproceedings{acker2020superiority,
  author = {Alexander Acker and Thorsten Wittkopp and Sasho Nedelkoski and Jasmin Bogatinovski and Odej Kao},
  title = {{Superiority of Simplicity: A Lightweight Model for Network Device Workload Prediction}},
  booktitle = {FedCSIS},
  year = {2020},
  url = {https://openreview.net/forum?id=FeYvDP7jft},
}
Figure