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

树上大规模并行动态规划

Massively Parallel Dynamic Programming on Trees

MohammadHossein Bateni, Soheil Behnezhad, Mahsa Derakhshan, MohammadTaghi Hajiaghayi, Vahab Mirrokni

摘要:

动态规划是一种功能强大的技术,但不幸的是,这种技术通常具有内在的顺序性。也就是说,没有统一的方法来并行化使用动态规划的算法。在本文中,我们试图解决这个问题的大规模并行计算(MPC)模型,这是一个流行的抽象MapReduce类范例。我们的主要结果是一个算法框架,以适应一个大家庭的动态程序定义在树上。我们介绍了两类图的问题,承认动态规划解决方案的树木。我们把它们称为“(polylog)-可表达”和“线性-可表达”问题。我们表明,这两个类可以并行化在$O(\log n)$轮使用次线性数量的机器和次线性内存每台机器。为了实现这一结果,我们引入了一系列可以组合在一起的技术。为了说明我们的框架的通用性,我们在MPC的$O(\log n)$轮中实现了图问题的动态规划解决方案,例如最小二分法,$k$ -生成树,最大独立集,最长路径等,当输入图是树时。

英文摘要:

Dynamic programming is a powerful technique that is, unfortunately, often inherently sequential. That is, there exists no unified method to parallelize algorithms that use dynamic programming. In this paper, we attempt to address this issue in the Massively Parallel Computations (MPC) model which is a popular abstraction of MapReduce-like paradigms. Our main result is an algorithmic framework to adapt a large family of dynamic programs defined over trees. We introduce two classes of graph problems that admit dynamic programming solutions on trees. We refer to them as "(polylog)-expressible" and "linear-expressible" problems. We show that both classes can be parallelized in $O(\log n)$ rounds using a sublinear number of machines and a sublinear memory per machine. To achieve this result, we introduce a series of techniques that can be plugged together. To illustrate the generality of our framework, we implement in $O(\log n)$ rounds of MPC, the dynamic programming solution of graph problems such as minimum bisection, $k$-spanning tree, maximum independent set, longest path, etc., when the input graph is a tree.

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

↑