Distinct Elements in Streams: An Algorithm for the (Text) Book

Given a data stream \(\mathcal{A} = \langle a_1, a_2, \ldots, a_m \rangle\) of \(m\) elements where each \(a_i \in [n]\), the Distinct Elements problem is to estimate the number of distinct elements in \(\mathcal{A}\).Distinct Elements has been a subject of theoretical and empirical investigations o...

Full description

Saved in:
Bibliographic Details
Published in:arXiv.org
Main Authors: Chakraborty, Sourav, Vinodchandran, N V, Meel, Kuldeep S
Format: Paper
Language:English
Published: Ithaca Cornell University Library, arXiv.org 24.05.2023
Subjects:
ISSN:2331-8422
Online Access:Get full text
Tags: Add Tag
No Tags, Be the first to tag this record!
Abstract Given a data stream \(\mathcal{A} = \langle a_1, a_2, \ldots, a_m \rangle\) of \(m\) elements where each \(a_i \in [n]\), the Distinct Elements problem is to estimate the number of distinct elements in \(\mathcal{A}\).Distinct Elements has been a subject of theoretical and empirical investigations over the past four decades resulting in space optimal algorithms for it.All the current state-of-the-art algorithms are, however, beyond the reach of an undergraduate textbook owing to their reliance on the usage of notions such as pairwise independence and universal hash functions. We present a simple, intuitive, sampling-based space-efficient algorithm whose description and the proof are accessible to undergraduates with the knowledge of basic probability theory.
AbstractList Given a data stream \(\mathcal{A} = \langle a_1, a_2, \ldots, a_m \rangle\) of \(m\) elements where each \(a_i \in [n]\), the Distinct Elements problem is to estimate the number of distinct elements in \(\mathcal{A}\).Distinct Elements has been a subject of theoretical and empirical investigations over the past four decades resulting in space optimal algorithms for it.All the current state-of-the-art algorithms are, however, beyond the reach of an undergraduate textbook owing to their reliance on the usage of notions such as pairwise independence and universal hash functions. We present a simple, intuitive, sampling-based space-efficient algorithm whose description and the proof are accessible to undergraduates with the knowledge of basic probability theory.
Author Meel, Kuldeep S
Chakraborty, Sourav
Vinodchandran, N V
Author_xml – sequence: 1
  givenname: Sourav
  surname: Chakraborty
  fullname: Chakraborty, Sourav
– sequence: 2
  givenname: N
  surname: Vinodchandran
  middlename: V
  fullname: Vinodchandran, N V
– sequence: 3
  givenname: Kuldeep
  surname: Meel
  middlename: S
  fullname: Meel, Kuldeep S
