同步计数与计算算法设计
Synchronous Counting and Computational Algorithm Design
摘要:
考虑$n$节点上的完整通信网络,每个节点都是一个状态机。在同步2计数中,节点接收公共时钟脉冲,并且它们必须就哪些脉冲是“奇”而哪些是“偶”达成一致。我们要求解决方案是自稳定的(从任何初始状态到达正确的操作),并且它容忍$f$拜占庭故障(发送任意错误信息的节点)。先前的算法在硬件中实现是昂贵的:它们需要随机位或大量状态的源。这项工作包括两个部分。在第一部分中,我们使用计算技术(通常称为合成)来构造非常紧凑的确定性算法的第一个非平凡的情况下,$f = 1$。虽然没有算法存在$n < 4$,我们表明,每个节点只有3个状态是足够的所有值$n \ge 4$。此外,对于$n = 4$,每个节点只有2个状态不能解决该问题,但是对于所有值$n \ge 6$,存在2状态解决方案。在第二部分中,我们开发和比较两种不同的方法来合成同步计数算法。这两种方法都是基于铸造的综合问题作为一个命题可满足性(SAT)的问题,并采用现代SAT求解器。不同之处在于如何解决SAT问题:要么以直接的方式,要么在反例引导的抽象细化循环中递增。实证结果表明,前者的技术是更有效的,如果我们想合成时间最优的算法,而后者的技术发现非最优算法更快。
英文摘要:
Consider a complete communication network on $n$ nodes, each of which is a state machine. In synchronous 2-counting, the nodes receive a common clock pulse and they have to agree on which pulses are "odd" and which are "even". We require that the solution is self-stabilising (reaching the correct operation from any initial state) and it tolerates $f$ Byzantine failures (nodes that send arbitrary misinformation). Prior algorithms are expensive to implement in hardware: they require a source of random bits or a large number of states. This work consists of two parts. In the first part, we use computational techniques (often known as synthesis) to construct very compact deterministic algorithms for the first non-trivial case of $f = 1$. While no algorithm exists for $n < 4$, we show that as few as 3 states per node are sufficient for all values $n \ge 4$. Moreover, the problem cannot be solved with only 2 states per node for $n = 4$, but there is a 2-state solution for all values $n \ge 6$. In the second part, we develop and compare two different approaches for synthesising synchronous counting algorithms. Both approaches are based on casting the synthesis problem as a propositional satisfiability (SAT) problem and employing modern SAT-solvers. The difference lies in how to solve the SAT problem: either in a direct fashion, or incrementally within a counter-example guided abstraction refinement loop. Empirical results suggest that the former technique is more efficient if we want to synthesise time-optimal algorithms, while the latter technique discovers non-optimal algorithms more quickly.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。