Skip to main content
QUICK REVIEW

[Paper Review] Learning to Tune XGBoost with XGBoost

Johanna Sommer, Dimitrios Sarigiannis|arXiv (Cornell University)|Sep 16, 2019
Machine Learning and Data ClassificationComputer Science14 references8 citations
TL;DR

This paper proposes MeSH, a meta-learning-enhanced variant of successive halving for hyperparameter tuning that uses meta-regressors to predict final model performance from early-stage evaluations. By training on 95 datasets, MeSH with XGBoost meta-regressors outperforms both random search and standard successive halving on 3 of 5 test datasets, achieving lower validation loss while maintaining the same total budget.

ABSTRACT

In this short paper we investigate whether meta-learning techniques can be used to more effectively tune the hyperparameters of machine learning models using successive halving (SH). We propose a novel variant of the SH algorithm (MeSH), that uses meta-regressors to determine which candidate configurations should be eliminated at each round. We apply MeSH to the problem of tuning the hyperparameters of a gradient-boosted decision tree model. By training and tuning our meta-regressors using existing tuning jobs from 95 datasets, we demonstrate that MeSH can often find a superior solution to both SH and random search.

Motivation & Objective

  • To improve hyperparameter tuning efficiency for XGBoost by leveraging past tuning experiences.
  • To address the limitation of successive halving (SH) where early performance rankings do not predict final performance.
  • To explore whether landmarking meta-features—available at no extra cost during SH—can be used to train meta-regressors for better configuration selection.
  • To evaluate whether meta-learning can enhance SH by predicting final validation loss using early-stage results and meta-features.
  • To demonstrate that MeSH can find better hyperparameter configurations than both random search and standard SH under the same budget.

Proposed method

  • MeSH modifies successive halving by replacing validation loss with predictions from meta-regressors to decide which configurations to eliminate at each round.
  • At each round, meta-regressors predict the final validation loss of configurations based on dataset meta-features, hyperparameter settings, and previous validation losses at smaller resources.
  • Meta-regressors are trained offline on a meta-dataset of 300k examples from 95 OpenML datasets, using KNN, MLP, and XGBoost as candidate models.
  • The meta-dataset includes landmarking meta-features extracted from early evaluations of configurations across increasing resources (16 to 1024 boosting rounds).
  • The online phase uses the same budget as SH and random search: 64 configurations, resource range 16–1024, with η=2 and 7 rounds.
  • For each test dataset, 5 datasets were held out from training, and 3-fold cross-validation was used to tune meta-regressor hyperparameters.

Experimental results

Research questions

  • RQ1Can meta-learned predictions from early-stage evaluations improve configuration selection in successive halving?
  • RQ2Does using meta-regressors trained on prior tuning jobs lead to better final hyperparameter configurations than standard successive halving?
  • RQ3How does MeSH compare to random search and standard successive halving in terms of final validation loss across diverse datasets?
  • RQ4Which meta-regressor architecture (KNN, MLP, XGBoost) performs best in the MeSH framework?
  • RQ5To what extent do early performance trends correlate with final performance in XGBoost hyperparameter tuning?

Key findings

  • MeSH with XGBoost as the meta-regressor achieved the lowest mean validation loss on 3 out of 5 test datasets, outperforming both random search and successive halving.
  • On Dataset 904, MeSH with XGBoost reduced validation loss to 0.2986, compared to 0.3024 for standard successive halving and 0.3139 for random search.
  • The offline phase showed that meta-regressors improved prediction accuracy as more landmarking meta-features (early evaluations) became available.
  • MeSH with XGBoost meta-regressor achieved a mean validation loss of 0.4881 on Dataset 930, slightly better than successive halving (0.4907) and random search (0.4903).
  • In all 5 test datasets, MeSH with XGBoost was never worse than successive halving, and in 3 cases it was significantly better.
  • The XGBoost meta-regressor consistently outperformed KNN and MLP across all test datasets, indicating its suitability for this meta-learning task.

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.