Optimal Streaming and Tracking Distinct Elements with High Probability

Author:

Błasiok Jarosław1ORCID

Affiliation:

1. John A. Paulson School of Engineering and Applied Sciences, Harvard University, Cambridge, MA, USA

Abstract

The distinct elements problem is one of the fundamental problems in streaming algorithms—given a stream of integers in the range { 1,… , n }, we wish to provide a (1+ε) approximation to the number of distinct elements in the input. After a long line of research an optimal solution for this problem with constant probability of success, using O (1/ε 2 +lg n ) bits of space, was given by Kane, Nelson, and Woodruff in 2010. The standard approach used to achieve low failure probability δ is to take the median of lg δ −1 parallel repetitions of the original algorithm. We show that such a multiplicative space blow-up is unnecessary: We provide an optimal algorithm using O (lg δ −12 + lg n ) bits of space—matching known lower bounds for this problem. That is, the lg δ −1 ; factor does not multiply the lg n term. This settles completely the space complexity of the distinct elements problem with respect to all standard parameters. We consider also the strong tracking (or continuous monitoring ) variant of the distinct elements problem, where we want an algorithm that provides an approximation of the number of distinct elements seen so far, at all times of the stream. We show that this variant can be solved using O (lg lg n + lg δ −12 + lg n ) bits of space, which we show to be optimal.

Funder

Office of Naval Research

Publisher

Association for Computing Machinery (ACM)

Subject

Mathematics (miscellaneous)

Reference26 articles.

1. The space complexity of approximating the frequency moments

2. A Multi-Round Communication Lower Bound for Gap Hamming and Some Consequences

3. Jarosław Błasiok Jian Ding and Jelani Nelson. 2017. Continuous monitoring of ℓp norms in data streams in approximation randomization and combinatorial optimization. Algorithms and Techniques (APPROX/RANDOM'17). DOI:https://doi.org/10.4230/LIPIcs.APPROX-RANDOM.2017.32 Jarosław Błasiok Jian Ding and Jelani Nelson. 2017. Continuous monitoring of ℓ p norms in data streams in approximation randomization and combinatorial optimization. Algorithms and Techniques (APPROX/RANDOM'17). DOI:https://doi.org/10.4230/LIPIcs.APPROX-RANDOM.2017.32

Cited by 6 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. GSearch: ultra-fast and scalable genome search by combining K-mer hashing with hierarchical navigable small world graphs;Nucleic Acids Research;2024-07-16

2. Better Cardinality Estimators for HyperLogLog, PCSA, and Beyond;Proceedings of the 42nd ACM SIGMOD-SIGACT-SIGAI Symposium on Principles of Database Systems;2023-06-18

3. HyperLogLogLog;Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining;2022-08-14

4. Universal Streaming of Subset Norms;THEOR COMPUT;2022

5. Tight Bounds for Adversarially Robust Streams and Sliding Windows via Difference Estimators;2021 IEEE 62nd Annual Symposium on Foundations of Computer Science (FOCS);2022-02

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3