arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.12864cs.DCcs.DS
收藏

群体协议中的动态大小计数

Dynamic size counting in population protocols

David Doty, Mahsa Eftekhari

摘要:

人口协议模型描述了一个匿名代理网络,这些代理在随机选择的配对中异步交互。每个代理都以相同的初始状态$s$启动。我们引入 * 动态大小计数 * 问题:近似计算代理的数量,在存在的对手谁在任何时候都可以删除任何数量的代理或添加任何数量的新代理状态$s$。一个有效的解决方案需要在每个添加/删除事件之后,导致种群大小$n$,每个代理以高概率“快速”计算值$\log_2 n$的相同常数因子估计(多快被称为 * 收敛 * 时间),其尽可能长地保持每个代理的输出(* 保持 * 时间)。由于对手可以删除代理,保持时间必然是有限的:即使在对手停止改变种群之后,也不可能 * 稳定 * 到永远不会再改变的输出。我们首先表明,一个协议解决了动态大小计数问题,当且仅当它解决了 * 松散稳定计数 * 问题:估计$\log n$在一个 * 固定大小 * 人口,但对手可以初始化每个代理在任意状态,具有相同的收敛时间和保持时间。然后,我们展示了一个协议,解决了松散稳定计数问题,具有以下保证:如果人口规模是$n$,$M$是最大的初始估计$\log n$,和s是最大的整数最初存储在任何领域的代理的内存,我们有预期的收敛时间$O(\log n + \log M)$,预期的多项式保持时间,和预期的内存使用的$O(\log^2 (s) + (\log \log n)^2)$位。将其解释为动态大小计数方案,当群体大小从$n_{prev}$变为$n_{next}$时,收敛时间为$O(\log n_{next} + \log \log n_{prev})$。

英文摘要:

The population protocol model describes a network of anonymous agents that interact asynchronously in pairs chosen at random. Each agent starts in the same initial state $s$. We introduce the *dynamic size counting* problem: approximately counting the number of agents in the presence of an adversary who at any time can remove any number of agents or add any number of new agents in state $s$. A valid solution requires that after each addition/removal event, resulting in population size $n$, with high probability each agent "quickly" computes the same constant-factor estimate of the value $\log_2 n$ (how quickly is called the *convergence* time), which remains the output of every agent for as long as possible (the *holding* time). Since the adversary can remove agents, the holding time is necessarily finite: even after the adversary stops altering the population, it is impossible to *stabilize* to an output that never again changes. We first show that a protocol solves the dynamic size counting problem if and only if it solves the *loosely-stabilizing counting* problem: that of estimating $\log n$ in a *fixed-size* population, but where the adversary can initialize each agent in an arbitrary state, with the same convergence time and holding time. We then show a protocol solving the loosely-stabilizing counting problem with the following guarantees: if the population size is $n$, $M$ is the largest initial estimate of $\log n$, and s is the maximum integer initially stored in any field of the agents' memory, we have expected convergence time $O(\log n + \log M)$, expected polynomial holding time, and expected memory usage of $O(\log^2 (s) + (\log \log n)^2)$ bits. Interpreted as a dynamic size counting protocol, when changing from population size $n_{prev}$ to $n_{next}$, the convergence time is $O(\log n_{next} + \log \log n_{prev})$.

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

↑