Soft Gradient Boosting Machine

Ji Feng, Yi-Xuan Xu, Yuan Jiang, Zhi-Hua ZhouarXiv 2020

TL;DR

This paper introduces the Soft Gradient Boosting Machine (sGBM), a novel approach that enables simultaneous training of base learners, leading to significant speedups and improved performance compared to traditional sequential Gradient Boosting Machines (GBMs). By leveraging differentiable base learners and a combined local/global loss objective, sGBM offers advantages in training efficiency, accuracy, and adaptability to online learning scenarios.

What Problem Does This Paper Address?

Traditional Gradient Boosting Machines (GBMs), while powerful function approximators, suffer from a fundamental limitation: their sequential training process. Each base learner must be trained one after another, making it impossible to parallelize the training and thus limiting scalability. This sequential nature also hinders their effectiveness in online or incremental learning settings, where previously trained base learners cannot adapt to evolving environments. The paper aims to overcome these limitations by proposing a new architecture that allows for parallel training and better adaptability.

Methods

The core innovation is the Soft Gradient Boosting Machine (sGBM). Unlike traditional GBMs, sGBM assumes that its base learners are differentiable. These differentiable base learners are "wired together" in a structure that allows for joint optimization. This is achieved by introducing two types of loss functions:

  • Local Loss: This loss encourages each base learner to perform well on its own, similar to how individual learners are trained in traditional GBMs.
  • Global Loss: This loss considers the overall performance of the entire sGBM system, ensuring that all base learners contribute effectively to the final prediction.

By optimizing both local and global objectives simultaneously using gradient descent, all base learners can be trained in parallel. When differentiable "soft decision trees" are used as base learners, the sGBM becomes a "soft GBDT," offering an alternative to traditional hard decision tree-based GBMs like XGBoost.

Datasets

The paper evaluates sGBM on a variety of datasets, including:

  • Tabular/Discrete Datasets: UCI-Yeast, UCI-Letter, UCI-USPS.
  • Image Datasets: MNIST, Fashion-MNIST, CIFAR-10.
  • Multi-Output Regression Datasets: scm1d, scm20d, wq, enb, oes10.

Key Insights and Ideas

  • Parallelization is Key: The most significant insight is that by making base learners differentiable and optimizing them jointly, the sequential bottleneck of traditional GBMs is removed, enabling massive speedups through parallel training.
  • Differentiable Base Learners Unlock New Possibilities: The shift to differentiable base learners (like soft decision trees or MLPs) is crucial, allowing for end-to-end optimization of the entire ensemble.
  • Local and Global Objectives Synergy: The combination of local and global loss functions is essential for achieving the gradient boosting effect, ensuring that individual learners contribute to a cohesive and high-performing ensemble, rather than just being a simple average.
  • Adaptability for Online Learning: The parallel and differentiable nature of sGBM makes it inherently suitable for online and incremental learning scenarios, where models need to adapt to new data streams.
  • Soft GBDT as a Versatile Alternative: Soft GBDT emerges as a flexible alternative to hard GBDT, particularly for tasks like multi-output regression and knowledge distillation, where its differentiable nature offers advantages.

Key Results

  • Training Time Reduction: sGBM achieved over 10x speedup compared to traditional GBMs with the same base learners, demonstrating near-linear speedup with an increasing number of base learners.
  • Accuracy Gains: In many cases, sGBM not only matched but also outperformed its hard GBM counterparts in terms of classification accuracy. For example, SGBMCNN outperformed GBMCNN on image classification tasks, and SGBMMLP outperformed GBMMLP on most tabular datasets.
  • Multi-Output Regression: sGBDT showed better performance on multi-output regression tasks compared to XGBoost-MO, highlighting its natural ability to handle such problems without requiring modifications.
  • Incremental Learning: sGBDT demonstrated a much faster convergence rate and smaller accuracy reduction in incremental learning settings compared to XGBoost.
  • Knowledge Distillation: sGBDT successfully distilled knowledge from trained CNNs, achieving higher test accuracy than when trained on original labels or when using XGBoost for distillation.

Limitations and Future Work

  • Soft GBDT Sub-optimality: For certain tabular datasets like Letter and USPS, sGBDT achieved sub-optimal solutions compared to XGBoost. This suggests that hard decision trees might still be superior for some specific tabular data scenarios.
  • Theoretical Analysis: The paper mentions that while the experimental results are promising, further theoretical analysis for sGBMs, especially in comparison to other soft ensemble methods, is needed.
  • Base Learner Choice: While MLP, CNN, and soft decision trees were explored as differentiable base learners, the paper implies that the choice of base learner can significantly impact performance, and further exploration of different differentiable models could be beneficial.
  • Future Work: The authors suggest that theoretical analysis for sGBMs is a promising avenue for future research. Additionally, exploring the application of sGBM to a wider range of tasks and base learners would be valuable.

Summary updated

BibTeX
@misc{feng2020soft,
  author = {Ji Feng and Yi-Xuan Xu and Yuan Jiang and Zhi-Hua Zhou},
  title = {{Soft Gradient Boosting Machine}},
  year = {2020},
  eprint = {2006.04059},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2006.04059},
}
Figure