arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2410.14056cs.SIcs.DCcs.PF
收藏

基于随机花束(Random Bouquets)的生成树中心性近似计算

Accelerating Spanning-Centrality Approximation with Sampling-Aware Vectorized Random Walks

Faculty of Engineering and Natural Sciences, Sabancı University(萨班哲大学工程与自然科学学院)

Gökhan Göktürk, Kamer Kaya

AI总结:

针对全边生成树中心性精确计算复杂度高、现有近似算法计算量大的问题,提出基于哈希的采样方法与向量化算法,将随机游走聚类为Bouquets,结合TGT+算法与16线程并行实现超百倍加速。

摘要:

生成树中心性(Spanning Centrality)是网络分析中用于衡量图中边重要性的指标,其依据是边对整个网络连通性的贡献。具体而言,它通过包含某条边的生成树数量来量化该边的关键程度。当前用于计算所有边精确中心性值的全边生成树中心性(All Edges Spanning Centrality,AESC)的最优方法,在n个顶点、m条边的情况下时间复杂度为$\boldsymbol{\text{O}(mn^{3/2})}$。这使得即使是中等规模的图,计算也无法实现。\n\n目前已有一些近似算法通过处理大量随机游走来估计边的中心性,但这些算法的计算量仍然很大,尤其是在近似误差界较小的情况下。在本研究中,我们提出了一种新颖的基于哈希的采样方法和向量化算法,通过将随机游走聚类为“花束(Bouquets)”大幅提升了执行速度。在合成随机游走基准测试中,Bouquets的执行速度比传统的朴素随机游走生成方法快7.8倍。\n\n我们还将该技术应用于当前最优的AESC近似算法{\text{TGT+}}中,证明了其可扩展性。实验结果表明,通过16线程并行化,使用Bouquets可实现超过100倍的加速。

英文摘要:

Spanning centrality quantifies an edge's importance through its share of a graph's spanning trees, and approximating it for all edges (AESC) requires processing large volumes of irregular random walks under a prescribed error bound. Its applications include phylogenetic analysis and network robustness assessment. We focus on this random-walk processing bottleneck and propose Sampling-Aware Bouquet Arrangement (SABA), a CPU sampling and scheduling scheme that orders walks initialized on a uniform grid so that adjacent walks execute together in SIMD-width groups, called bouquets. For fixed per-walk random inputs, the ordering preserves the multiset of sampled walks while improving locality during neighbor access. On synthetic benchmarks, SABA achieves geometric-mean speedups of 6.95x and 7.41x over traditional random-walk generation for 2,048 and 16,384 walks per vertex, respectively, and up to approximately 49x in the latter setting. Within AESC, the complete 16-thread SABA implementation is 58.23x faster than the original single-threaded TGT+ implementation on average.

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

↑