面向空间受限计算的伪随机哈希及其在数据流中的应用
Pseudorandom Hashing for Space-bounded Computation with Applications in Streaming
AI总结:
本文提出了一种新的伪随机生成器HashPRG,用于改进空间受限计算的去随机化,并在不牺牲空间的前提下显著提升了多种数据流算法(如F_p估计和CountSketch)的更新时间,同时证明了相关算法空间复杂度的最优性及可打破特定下界。
摘要:
我们重新审视了Nisan针对空间受限计算的经典伪随机生成器(PRG,STOC 1990)及其在流式算法中的应用。我们描述了一种新的生成器HashPRG,它可以被视为Nisan生成器在更大字母表上的对称版本。我们的生成器允许在种子长度与计算该生成器输出中给定块所需的时间之间进行权衡。HashPRG可用于对大量数据流算法进行去随机化,从而获得更好的更新时间且不牺牲空间,例如在参数范围p > 2和0 < p < 2下的F_p估计,以及具有Minton和Price(SODA 2014)所分析的紧密估计保证的CountSketch(该分析假设可以访问随机预言机)。我们还展示了最近对Private CountSketch的分析可以使用我们的技术进行去随机化。对于在turnstile流中更新的d维向量x,我们证明了可以使用O(ε^{-2}log(1/ε)log d)位的空间,将||x||_∞估计至多ε||x||_2的加性误差。此外,在Word RAM模型中,该算法的更新时间为O(log 1/ε)。我们证明了该算法的空间复杂度在常数因子内是最优的。然而,对于满足||x||_∞ = Θ(||x||_2)的向量x,我们证明了该下界可以被打破,方法是给出一种使用O(ε^{-2}log d)位空间的算法,该算法将||x||_∞近似至多ε||x||_2的加性误差。我们使用前述对CountSketch数据结构的去随机化来获得此算法,并且利用HashPRG的时空权衡,我们证明了该算法在Word RAM模型中的更新时间同样为O(log 1/ε)。
英文摘要:
We revisit Nisan's classical pseudorandom generator (PRG) for space-bounded computation (STOC 1990) and its applications in streaming algorithms. We describe a new generator, HashPRG, that can be thought of as a symmetric version of Nisan's generator over larger alphabets. Our generator allows a trade-off between seed length and the time needed to compute a given block of the generator's output. HashPRG can be used to obtain derandomizations with much better update time and \emph{without sacrificing space} for a large number of data stream algorithms, such as $F_p$ estimation in the parameter regimes $p > 2$ and $0 < p < 2$ and CountSketch with tight estimation guarantees as analyzed by Minton and Price (SODA 2014) which assumed access to a random oracle. We also show a recent analysis of Private CountSketch can be derandomized using our techniques. For a $d$-dimensional vector $x$ being updated in a turnstile stream, we show that $\|x\|_{\infty}$ can be estimated up to an additive error of $\varepsilon\|x\|_{2}$ using $O(\varepsilon^{-2}\log(1/\varepsilon)\log d)$ bits of space. Additionally, the update time of this algorithm is $O(\log 1/\varepsilon)$ in the Word RAM model. We show that the space complexity of this algorithm is optimal up to constant factors. However, for vectors $x$ with $\|x\|_{\infty} = Θ(\|x\|_{2})$, we show that the lower bound can be broken by giving an algorithm that uses $O(\varepsilon^{-2}\log d)$ bits of space which approximates $\|x\|_{\infty}$ up to an additive error of $\varepsilon\|x\|_{2}$. We use our aforementioned derandomization of the CountSketch data structure to obtain this algorithm, and using the time-space trade off of HashPRG, we show that the update time of this algorithm is also $O(\log 1/\varepsilon)$ in the Word RAM model.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。