# DAG-Inducing Problems and Algorithms

**Authors:** Arya Tanmay Gupta, Sandeep S Kulkarni

arXiv: 2302.14834 · 2024-04-11

## TL;DR

This paper introduces DAG-inducing problems and algorithms, providing conditions under which asynchronous parallel algorithms can guarantee convergence to optimal states without synchronization.

## Contribution

It formalizes DAG-inducing problems and proves that inducing a AG among global states is necessary and sufficient for asynchronous correctness.

## Key findings

- Induction of a AG is necessary and sufficient for asynchronous execution.
- Provides properties of algorithms tolerant to asynchrony.
- Describes conditions for correct parallel execution without synchronization.

## Abstract

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.

## Full text

_Full body text omitted from this summary view._ Fetch the complete paper as Markdown: https://tomesphere.com/paper/2302.14834/full.md

## Figures

12 figures with captions in the complete paper: https://tomesphere.com/paper/2302.14834/full.md

## References

11 references — full list in the complete paper: https://tomesphere.com/paper/2302.14834/full.md

---
Source: https://tomesphere.com/paper/2302.14834