arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2010.15879cs.DScs.DBcs.DCcs.IR
收藏

Log(Graph):一种近似最优的高性能图表示

Log(Graph): A Near-Optimal High-Performance Graph Representation

Maciej Besta, Dimitri Stanojevic, Tijana Zivic, Jagpreet Singh, Maurice Hoerold, Torsten Hoefler

摘要:

如今,在机器学习或社会网络分析等领域中使用的图可能包含数千亿条边。然而,它们不一定被有效地存储,并且标准的图表示(例如邻接列表)浪费了大量的比特,而图压缩方案(例如WebGraph)通常需要耗时的解压缩。为了解决这个问题,我们提出了Log(Graph):一种图形表示,它将高压缩比与非常低的开销解压缩相结合,以实现更便宜,更快的图形处理。关键思想是对图进行编码,以便表示的部分接近或匹配相应的存储下限。我们称我们的方法为“图的简化”,因为这些界限通常是对数的。我们的高性能日志(图)实现的基础上,现代按位操作和国家的最先进的简洁数据结构实现高压缩比以及性能。例如,与调优的图形算法处理基准套件(GAPBS)相比,它将图形大小减少了20-35%,同时匹配GAPBS的性能,甚至由于减少了传输的数据量而提供加速。它接近已建立的WebGraph压缩库的压缩比,同时实现高达2倍以上的加速。Log(Graph)可以改进单个NUMA节点以及分布式内存系统上的各种图形处理引擎或库的设计。

英文摘要:

Today's graphs used in domains such as machine learning or social network analysis may contain hundreds of billions of edges. Yet, they are not necessarily stored efficiently, and standard graph representations such as adjacency lists waste a significant number of bits while graph compression schemes such as WebGraph often require time-consuming decompression. To address this, we propose Log(Graph): a graph representation that combines high compression ratios with very low-overhead decompression to enable cheaper and faster graph processing. The key idea is to encode a graph so that the parts of the representation approach or match the respective storage lower bounds. We call our approach "graph logarithmization" because these bounds are usually logarithmic. Our high-performance Log(Graph) implementation based on modern bitwise operations and state-of-the-art succinct data structures achieves high compression ratios as well as performance. For example, compared to the tuned Graph Algorithm Processing Benchmark Suite (GAPBS), it reduces graph sizes by 20-35% while matching GAPBS' performance or even delivering speedups due to reducing amounts of transferred data. It approaches the compression ratio of the established WebGraph compression library while enabling speedups of up to more than 2x. Log(Graph) can improve the design of various graph processing engines or libraries on single NUMA nodes as well as distributed-memory systems.

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

↑