无协调的并行穷举搜索
Parallel Exhaustive Search without Coordination
摘要:
我们分析了并行算法的背景下,穷举搜索全序集。想象一个无限的“盒子”列表,其中一个盒子里藏着一个“宝藏”,盒子的顺序反映了在给定盒子里找到宝藏的重要性。在每一个时间步,由一个搜索器执行的搜索协议有能力窥视一个盒子,看看宝藏是否存在。通过在它们之间平均分配工作量,$k$搜索者找到宝藏的速度比一个搜索者快$k$倍。然而,这种简单的策略对故障非常敏感(例如,处理器崩溃),克服这个问题似乎需要大量的通信。因此,我们解决的问题,设计并行搜索算法,最大限度地提高速度和保持高水平的鲁棒性,同时最大限度地减少协调的资源量。基于观察,避免通信的算法是固有的鲁棒性,我们分析了非协调算法的最佳运行时间性能。具体而言,我们设计的非协调算法,实现了两个搜索器的$9/8$的加速,三个搜索器的$4/3$的加速,并在一般情况下,任何$k\geq 1$搜索器的$\frac{k}{4}(1+1/k)^2$的加速。因此,渐近,速度只有四倍差的情况下,完全协调,我们的算法是令人惊讶的简单,因此适用。此外,这些界限在很强的意义上是紧的,因为没有非协调搜索算法可以实现更好的加速。总的来说,我们强调,在错误的情况下,搜索者之间的协调在技术上难以实现,侵犯隐私,和/或昂贵的资源,它可能是值得放弃协调,并简单地运行我们的非协调穷举搜索算法。
英文摘要:
We analyze parallel algorithms in the context of exhaustive search over totally ordered sets. Imagine an infinite list of "boxes", with a "treasure" hidden in one of them, where the boxes' order reflects the importance of finding the treasure in a given box. At each time step, a search protocol executed by a searcher has the ability to peek into one box, and see whether the treasure is present or not. By equally dividing the workload between them, $k$ searchers can find the treasure $k$ times faster than one searcher. However, this straightforward strategy is very sensitive to failures (e.g., crashes of processors), and overcoming this issue seems to require a large amount of communication. We therefore address the question of designing parallel search algorithms maximizing their speed-up and maintaining high levels of robustness, while minimizing the amount of resources for coordination. Based on the observation that algorithms that avoid communication are inherently robust, we analyze the best running time performance of non-coordinating algorithms. Specifically, we devise non-coordinating algorithms that achieve a speed-up of $9/8$ for two searchers, a speed-up of $4/3$ for three searchers, and in general, a speed-up of $\frac{k}{4}(1+1/k)^2$ for any $k\geq 1$ searchers. Thus, asymptotically, the speed-up is only four times worse compared to the case of full-coordination, and our algorithms are surprisingly simple and hence applicable. Moreover, these bounds are tight in a strong sense as no non-coordinating search algorithm can achieve better speed-ups. Overall, we highlight that, in faulty contexts in which coordination between the searchers is technically difficult to implement, intrusive with respect to privacy, and/or costly in term of resources, it might well be worth giving up on coordination, and simply run our non-coordinating exhaustive search algorithms.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。