[技术报告]将抽样和概要与最坏情况最优匹配和质量保证相结合,用于图形模式基数估计
[Technical Report] Combining Sampling and Synopses with Worst-Case Optimal Runtime and Quality Guarantees for Graph Pattern Cardinality Estimation
摘要:
图模式基数估计是估计查询图在数据图中的嵌入数量的问题。例如,在子图匹配算法中的查询规划期间出现这个基本问题。有两种主要的方法来解决这个问题:抽样和概要。如果摘要能很好地捕捉图形信息,基于摘要的方法是快速和准确的。然而,这些方法遭受大的错误,由于信息的损失,在总结和固有的假设。基于采样的方法是无偏的,但由于大的样本空间而遭受大的估计方差。为了解决这些限制,我们提出巷,一种混合的方法,结合了采样和概要。Alley采用1)一种新的采样策略,交叉随机游走,有效地减少了样本空间,2)分支,以进一步减少方差,和3)一种新的挖掘方法,提取和索引缠结模式作为概要,这是固有的难以估计的采样。通过在在线估计阶段使用它们,我们可以有效地减少样本空间,同时仍然确保无偏性。我们建立巷有最坏情况下的最佳运行时间和近似质量保证任何给定的误差界$ε$和所需的信心$μ$。除了理论方面的小巷,我们广泛的实验表明,小巷优于国家的最先进的方法高达数量级更高的精度与类似的效率。
英文摘要:
Graph pattern cardinality estimation is the problem of estimating the number of embeddings of a query graph in a data graph. This fundamental problem arises, for example, during query planning in subgraph matching algorithms. There are two major approaches to solving the problem: sampling and synopsis. Synopsis (or summary)-based methods are fast and accurate if synopses capture information of graphs well. However, these methods suffer from large errors due to loss of information during summarization and inherent assumptions. Sampling-based methods are unbiased but suffer from large estimation variance due to large sample space. To address these limitations, we propose Alley, a hybrid method that combines both sampling and synopses. Alley employs 1) a novel sampling strategy, random walk with intersection, which effectively reduces the sample space, 2) branching to further reduce variance, and 3) a novel mining approach that extracts and indexes tangled patterns as synopses which are inherently difficult to estimate by sampling. By using them in the online estimation phase, we can effectively reduce the sample space while still ensuring unbiasedness. We establish that Alley has worst-case optimal runtime and approximation quality guarantees for any given error bound $ε$ and required confidence $μ$. In addition to the theoretical aspect of Alley, our extensive experiments show that Alley outperforms the state-of-the-art methods by up to orders of magnitude higher accuracy with similar efficiency.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。