DiNo与RanBu:来自浅层随机森林的轻量级预测
DiNo and RanBu: Lightweight Predictions from Shallow Random Forests
AI总结:
针对随机森林推理延迟高、内存需求大的问题,提出DiNo和RanBu两种浅层森林方法,在多个数据集上实现准确率相当或更优,同时大幅降低计算耗时,还可扩展至分位数回归。
摘要:
随机森林集成是表格预测任务的强基线,但它们依赖数百棵深度树,往往导致较高的推理延迟和内存需求,限制了其在延迟敏感或资源受限环境中的部署。我们提出DiNo(Distance with Nodes,节点距离法)和RanBu(Random Bushes,随机灌木法)两种浅层森林方法,它们将一小组深度受限的树转换为高效的距离加权预测器。DiNo通过观测对的最近共同祖先测量同表型距离,RanBu则对Breiman的经典邻近度度量应用核平滑。两种方法都完全在森林训练后运行:无需生长额外的树,且单个带宽参数$h$的调优仅需轻量级的矩阵-向量运算。在3个合成基准和25个公开数据集上,RanBu的准确率与全深度随机森林相当或更高——尤其在高噪声场景下——同时将训练加推理时间减少多达95%。DiNo在低噪声场景下以适中的计算成本实现了最佳的偏差-方差权衡。两种方法都可直接扩展到分位数回归,在保持准确率的同时大幅提升速度。其实现以开源R/C++包的形式发布于https://github.com/tiagomendonca/dirf。我们聚焦于结构化表格随机样本(独立同分布),向其他模态的扩展留待未来工作。
英文摘要:
Random Forest ensembles are a strong baseline for tabular prediction tasks, but their reliance on hundreds of deep trees often results in high inference latency and memory demands, limiting deployment in latency-sensitive or resource-constrained environments. We introduce DiNo (Distance with Nodes) and RanBu (Random Bushes), two shallow-forest methods that convert a small set of depth-limited trees into efficient, distance-weighted predictors. DiNo measures cophenetic distances via the most recent common ancestor of observation pairs, while RanBu applies kernel smoothing to Breiman's classical proximity measure. Both approaches operate entirely after forest training: no additional trees are grown, and tuning of the single bandwidth parameter $h$ requires only lightweight matrix-vector operations. Across three synthetic benchmarks and 25 public datasets, RanBu matches or exceeds the accuracy of full-depth random forests-particularly in high-noise settings-while reducing training plus inference time by up to 95\%. DiNo achieves the best bias-variance trade-off in low-noise regimes at a modest computational cost. Both methods extend directly to quantile regression, maintaining accuracy with substantial speed gains. The implementation is available as an open-source R/C++ package at https://github.com/tiagomendonca/dirf. We focus on structured tabular random samples (i.i.d.), leaving extensions to other modalities for future work.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。