Article view

Data Streams as Random Permutations: the Distinct Element Problem

By Ahmed Mohamed Helmi, Jérémie Lumbroso, Conrado Martínez, Alfredo Viola

Article information

Publication
Published 1 January 2012
Institutions at publication
Universitat Politècnica de Catalunya; Algorithmes, Programmes et Résolution; Algorithms; ALGORITHMS - Algorithms (France); Instituto de Computacion [Montevideo]
13 Citations OpenAlex, 3 December 2026 FULL LIST: Citations
6 Countries with citations Where the citing authors were FULL LIST: Countries with citations
Usage Phase 3: not collected yet

Abstract

In this paper, we show that data streams can sometimes usefully be studied as random permutations. This simple observation allows a wealth of classical and recent results from combinatorics to be recycled, with minimal effort, as estimators for various statistics over data streams. We illustrate this by introducing RECORDINALITY, an algorithm which estimates the number of distinct elements in a stream by counting the number of $k$-records occurring in it. The algorithm has a score of interesting properties, such as providing a random sample of the set underlying the stream. To the best of our knowledge, a modified version of RECORDINALITY is the first cardinality estimation algorithm which, in the random-order model, uses neither sampling nor hashing.

Citations per year

Citations per year
YearCitations
2017 0
2018 1
2019 1
2020 2
2021 1
2022 2
2023 0
2024 1
2025 1
2026 0

OpenAlex counts citations by year for the last ten years only, so the total and the list of citing works can include earlier ones.

Works citing this article

OpenAlex counts 13 citations; 11 citing works of them are listed here.

The newest works citing this article
Citing workYearPublished in
Streaming Sketching: Mathematical Theory and Practical Algorithms 2025 Deep Blue (University of Michigan)
UltraLogLog: A Practical and More Space-Efficient Alternative to HyperLogLog for Approximate Distinct Counting 2024 Proceedings of the VLDB Endowment
Information theoretic limits of cardinality estimation: Fisher meets Shannon 2021 ACM Symposium on Theory of Computing (STOC)
Cardinality Estimation Using Gumbel Distribution 2020 DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
Non-Mergeable Sketching for Cardinality Estimation 2020 DROPS (Schloss Dagstuhl – Leibniz Center for Informatics)
Regenerative random permutations of integers 2019 The Annals of Probability
LotterySampling: a novel algorithm for the heavy hitters and the top-k problems on data streams 2018 RECERCAT (Consorci de Serveis Universitaris de Catalunya)
Multiresolution analysis of ranking data 2016 theses.fr (ABES)
Estudio y análisis de Recordinality 2015 RECERCAT (Consorci de Serveis Universitaris de Catalunya)
Analysis of the Strategy “Hiring Above the $$m$$ m -th Best Candidate” (self-citation) 2014 Algorithmica

All 11 citing works

Where its authors are based

Countries of the institutions the article's authors were affiliated to when it was published.

  • Changes the map only; the tables list the figures.
  • USAGE Phase 3
Authors by country
CountryAuthors
Spain2
Citations from 6 countries
Citations by the country of the citing authors
CountryCitations
United States4
Spain3
Austria1
China1
France1
Poland1

Where the authors of the works citing these were, from the citing works OpenAlex lists. A citation whose authors were in several countries counts in each.