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

全动态二分图流中的蝴蝶计数

Counting Butterflies in Fully Dynamic Bipartite Graph Streams

Serafeim Papadias, Zoi Kaoudi, Varun Pandey, Jorge-Arnulfo Quiane-Ruiz, Volker Markl

AI总结:

针对同时含边插入与删除的全动态二分图流,提出基于采样的 Abacus 及并行 Parabacus,实现低方差无偏蝴蝶计数、负载均衡加速与高吞吐。

摘要:

二分图被广泛用于对两类不同现实世界实体之间的关系进行建模,例如电子商务中的用户-商品数据。此类图数据本质上正变得越来越流式化,需要持续进行边的插入与删除。蝴蝶(即 2×2 双团)是最小的非平凡内聚结构,并发挥着关键作用。在流式二分图中计数此类蝴蝶模式是稠密子图发现和异常检测等应用中的核心问题。然而,现有近似解决方案仅考虑仅插入流,因此在同时涉及边插入与删除的全动态二分图流中只能取得非常低的准确率。将这些方法调整为考虑删除也并非易事,因为需要不同的采样方案和新的准确率分析。本文提出 Abacus,这是一种利用采样在插入与删除同时存在时计数蝴蝶的新型近似算法。我们证明 Abacus 始终能够提供低方差的无偏估计。此外,我们扩展 Abacus,并设计了一个并行小批量变体,即 Parabacus,用于并行计数蝴蝶。Parabacus 使用带版本的样本,以负载均衡的方式计数蝴蝶,从而带来显著加速,因此非常适合流式环境中的关键应用。我们使用一组多样化的真实二分图评估 Abacus/Parabacus,并从准确率、吞吐量和加速比方面评估其性能。结果表明,我们的方案首次能够在最通用的设置(即需要同时进行插入和删除的全动态图流式环境)中高效提供准确的蝴蝶计数;它在不牺牲吞吐量的情况下实现这一点,并且并行版本甚至提升了吞吐量。

英文摘要:

A bipartite graph extensively models relationships between real-world entities of two different types, such as user-product data in e-commerce. Such graph data are inherently becoming more and more streaming, entailing continuous insertions and deletions of edges. A butterfly (i.e., 2x2 bi-clique) is the smallest non-trivial cohesive structure that plays a crucial role. Counting such butterfly patterns in streaming bipartite graphs is a core problem in applications such as dense subgraph discovery and anomaly detection. Yet, existing approximate solutions consider insert-only streams and, thus, achieve very low accuracy in fully dynamic bipartite graph streams that involve both insertions and deletions of edges. Adapting them to consider deletions is not trivial either, because different sampling schemes and new accuracy analyses are required. In this paper, we propose Abacus, a novel approximate algorithm that counts butterflies in the presence of both insertions and deletions by utilizing sampling. We prove that Abacus always delivers unbiased estimates of low variance. Furthermore, we extend Abacus and devise a parallel mini-batch variant, namely, Parabacus, which counts butterflies in parallel. Parabacus counts butterflies in a load-balanced manner using versioned samples, which results in significant speedup and is thus ideal for critical applications in the streaming environment. We evaluate Abacus/Parabacus using a diverse set of real bipartite graphs and assess its performance in terms of accuracy, throughput, and speedup. The results indicate that our proposal is the first capable of efficiently providing accurate butterfly counts in the most generic setting, i.e., a fully dynamic graph streaming environment that entails both insertions and deletions. It does so without sacrificing throughput and even improving it with the parallel version.

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

↑