BookMark eNotjTtPwzAYAC0EEqX0B7BZYoEhwfbnR8yAlJbykCoxkL1yEpumJDbELurPJxJMN93dBTr1wVuErijJeSEEuTPjsfvJGRCaU0I1PUEzBkCzgjN2jhYx7gkhTComBMzQw2MXU-ebhNe9HaxPEXcev6fRmiHe49Ljsv8IY5d2A3ZhxGln8U1lj-kWL0P4vERnzvTRLv45R9XTulq9ZJu359dVucmMYJA5XVNwIDWXvHHKCCoYaYpaFBJUI5q2gZZwB0VdO604ZdZabZyaNKZb5WCOrv-yX2P4PtiYtvtwGP103DI1ZUFKDfALpXBKjQ
ContentType Paper
Copyright 2023. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
Copyright_xml – notice: 2023. This work is published under http://arxiv.org/licenses/nonexclusive-distrib/1.0/ (the “License”). Notwithstanding the ProQuest Terms and Conditions, you may use this content in accordance with the terms of the License.
DBID 8FE
8FG
ABJCF
ABUWG
AFKRA
AZQEC
BENPR
BGLVJ
CCPQU
DWQXO
HCIFZ
L6V
M7S
PHGZM
PHGZT
PIMPY
PKEHL
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
PTHSS
DOI 10.48550/arxiv.2301.10191
DatabaseName ProQuest SciTech Collection
ProQuest Technology Collection
Materials Science & Engineering Collection
ProQuest Central (Alumni)
ProQuest Central UK/Ireland
ProQuest Central Essentials - QC
ProQuest Central
ProQuest Technology Collection
ProQuest One Community College
ProQuest Central Korea
SciTech Collection (ProQuest)
ProQuest Engineering Collection
Engineering Database
Proquest Central Premium
ProQuest One Academic (New)
Publicly Available Content Database
ProQuest One Academic Middle East (New)
ProQuest One Academic Eastern Edition (DO NOT USE)
ProQuest One Applied & Life Sciences
ProQuest One Academic (retired)
ProQuest One Academic UKI Edition
ProQuest Central China
Engineering Collection
DatabaseTitle Publicly Available Content Database
Engineering Database
Technology Collection
ProQuest One Academic Middle East (New)
ProQuest Central Essentials
ProQuest One Academic Eastern Edition
ProQuest Central (Alumni Edition)
SciTech Premium Collection
ProQuest One Community College
ProQuest Technology Collection
ProQuest SciTech Collection
ProQuest Central China
ProQuest Central
ProQuest One Applied & Life Sciences
ProQuest Engineering Collection
ProQuest One Academic UKI Edition
ProQuest Central Korea
Materials Science & Engineering Collection
ProQuest Central (New)
ProQuest One Academic
ProQuest One Academic (New)
Engineering Collection
DatabaseTitleList Publicly Available Content Database
Database_xml – sequence: 1
  dbid: PIMPY
  name: Publicly Available Content Database
  url: http://search.proquest.com/publiccontent
  sourceTypes: Aggregation Database
DeliveryMethod fulltext_linktorsrc
Discipline Physics
EISSN 2331-8422
Genre Working Paper/Pre-Print
GroupedDBID 8FE
8FG
ABJCF
ABUWG
AFKRA
ALMA_UNASSIGNED_HOLDINGS
AZQEC
BENPR
BGLVJ
CCPQU
DWQXO
FRJ
HCIFZ
L6V
M7S
M~E
PHGZM
PHGZT
PIMPY
PKEHL
PQEST
PQGLB
PQQKQ
PQUKI
PRINS
PTHSS
ID FETCH-LOGICAL-a523-f9b13f369464cf7a51520c8b58637c5cdc3d04f38bbf97412eee9af79b129d7f3
IEDL.DBID M7S
IngestDate Mon Jun 30 09:21:03 EDT 2025
IsDoiOpenAccess true
IsOpenAccess true
IsPeerReviewed false
IsScholarly false
Language English
LinkModel DirectLink
MergedId FETCHMERGED-LOGICAL-a523-f9b13f369464cf7a51520c8b58637c5cdc3d04f38bbf97412eee9af79b129d7f3
Notes SourceType-Working Papers-1
ObjectType-Working Paper/Pre-Print-1
content type line 50
OpenAccessLink https://www.proquest.com/docview/2769436693?pq-origsite=%requestingapplication%
PQID 2769436693
PQPubID 2050157
ParticipantIDs proquest_journals_2769436693
PublicationCentury 2000
PublicationDate 20230524
PublicationDateYYYYMMDD 2023-05-24
PublicationDate_xml – month: 05
  year: 2023
  text: 20230524
  day: 24
