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

支持感知直方图的流算法

Streaming Algorithms for Support-Aware Histograms

Justin Y. Chen, Piotr Indyk, Tal Wagner

摘要:

直方图,即,分段常数近似是用于表示数据分布的流行工具。传统上,直方图和底层分布之间的差异(即,近似误差)是使用$L_p$范数来测量的,该范数对域中所有项上的两个函数之间的差求和。虽然在许多应用中有用,但这种误差测量的缺点是它以相同的方式处理所有项目的近似误差,而不管项目的质量对于使用近似的下游应用是否重要。因此,即使是相对简单的分布也不能用简洁的直方图来近似而不产生大的误差。在本文中,我们解决这个问题,通过调整近似的定义,以便只考虑属于分布的支持项的错误。在这个定义下,我们开发了有效的1-pass和2-pass流算法,在次线性空间中计算接近最优的直方图。我们还提出了这个问题的空间复杂度的下限。令人惊讶的是,在这种错误的概念下,在1遍和2遍流式算法的空间复杂度中存在指数差距。最后,我们证明了我们的算法的实用程序的真实和合成数据集的集合。

英文摘要:

Histograms, i.e., piece-wise constant approximations, are a popular tool used to represent data distributions. Traditionally, the difference between the histogram and the underlying distribution (i.e., the approximation error) is measured using the $L_p$ norm, which sums the differences between the two functions over all items in the domain. Although useful in many applications, the drawback of this error measure is that it treats approximation errors of all items in the same way, irrespective of whether the mass of an item is important for the downstream application that uses the approximation. As a result, even relatively simple distributions cannot be approximated by succinct histograms without incurring large error. In this paper, we address this issue by adapting the definition of approximation so that only the errors of the items that belong to the support of the distribution are considered. Under this definition, we develop efficient 1-pass and 2-pass streaming algorithms that compute near-optimal histograms in sub-linear space. We also present lower bounds on the space complexity of this problem. Surprisingly, under this notion of error, there is an exponential gap in the space complexity of 1-pass and 2-pass streaming algorithms. Finally, we demonstrate the utility of our algorithms on a collection of real and synthetic data sets.

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

↑