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

凹次线性频率函数的采样示意图

Sampling Sketches for Concave Sublinear Functions of Frequencies

Edith Cohen, Ofir Geri

摘要:

我们考虑大规模的分布式数据集,包括建模为键-值对的元素和计算统计或聚合的任务,其中每个键的贡献由其频率(其元素的值之和)的函数加权。这个基本问题在数据分析和机器学习中有着广泛的应用,特别是在频率的凹次线性函数中,它可以减轻高频键的不成比例的影响。凹次线性函数族包括低频矩($p \leq 1$)、帽函数(capping)、矩函数及其组合。一种常见的方法是对键进行采样,理想情况下,与它们的贡献成比例,并从样本中估计统计数据。一种简单但昂贵的方法是聚合数据以生成键及其频率的表,将我们的函数应用于频率值,然后应用加权采样方案。我们的主要贡献是可组合的采样草图,可以定制的频率的任何凹次线性函数的设计。我们的草图结构大小非常接近所需的样本大小,并且我们的样本提供了对估计质量的统计保证,这些估计质量非常接近在聚合数据上计算的相同大小的理想样本的质量。最后,我们通过实验证明了我们的方法的简单性和有效性。

英文摘要:

We consider massive distributed datasets that consist of elements modeled as key-value pairs and the task of computing statistics or aggregates where the contribution of each key is weighted by a function of its frequency (sum of values of its elements). This fundamental problem has a wealth of applications in data analytics and machine learning, in particular, with concave sublinear functions of the frequencies that mitigate the disproportionate effect of keys with high frequency. The family of concave sublinear functions includes low frequency moments ($p \leq 1$), capping, logarithms, and their compositions. A common approach is to sample keys, ideally, proportionally to their contributions and estimate statistics from the sample. A simple but costly way to do this is by aggregating the data to produce a table of keys and their frequencies, apply our function to the frequency values, and then apply a weighted sampling scheme. Our main contribution is the design of composable sampling sketches that can be tailored to any concave sublinear function of the frequencies. Our sketch structure size is very close to the desired sample size and our samples provide statistical guarantees on the estimation quality that are very close to that of an ideal sample of the same size computed over aggregated data. Finally, we demonstrate experimentally the simplicity and effectiveness of our methods.

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

↑