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

用于在线模型管理的时间偏差抽样方案

Temporally-Biased Sampling Schemes for Online Model Management

Harvard University(哈佛大学);University of Massachusetts Amherst(马萨诸塞大学阿默斯特分校);IBM Research – Almaden(IBM阿尔马登研究中心)

Brian Hentschel, Peter J. Haas, Yuanyuan Tian

摘要:

为了在不断变化的数据流中保持监督学习模型的准确性,我们提供了时间偏差采样方案,该方案对最近的数据进行了最重的加权,给定数据项的包含概率根据指定的“衰减函数”随时间衰减。然后,我们定期在当前样本上重新训练模型。相对于对所有数据的训练,这种方法加快了训练过程。此外,时间偏差让模型适应数据的最新变化,同时-与滑动窗口方法不同-仍然保留一些旧数据,以确保在数据值出现暂时波动和周期性时的鲁棒性。此外,基于采样的方法允许现有的静态数据的分析算法被应用到动态流数据基本上没有变化。我们提供并分析了一个简单的抽样方案(T-TBS),概率保持一个目标样本量和一个新的基于随机抽样的计划(R-TBS),这是第一个提供控制的衰减率和样本量的上限保证。如果衰减函数是指数函数,则对衰减率的控制是完全的,并且R-TBS最大化预期样本量和样本量稳定性。对于一般的衰减函数,实际项目包含概率可以任意接近名义概率,我们提供了一个计划,允许样本足迹和样本大小的稳定性之间的权衡。的R-TBS和T-TBS计划是独立的利益,扩展了已知的一套不等概率抽样方案。我们讨论了分布式实现策略;在Spark中的实验阐明了算法的性能和可扩展性,并表明我们的方法可以提高机器学习在面对不断变化的数据时的鲁棒性。

英文摘要:

To maintain the accuracy of supervised learning models in the presence of evolving data streams, we provide temporally-biased sampling schemes that weight recent data most heavily, with inclusion probabilities for a given data item decaying over time according to a specified "decay function". We then periodically retrain the models on the current sample. This approach speeds up the training process relative to training on all of the data. Moreover, time-biasing lets the models adapt to recent changes in the data while---unlike in a sliding-window approach---still keeping some old data to ensure robustness in the face of temporary fluctuations and periodicities in the data values. In addition, the sampling-based approach allows existing analytic algorithms for static data to be applied to dynamic streaming data essentially without change. We provide and analyze both a simple sampling scheme (T-TBS) that probabilistically maintains a target sample size and a novel reservoir-based scheme (R-TBS) that is the first to provide both control over the decay rate and a guaranteed upper bound on the sample size. If the decay function is exponential, then control over the decay rate is complete, and R-TBS maximizes both expected sample size and sample-size stability. For general decay functions, the actual item inclusion probabilities can be made arbitrarily close to the nominal probabilities, and we provide a scheme that allows a trade-off between sample footprint and sample-size stability. The R-TBS and T-TBS schemes are of independent interest, extending the known set of unequal-probability sampling schemes. We discuss distributed implementation strategies; experiments in Spark illuminate the performance and scalability of the algorithms, and show that our approach can increase machine learning robustness in the face of evolving data.

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

↑