QC-Forest:一种可证明加速随机森林再训练的经典-量子混合算法
QC-Forest: a Classical-Quantum Algorithm to Provably Speedup Retraining of Random Forest
AI总结:
针对在线随机森林再训练随样本量线性增长的效率问题,提出经典-量子混合算法QC-Forest,扩展Des-q至多分类并优化量子子程序,在8万样本基准集上精度可比且再训练速度显著提升,运行时间与样本数呈多重对数关系。
摘要:
随机森林(Random Forest, RF)是一种广泛应用的监督学习树集成方法,以易用性和灵活性著称。在线随机森林模型需要纳入新的训练数据以维持模型精度,这在数据流随时间周期性、序列式生成的场景(如自动驾驶系统、信用卡支付)中尤为重要。在此场景下,用累积的新旧数据定期再训练模型是有益的,因为它能完整捕捉数据分布随时间可能发生的漂移。然而,现有最先进的经典随机森林算法无法实现这一点,因为它们的运行时间与累积样本数呈线性关系。我们提出QC-Forest,这是一种经典-量子混合算法,旨在流式场景下高效再训练用于多分类和回归任务的随机森林模型,其运行时间与累积样本总数呈多重对数(poly-logarithmic)关系。QC-Forest利用了Kumar等人提出的用于单棵树构建与再训练的量子算法Des-q,将原本仅适用于二分类的方案扩展至多分类任务,并引入一种精确的经典方法替代会产生有限误差的底层量子子程序,同时保持相同的多重对数时间复杂度依赖关系。最后,我们在样本量最高达80000的常用基准数据集上验证,QC-Forest与最先进的随机森林方法相比精度具有竞争力,同时显著加快了模型再训练速度。
英文摘要:
Random Forest (RF) is a popular tree-ensemble method for supervised learning, prized for its ease of use and flexibility. Online RF models require to account for new training data to maintain model accuracy. This is particularly important in applications where data is periodically and sequentially generated over time in data streams, such as auto-driving systems, and credit card payments. In this setting, performing periodic model retraining with the old and new data accumulated is beneficial as it fully captures possible drifts in the data distribution over time. However, this is unpractical with state-of-the-art classical algorithms for RF as they scale linearly with the accumulated number of samples. We propose QC-Forest, a classical-quantum algorithm designed to time-efficiently retrain RF models in the streaming setting for multi-class classification and regression, achieving a runtime poly-logarithmic in the total number of accumulated samples. QC-Forest leverages Des-q, a quantum algorithm for single tree construction and retraining proposed by Kumar et al. by expanding to multi-class classification, as the original proposal was limited to binary classes, and introducing an exact classical method to replace an underlying quantum subroutine incurring a finite error, while maintaining the same poly-logarithmic dependence. Finally, we showcase that QC-Forest achieves competitive accuracy in comparison to state-of-the-art RF methods on widely used benchmark datasets with up to 80,000 samples, while significantly speeding up the model retrain.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。