Skip to main content
QUICK REVIEW

[Paper Review] Bayesian Optimization for Selecting Efficient Machine Learning Models

Lidan Wang, Franck Dernoncourt|arXiv (Cornell University)|Aug 2, 2020
Machine Learning and Data ClassificationComputer Science29 references8 citations
TL;DR

This paper proposes a unified Bayesian Optimization framework that jointly optimizes machine learning models for both prediction accuracy and training efficiency by incorporating training set size as an extrinsic hyper-parameter. By formulating a tunable tradeoff objective, the method achieves state-of-the-art model efficiency—reducing training time by up to 55% while maintaining 94–96% of the upper-bound accuracy—compared to standard Bayesian optimization on full data.

ABSTRACT

The performance of many machine learning models depends on their hyper-parameter settings. Bayesian Optimization has become a successful tool for hyper-parameter optimization of machine learning algorithms, which aims to identify optimal hyper-parameters during an iterative sequential process. However, most of the Bayesian Optimization algorithms are designed to select models for effectiveness only and ignore the important issue of model training efficiency. Given that both model effectiveness and training time are important for real-world applications, models selected for effectiveness may not meet the strict training time requirements necessary to deploy in a production environment. In this work, we present a unified Bayesian Optimization framework for jointly optimizing models for both prediction effectiveness and training efficiency. We propose an objective that captures the tradeoff between these two metrics and demonstrate how we can jointly optimize them in a principled Bayesian Optimization framework. Experiments on model selection for recommendation tasks indicate models selected this way significantly improves model training efficiency while maintaining strong effectiveness as compared to state-of-the-art Bayesian Optimization algorithms.

Motivation & Objective

  • To address the gap in existing Bayesian optimization methods that prioritize model effectiveness over training efficiency, especially in real-world deployment scenarios with strict time constraints.
  • To develop a unified framework that jointly optimizes both prediction accuracy and training time, enabling efficient model selection under diverse time budgets.
  • To incorporate extrinsic hyper-parameters such as training set size into the optimization space, providing additional degrees of freedom for balancing speed and performance.
  • To introduce a tunable tradeoff metric that captures user-specific preferences between accuracy and training time, enabling adaptive model selection.
  • To demonstrate that joint optimization leads to models that are significantly more efficient without sacrificing predictive effectiveness.

Proposed method

  • Propose a weighted objective function that combines normalized prediction accuracy and normalized training time, parameterized by a tradeoff hyper-parameter α.
  • Extend the hyper-parameter search space to include training set size as a tunable variable, with candidates at 20%, 40%, 60%, 80%, and 100% of full data.
  • Use a Gaussian Process as a surrogate model to regress the joint objective function over the expanded hyper-parameter space, including both intrinsic and extrinsic hyper-parameters.
  • Apply expected improvement acquisition function to sequentially select the next hyper-parameter configuration to evaluate, balancing exploration and exploitation in the joint accuracy-efficiency space.
  • Iteratively update the surrogate model with new evaluations and refine the search toward the optimal tradeoff configuration defined by α.
  • Enable dynamic adaptation to different time constraints by varying α, allowing users to tune the balance between speed and accuracy.

Experimental results

Research questions

  • RQ1Can Bayesian optimization be extended to jointly optimize model accuracy and training efficiency, rather than focusing solely on predictive performance?
  • RQ2How does including training set size as a hyper-parameter affect the efficiency-accuracy tradeoff in model selection?
  • RQ3To what extent can a tunable tradeoff metric improve model selection efficiency while maintaining high predictive accuracy across diverse time constraints?
  • RQ4How does the proposed framework compare to state-of-the-art Bayesian optimization in terms of training time and accuracy under constrained budgets?
  • RQ5Can the framework adaptively select models that meet specific user-specified time and accuracy requirements in real-world applications?

Key findings

  • The proposed method achieves 94% of the upper-bound accuracy (Bayesian optimization on full data) in only 55% of the training time on the Insurance dataset.
  • On the Yelp dataset, the method reaches 96% of the upper-bound accuracy while using just 57% of the training time required by the full-data baseline.
  • The method consistently outperforms both standard Bayesian optimization on full data and a fast variant using 30% of the data, especially in time-constrained scenarios.
  • By incorporating training set size as a hyper-parameter, the method gains an extra degree of freedom that enables faster convergence to efficient model configurations.
  • The framework successfully adapts to different user preferences by tuning the tradeoff parameter α, enabling customizable speed-accuracy balances.
  • The results demonstrate that joint optimization leads to models that are significantly more deployable in real-world systems with strict latency and resource constraints.

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.