betaFeedback

WorksComputer Science

CRAFT-GBM: Selecting Best Features for Gradient-Boosted Machine Learning

Abstract

Feature subsampling is used to accelerate gradient-boosted trees, yet standard approaches fix the feature count in advance and largely ignore the split-gain evidence accumulated during training. We introduce CRAFT-GBM (Confidence-Ranked Adaptive Feature Tracking), a native LightGBM extension that uses this evidence to adapt which—and, by default, how many—features are searched each boosting round. CRAFT-GBM transforms root-split gains into bounded observations and constructs joint time-uniform bounds valid under adaptive, non-stationary training histories. In its default endogenous mode, after initialization, CRAFT-GBM retains exactly the features that cannot yet be ruled out as best, letting the selected feature-set size KtK_t emerge from training history rather than a pre-specified fraction. With probability at least 1−δ1-δ, every feature with the largest expected gain is retained jointly across all rounds after initialization. When a feature fraction ff is specified instead, CRAFT-GBM ranks features by their interval point estimates and provides an approximate top-KK guarantee for feature budget KfK_f. We implement CRAFT-GBM within LightGBM while preserving its native feature-bundling representation, and evaluate it across 14 public and synthetic dataset families and four noise-augmented settings. In the fully endogenous setting, CRAFT-GBM reduces per-fit training time by 39.74% with 1.04% lower test loss in the geometric mean across all 18 RQ1 experiments. Under pre-specified feature fraction ff, Exogenous CRAFT-GBM also yields aggregate training-time reductions up to 13.52 percentage points larger than random feature subsampling, with no increase in aggregate test loss relative to full-feature LightGBM. Accumulated training evidence can thus support adaptive feature search with statistical guarantees while retaining the practical advantages of native gradient boosting.

CRAFT-GBM model source code: https://github.com/basilkuok/CRAFT-GBM

Introduction

Gradient-boosted decision trees (GBDTs) remain a strong choice for tabular learning ([9, 18]), but high-dimensional training is expensive across hyperparameter search, cross-validation and retraining. Histogram-based boosting builds and scans every searched feature’s split statistics each round ([15]), although many features are weak, redundant, or rarely competitive for the best split. Random feature subsampling reduces this work, but fixes the fraction in advance and ignores earlier split-gain evidence. Related work addresses ensemble-wide sparsity ([12]) and feature-rank uncertainty ([20]). We ask: can a boosting algorithm use its accumulated split-gain evidence to decide which features still need to be searched and, by default, how many?

Historical gain rankings alone are an obvious but insufficient solution. A valid screening rule must address four challenges: (C1) native split gains are unbounded and their scale drifts as the ensemble fits; (C2) a feature’s gain is observed only when it is searched, so missing observations are caused by earlier screening decisions; (C3) gains are non-stationary because they depend on the current learner; and (C4) screening decisions and the stopping round depend on the training history, so guarantees must hold at every round and for all features at once. Classical best-arm and subset identification handles adaptive sampling and stopping under fixed arm means [5, 13]. Racing handles adaptive sampling [24], while rising-bandit identification assumes nondecreasing, concave rewards [19]. Our target needs no such shape assumptions.

We introduce CRAFT-GBM (Confidence-Ranked Adaptive Feature Tracking), a native LightGBM extension that treats per-round feature screening as sequential inference. Its design is theory-driven: each component is the construction a formal guarantee requires under one of these challenges. For (C1), a feature gain transformation maps each searched feature’s best root-split gain to [0,1][0,1] using a scale fixed before the round, so observations are bounded and comparable across rounds. For (C2) and (C3), each feature’s accumulated expected gain averages its conditional expected transformed gains over the rounds in which it was actually searched, a target that follows the evolving learner without imputing gains for skipped rounds. For (C4), empirical-Bernstein confidence sequences [10, 11] bound these targets jointly over all features and rounds under history-dependent selection and stopping, without independence or stationarity assumptions (Theorem 1). The empirical-Bernstein construction uses squared prediction errors to control deviations from conditional expected feature gains, with confidence interval widths adapting to both native LightGBM’s GOSS sampling variance and the accuracy of the historical predictor.

