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

监督式分布式计算

Supervised Distributed Computing

John Augustine, Christian Scheideler, Julian Werthmann

AI总结:

本文提出一种监督式分布式计算框架,扩展主从模式,使监督者无需处理数据即可调度任务,并在存在敌对工作节点时仍能高效运行,通过矩阵乘法和排序实例验证其可行性。

摘要:

我们提出了一种新的分布式计算框架,该框架扩展并细化了标准的主从式多线程计算调度方法。在此框架中,存在不同的角色:一个监督者、一个源、一个目标以及一组工作节点。初始时,源存储某个计算问题的实例$I$,最终目标应存储该实例的正确解$S(I)$。我们假设计算$S(I)$所需的过程可以建模为一个有向无环图$G=(V,E)$,其中$V$是任务集合,且$(v,w) \in E$当且仅当任务$w$需要来自任务$v$的信息才能执行。给定$G$,监督者的角色是通过将任务分配给工作节点来调度$G$中任务的执行。如果所有工作节点都是诚实的,信息可以在工作节点之间交换,并且工作节点可以访问源和目标,那么监督者只需要知道$G$即可成功调度计算。即,监督者不需要像标准主从方法那样自行处理任何数据,这带来了巨大的好处:任务可以在大型分布式环境中大规模并行运行,而监督者不会成为瓶颈。但如果存在恒定比例的工作节点是敌对的呢?有趣的是,我们表明,在某些假设下,一种数据无关的调度方法即使在对抗环境中也能有效工作,而不会(渐近地)增加通信和计算所需的工作量。我们通过提出监督式矩阵乘法和排序的具体解决方案来证明这些假设的有效性。

英文摘要:

We introduce a new framework for distributed computing that extends and refines the standard master-worker approach of scheduling multi-threaded computations. In this framework, there are different roles: a supervisor, a source, a target, and a collection of workers. Initially, the source stores some instance $I$ of a computational problem, and at the end, the target is supposed to store a correct solution $S(I)$ for that instance. We assume that the computation required for $S(I)$ can be modeled as a directed acyclic graph $G=(V,E)$, where $V$ is a set of tasks and $(v,w) \in E$ if and only if task $w$ needs information from task $v$ in order to be executed. Given $G$, the role of the supervisor is to schedule the execution of the tasks in $G$ by assigning them to the workers. If all workers are honest, information can be exchanged between the workers, and the workers have access to the source and target, the supervisor only needs to know $G$ to successfully schedule the computations. I.e., the supervisor does not have to handle any data itself like in standard master-worker approaches, which has the tremendous benefit that tasks can be run massively in parallel in large distributed environments without the supervisor becoming a bottleneck. But what if a constant fraction of the workers is adversarial? Interestingly, we show that under certain assumptions a data-agnostic scheduling approach would even work in an adversarial setting without (asymptotically) increasing the work required for communication and computations. We demonstrate the validity of these assumptions by presenting concrete solutions for supervised matrix multiplication and sorting.

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

↑