Multi-device, Multi-tenant Model Selection with GP-EI

Chen Yu, Bojan Karlas, Jie Zhong, Ce Zhang, Ji LiuarXiv 2018

Automated Machine Learning (AutoML) has traditionally focused on the "Single-device, Single-tenant" (SDST) scenario: a single user optimizing a model for a specific dataset on a single machine. However, modern cloud service providers operate in a vastly different reality, managing thousands of users (tenants) across shared pools of hardware (devices). This paper introduces MM-GP-EI, a novel framework designed to optimize "global happiness" in these multi-tenant environments.

The Multi-Tenant Scheduling Challenge

In a cloud environment, the service provider faces a complex resource allocation problem. When a computational device (like a GPU) becomes available, the provider must decide which user to serve and which model configuration to evaluate. Standard approaches like Round Robin or random scheduling are often inefficient because they fail to account for the varying time costs of different models or the varying potential for improvement across different users' tasks.

The multi-tenant scheduling problem: deciding which user to serve next from a shared pool of GPUs.

The goal of MM-GP-EI is to maximize "global happiness," defined as the cumulative reduction in regret across all users. Regret represents the gap between a user's current best-performing model and their theoretical optimum. By viewing the problem holistically, the provider can prioritize tasks that offer the greatest benefit to the collective user base.

The MM-GP-EI Framework

Building upon the Gaussian Process Expected Improvement (GP-EI) algorithm, the authors introduce several key innovations to adapt Bayesian optimization for multi-tenant settings:

1. EIrate: Cost-Sensitive Selection

Instead of selecting models based solely on Expected Improvement (EI), the algorithm uses the Expected Improvement Rate (EIrate). This is defined as:

$$\text{EIrate}(x) = \frac{EI(x)}{c(x)}$$

where $c(x)$ is the estimated time cost of training model $x$. This ensures the system prioritizes "quick wins"—models that provide significant information gain for relatively low computational investment.

2. Global Acquisition

When a device becomes free, the system calculates a global acquisition function by summing the expected improvement for a specific model across all users who might benefit from it. The model with the highest global EIrate is selected for the next round of training.

3. Maximum Incremental Uncertainty (MIU)

To provide theoretical guarantees, the authors introduce Maximum Incremental Uncertainty (MIU). Unlike standard Information Gain metrics, which can struggle in noise-free cloud environments, MIU allows the researchers to mathematically bound the cumulative regret, proving that the system will eventually find the optimal model for every user.

Experimental Evaluation

The researchers evaluated MM-GP-EI against two real-world datasets and a synthetic benchmark:

  • Azure Dataset: Utilizing data from 17 users on Microsoft Azure Machine Learning Studio, the algorithm achieved the target global happiness level up to 5x faster than standard Round Robin or Random scheduling.
  • DeepLearning Dataset: Using data from 22 users across 8 neural network architectures (e.g., ResNet-18, AlexNet), the algorithm consistently outperformed independent serving strategies, even when initial model quality was already high.
  • Synthetic Benchmark: A test with 50 users and 50 models demonstrated a near-linear speedup. As more devices ($M$) are added to the pool, the total regret decreases by a factor of approximately $M$, showing excellent scalability for large-scale cloud infrastructure.

Conclusion and Future Directions

MM-GP-EI represents a significant shift in AutoML research, moving from individual optimization to collective resource management. By incorporating cost-sensitivity and global acquisition, service providers can significantly increase the efficiency of their hardware.

Future work remains to be done in handling heterogeneous devices (where different GPUs or TPUs have varying performance profiles) and refining cost estimation in dynamic environments where training times may fluctuate. Nonetheless, the theoretical and empirical results demonstrate that a global view of user "happiness" is a powerful tool for modern cloud-based AutoML.

Summary updated

BibTeX
@misc{yu2018multi,
  author = {Chen Yu and Bojan Karlas and Jie Zhong and Ce Zhang and Ji Liu},
  title = {{Multi-device, Multi-tenant Model Selection with GP-EI}},
  year = {2018},
  eprint = {1803.06561},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.06561},
}
Figure