Skip to main content
QUICK REVIEW

[Paper Review] Ease.ml: Towards Multi-tenant Resource Sharing for Machine Learning Workloads

Tian Li, Jie Zhong|arXiv (Cornell University)|Aug 24, 2017
Advanced Bandit Algorithms ResearchDecision Sciences21 references17 citations
TL;DR

This paper introduces ease.ml, a declarative machine learning service platform that enables multi-tenant resource sharing for non-CS researchers at ETH Zurich. It proposes a novel cost-aware, multi-tenant model selection algorithm combining multi-armed bandits and Bayesian optimization with theoretical regret bounds, achieving up to 9.8× faster convergence than heuristic methods in real-world image classification workloads.

ABSTRACT

We present ease.ml, a declarative machine learning service platform we built to support more than ten research groups outside the computer science departments at ETH Zurich for their machine learning needs. With ease.ml, a user defines the high-level schema of a machine learning application and submits the task via a Web interface. The system automatically deals with the rest, such as model selection and data movement. In this paper, we describe the ease.ml architecture and focus on a novel technical problem introduced by ease.ml regarding resource allocation. We ask, as a "service provider" that manages a shared cluster of machines among all our users running machine learning workloads, what is the resource allocation strategy that maximizes the global satisfaction of all our users? Resource allocation is a critical yet subtle issue in this multi-tenant scenario, as we have to balance between efficiency and fairness. We first formalize the problem that we call multi-tenant model selection, aiming for minimizing the total regret of all users running automatic model selection tasks. We then develop a novel algorithm that combines multi-armed bandits with Bayesian optimization and prove a regret bound under the multi-tenant setting. Finally, we report our evaluation of ease.ml on synthetic data and on one service we are providing to our users, namely, image classification with deep neural networks. Our experimental evaluation results show that our proposed solution can be up to 9.8x faster in achieving the same global quality for all users as the two popular heuristics used by our users before ease.ml.

Motivation & Objective

  • Address the challenge of efficient and fair resource allocation in a multi-tenant machine learning environment where multiple non-CS researchers share a centralized GPU and storage cluster.
  • Formalize the problem of multi-tenant model selection as minimizing the total regret across all users, balancing efficiency and fairness in shared infrastructure.
  • Design a novel algorithm that integrates multi-armed bandits with Bayesian optimization to optimize resource allocation under heterogeneous model costs and performance.
  • Provide theoretical regret bounds for the proposed algorithm in the multi-tenant, cost-aware setting, ensuring global satisfaction across users.
  • Evaluate the system on synthetic data and real-world image classification tasks to demonstrate superior performance over existing heuristic-based approaches.

Proposed method

  • Formalize the multi-tenant model selection problem as a global regret minimization objective across all users, accounting for both model performance and execution cost.
  • Integrate cost-awareness into the GP-UCB (Gaussian Process Upper Confidence Bound) framework to prioritize high-value, low-cost model evaluations.
  • Use a multi-task Gaussian Process estimator to model performance across users, treating each user’s model search as a separate but correlated task.
  • Design a hybrid execution strategy that allows concurrent evaluation of multiple models across users, improving exploration efficiency.
  • Implement a dynamic resource allocation policy that balances exploration (seeking better models) and exploitation (favoring high-performing models) across tenants.
  • Theoretical analysis provides a regret bound under the multi-tenant, cost-aware setting, proving convergence guarantees for the proposed algorithm.

Experimental results

Research questions

  • RQ1How can we define a global optimization objective for multi-tenant model selection that balances fairness and efficiency across multiple users with heterogeneous workloads?
  • RQ2What is the impact of incorporating model execution cost into the multi-tenant model selection process, and how does it affect convergence speed and quality?
  • RQ3Can a hybrid approach combining multi-armed bandits and Bayesian optimization outperform heuristic-based resource allocation in real-world ML workloads?
  • RQ4How does the proposed algorithm scale across multiple users with varying data sizes and model complexity in a shared GPU environment?
  • RQ5What are the theoretical guarantees (e.g., regret bounds) of the proposed algorithm in a multi-tenant, cost-aware setting?

Key findings

  • The proposed multi-tenant model selection algorithm achieves up to 9.8× faster convergence to the same global model quality compared to two widely used heuristic approaches in practice.
  • The system significantly reduces total regret across all users by intelligently balancing exploration and exploitation while respecting model execution costs.
  • The integration of cost-awareness into the GP-UCB framework leads to more efficient resource utilization, avoiding wasteful evaluations of high-cost, low-gain models.
  • Evaluation on real-world image classification workloads shows that ease.ml outperforms heuristic methods in both speed and model quality, even under high user concurrency.
  • The theoretical regret bound for the proposed algorithm is established under the multi-tenant, cost-aware setting, providing formal guarantees for convergence.
  • The system demonstrates practical viability in a production environment serving over ten interdisciplinary research groups at ETH Zurich with diverse ML workloads.

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.