On the amortized complexity of approximate counting

11/08/2022
by   Ishaq Aden-Ali, et al.
0

Naively storing a counter up to value n would require Ω(log n) bits of memory. Nelson and Yu [NY22], following work of [Morris78], showed that if the query answers need only be (1+ϵ)-approximate with probability at least 1 - δ, then O(loglog n + loglog(1/δ) + log(1/ϵ)) bits suffice, and in fact this bound is tight. Morris' original motivation for studying this problem though, as well as modern applications, require not only maintaining one counter, but rather k counters for k large. This motivates the following question: for k large, can k counters be simultaneously maintained using asymptotically less memory than k times the cost of an individual counter? That is to say, does this problem benefit from an improved amortized space complexity bound? We answer this question in the negative. Specifically, we prove a lower bound for nearly the full range of parameters showing that, in terms of memory usage, there is no asymptotic benefit possible via amortization when storing multiple counters. Our main proof utilizes a certain notion of "information cost" recently introduced by Braverman, Garg and Woodruff in FOCS 2020 to prove lower bounds for streaming algorithms.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/05/2020

Optimal bounds for approximate counting

Storing a counter incremented N times would naively consume O(log N) bit...
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/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/28/2023

Lower Bounds for Pseudo-Deterministic Counting in a Stream

Many streaming algorithms provide only a high-probability relative appro...
research
04/28/2023

Stretching Demi-Bits and Nondeterministic-Secure Pseudorandomness

We develop the theory of cryptographic nondeterministic-secure pseudoran...
research
07/07/2020

Streaming Complexity of SVMs

We study the space complexity of solving the bias-regularized SVM proble...
research
09/12/2022

Space Optimal Vertex Cover in Dynamic Streams

We optimally resolve the space complexity for the problem of finding an ...

Please sign up or login with your details

Forgot password? Click here to reset