Lune

FOCS2023顶会

Pseudorandom Hashing for Space-bounded Computation with Applications in Streaming

Praneeth Kacham, Rasmus Pagh, Mikkel Thorup, David P. Woodruff

摘要

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 without sacrificing space for a large number of data stream algorithms, for example:•Andoni’s FpF_{p} estimation algorithm for constant p>2p \gt 2 (ICASSP, 2017) assumes a random oracle, but achieves optimal space and constant update time. Using HashPRG’s time-space trade-off we eliminate the random oracle assumption while preserving the other properties. Previously no time-optimal derandomization was known. Using similar techniques, we give an algorithm for a relaxed version of ℓp\ell_{p} sampling in a turnstile stream. Both of our algorithms use O~(d1−2/p)\tilde{O}\left(d^{1-2 / p}\right) bits of space and have O(1)O(1) update time.•For 0<p<20\lt p\lt2, the 1±ε1 \pm \varepsilon approximate FpF_{p} estimation algorithm of Kane et al., (STOC, 2011) uses an optimal O(ε−2log⁡d)O\left(\varepsilon^{-2} \log d\right) bits of space but has an update time of O(log⁡2(1/ε)log⁡log⁡(1/ε))O\left(\log ^{2}(1 / \varepsilon) \log \log (1 / \varepsilon)\right). Using HashPRG, we show that if 1/d≤ε≤1/dc1 / \sqrt{d} \leq \varepsilon \leq 1 / d^{c} for an arbitrarily small constant c>0c \gt 0, then we can obtain a 1±ε1 \pm \varepsilon approximate FpF_{p} estimation algorithm that uses the optimal O(ε−2log⁡d)O\left(\varepsilon^{-2} \log d\right) bits of space and has an update time of O(log⁡d)O(\log d) in the Word RAM model, which is more than a quadratic improvement in the update time. We obtain similar improvements for entropy estimation.•CountSketch, with the fine-grained error analysis of Minton and Price (SODA, 2014). For derandomization, they suggested a direct application of Nisan’s generator, yielding a logarithmic multiplicative space overhead. With HashPRG we obtain an efficient derandomization yielding the same asymptotic space as when assuming a random oracle. Our ability to obtain a time-efficient derandomization makes crucial use of HashPRG’s symmetry. We also give the first derandomization of a recent private version of CountSketch.For a d-dimensional vector x being updated in a turnstile stream, we show that ∥x∥∞\|x\|_{\infty} can be estimated up to an additive error of ε∥x∥2\varepsilon\|x\|_{2} using O(ε−2log⁡(1/ε)log⁡d)O\left(\varepsilon^{-2} \log (1 / \varepsilon) \log d\right) bits of space. Additionally, the update time of this algorithm is O(log⁡1/ε)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∥∞=Θ(∥x∥2)\|x\|_{\infty}=\Theta\left(\|x\|_{2}\right), we show that the lower bound can be broken by giving an algorithm that uses O(ε−2log⁡d)O\left(\varepsilon^{-2} \log d\right) bits of space which approximates ∥x∥∞\|x\|_{\infty} up to an additive error of ε∥x∥2\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/ε)O(\log 1 / \varepsilon) in the Word RAM model.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 2 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper2

  1. Fast White-Box Adversarial Streaming Without a Random OracleYing Feng, Aayush Jain, David P. WoodruffICML 2024 · 3 次引用
  2. FairHash: A Fair and Memory/Time-efficient HashmapNima Shahbazi, Stavros Sintos, Abolfazl AsudehSIGMOD 2024 · 2 次引用

它引用的 Paper2

  1. Improved Utility Analysis of Private CountSketchRasmus Pagh, Mikkel ThorupNeurIPS 2022 · 25 次引用
  2. The Coin Problem with Applications to Data StreamsMark Braverman, Sumegha Garg, David P. WoodruffFOCS 2020 · 14 次引用

相关 Paper

  1. Fast and Space Efficient Spectral Sparsification in Dynamic StreamsMichael Kapralov, Aida Mousavifar, Cameron Musco, Christopher Musco 等SODA 2020 · 17 次引用
  2. Explicit Min-wise Hash Families with Optimal SizeXue Chen, Shengtang Huang, Xin LiSODA 2026
  3. Weighted Pseudorandom Generators for Read-Once Branching Programs via Weighted Pseudorandom ReductionsKuan Cheng, Ruiyang WuSODA 2026
  4. Adversarially Robust Dense-Sparse Tradeoffs via Heavy-HittersDavid P. Woodruff, Samson ZhouNeurIPS 2024 · 9 次引用
  5. Differentially Private Fractional Frequency Moments Estimation with Polylogarithmic SpaceLun Wang, Iosif Pinelis, Dawn SongICLR 2022 · 19 次引用
黄昏的海面,两侧是细线勾勒的悬崖