Pseudorandom Hashing for Space-bounded Computation with Applications in Streaming

04/13/2023
by   Praneeth Kacham, et al.
0

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, 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_∞ can be estimated up to an additive error of εx_2 using O(ε^-2log(1/ε)log d) bits of space. Additionally, the update time of this algorithm is O(log 1/ε) 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), we show that the lower bound can be broken by giving an algorithm that uses O(ε^-2log d) bits of space which approximates x_∞ up to an additive error of ε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/ε) in the Word RAM model.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/17/2022

Streaming Algorithms with Large Approximation Factors

We initiate a broad study of classical problems in the streaming model w...
research
11/04/2019

Faster Update Time for Turnstile Streaming Algorithms

In this paper, we present a new algorithm for maintaining linear sketche...
research
07/17/2018

Tracking the ℓ_2 Norm with Constant Update Time

The ℓ_2 tracking problem is the task of obtaining a streaming algorithm ...
research
11/03/2021

Nearly Tight Lower Bounds for Succinct Range Minimum Query

Given an array of distinct integers A[1… n], the Range Minimum Query (RM...
research
03/06/2018

Revisiting Frequency Moment Estimation in Random Order Streams

We revisit one of the classic problems in the data stream literature, na...
research
06/22/2021

Eliminating Intermediate Measurements using Pseudorandom Generators

We show that quantum algorithms of time T and space S≥log T with unitary...
research
11/15/2020

Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators

We introduce difference estimators for data stream computation, which pr...

Please sign up or login with your details

Forgot password? Click here to reset