arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1803.04025cs.CC
收藏

对数空间中的再生性与伪决定性

Reproducibility and Pseudo-Determinism in Log-Space

Ofer Grossman, Yang P. Liu

摘要:

随机对数空间搜索算法的一个奇怪的特性是,它们的输出通常比它们的工作空间长。这就引出了一个问题:我们如何在不逐字存储输出或随机性的情况下重现随机化日志空间计算的结果?用新的随机比特再次运行算法可能会产生新的(并且可能不同的)输出。我们发现,搜索RL中的每个问题都有一个随机化的对数空间算法,可以复制输出。具体来说,我们证明了对于搜索RL中的每个问题,都有一对对数空间随机算法A和B,其中对于每个输入x,A将输出一些大小为O(log n)的字符串t_x,使得B在(x,t_x)上运行时将是伪确定性的:也就是说,在同一输入(x,t_x)上多次运行B将以高概率在所有执行中产生相同的输出。因此,通过在存储器中仅存储O(log n)位,可以再现随机化对数空间算法的输出。算法是可再现的而不需要在存储器中存储任何比特(即,|t_x| =0)当且仅当它是伪确定性的。我们展示了使用对数空间在无向图和欧拉图中寻找路径的伪确定性算法。我们的算法是大大快于最知名的确定性算法,在这样的图中的日志空间中找到路径。搜索RL的算法具有额外的属性,即当被视为取决于算法所使用的随机性的随机变量时,其输出具有熵O(log n)。

英文摘要:

A curious property of randomized log-space search algorithms is that their outputs are often longer than their workspace. This leads to the question: how can we reproduce the results of a randomized log space computation without storing the output or randomness verbatim? Running the algorithm again with new random bits may result in a new (and potentially different) output. We show that every problem in search-RL has a randomized log-space algorithm where the output can be reproduced. Specifically, we show that for every problem in search-RL, there are a pair of log-space randomized algorithms A and B where for every input x, A will output some string t_x of size O(log n), such that B when running on (x, t_x) will be pseudo-deterministic: that is, running B multiple times on the same input (x, t_x) will result in the same output on all executions with high probability. Thus, by storing only O(log n) bits in memory, it is possible to reproduce the output of a randomized log-space algorithm. An algorithm is reproducible without storing any bits in memory (i.e., |t_x|=0) if and only if it is pseudo-deterministic. We show pseudo-deterministic algorithms for finding paths in undirected graphs and Eulerian graphs using logarithmic space. Our algorithms are substantially faster than the best known deterministic algorithms for finding paths in such graphs in log-space. The algorithm for search-RL has the additional property that its output, when viewed as a random variable depending on the randomness used by the algorithm, has entropy O(log n).

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

↑