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

关于子集和估计的方差

On the variance of subset sum estimation

Mario Szegedy, Mikkel Thorup

摘要:

对于大容量数据流和大型数据仓库,采样用于在选定子集上聚合查询的有效近似答案。从数学上讲,我们处理的是一组加权项,并希望支持对任意子集和的查询。使用单位权重,我们可以计算子集大小,这些子集大小与前面的和一起提供子集平均值。这里讨论的问题是我们应该使用哪种抽样方案来获得最准确的子集和估计。给出了一个关于子集和估计方差的简单定理,并利用它证明了在不同已知抽样方案下子集和估计的方差最优性和近最优性。该方差被测量为任何给定大小的所有子集的平均值。所谓最优,我们的意思是没有一组输入权重可以使任何抽样方案具有更好的平均方差。这样强有力的结果永远不可能在实验中得到证实。本文的结果是通过数学推导得出的。例如,我们表明,适当加权系统抽样是同时最佳的所有子集大小。更标准的方案,如均匀抽样和替换的概率比例抽样,可以是任意坏的。了解不同抽样方案的方差最优性有助于决定在给定上下文中应用哪种抽样方案。

英文摘要:

For high volume data streams and large data warehouses, sampling is used for efficient approximate answers to aggregate queries over selected subsets. Mathematically, we are dealing with a set of weighted items and want to support queries to arbitrary subset sums. With unit weights, we can compute subset sizes which together with the previous sums provide the subset averages. The question addressed here is which sampling scheme we should use to get the most accurate subset sum estimates. We present a simple theorem on the variance of subset sum estimation and use it to prove variance optimality and near-optimality of subset sum estimation with different known sampling schemes. This variance is measured as the average over all subsets of any given size. By optimal we mean there is no set of input weights for which any sampling scheme can have a better average variance. Such powerful results can never be established experimentally. The results of this paper are derived mathematically. For example, we show that appropriately weighted systematic sampling is simultaneously optimal for all subset sizes. More standard schemes such as uniform sampling and probability-proportional-to-size sampling with replacement can be arbitrarily bad. Knowing the variance optimality of different sampling schemes can help deciding which sampling scheme to apply in a given context.

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

↑