Skip to main content
QUICK REVIEW

[Paper Review] Enhancing Robustness of Gradient-Boosted Decision Trees through One-Hot Encoding and Regularization

Shijie Cui, Agus Sudjianto|arXiv (Cornell University)|Apr 26, 2023
Advanced Statistical Methods and ModelsMathematics9 citations
TL;DR

The paper converts GBDT into a linear model via one-hot encoding of leaves, and refits with L1/L2 regularization to improve robustness against covariate perturbations, supported by theory and experiments.

ABSTRACT

Gradient-boosted decision trees (GBDT) are widely used and highly effective machine learning approach for tabular data modeling. However, their complex structure may lead to low robustness against small covariate perturbation in unseen data. In this study, we apply one-hot encoding to convert a GBDT model into a linear framework, through encoding of each tree leaf to one dummy variable. This allows for the use of linear regression techniques, plus a novel risk decomposition for assessing the robustness of a GBDT model against covariate perturbations. We propose to enhance the robustness of GBDT models by refitting their linear regression forms with $L_1$ or $L_2$ regularization. Theoretical results are obtained about the effect of regularization on the model performance and robustness. It is demonstrated through numerical experiments that the proposed regularization approach can enhance the robustness of the one-hot-encoded GBDT models.

Motivation & Objective

  • Motivate robustness evaluation for gradient-boosted decision trees (GBDT) and identify fragility under covariate perturbations.
  • Introduce a one-hot encoding framework (GBDT OHE) that represents GBDT as a linear model.
  • Propose regularized refitting (L1/L2) on the one-hot encoded form to improve robustness.
  • Develop a risk decomposition tool to analyze perturbations in GBDT and quantify robustness.
  • Provide theoretical results and numerical evidence showing robustness gains from regularization in GBDT OHE.

Proposed method

  • Represent GBDT as a linear model by one-hot encoding each tree leaf into a dummy variable (GBDT OHE).
  • Express F_M(x) as F_M(x)=sum_k b_k phi_k(x) = Phi(x)^T beta, enabling linear regression fitting.
  • Introduce a perturbation term Delta Phi to decompose risk into bias, variance, and perturbation components.
  • Apply L1 (Lasso) or L2 (Ridge) regularization to refit leaf coefficients after OHE to control high-dimensional variance.
  • Provide theoretical connections showing robustness benefits under robust regression and regularization (Theorem 1).
  • Conduct numerical experiments on real datasets (Airfoil, CHP, etc.) comparing XGBoost baselines with OHE + regularization.

Experimental results

Research questions

  • RQ1How robust is a traditional GBDT model to small perturbations in unseen data?
  • RQ2Can one-hot encoding of GBDT leaves enable a linear framework to analyze robustness?
  • RQ3Does refitting the one-hot encoded GBDT with L1 or L2 regularization improve robustness without severely sacrificing performance?
  • RQ4What is the impact of regularization size on bias, variance, and perturbation terms in GBDT OHE?
  • RQ5Do regularized GBDT OHE models outperform standard XGBoost under covariate perturbations?

Key findings

  • GBDT models can exhibit reduced robustness with increasing boosting complexity, evidenced by perturbation-sensitive risk decomposition.
  • One-hot encoding of GBDT leaves yields a linear representation (GBDT OHE) and enables a new robustness risk decomposition.
  • Regularizing the refitted linear form with L1 or L2 penalties can reduce the perturbation term and improve robustness, with trade-offs in bias/variance.
  • Numerical results show GBDT OHE with small regularization often matches or improves baseline performance with no perturbation and improves robustness under perturbation.
  • Larger regularization tends to decrease perturbation effects and enhances robustness to larger unseen data perturbations, at the cost of potentially higher bias.
  • Compared to a regularized XGBoost baseline (XGB_reg), GBDT OHE with regularization typically offers better robustness under data perturbations.

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.