Skip to main content
QUICK REVIEW

[Paper Review] Minimal Variance Sampling in Stochastic Gradient Boosting

Bulat Ibragimov, Gleb Gusev|arXiv (Cornell University)|Oct 29, 2019
Machine Learning and Data ClassificationComputer Science12 citations
TL;DR

This paper proposes Minimal Variance Sampling (MVS), a novel weighted sampling technique for Stochastic Gradient Boosting that optimizes sampling probabilities to minimize variance in split scoring, leading to higher model accuracy with fewer training examples. MVS achieves state-of-the-art performance by adaptively weighting samples based on gradient magnitude, reducing required sample size by up to 50% while improving or maintaining accuracy compared to SGB and GOSS.

ABSTRACT

Stochastic Gradient Boosting (SGB) is a widely used approach to regularization of boosting models based on decision trees. It was shown that, in many cases, random sampling at each iteration can lead to better generalization performance of the model and can also decrease the learning time. Different sampling approaches were proposed, where probabilities are not uniform, and it is not currently clear which approach is the most effective. In this paper, we formulate the problem of randomization in SGB in terms of optimization of sampling probabilities to maximize the estimation accuracy of split scoring used to train decision trees. This optimization problem has a closed-form nearly optimal solution, and it leads to a new sampling technique, which we call Minimal Variance Sampling (MVS). The method both decreases the number of examples needed for each iteration of boosting and increases the quality of the model significantly as compared to the state-of-the art sampling methods. The superiority of the algorithm was confirmed by introducing MVS as a new default option for subsampling in CatBoost, a gradient boosting library achieving state-of-the-art quality on various machine learning tasks.

Motivation & Objective

  • To address the lack of theoretical optimization in data sampling for Stochastic Gradient Boosting (SGB), where existing methods use arbitrary or heuristic sampling probabilities.
  • To formulate the sampling problem in SGB as an optimization task that maximizes the accuracy of split scoring during tree construction.
  • To derive a closed-form, nearly optimal solution for sampling probabilities that minimizes variance in gradient estimates.
  • To develop a practical, adaptive sampling method—Minimal Variance Sampling (MVS)—that outperforms uniform and state-of-the-art sampling techniques in accuracy and efficiency.
  • To validate MVS empirically across diverse datasets and integrate it as the default subsampling strategy in CatBoost.

Proposed method

  • Formulate the sampling problem as minimizing the variance of gradient estimates used in split scoring, treating it as a constrained optimization problem.
  • Derive a closed-form solution for sampling probabilities that depend on the absolute values of gradient derivatives (loss gradients), giving higher sampling probability to examples with larger gradients.
  • Introduce a hyperparameter λ to control the trade-off between sampling efficiency and variance reduction, enabling adaptive sampling.
  • Propose MVS Adaptive, a variant that eliminates the need for manual tuning of λ by dynamically adjusting it based on data distribution.
  • Implement MVS in CatBoost and LightGBM, enabling direct comparison with SGB and GOSS under identical training conditions.
  • Use empirical evaluation on multiple benchmark datasets to compare model accuracy, learning time, and required sample size across methods.

Experimental results

Research questions

  • RQ1What is the optimal sampling distribution for minimizing variance in split scoring during gradient boosting tree construction?
  • RQ2Can a theoretically grounded, closed-form sampling strategy outperform heuristic or uniform sampling in both accuracy and training efficiency?
  • RQ3How does MVS compare to SGB and GOSS in terms of model accuracy when using reduced sample sizes?
  • RQ4To what extent does MVS reduce training time while maintaining or improving model performance?
  • RQ5Can an adaptive version of MVS eliminate the need for hyperparameter tuning while preserving optimal performance?

Key findings

  • MVS reduces the required sample size per iteration by up to 50% compared to SGB while maintaining or improving model accuracy.
  • On average, MVS achieves a relative error reduction of -0.45% compared to the baseline when using a sample rate of 0.5, outperforming SGB and GOSS.
  • For the Higgs dataset, MVS achieves baseline performance at 80% sample rate, while SGB fails below 100%, demonstrating superior sample efficiency.
  • On the Recsys dataset, MVS achieves a 61.5% reduction in training time at a 10% sample rate, significantly outperforming SGB and GOSS.
  • The MVS Adaptive variant achieves near-optimal performance without hyperparameter tuning, reducing tuning overhead while maintaining high accuracy.
  • MVS is now the default subsampling method in CatBoost and has been integrated into LightGBM, confirming its practical superiority.

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.