Correlation-Aware Heuristic Search for Intelligent Virtual Machine Provisioning in Cloud Systems

Chuan Luo, Bo Qiao, Wenqian Xing, Xin Chen, Pu Zhao, Chao Du, Randolph Yao, Hongyu Zhang, Wei Wu, Shaowei Cai, Bing He, Saravanakumar Rajmohan, Qingwei Lin

Introduction

In large-scale cloud computing environments, efficient resource management hinges on the Predictive Virtual Machine Provisioning (PreVMP) problem. Cloud providers must balance two competing objectives: maintaining high service availability by having virtual machines (VMs) ready for immediate deployment and minimizing resource waste caused by over-provisioning. Traditional approaches often treat the demand for different VM types as independent variables. However, real-world workloads frequently exhibit strong correlations—for instance, a multi-tier application may require a synchronized increase in web, database, and cache VM types.

At AAAI-21, researchers introduced CAHS (Correlation-Aware Heuristic Search), a framework designed to exploit these correlations to improve CPU utilization and provisioning efficiency. CAHS is currently deployed within Microsoft Azure, demonstrating significant real-world impact.

The CAHS Framework

CAHS moves beyond independent demand modeling by employing a "Prediction+Optimization" pipeline that explicitly accounts for inter-VM type correlations. The framework operates through four integrated phases:

  1. Partitioning Phase: The system uses the Pearson Correlation Coefficient (PCC) and a greedy algorithm to group VM types with highly correlated historical demands. This reduces the dimensionality of the problem while preserving critical relationship data.
  2. Configuration Selection Phase: To handle the vast hyperparameter space, CAHS utilizes a Neural Network-based performance regressor. This component predicts which configurations will yield the highest utilization, creating a feedback loop for continuous improvement.
  3. Prediction Phase: Instead of univariate forecasting, CAHS employs an Unobserved Component Model (UCM) for joint demand forecasting within groups. It models prediction uncertainty using a Multivariate Gaussian Mixture Model (GMM), capturing how errors across different VM types are linked.
  4. Optimization Phase: A heuristic search identifies the optimal provisioning plan. The core innovation is a scoring function that calculates the expected increment in CPU utilization based on the joint probability distributions of the VM groups.
The CAHS framework architecture, illustrating the iterative flow from partitioning to optimization.

Experimental Evaluation

The framework was evaluated against three large-scale industrial benchmarks from Microsoft Azure:

  • Azure-2017 & Azure-2019: Public datasets containing demand for 110 and 150 VM types over 30 days.
  • INDU-2020: A larger benchmark featuring 154 VM types and 60 days of data.

Analysis of these datasets confirmed that correlation is pervasive; in INDU-2020, each VM type was significantly correlated with an average of 45 other types. This empirical evidence underscores the necessity of the correlation-aware approach.

Results and Impact

CAHS demonstrated superior performance across all benchmarks, consistently outperforming nine state-of-the-art competitors, including the previous leading method, UAHS.

Performance comparison of CAHS against state-of-the-art baselines across three large-scale benchmarks.

As shown in the results table, CAHS achieved average CPU utilization gains of 5.3% on Azure-2017, 3.5% on Azure-2019, and 6.9% on INDU-2020. Beyond utilization, the framework maintains high computational efficiency, with runtimes suitable for production environments. In its deployment within Microsoft Azure's Pre-Provisioning Service (PPS), CAHS has significantly reduced median VM provisioning times for customers.

Conclusion

By breaking the assumption of independent VM demands, CAHS provides a more accurate model of demand uncertainty in cloud systems. The integration of multivariate prediction with a correlation-aware heuristic search allows for more aggressive yet safe provisioning plans. Future work may extend this framework to include multi-objective optimization, such as balancing utilization with power consumption and hardware wear-and-tear.

Summary updated

BibTeX
@inproceedings{luo2021correlation,
  author = {Chuan Luo and Bo Qiao and Wenqian Xing and Xin Chen and Pu Zhao and Chao Du and Randolph Yao and Hongyu Zhang and Wei Wu and Shaowei Cai and Bing He and Saravanakumar Rajmohan and Qingwei Lin},
  title = {{Correlation-Aware Heuristic Search for Intelligent Virtual Machine Provisioning in Cloud Systems}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2021},
  doi = {10.1609/aaai.v35i14.17467},
}
Figure