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

基于机器学习的图划分策略选择

Machine Learning-based Selection of Graph Partitioning Strategy Using the Characteristics of Graph Data and Algorithm

YoungJoon Park, DongKyu Lee, Tien-Cuong Bui

摘要:

分析大型图数据是许多现代应用(例如社交网络)的重要组成部分。由于其大的计算复杂性,经常采用分布式处理。这就要求图数据要跨节点划分,划分策略的选择对任务的执行时间有很大的影响。然而,没有一种通用的分区策略可以在任意图形数据和算法上表现良好。策略的性能取决于图数据和算法的特性。此外,由于图数据和算法的复杂性,手动识别最佳划分策略也是不可行的。在这项工作中,我们提出了一个基于机器学习的方法来选择最合适的划分策略,为一个给定的图形和处理算法。我们的方法列举了可行的分区策略,预测每个目标算法的执行时间,并选择最快的估计执行时间的分区策略。我们的机器学习模型是在从图数据和算法伪代码中提取的特征上训练的。我们还提出了一种方法,增加图任务的实际执行日志,以创建一个大型的合成数据集。评估结果表明,我们的方法所选择的策略导致平均执行时间比分区策略的平均执行时间快1.46倍,性能比最佳分区策略高约0.95倍。

英文摘要:

Analyzing large graph data is an essential part of many modern applications, such as social networks. Due to its large computational complexity, distributed processing is frequently employed. This requires graph data to be divided across nodes, and the choice of partitioning strategy has a great impact on the execution time of the task. Yet, there is no one-size-fits-all partitioning strategy that performs well on arbitrary graph data and algorithms. The performance of a strategy depends on the characteristics of the graph data and algorithms. Moreover, due to the complexity of graph data and algorithms, manually identifying the best partitioning strategy is also infeasible. In this work, we propose a machine learning-based approach to select the most appropriate partitioning strategy for a given graph and processing algorithm. Our approach enumerates viable partitioning strategies, predicts the execution time of the target algorithm for each, and selects the partitioning strategy with the fastest estimated execution time. Our machine learning model is trained on features extracted from graph data and algorithm pseudo-code. We also propose a method that augments real execution logs of graph tasks to create a large synthetic dataset. Evaluation results show that the strategies selected by our approach lead to 1.46X faster execution time on average compared with the mean execution time of the partitioning strategies and about 0.95X the performance compared to the best partitioning strategy.

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

↑