Skip to main content
QUICK REVIEW

[Paper Review] SLA Violation Prediction In Cloud Computing: A Machine Learning Perspective

Reyhane Askari Hemmat, Abdelhakim Hafid|arXiv (Cornell University)|Nov 30, 2016
Imbalanced Data Classification TechniquesComputer Science9 references21 citations
TL;DR

This paper proposes a machine learning approach to predict SLA violations in cloud computing using Random Forest and Naive Bayes classifiers on a real-world Google Cloud Cluster trace dataset. By applying SMOTE-ENN re-sampling to address data class imbalance (0.2% violations), the Random Forest model achieved 99.88% accuracy and 0.9980 F1-score, outperforming other methods and demonstrating strong performance on rare-event prediction.

ABSTRACT

Service level agreement (SLA) is an essential part of cloud systems to ensure maximum availability of services for customers. With a violation of SLA, the provider has to pay penalties. In this paper, we explore two machine learning models: Naive Bayes and Random Forest Classifiers to predict SLA violations. Since SLA violations are a rare event in the real world (~0.2 %), the classification task becomes more challenging. In order to overcome these challenges, we use several re-sampling methods. We find that random forests with SMOTE-ENN re-sampling have the best performance among other methods with the accuracy of 99.88 % and F_1 score of 0.9980.

Motivation & Objective

  • To address the challenge of predicting rare SLA violations in cloud systems, where violations occur at ~0.2% frequency.
  • To evaluate the performance of machine learning models—specifically Naive Bayes and Random Forest—on imbalanced SLA violation prediction.
  • To investigate the effectiveness of various re-sampling techniques in improving model performance on skewed datasets.
  • To identify the most predictive features for SLA violation using model interpretability in Random Forest.
  • To provide a real-time, interpretable, and high-accuracy solution for SLA violation prediction to support proactive resource management.

Proposed method

  • Used the Google Cloud Cluster trace dataset (29-day trace) with rescaled CPU, memory, and disk metrics for training and testing.
  • Defined SLA violations based on predefined thresholds for service availability and performance metrics.
  • Applied multiple re-sampling techniques: Random Over/Under Sampling, SMOTE, NearMiss (1,2,3), One-Sided Selection, Neighborhood Cleaning Rule (NCR), and ensemble methods like SMOTE-ENN.
  • Trained two classifiers: Naive Bayes and Random Forest, with hyperparameters tuned for optimal performance.
  • Evaluated models using precision, recall, F1-score, and ROC-AUC, with a focus on F1-score due to class imbalance.
  • Used permutation-based feature importance to rank the contribution of each feature in the best-performing Random Forest model.

Experimental results

Research questions

  • RQ1Which machine learning model—Naive Bayes or Random Forest—performs best in predicting rare SLA violations on real-world cloud traces?
  • RQ2How do various re-sampling techniques (e.g., SMOTE, ENN, SMOTE-ENN) affect the performance of SLA violation prediction models?
  • RQ3What is the relative contribution of system metrics (e.g., memory, CPU, disk) to SLA violation prediction in the best-performing model?
  • RQ4Can a high-accuracy, interpretable model be built for real-time SLA violation prediction in production cloud environments?
  • RQ5How does model performance vary when using different evaluation metrics, especially in the context of highly imbalanced data?

Key findings

  • The Random Forest classifier with SMOTE-ENN re-sampling achieved the highest F1-score of 0.9980, outperforming all other combinations of models and sampling techniques.
  • The model reached an accuracy of 99.88%, demonstrating strong predictive power despite the extreme class imbalance (0.2% violations).
  • SMOTE-ENN outperformed other ensemble re-sampling methods due to its dual strategy of oversampling minority class and cleaning noisy instances.
  • Feature importance analysis revealed that 'mem_requested' (memory requested) was the most influential feature in predicting SLA violations.
  • Random Forest showed robustness to class imbalance even without re-sampling, achieving 79% F1-score, while Naive Bayes required re-sampling to achieve acceptable performance.
  • The ROC curve analysis confirmed that SMOTE-ENN-based Random Forest maintained high true positive rates across varying false positive rates, indicating strong generalization.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.