In CRAFT-GBM, two screening rules turn these bounds into a search policy. In the default Endogenous mode, after a 20-round full-feature warm-up, CRAFT-GBM searches exactly the features that the joint intervals still allow to be best (Proposition 1). The feature budget KtK_t is therefore set by the evidence: a feature stays in while it is uncertain, is skipped once it is confidently dominated, and can re-enter later. With probability at least 1−δ1-\delta, jointly over all rounds, no feature with the largest expected gain is dropped and every searched feature has a bounded gap to the best (Theorem 2); the set-level guarantee holds for the random budget KtK_t without an additional union bound (Corollary 1). When the user specifies a feature fraction ff, the Exogenous mode searches the corresponding KfK_f features with the largest point estimates and bounds their gap to the best size-KK set (Theorem 3).

CRAFT-GBM runs inside LightGBM’s training loop and uses its Exclusive Feature Bundling layout unchanged. Both modes are compared with LightGBM-Fixed’s random subsampling and the native samplers of XGBoost and CatBoost, using LightGBM-Full (no feature selection) as the baseline comparison. RQ2 additionally includes two ablations: greedy mean-gain ranking (evidence without uncertainty) and exposure balancing (exploration without evidence). Across all 18 RQ1 experiments, Endogenous CRAFT-GBM reduces aggregate training time by 39.7% relative to the baseline LightGBM-Full, and its aggregate test loss is 1.0% lower. At feature fraction f=0.10f=0.10, Exogenous CRAFT-GBM reduces aggregate training time by 62.7% with essentially unchanged test loss (−0.04%-0.04\%). The two ablations are about as fast, reducing training time by 63.8% and 64.7%, but they raise aggregate test loss by 12.7% (greedy mean-gain ranking) and 5.7% (exposure balancing). Random subsampling by LightGBM-Fixed reduces aggregate training time by 30.9% in RQ1 and 49.2% at f=0.10f=0.10 in RQ2. All values in Figure 1 and Figure 2 are relative to the baseline LightGBM-Full; test loss is log loss for classification and RMSE for regression.

Figure 1. Endogenous CRAFT-GBM reduces training time in 15 of the 16 displayed experiments. Endogenous CRAFT-GBM reduces aggregate training time by 40.36% and test loss by 1.10%. LightGBM-Fixed saves 30.65% of training time and has the same aggregate loss change, so endogenous CRAFT-GBM delivers a further 9.70 percentage points of time reduction. Endogenous CRAFT-GBM improves both outcomes in 11/16 experiments, compared with 8/16 for random LightGBM-Fixed. Across almost all datasets, XGBoost and CatBoost are slower and incur higher test loss in some datasets.

Figure 2. At f=0.10f = 0.10, Exogenous CRAFT-GBM substantially reduces training time with essentially unchanged aggregate test loss. Shaded bands show pointwise 95% dataset-resampling intervals, reflecting sensitivity to the composition of the 14 dataset families. At f=0.10f = 0.10, Exogenous CRAFT-GBM reduces aggregate training time by 62.74% with essentially unchanged test loss (−0.04%-0.04\%). Random subsampling by LightGBM-Fixed saves 49.22% time but raises loss by 4.60%. Thus CRAFT-GBM delivers 13.52 percentage points more time reduction without the aggregate loss increase seen with LightGBM-Fixed. Greedy mean-gain ranking (Mean ablation) and exposure balancing of features (Exposure ablation) save the same training time (63.83% and 64.71%), but incur greater test loss especially at smaller feature fractions (12.69% and 5.71% more test loss at f=0.10f = 0.10). This contrast is consistent with the expected benefit of combining gain evidence with uncertainty in CRAFT-GBM, especially when the feature budget KfK_f is restrictive.

Exogenous CRAFT-GBM also has the largest training-time reduction among non-ablated competitor models—LightGBM-Fixed, XGBoost, and CatBoost—dominating at f≤0.70f \le0.70, while its negative test loss changes indicate lower test loss than the baseline LightGBM-Full’s across all feature fractions. As expected, the advantage gained by all competitor models narrows as feature fraction increases.

