arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2005.13632cs.DCcs.PL
收藏

GraFS:图分析融合与综合

GraFS: Graph Analytics Fusion and Synthesis

Farzin Houshmand, Mohsen Lesani, Keval Vora

摘要:

图分析从大型图中提取洞察力,为业务、安全和保障的关键决策提供信息。几个大规模的图处理框架具有高效的运行时系统;然而,它们通常提供底层的编程模型,并且彼此之间存在细微的差异。因此,最终用户可以发现图分析的实现和特别优化耗时且容易出错。本文将图处理框架的抽象接口看作是图分析的指令集,提出了一种用于图分析的高级声明性规约语言Grafs,并给出了一个能自动生成五种高性能图处理框架高效代码的合成器。它具有新颖的语义保持融合变换,优化规范,并减少到三个原语:减少路径,映射顶点和减少顶点。路径上的约简通常基于在顶点处迭代地应用核函数的推或拉模型来计算。本文提出的条件,参数的核函数,为正确性和终止的迭代模型,并使用这些条件作为规范,自动合成的核函数。实验结果表明,生成的代码匹配或优于手工优化的代码,融合加速执行。

英文摘要:

Graph analytics elicits insights from large graphs to inform critical decisions for business, safety and security. Several large-scale graph processing frameworks feature efficient runtime systems; however, they often provide programming models that are low-level and subtly different from each other. Therefore, end users can find implementation and specially optimization of graph analytics time-consuming and error-prone. This paper regards the abstract interface of the graph processing frameworks as the instruction set for graph analytics, and presents Grafs, a high-level declarative specification language for graph analytics and a synthesizer that automatically generates efficient code for five high-performance graph processing frameworks. It features novel semantics-preserving fusion transformations that optimize the specifications and reduce them to three primitives: reduction over paths, mapping over vertices and reduction over vertices. Reductions over paths are commonly calculated based on push or pull models that iteratively apply kernel functions at the vertices. This paper presents conditions, parametric in terms of the kernel functions, for the correctness and termination of the iterative models, and uses these conditions as specifications to automatically synthesize the kernel functions. Experimental results show that the generated code matches or outperforms hand-optimized code, and that fusion accelerates execution.

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

↑