PublicationDecade 2020
PublicationPlace Ithaca
PublicationPlace_xml – name: Ithaca
PublicationTitle arXiv.org
PublicationYear 2023
Publisher Cornell University Library, arXiv.org
Publisher_xml – name: Cornell University Library, arXiv.org
SSID ssj0002672553
Score 1.8328209
SecondaryResourceType preprint
Snippet Given a data stream \(\mathcal{A} = \langle a_1, a_2, \ldots, a_m \rangle\) of \(m\) elements where each \(a_i \in [n]\), the Distinct Elements problem is to...
SourceID proquest
SourceType Aggregation Database
SubjectTerms Data transmission
Hash based algorithms
Probability theory
Title Distinct Elements in Streams: An Algorithm for the (Text) Book
URI https://www.proquest.com/docview/2769436693
hasFullText 1
inHoldings 1
isFullTextHit
isPrint
link http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMwpV07T8MwGPwELUhMvMWjVB4YYIja2IkdM4AKtIKBKoIOZaocP6ASTUsSKn4-dprCgMTCGEWJLMe53H3fxQdwKjDhSSSNF2iBrUAJiZdYmuCFTHCLmEnEw0XYBOv3o-GQx1XBLa9slUtMLIFaTaWrkbcwozwglHJyNXv3XGqU665WERqrUHe7JPilde_pu8aCKbOMmSyameXWXS2RfY7nzv3sO93K_V8QXH5Xepv_HdEW1GMx09k2rOh0B9ZLP6fMd-Hy1r27qSxQd-EPz9E4Ra4FLSb5BeqkqPP2Ym9WvE6Qpa3I0kB0NrBAfY7c3w97MOh1Bzd3XhWV4AmrJD3DE58YYsdDA2mYsCQFt2WUhBElTIZSSaLagSFRkhgrIHystebCMHsZ5ooZsg-1dJrqA0CECSIpozok7UC0daSEokpLo6w487k-hMZyNkbVcs9HP1Nx9PfpY9hwee2u_Y6DBtSK7EOfwJqcF-M8a0L9utuPH5vlU7RH8f1D_PwFlwqmdw
linkProvider ProQuest
linkToHtml http://cvtisr.summon.serialssolutions.com/2.0.0/link/0/eLvHCXMw1V09T8MwED1BAcHEt_go4AEkGKI2dmLHSIAq2goEVEh06FY5jg2VaFqaUuBH8R85pxQGJDYG5iiWdXbeved7zgHsK8pkHGnrBUZRFCgh82KkCV4olETEjCMZjptNiEYjarXk7RS8T-7COFvlBBNzoE562p2Rl6jgMmCcS3bWf_Jc1yhXXZ200Bhviyvz9oKSLTu5rOL6HlBarzXPL7zPrgKeQtHlWRn7zDIcjAfaCoX5nJZ1FIcRZ0KHOtEsKQeWRXFskWv71BgjlRX4GpWJsAyHnYYZZBFU5k7Bu68jHcoFEnQ2rp3mfworqcFrZ-TM1r6TydL_gfh5Gqsv_rMALMHMreqbwTJMmXQF5nK3qs5W4bTqkCnVQ1Ibu98z0kmJK7CrbnZMKimpPN7j3IcPXYKknCDJJYdNTENHxN3tWIPmX8x4HQppLzUbQJhQTHPBTcjKgSqbKFEJT4y2CUpPX5pNKE6C3_78mLP2d-S3fn-8B_MXzZvr9vVl42obFlxnemc0oEERCsPBs9mBWT0adrLBbr5xCLT_eJ0-AP90_0Q
openUrl ctx_ver=Z39.88-2004&ctx_enc=info%3Aofi%2Fenc%3AUTF-8&rfr_id=info%3Asid%2Fsummon.serialssolutions.com&rft_val_fmt=info%3Aofi%2Ffmt%3Akev%3Amtx%3Ajournal&rft.genre=article&rft.atitle=Distinct+Elements+in+Streams%3A+An+Algorithm+for+the+%28Text%29+Book&rft.jtitle=arXiv.org&rft.au=Chakraborty%2C+Sourav&rft.au=Vinodchandran%2C+N+V&rft.au=Meel%2C+Kuldeep+S&rft.date=2023-05-24&rft.pub=Cornell+University+Library%2C+arXiv.org&rft.eissn=2331-8422&rft_id=info:doi/10.48550%2Farxiv.2301.10191