arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.26337cs.LG
收藏

EMA-FS: 通过增益信息特征筛选加速GBDT训练

EMA-FS: Accelerating GBDT Training via Gain-Informed Feature Screening

PayPal, Inc(PayPal公司)

Yan Song

AI总结:

提出EMA-FS算法,利用指数移动平均跟踪特征分裂增益,在预热后仅对历史增益最高的K个特征构建直方图,在密集中等高维数据上实现1.45-2.61倍加速,并引入随机版本S-EMA-FS统一确定性筛选与随机子采样。

摘要:

梯度提升决策树(GBDT),以LightGBM为例,其训练时间的主要部分(通常65-70%)用于构建每个特征的直方图。现有的方法如随机特征子采样(feature_fraction)在丢弃特征时不考虑其预测效用。我们提出基于EMA的特征筛选(EMA-FS),这是一种算法级优化,它在提升迭代中维护每个特征分裂增益的指数移动平均(EMA),并在短暂的预热后,仅对按历史增益排序的前K个特征进行直方图构建。与随机子采样不同,EMA-FS是有信息的:它保留高增益特征,同时筛选出低增益特征。在每棵树级别操作,它完全兼容LightGBM的直方图减法技巧,无需更改核心例程。我们在涵盖金融欺诈检测、广告点击率预测、工业质量控制和合成基准的数据集上评估EMA-FS,特征维度从29到968。在密集、中等至高维数据上,它实现了显著的加速:在500个特征的合成基准上达到2.61倍,在432个特征的IEEE-CIS欺诈数据集上以30%保留率达到1.45倍。在70%保留率下,AUC提升0.11点,同时实现1.34倍加速。在极度稀疏数据(Bosch,>90%缺失)上,由于LightGBM的稀疏分箱优化已绕过空值,未获得加速。我们进一步引入随机EMA-FS(S-EMA-FS),它用由浓度参数beta控制的增益加权随机采样替代确定性top-K选择,将确定性EMA-FS(beta -> 无穷大)和随机子采样(beta = 0)统一在一个框架中。两者均在所有六个LightGBM树学习器中以约120行C++实现,且完全向后兼容。

英文摘要:

Gradient Boosted Decision Trees (GBDT), exemplified by LightGBM, spend a dominant fraction of training time -- typically 65-70% -- constructing per-feature histograms. Existing approaches such as random feature subsampling (feature_fraction) discard features without regard for their predictive utility. We propose EMA-based Feature Screening (EMA-FS), an algorithm-level optimization that maintains an exponential moving average (EMA) of per-feature split gains across boosting iterations and, after a short warmup, restricts histogram construction to the top-K features ranked by historical gain. Unlike random subsampling, EMA-FS is informed: it retains high-gain features while screening out low-gain ones. Operating at the per-tree level, it preserves full compatibility with LightGBM's histogram subtraction trick, requiring no changes to core routines. We evaluate EMA-FS on datasets spanning financial fraud detection, advertising click-through prediction, industrial quality control, and synthetic benchmarks, with feature dimensionalities from 29 to 968. On dense, moderate-to-high-dimensional data it achieves significant speedups: 2.61x on a 500-feature synthetic benchmark and 1.45x on the 432-feature IEEE-CIS Fraud dataset at 30% retention. At 70% retention it improves AUC by 0.11 points while delivering a 1.34x speedup. On extremely sparse data (Bosch, >90% missing) it yields no speedup, as LightGBM's sparse bin optimization already bypasses empty values. We further introduce Stochastic EMA-FS (S-EMA-FS), which replaces deterministic top-K selection with gain-weighted random sampling controlled by a concentration parameter beta, unifying deterministic EMA-FS (beta -> infinity) and random subsampling (beta = 0) in one framework. Both are implemented in ~120 lines of C++ across all six LightGBM tree learners and are fully backward-compatible.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