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

Scalable Feature Selection for (Multitask) Gradient Boosted Trees

Cuize Han, Nikhil Rao, Daria Sorokina, Karthik Subbian

Abstract: Gradient Boosted Decision Trees (GBDTs) are widely used for building ranking and relevance models in search and recommendation. Considerations such as latency and interpretability dictate the use of a small number of features. However, existing feature selection methods for GBDTs are either computationally expensive or fail to account for feature interactions during training. We propose GT-GBM (Group Testing Gradient Boosting Machine), a novel method for high-speed feature selection. By employing a group testing strategy that evaluates pseudo-features via binary search, the algorithm achieves significant speedups while maintaining or improving model accuracy.

Introduction

Gradient Boosted Decision Trees (GBDTs) are the workhorses of modern search and recommendation engines. However, these systems face a persistent "latency vs. performance" trade-off: while incorporating more features generally improves accuracy, it simultaneously slows down real-time inference. Standard feature selection methods often fall short in addressing this. Post-hoc ranking (training on all features and selecting the top K) is suboptimal as it ignores feature interactions during the training process. Backward elimination is computationally prohibitive for high-dimensional data, and even forward selection methods like Gradient Boosted Feature Selection (GBFS) scale poorly because they evaluate every single feature at every split.

Methodology

To make feature selection both adaptive and scalable, we introduce two primary innovations: Adaptive GBM (A-GBM) and Group Testing GBM (GT-GBM).

Adaptive GBM (A-GBM)

In standard feature selection with penalties, a fixed penalty parameter ($\mu$) is typically used. However, as boosting progresses, the variance of the residuals decreases. A penalty that is effective for the initial trees may become inappropriate for later iterations. A-GBM addresses this by scaling the loss function by the root variance of the current tree, ensuring the penalty parameter remains stable and easier to tune across all boosting rounds.

Group Testing GBM (GT-GBM)

GT-GBM provides the core mechanism for acceleration. Instead of evaluating all $d$ features at a node split, GT-GBM creates "pseudo-features" by randomly grouping and summing features. It then employs a group testing procedure: if a pseudo-feature shows a strong correlation with the target, the algorithm performs a binary search—splitting the group in half and re-testing—to quickly identify the specific influential feature within that group. This reduces search complexity from linear ($O(d)$) to logarithmic ($O(s \log d)$), where $s$ is the number of important features.

Multitask Extension

We further extended this framework to Multitask Learning (MTL). By utilizing a combination of group-sparse penalties (to identify features useful across all tasks) and task-specific penalties, the model dynamically decides when to share information between tasks and when to utilize unique features for specific tasks.

Experimental Evaluation

We evaluated our approach on a mix of public datasets (Gisette, Epsilon, Flight Delay) and proprietary Amazon datasets (Classification, Ranking, and Multitask).

Performance comparison of GT-GBM, A-GBM, and GBFS across training time for variance, RMSE, and AUC_ROC.

As shown in the performance metrics above, GT-GBM achieves massive speedups. On the Epsilon dataset, GT-GBM was two orders of magnitude faster than standard GBFS. Despite checking fewer features, GT-GBM often outperformed the standard industry baseline (GBDT-topK). For example, on the Gisette dataset, GT-GBM achieved an AUC of 99.19% compared to 97.88% for the baseline. The multitask variant also demonstrated superior efficiency by identifying features that provided "cross-pollination" of intelligence between related tasks.

Discussion and Insights

A key insight of this work is that summing random features into a "pseudo-feature" serves as an effective proxy for finding important individual features. Mathematically, if a group contains an important feature, the group's sum likely retains a signal detectable by the tree-splitting algorithm. Furthermore, GT-GBM tends to select features that are less correlated with each other compared to standard importance-ranking methods, leading to higher information gain per selected feature.

Average success rate of feature recovery as a function of sample size n and dimension d.

While the theoretical proof for feature recovery requires a relatively large number of samples ($n$) relative to the number of features ($d$), our empirical results suggest the algorithm is more robust in practice. As illustrated in the success rate heatmap, the transition to successful recovery is often more forgiving than theory predicts. Future work will focus on tightening these theoretical bounds to better reflect the linear dependence between $n$ and $d$ observed in real-world applications.

Summary updated

BibTeX
@inproceedings{han2020scalable,
  author = {Cuize Han and Nikhil Rao and Daria Sorokina and Karthik Subbian},
  title = {{Scalable Feature Selection for (Multitask) Gradient Boosted Trees}},
  booktitle = {International Conference on Artificial Intelligence and Statistics},
  year = {2020},
  url = {https://openreview.net/forum?id=khAp-0cWV-x},
}
Figure