On the Amortized Complexity of Approximate Counting

Ishaq Aden-Ali, Yanjun Han, Jelani Nelson, Huacheng Yu

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Naively storing a counter up to value n would require Ω(log n) bits of memory. Nelson and Yu [9], following work of Morris [8], showed that if the query answers need only be (1 + ϵ)-approximate with probability at least 1 − δ, then O(log log n + log log(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 [2] to prove lower bounds for streaming algorithms.

Original languageEnglish (US)
Title of host publicationApproximation, Randomization, and Combinatorial Optimization. Algorithms and Techniques, APPROX/RANDOM 2024
EditorsAmit Kumar, Noga Ron-Zewi
PublisherSchloss Dagstuhl- Leibniz-Zentrum fur Informatik GmbH, Dagstuhl Publishing
ISBN (Electronic)9783959773485
DOIs
StatePublished - Sep 2024
Event27th International Conference on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 2024 and the 28th International Conference on Randomization and Computation, RANDOM 2024 - London, United Kingdom
Duration: Aug 28 2024Aug 30 2024

Publication series

NameLeibniz International Proceedings in Informatics, LIPIcs
Volume317
ISSN (Print)1868-8969

Conference

Conference27th International Conference on Approximation Algorithms for Combinatorial Optimization Problems, APPROX 2024 and the 28th International Conference on Randomization and Computation, RANDOM 2024
Country/TerritoryUnited Kingdom
CityLondon
Period8/28/248/30/24

Keywords

  • approximate counting
  • information complexity
  • lower bounds
  • streaming

ASJC Scopus subject areas

  • Software

Fingerprint

Dive into the research topics of 'On the Amortized Complexity of Approximate Counting'. Together they form a unique fingerprint.

Cite this