arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.15959cs.DScs.DB
收藏

范围(Rényi)熵查询与划分

Range (Rényi) Entropy Queries and Partitioning

University of Illinois Chicago(伊利诺伊大学芝加哥分校);University of Chicago(芝加哥大学)

Aryan Esmailpour, Sanjay Krishnan, Stavros Sintos

AI总结:

本文研究范围(Rényi)熵查询问题,旨在通过构建低空间数据结构,在次线性时间内计算查询矩形内带权着色点的熵,并提出了精确及近似的数据结构。

摘要:

最大化或最小化 Shannon 熵,或更一般地,Rényi 熵的数据划分,是数据压缩、列式存储和基数估计算法中的一个关键子例程。如果在我们拥有一个数据结构,能够在算法需要决定构建哪个块时计算不同数据子集中的熵,那么这些划分算法就可以被加速。对于探索不同数据子集以识别感兴趣区域的数据分析师来说,这样的数据结构也很有用。虽然在离线或流式计算环境中如何高效计算离散分布的 Shannon 熵或 Rényi 熵是普遍已知的,但我们关注的是查询设置,旨在高效推导出满足某些线性谓词的数据子集中的熵。我们在处理实际数据时的典型设置中解决了这个问题,其中数据项是几何点,而每个请求的区域是一个查询(超)矩形。更具体地说,我们考虑 $\mathbb{R}^d$ 中 $n$ 个带权着色点的集合 $P$,其中 $d$ 是一个常数。对于范围 S-熵(对应地,R-熵)查询问题,目标是构建一个低空间数据结构,使得给定一个查询(超)矩形 $R$ 时,它能够在次线性时间内根据 $P\cap R$ 中点的颜色和权重计算 Shannon(对应地,Rényi)熵。我们展示了条件下界,证明对于范围 S-熵和 R-熵查询问题,我们都无法期望得到具有近线性空间和近常数查询时间的数据结构。然后,我们针对 $d=1$ 和 $d>1$ 提出了精确的数据结构,这两个问题均具有 $o(n^{2d})$ 空间和 $o(n)$ 查询时间。最后,我们提出了近线性空间的数据结构,用于返回 $P\cap R$ 中 Shannon(对应地,Rényi)熵的加性近似或乘性近似。

英文摘要:

Data partitioning that maximizes/minimizes the Shannon entropy, or more generally the Rényi entropy is a crucial subroutine in data compression, columnar storage, and cardinality estimation algorithms. These partition algorithms can be accelerated if we have a data structure to compute the entropy in different subsets of data when the algorithm needs to decide what block to construct. Such a data structure will also be useful for data analysts exploring different subsets of data to identify areas of interest. While it is generally known how to compute the Shannon or the Rényi entropy of a discrete distribution in the offline or streaming setting efficiently, we focus on the query setting where we aim to efficiently derive the entropy among a subset of data that satisfy some linear predicates. We solve this problem in a typical setting when we deal with real data, where data items are geometric points and each requested area is a query (hyper)rectangle. More specifically, we consider a set $P$ of $n$ weighted and colored points in $\mathbb{R}^d$, where $d$ is a constant. For the range S-entropy (resp. R-entropy) query problem, the goal is to construct a low space data structure, such that given a query (hyper)rectangle $R$, it computes the Shannon (resp. Rényi) entropy based on the colors and the weights of the points in $P\cap R$, in sublinear time. We show conditional lower bounds proving that we cannot hope for data structures with near-linear space and near-constant query time for both the range S-entropy and R-entropy query problems. Then, we propose exact data structures for $d=1$ and $d>1$ with $o(n^{2d})$ space and $o(n)$ query time for both problems. Finally, we propose near linear space data structures for returning either an additive or a multiplicative approximation of the Shannon (resp. Rényi) entropy in $P\cap R$.

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

↑