用于在线模型管理的时间偏差采样
Temporally-Biased Sampling for Online Model Management
摘要:
为了在不断变化的数据流中保持监督学习模型的准确性,我们提供了时间偏差采样方案,该方案对最近的数据进行了最重的加权,给定数据项的包含概率随时间呈指数衰减。然后,我们定期在当前样本上重新训练模型。相对于对所有数据的训练,这种方法加快了训练过程。此外,与滑动窗口方法不同的是,时间偏移可以让模型适应数据的最新变化,同时仍然保留一些旧数据,以确保在数据值出现临时波动和周期性时的鲁棒性。此外,基于采样的方法允许现有的静态数据的分析算法被应用到动态流数据基本上没有变化。我们提供并分析了一个简单的抽样方案(T-TBS),概率保持一个目标样本量和一个新的基于随机抽样的计划(R-TBS),这是第一个提供完全控制的衰减率和保证上限的样本量,同时最大限度地提高预期的样本量和样本量的稳定性。后一种方案依赖于“分数样本”的概念,并且与T-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 exponentially over time. 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 complete control over the decay rate and a guaranteed upper bound on the sample size, while maximizing both expected sample size and sample-size stability. The latter scheme rests on the notion of a "fractional sample" and, unlike T-TBS, allows for data arrival rates that are unknown and time varying. R-TBS and T-TBS 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分析而来,可能存在错误,请以论文正文为准。