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

影响最大化的快速且空间高效的并行算法

Fast and Space-Efficient Parallel Algorithms for Influence Maximization

Letong Wang, Xiangyun Ding, Yan Gu, Yihan Sun

AI总结:

针对影响最大化问题,提出草图压缩与并行种子选择技术,实现PaC-IM算法,在96核机器上处理9亿顶点、740亿边图,速度提升5-18倍,空间节省1.4-3.8倍。

摘要:

影响最大化(IM)是数据科学中的一个关键问题。其目标是找到网络上固定大小的高影响力种子顶点集合,以最大化沿边的影响力传播。虽然IM在常用的扩散模型上是NP难的,但贪心算法可以实现$(1-1/e)$近似,即反复选择影响力边际增益最高的顶点作为种子。由于理论保证,大量文献专注于提升贪心算法的性能。为了估计边际增益,现有工作要么运行影响力传播的蒙特卡洛(MC)模拟,要么预先存储数百个草图(通常是每个顶点的信息)。然而,这些方法可能在时间(MC模拟)或空间(存储草图)上效率低下,阻碍了这些思想扩展到当今的大规模图。本文通过两种关键技术显著提升了IM的可扩展性。第一种是针对无向图上独立级联模型的草图压缩技术,它允许结合模拟和草图方法,实现时间-空间的权衡。第二种技术包括用于并行种子选择的新数据结构。利用我们的新方法,我们实现了PaC-IM:并行且压缩的IM。我们将PaC-IM与最先进的并行IM系统在一台具有96核和1.5TB内存的机器上进行比较。PaC-IM能够在约2小时内处理多达9亿个顶点和740亿条边的大规模图。在所有测试图上平均而言,我们的未压缩版本比现有并行IM系统快5-18倍,空间效率高约1.4倍。使用压缩进一步节省3.8倍空间,而平均时间开销仅为70%。

英文摘要:

Influence Maximization (IM) is a crucial problem in data science. The goal is to find a fixed-size set of highly-influential seed vertices on a network to maximize the influence spread along the edges. While IM is NP-hard on commonly-used diffusion models, a greedy algorithm can achieve $(1-1/e)$-approximation, repeatedly selecting the vertex with the highest marginal gain in influence as the seed. Due to theoretical guarantees, rich literature focuses on improving the performance of the greedy algorithm. To estimate the marginal gain, existing work either runs Monte Carlo (MC) simulations of influence spread or pre-stores hundreds of sketches (usually per-vertex information). However, these approaches can be inefficient in time (MC simulation) or space (storing sketches), preventing the ideas from scaling to today's large-scale graphs. This paper significantly improves the scalability of IM using two key techniques. The first is a sketch-compression technique for the independent cascading model on undirected graphs. It allows combining the simulation and sketching approaches to achieve a time-space tradeoff. The second technique includes new data structures for parallel seed selection. Using our new approaches, we implemented PaC-IM: Parallel and Compressed IM. We compare PaC-IM with state-of-the-art parallel IM systems on a 96-core machine with 1.5TB memory. PaC-IM can process large-scale graphs with up to 900M vertices and 74B edges in about 2 hours. On average across all tested graphs, our uncompressed version is 5--18$\times$ faster and about 1.4$\times$ more space-efficient than existing parallel IM systems. Using compression further saves 3.8$\times$ space with only 70% overhead in time on average.

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

↑