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

DAG-Inducing 问题与算法

DAG-Inducing Problems and Algorithms

Arya Tanmay Gupta, Sandeep S Kulkarni

AI总结:

本文提出 DAG-inducing 问题与算法,证明全局状态间诱导出 $\prec$-DAG 是算法无同步异步正确执行的充要条件,并分析其性质。

摘要:

考虑一个顺序算法的执行:该算法要求程序收敛到最优状态,然后终止/停顿。为设计这样的算法,我们需要确保它所遍历的状态空间构成一个有向无环图(DAG),并且其汇点是最优状态。然而,如果我们在多个并行运行且没有同步的计算节点上运行同一算法,它可能无法达到最优状态。文献中设计的大多数并行处理算法都假定存在一个同步原语。同步确保节点读取到最新值,并且执行有系统地推进,从而使主体算法遍历在全局状态之间诱导出的 DAG。\n基于这一观察,我们研究了即使算法在无同步的并行环境下执行,仍能保证其执行正确的条件。为此,我们引入了 DAG-inducing 问题和 DAG-inducing 算法。我们证明,诱导出一个 $\prec$-DAG(在全局状态之间诱导形成——这是由各个节点访问的局部状态之间诱导出的偏序所导致的结果)是允许算法异步运行的充要条件。\n在本文中,我们首先全面描述 DAG-inducing 问题和 DAG-inducing 算法,并给出一些简单示例。随后,我们展示能够容忍异步的算法所具有的若干性质,其中包括上述条件。

英文摘要:

Consider the execution of a sequential algorithm that requires the program to converge to an optimal state, and then terminate/stutter. To design such an algorithm, we need to ensure that the state space that it traverses forms a directed acyclic graph (DAG) and its sink nodes are optimal states. However, if we run the same algorithm on multiple computing nodes running in parallel, and without synchronization, it may not reach an optimal state. In most parallel processing algorithms designed in the literature, a synchronization primitive is assumed. Synchronization ensures that the nodes read fresh value, and the execution proceeds systematically, such that the subject algorithm traverses a DAG induced among the global states. With this observation, we investigate the conditions that guarantee that the execution of an algorithm is correct even if it is executed in parallel and without synchronization. To this end, we introduce DAG-inducing problems and DAG-inducing algorithms. We show that induction of a $\prec$-DAG (induced among the global states -- that forms as a result of a partial order induced among the local states visited by individual nodes) is a necessary and sufficient condition to allow an algorithm to run in asynchrony. In the paper, we first give a comprehensive description of DAG-inducing problems and DAG-inducing algorithms, along with some simple examples. Then we show some properties of an algorithm that is tolerant to asynchrony, which include the above-mentioned condition.

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

↑