mlsanityData to 14 Oct 2026

Optimal streaming and tracking distinct elements with high probability

arXiv 1804.01642 ↗First posted 5 Apr 2018cs.DScited by 1

Not on the map. Why?

Abstract (arXiv)

The distinct elements problem is one of the fundamental problems in streaming algorithms --- given a stream of integers in the range 1,ldots,n, we wish to provide a (1+varepsilon) 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(frac1varepsilon2+log n) bits of space, was given by Kane, Nelson and Woodruff in 2010. The standard approach used in order to achieve low failure probability δ is to take the median of log δ-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(fraclog δ-1varepsilon2 + log n) bits of space --- matching known lower bounds for this problem. That is, the logδ-1 factor does not multiply the log 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 which 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(fraclog log n + log δ-1varepsilon2 + log n) bits of space, which we show to be optimal.

Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). First posted on arXiv 5 Apr 2018.

Builds on

No reference list yet.

Built on by

Cited by year

Citing papers per year: 2023: 1.

1 paper.