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

使用预测在图流中快速且准确地进行三角形计数

Fast and Accurate Triangle Counting in Graph Streams Using Predictions

University of Padova(帕多瓦大学)

Cristian Boldrin, Fabio Vandin

AI总结:

本文提出首个使用预测的图流三角形计数估计算法,结合候车室采样、蓄水池采样与基于节点度数的边重度预测器,在给定内存预算下比现有方法更快更准确。

摘要:

在这项工作中,我们提出了首个使用预测来估计图流中三角形数量的高效且实用的算法。我们的算法将候车室采样和蓄水池采样与用于预测边重度(即边所参与的三角形数量)的预测器相结合。因此,我们的算法速度快,对使用的内存量提供保证,并利用预测器提供的附加信息来产生高度准确的估计。我们还提出了一个简单且与领域无关的预测器,基于节点的度数,当流事先可用时,可以通过对流边进行一次遍历轻松计算。我们的分析结果表明,当预测器提供有关边重度的有用信息时,即使预测远非完美,与最先进方法相比,它也能产生方差减小的估计。我们的实验结果表明,在分析单个图流时,对于给定的内存预算,我们的算法比最先进方法更快,同时提供显著更准确的估计。更有趣的是,当分析数百个图流的序列时,使用我们仅通过分析序列中的第一个图而构建的简单基于度数的预测器,我们的算法显著优于最先进方法。

英文摘要:

In this work, we present the first efficient and practical algorithm for estimating the number of triangles in a graph stream using predictions. Our algorithm combines waiting room sampling and reservoir sampling with a predictor for the heaviness of edges, that is, the number of triangles in which an edge is involved. As a result, our algorithm is fast, provides guarantees on the amount of memory used, and exploits the additional information provided by the predictor to produce highly accurate estimates. We also propose a simple and domain-independent predictor, based on the degree of nodes, that can be easily computed with one pass on a stream of edges when the stream is available beforehand. Our analytical results show that, when the predictor provides useful information on the heaviness of edges, it leads to estimates with reduced variance compared to the state-of-the-art, even when the predictions are far from perfect. Our experimental results show that, when analyzing a single graph stream, our algorithm is faster than the state-of-the-art for a given memory budget, while providing significantly more accurate estimates. Even more interestingly, when sequences of hundreds of graph streams are analyzed, our algorithm significantly outperforms the state-of-the-art using our simple degree-based predictor built by analyzing only the first graph of the sequence.

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

↑