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

HBMax:优化内存效率以实现多核架构上的并行影响力最大化

HBMax: Optimizing Memory Efficiency for Parallel Influence Maximization on Multicore Architectures

Xinyu Chen, Marco Minutoli, Jiannan Tian, Mahantesh Halappanavar, Ananth Kalyanaraman, Dingwen Tao

摘要:

影响力最大化的目标是在网络中选择k个最有影响力的顶点或种子,其中影响力由给定的扩散过程定义。虽然计算最优种子集是NP难的,但存在有效的近似算法。然而,即使是最先进的并行实现也受到采样步骤的限制,采样步骤会导致较大的内存占用。这反过来又限制了问题的规模范围和近似质量。在这项工作中,我们研究了在大型现实世界的社交网络上的IMM(通过鞅的影响力最大化)算法中收集反向可达性信息的采样过程的内存足迹。我们提出了一种基于Ripples的内存高效优化方法(称为HBMax),Ripples是一种最先进的多线程并行影响力最大化解决方案。我们的方法,HBMax,使用的算法收集的反向可达(RR)集的一部分,学习图的特征。然后,利用霍夫曼编码或位图编码压缩中间反向可达性信息,并对部分解码的数据进行查询,或者直接对压缩后的数据进行查询,以保留通过压缩获得的存储器节省。考虑到NUMA架构,我们在64个CPU内核上扩展了我们的解决方案,并将内存占用减少了82.1%,平均加速率为6.3%(编码开销被内存减少带来的性能增益所抵消),而不损失准确性。对于最大的测试图Twitter7(具有14亿条边),HBMax实现了5.9倍的压缩比和2.2倍的加速比。

英文摘要:

Influence maximization aims to select k most-influential vertices or seeds in a network, where influence is defined by a given diffusion process. Although computing optimal seed set is NP-Hard, efficient approximation algorithms exist. However, even state-of-the-art parallel implementations are limited by a sampling step that incurs large memory footprints. This in turn limits the problem size reach and approximation quality. In this work, we study the memory footprint of the sampling process collecting reverse reachability information in the IMM (Influence Maximization via Martingales) algorithm over large real-world social networks. We present a memory-efficient optimization approach (called HBMax) based on Ripples, a state-of-the-art multi-threaded parallel influence maximization solution. Our approach, HBMax, uses a portion of the reverse reachable (RR) sets collected by the algorithm to learn the characteristics of the graph. Then, it compresses the intermediate reverse reachability information with Huffman coding or bitmap coding, and queries on the partially decoded data, or directly on the compressed data to preserve the memory savings obtained through compression. Considering a NUMA architecture, we scale up our solution on 64 CPU cores and reduce the memory footprint by up to 82.1% with average 6.3% speedup (encoding overhead is offset by performance gain from memory reduction) without loss of accuracy. For the largest tested graph Twitter7 (with 1.4 billion edges), HBMax achieves 5.9X compression ratio and 2.2X speedup.

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

↑