paperbot · PL 论文追踪

全部论文 待读 收藏

P2 PnP

PnP:面向迭代图分析的点对点查询并行框架
ASPLOS Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems2019匹配度 1/10 · 该论文聚焦并行图分析中的点对点查询加速与剪枝/方向预测,与用户画像中的 PL→AI、AI→PL、静态分析、浮点程序分析和贝叶斯程序分析等核心方向无直接关联;仅在并行/图计算背景上有非常微弱的联系。引用 22 inbox
Chengshuo Xu, Keval Vora, Rajiv Gupta
crossref: 2026-09-12

AI 速览

一句话:提出并行图分析框架 PnP,用在线剪枝与动态方向预测加速单源单目标点对点迭代图查询。

迭代图分析算法通常计算开销很高,但许多应用只需要点对点查询,即给定单个源点和目标点。本文提出 PnP 并行框架,用于处理这类点对点查询流。其效率来自两项创新:在线剪枝,剔除被判定不会影响查询最终解的顶点传播;动态方向预测,在前向(从源点出发)与后向(从目标点出发)之间选择代价更低的方向。PnP 采用两阶段算法:阶段1双向简短遍历图,以预测较快方向并启用剪枝;阶段2沿选定方向迭代运行算法直至收敛。实验在多个基准和图数据上表明,PnP 响应查询迅速,方向选择准确且剪枝有效,常能抵消方向预测的运行时开销。与唯一的同类点对点查询评估框架 Quegel 相比,单机 PnP 比四机集群上的 Quegel 快 8.2× 至 3116×。

问题
迭代图分析中的点对点查询流若沿用全局或昂贵算法会带来很高计算开销,需要高效支持单源单目标查询。
方法
提出 PnP 两阶段并行框架:阶段1双向短遍历以预测较快方向并支持在线剪枝,阶段2沿选定方向迭代直至收敛。
评估
在多个基准和图数据上与 Quegel 对比;单机 PnP 比四机集群 Quegel 快 8.2× 至 3116×,并验证方向预测准确、剪枝收益可抵消预测开销。
原文摘要(Abstract)

Frequently used parallel iterative graph analytics algorithms are computationally expensive. However, researchers have observed that applications often require point-to-point versions of these analytics algorithms that are less demanding. In this paper we introduce the PnP parallel framework for iterative graph analytics that processes a stream of point-to-point queries with each involving a single source and destination vertex pair. The efficiency of our framework is derived from the following two novel features: online Pruning of graph exploration that eliminates propagation from vertices that are determined to not contribute to a query's final solution; and dynamic direction Prediction for solving the query in either forward (from source) or backward (from destination) direction as their costs can differ greatly. PnP employs a two-phase algorithm where, Phase 1 briefly traverses the graph in both directions to predict the faster direction and enable pruning; then Phase 2 completes query evaluation by running the algorithm for the chosen direction till it converges. Our experiments show that PnP responds to queries rapidly because of accurate direction selection and effective pruning that often offsets the runtime overhead of direction prediction. PnP substantially outperforms Quegel, the only other point-to-point query evaluation framework. Our experiments on multiple benchmarks and graphs show that PnP on a single machine is 8.2× to 3116× faster than Quegel on a cluster of four machines.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot4902,
  title = {PnP},
  author = {Chengshuo Xu and Keval Vora and Rajiv Gupta},
  booktitle = {ASPLOS},
  year = {2019},
  doi = {10.1145/3297858.3304012}
}