Lower Bounds for Pseudo-Deterministic Counting in a Stream

03/28/2023
by   Vladimir Braverman, et al.
0

Many streaming algorithms provide only a high-probability relative approximation. These two relaxations, of allowing approximation and randomization, seem necessary – for many streaming problems, both relaxations must be employed simultaneously, to avoid an exponentially larger (and often trivial) space complexity. A common drawback of these randomized approximate algorithms is that independent executions on the same input have different outputs, that depend on their random coins. Pseudo-deterministic algorithms combat this issue, and for every input, they output with high probability the same “canonical” solution. We consider perhaps the most basic problem in data streams, of counting the number of items in a stream of length at most n. Morris's counter [CACM, 1978] is a randomized approximation algorithm for this problem that uses O(loglog n) bits of space, for every fixed approximation factor (greater than 1). Goldwasser, Grossman, Mohanty and Woodruff [ITCS 2020] asked whether pseudo-deterministic approximation algorithms can match this space complexity. Our main result answers their question negatively, and shows that such algorithms must use Ω(√(log n / loglog n)) bits of space. Our approach is based on a problem that we call Shift Finding, and may be of independent interest. In this problem, one has query access to a shifted version of a known string F∈{0,1}^3n, which is guaranteed to start with n zeros and end with n ones, and the goal is to find the unknown shift using a small number of queries. We provide for this problem an algorithm that uses O(√(n)) queries. It remains open whether poly(log n) queries suffice; if true, then our techniques immediately imply a nearly-tight Ω(log n/loglog n) space bound for pseudo-deterministic approximate counting.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/04/2023

Tight Space Lower Bound for Pseudo-Deterministic Approximate Counting

We investigate one of the most basic problems in streaming algorithms: a...
research
11/26/2019

Pseudo-deterministic Streaming

A pseudo-deterministic algorithm is a (randomized) algorithm which, when...
research
03/11/2018

Reproducibility and Pseudo-Determinism in Log-Space

A curious property of randomized log-space search algorithms is that the...
research
11/09/2022

Streaming algorithms for the missing item finding problem

Many problems on data streams have been studied at two extremes of diffi...
research
10/05/2020

Optimal bounds for approximate counting

Storing a counter incremented N times would naively consume O(log N) bit...
research
11/08/2022

On the amortized complexity of approximate counting

Naively storing a counter up to value n would require Ω(log n) bits of m...
research
07/17/2018

Derandomizing the Lovasz Local Lemma via log-space statistical tests

The Lovász Local Lemma (LLL) is a keystone principle in probability theo...

Please sign up or login with your details

Forgot password? Click here to reset