NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Historical Gradient Boosting Machine

Zeyu Feng, Chang Xu, Dacheng Tao

Abstract

This paper introduces the Historical Gradient Boosting Machine (HGBM), a novel approach designed to accelerate the training of Gradient Boosted Decision Trees (GBDTs). By adapting optimization techniques from deep learning—specifically momentum and Nesterov accelerated gradient—to the function-space updates of decision trees, the authors achieve approximately a 50% speedup in training time. Crucially, this efficiency gain is achieved without compromising the predictive accuracy of the models.

Introduction

Gradient Boosted Decision Trees (GBDTs) are a cornerstone of modern machine learning, particularly for tasks involving tabular data. Standard GBDT algorithms optimize models by iteratively adding weak learners (trees) to fit the negative gradient of a loss function. This strategy, known as steepest descent in function space, is inherently "greedy" as it only considers the local slope at the current iteration.

In numerical optimization and deep learning, it is well-established that relying solely on the current gradient can lead to slow convergence and unwanted oscillations. While techniques like momentum have long addressed these issues in parameter-space optimization (e.g., training neural networks), traditional GBDT methods have largely overlooked the potential of historical gradient information. This paper bridges that gap by translating these continuous optimization concepts into the discrete, additive framework of decision trees.

Methodology

The core innovation of HGBM is the modification of the standard GBDT update rule. Instead of fitting a tree to the current gradient alone, the weak learners fit a "pseudo-response" that incorporates a decayed version of past gradients. The authors propose two primary variants:

  • Historical GBM – Momentum: This variant directly adapts classical momentum. The descent direction is calculated recursively as a combination of the current negative gradient and the previous step's direction, weighted by a decay coefficient ($\mu$).
  • Historical GBM – Nesterov: Inspired by Nesterov Accelerated Gradient (NAG), this version calculates the gradient at a "look-ahead" location based on the previous momentum, which helps to further dampen oscillations and stabilize the optimization path.
Algorithm 1: Historical GBM - Momentum

Handling Stochasticity

To maintain compatibility with Stochastic GBM (which uses data subsampling), the authors developed two strategies for tracking historical gradients for instances not present in a given mini-batch. The "Full Gradient Update" calculates gradients for all data points at every step to maintain a perfect history, while the "Partial Gradient Update" only applies momentum to instances present in the previous subsample. Despite the $O(N)$ overhead of the full update, the reduction in the total number of required trees makes it computationally advantageous.

Experimental Setup

The authors evaluated HGBM across four standard public datasets representing different machine learning tasks, including ranking, binary classification, and regression.

Summary of datasets and evaluation metrics

Key Results and Insights

The experimental results demonstrate that HGBM significantly improves training efficiency:

  • Reduced Iterations: HGBM drastically lowers the number of trees needed to reach convergence. For instance, on the Yahoo! LTRC Set 2 dataset, the Nesterov variant required only 214 iterations compared to 523 for classical GBM.
  • Wall-Clock Speedup: Across all tested datasets, the proposed methods achieved an average training speedup of approximately 50% compared to a baseline GBDT implementation.
  • Accuracy Preservation: The speedup did not result in a performance penalty. Test metrics (NDCG, AUC, and RMSE) remained highly comparable to, and occasionally better than, standard first-order and second-order GBM methods.
  • Hyperparameter Stability: The authors noted that a historical coefficient ($\mu$) below 0.5 generally provided the most stable performance improvements.

Conclusion and Future Work

While the current study utilized a "vanilla" GBDT framework to isolate the mathematical impact of historical gradients, the underlying logic is compatible with modern, highly optimized libraries like XGBoost and LightGBM. Future work aims to integrate these historical gradient approaches into distributed tree builders to achieve even greater real-world performance gains. Additionally, this framework paves the way for adapting other advanced optimization strategies, such as AdaGrad or Adam, into the gradient boosting ecosystem.

Summary updated

BibTeX
@inproceedings{feng2018historical,
  author = {Zeyu Feng and Chang Xu and Dacheng Tao},
  title = {{Historical Gradient Boosting Machine}},
  booktitle = {GCAI},
  year = {2018},
  doi = {10.29007/2sdc},
}
Figure