Our contributions are:

  1. Sequential inference for adaptive feature screening. We formulate feature screening in boosting as inference on adaptively observed, path-dependent gains, and introduce a predictable bounded-gain construction and training-path target that make joint time-uniform confidence sequences applicable (Theorem 1).

  1. Evidence-determined feature budgets with guarantees. The Endogenous rule lets uncertainty determine how many features are searched and provides simultaneous best-feature retention and near-best guarantees (Theorem 2). For a user-specified budget, the Exogenous rule provides an approximate top-KK guarantee (Theorem 3).

  1. Native integration and empirical efficiency. We integrate CRAFT-GBM directly into LightGBM while preserving its native EFB representation. Across all 18 RQ1 experiments, it reduces aggregate training time by 39.7% with 1.0% lower aggregate test loss relative to full-feature LightGBM.

Method

Setup and notation

Setup and notation. Let p≥1p \ge1 count the valid features after native preprocessing by LightGBM, indexed by [p]={1,…,p}[p]=\{1,\ldots,p\}. At boosting round tt, CRAFT-GBM selects a set of features (columns) St⊆[p]S_t \subseteq[p], with Kt=∣St∣K_t=|S_t|, before the native GOSS sampling of rows. Each evaluated feature contributes its best eligible root-split gain Gj,m,tG_{j,m,t}, whether or not it wins the split. The observed root-split gains Gj,m,tG_{j,m,t} are mapped to the bounded interval [0,1][0,1] via Feature Gain Transformation (FGT). A feature’s expected gain νˉj,t−1\bar{\nu}_{j,t-1} is the conditional expectation of gain averaged across boosting rounds in which the feature is selected, whereas its empirical mean μ^j,t−1\hat{\mu}_{j,t-1} is the average of its observed values. A best feature has the largest expected gain νt∗\nu_t^*, not necessarily the largest observed gain in the current round. At round tt, confidence sequences provide confidence intervals [Lj,t,Uj,t][L_{j,t},U_{j,t}] of expected gains νˉj,t−1\bar{\nu}_{j,t-1} jointly across features and rounds through round t−1t-1, which endogenous feature selection uses to retain a set of possible-best features StS_t, whose size KtK_t is a random variable. When a feature fraction ff is specified, Exogenous CRAFT-GBM selects the Kf=max⁡{1,⌊fp+1/2⌋}K_f=\max\{1,\lfloor fp+1/2\rfloor\} features with the largest interval point estimates cj,tc_{j,t}. Algorithm 1 in Appendix F gives the selection and update procedure.

Feature Gain Transformation (FGT)

Let M≥1M \ge1 be the fixed number of native output trees in one boosting round. For selected feature jj, output component mm, and round tt, define

Gj,m,t=max⁡({0}∪{Δm,troot(j,θ):θ∈Θj,m,troot}).(1)G_{j,m,t}=\max\left(\{0\}\cup\left\{\Delta^{\mathrm{root}}_{m,t}(j,\theta):\theta\in\Theta^{\mathrm{root}}_{j,m,t}\right\}\right). \tag*{(1)}

Here Θj,m,troot\Theta^{\mathrm{root}}_{j,m,t} is the native eligible candidate set Θj,m,troot\Theta^{\mathrm{root}}_{j,m,t} for feature jj, and Δ\Delta is LightGBM’s net eligible split gain Δm,troot(j,θ)\Delta^{\mathrm{root}}_{m,t}(j,\theta) calculated by its native tree algorithm [4, 15]. The union with zero covers a selected feature with no positive eligible candidate. Hence, given a feature, Equation (1) gives the feature’s best root opportunity Gj,m,tG_{j,m,t} in a boosting round tt, evaluated at the current learner state, row sample, and native candidate eligibility criteria without requiring that feature to win against other features in that round.

For output component mm, initialize sm,1=⊥s_{m,1}=\perp. Thereafter, let the scale sm,t∈(0,∞)∪{⊥}s_{m,t}\in(0,\infty)\cup\{\perp\} be fixed before round tt, and set

ϕ(g;s)={g/(g+s),s>0,1{g>0},s=⊥,Rj,t=1M∑m=1Mϕ(Gj,m,t;sm,t).(2)\phi(g;s)= \begin{cases} g/(g+s), & s>0,\\ \mathbf{1}\{g>0\}, & s=\perp, \end{cases} \qquad R_{j,t}=\frac{1}{M}\sum_{m=1}^{M}\phi(G_{j,m,t};s_{m,t}). \tag*{(2)}

Then Rj,t∈[0,1]R_{j,t}\in[0,1]. For s>0s>0, the transformation ϕ(g;s)\phi(g;s) is strictly increasing, and ϕ(ag;as)=ϕ(g;s)\phi(ag;as)=\phi(g;s) for every a>0a>0. After an accepted round, the next scale sm,t+1s_{m,t+1} for output mm is the median of

{Gj,m,t:j∈St, Gj,m,t>0},\{G_{j,m,t}:j\in S_t,\ G_{j,m,t}>0\},

using the midpoint for an even number of values. This multiset contributes at most one value per selected feature. If it is empty, the previous scale sm,ts_{m,t} is retained. Current gains cannot affect their same-round transformation ϕ(Gj,m,t;sm,t)\phi(G_{j,m,t};s_{m,t}).

Uniform Moment Statistics (UMS)

Uniform Moment Statistics (UMS) maintain an equal-weight transformed-gain sum Aj,tA_{j,t}, an observation count Nj,tN_{j,t}, and the squared-error sum Vj,tV_{j,t} used below for each feature over its selected rounds. Let

Ij,t=1{j∈St},Yj,t={Rj,t,j∈St,0,j∉St.I_{j,t}=\mathbf{1}\{j\in S_t\}, \qquad Y_{j,t}= \begin{cases} R_{j,t}, & j\in S_t,\\ 0, & j\notin S_t. \end{cases}

When a feature is omitted from boosting round tt, the assigned zero is for bookkeeping, not to indicate that the counterfactual gain is zero. Then, starting from Aj,1=Nj,1=0A_{j,1}=N_{j,1}=0, for t≥2t\ge2 define

Aj,t=Aj,t−1+Yj,t,Nj,t=Nj,t−1+Ij,t.(3)A_{j,t}=A_{j,t-1}+Y_{j,t},\qquad N_{j,t}=N_{j,t-1}+I_{j,t}. \tag*{(3)}

Equivalently,

Aj,t=∑s=2tYj,s,Nj,t=∑s=2tIj,s.A_{j,t}=\sum_{s=2}^{t}Y_{j,s},\qquad N_{j,t}=\sum_{s=2}^{t}I_{j,s}.

For Nj,t>0N_{j,t}>0, define the empirical mean μ^j,t\hat{\mu}_{j,t} over feature jj’s selected rounds as

μ^j,t=Aj,tNj,t.\hat{\mu}_{j,t}=\frac{A_{j,t}}{N_{j,t}}.

Let (Ft)t≥1(\mathcal{F}_t)_{t\ge1} describe the training history Ft\mathcal{F}_t through each accepted round. Ft−1\mathcal{F}_{t-1} contains the fixed data and configuration, the fixed feature mapping and native EFB representation, every committed learner and CRAFT-GBM update through t−1t-1, the scale sm,ts_{m,t} for round tt, and all earlier GOSS draws before accepted round tt. Selection is completed before the current-round GOSS sampling. Hence, Ij,tI_{j,t} is Ft−1\mathcal{F}_{t-1}-measurable. The recorded value Yj,tY_{j,t} is Ft\mathcal{F}_t-measurable. In particular, F1\mathcal{F}_1 contains the data, configuration, feature map, and native EFB representation fixed before training, together with the committed round-1 learner F1F_1 and the scales sm,2s_{m,2} for round 2. It describes the history F1\mathcal{F}_1 after round 1 and before round 2.

Define the conditional gain νˉj,t\bar{\nu}_{j,t} and, for Nj,t>0N_{j,t}>0, its accumulated average νˉj,t\bar{\nu}_{j,t}:

νj,t=E[Yj,t∣Ft−1],νˉj,t=∑s=2tνj,sNj,t.(4)\nu_{j,t}=\mathbb{E}[Y_{j,t}\mid\mathcal{F}_{t-1}],\qquad\bar{\nu}_{j,t}=\frac{\sum_{s=2}^{t}\nu_{j,s}}{N_{j,t}}. \tag*{(4)}

References

  1. [1]Takuya Akiba, Shotaro Sano, Toshihiko Yanase, Takeru Ohta, and Masanori Koyama. Optuna: A next-generation hyperparameter optimization framework. In Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining, pages 2623–2631. Association for Computing Machinery, 2019. doi: 10.1145/3292500.3330701. URL https://doi.org/10.1145/3292500.3330701.
  2. [2]James Bergstra, Rémi Bardenet, Yoshua Bengio, and Balázs Kégl. Algorithms for hyper-parameter optimization. In Advances in Neural Information Processing Systems, volume 24, pages 2546–2554. Curran Associates, Inc., 2011. URL https://papers.nips.cc/paper_files/paper/2011/hash/86e8f7ab32cfd12577bc2619bc635690-Abstract.html.papers.nips.cc/paper_files/paper/2011/hash/86e8f7ab32cfd12577bc2619bc635690-Abstract.html
  3. [3]Busa-Fekete, R., & Kégl, B. (2009). Accelerating adaboost using ucb. JMLR Workshop and Conference Proceedings, 7, 111–122. https://proceedings.mlr.press/v7/busa09.htmlproceedings.mlr.press/v7/busa09.html
  4. [4]Tianqi Chen and Carlos Guestrin. XGBoost: A scalable tree boosting system. In Proceedings of the 22nd ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, pages 785–794, 2016. doi: 10.1145/2939672.2939785. URL https://arxiv.org/abs/1603.02754v3.
  5. [5]Eyal Even-Dar, Shie Mannor, and Yishay Mansour. Action elimination and stopping conditions for the multi-armed bandit and reinforcement learning problems. Journal of Machine Learning Research, 7(39):1079–1105, 2006. URL https://www.jmlr.org/papers/v7/evendar06a.html.DOI
  6. [7]Jerome H. Friedman. Multivariate adaptive regression splines. The Annals of Statistics, 19(1):1–67, 1991. doi: 10.1214/aos/1176347963. URL https://doi.org/10.1214/aos/1176347963.
  7. [8]Jeremy Goldwasser and Giles Hooker. Statistical significance of feature importance rankings. In Proceedings of the Forty-First Conference on Uncertainty in Artificial Intelligence, volume 286 of Proceedings of Machine Learning Research, pages 1476–1496. PMLR, 2025. URL https://proceedings.mlr.press/v286/goldwasser25a.html.proceedings.mlr.press/v286/goldwasser25a.html
  8. [9]Leo Grinsztajn, Edouard Oyallon, and Gael Varoquaux. Why do tree-based models still outperform deep learning on typical tabular data? In Advances in Neural Information Processing Systems, volume 35, pages 507–520. Curran Associates, Inc., 2022. doi: 10.52202/068431-0037. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/0378c7692da36807bdec87ab043cdadc-Paper-Datasets_and_Benchmarks.pdf.DOI
  9. [10]Howard, S. R., Ramdas, A., MaCuliffe, J., & Sekhon, J. (2020). Time-uniform Chernoff bounds via nonnegative supermartingales. Probability Surveys, 17, 257–317. https://doi.org/10.1214/18-PS321
  10. [11]Steven R. Howard, Aaditya Ramdas, Jon McAuliffe, and Jasmeet Sekhon. Time-uniform, nonparametric, nonasymptotic confidence sequences. The Annals of Statistics, 49(2):1055–1080, 2021. doi: 10.1214/20-AOS1991. URL https://arxiv.org/abs/1810.08240v9.
  11. [12]Shibal Ibrahim, Kayhan Behdin, and Rahul Mazumder. End-to-end feature selection approach for learning skinny trees. In Proceedings of the 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 2863–2871. PMLR, 2024. URL https://proceedings.mlr.press/v238/ibrahim24a.html.proceedings.mlr.press/v238/ibrahim24a.html
  12. [13]Shivaram Kalyanakrishnan, Ambuj Tewari, Peter Auer, and Peter Stone. PAC subset selection in stochastic multi-armed bandits. In John Langford and Joelle Pineau, editors, Proceedings of the 29th International Conference on Machine Learning, pages 655–662. Omnipress, 2012. URL https://icml.cc/2012/papers/359.pdf.icml.cc/2012/papers/359.pdf
  13. [15]Guolin Ke, Qi Meng, Thomas Finley, Taifeng Wang, Wei Chen, Weidong Ma, Qiwei Ye, and Tie-Yan Liu. LightGBM: A highly efficient gradient boosting decision tree. In Advances in Neural Information Processing Systems, volume 30, 2017. URL https://papers.nips.cc/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html.papers.nips.cc/paper/2017/hash/6449f44a102fde848669bdd9eb6b76fa-Abstract.html
  14. [17]Maron, O., & Moore, A. W. (1993). Hoeffding races: Accelerating model selection search for classification and function approximation. Advances in Neural Information Processing Systems, 6, 59–66. https://proceedings.neurips.cc/paper_files/paper/1993/file/02a32ad2669e6fe298e607fe7cc0e1a0-Paper.pdfproceedings.neurips.cc/paper_files/paper/1993/file/02a32ad2669e6fe298e607fe7cc0e1a0-Paper.pdf
  15. [18]McElfresh, D., Khandagale, S., Valverde, J., Prasad C, V., Ramakrishnan, G., Goldblum, M., & White, C. (2023). When do neural nets outperform boosted trees on tabular data?. Advances in Neural Information Processing Systems, 36, 76336–76369. https://doi.org/10.52202/075280-3337
  16. [19]Marco Mussi, Alessandro Montenegro, Francesco Trovò, Marcello Restelli, and Alberto Maria Metelli. Best arm identification for stochastic rising bandits. In Proceedings of the 41st International Conference on Machine Learning, volume 235 of Proceedings of Machine Learning Research, pages 36953–36989. PMLR, 2024. URL https://proceedings.mlr.press/v235/mussi24b.html.proceedings.mlr.press/v235/mussi24b.html
  17. [20]Bitya Neuhof and Yuval Benjamini. Confident feature ranking. In Proceedings of the 27th International Conference on Artificial Intelligence and Statistics, volume 238 of Proceedings of Machine Learning Research, pages 1468–1476. PMLR, 2024. URL https://proceedings.mlr.press/v238/neuhof24a.html.proceedings.mlr.press/v238/neuhof24a.html
  18. [22]Fabian Pedregosa, Gaël Varoquaux, Alexandre Gramfort, Vincent Michel, Bertrand Thirion, Olivier Grisel, Mathieu Blondel, Peter Prettenhofer, Ron Weiss, Vincent Dubourg, Jake Vanderplas, Alexandre Passos, David Cournapeau, Matthieu Brucher, Matthieu Perrot, and Édouard Duchesnay. Scikit-learn: Machine learning in Python. Journal of Machine Learning Research, 12(85):2825–2830, 2011. URL https://jmlr.org/papers/v12/pedregosa11a.html.jmlr.org/papers/v12/pedregosa11a.html
  19. [23]Liudmila Prokhorenkova, Gleb Gusev, Aleksandr Vorobev, Anna Veronika Dorogush, and Andrey Gulin. CatBoost: Unbiased boosting with categorical features. In Advances in Neural Information Processing Systems, volume 31, 2018. URL https://proceedings.neurips.cc/paper/2018/hash/14491b756b3a51daac41c24863285549-Abstract.html.proceedings.neurips.cc/paper/2018/hash/14491b756b3a51daac41c24863285549-Abstract.html
  20. [24]Tiwari, M., Kang, R., Lee, J., Piech, C., Shomorony, I., Thrun, S., & Zhang, M. J. (2022). MABSplit: Faster forest training using multi-armed bandits. Advances in Neural Information Processing Systems, 35, 1223–1237. https://doi.org/10.52202/068431-0090

Paper details

vlnc:W_whuhh5ee
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 0

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Computer Science

Not recorded for this paper

View statement
Looking for related papers…
Contents