Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cs > arXiv:1607.06517v3

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Computer Science > Data Structures and Algorithms

arXiv:1607.06517v3 (cs)
[Submitted on 21 Jul 2016 (v1), revised 14 Oct 2016 (this version, v3), latest version 24 Feb 2017 (v5)]

Title:Estimating Frequency Statistics through Distinct Count Measurements

Authors:Edith Cohen
View a PDF of the paper titled Estimating Frequency Statistics through Distinct Count Measurements, by Edith Cohen
View PDF
Abstract:One of the most common statistics computed over data elements is the number of distinct keys. It is widely used in practice for a diverse set of applications. A thread of research pioneered by Flajolet and Martin three decades ago initiated the design of highly effective approximate counting structures, which with size that is double logarithmic in the number of keys provides estimates with a small relative error. Moreover, the structures are mergeable/composable, which makes them suitable for streamed, parallel, or distributed computation.
We present a novel framework that leverages these structures and their existing implementations to approximate any frequency statistics of the key frequency distribution, where a contribution of a key to the aggregate is concave and grows (sub)linearly with its frequency in the data. These fundamental aggregations are very common in text, graphs, and logs analysis and include logarithms, low frequency moments, and capping statistics common in online advertising.
Our scheme is powerful but very simple to apply: We specify tailored mapping functions of data elements to output elements. The functions can be applied independently to each element and are chosen so that we can recover our statistics on data elements from distinct statistics of output elements. In a nut shell, we specify the {\em complement Laplace} transform of the input frequencies and show how it can be approximated pointwise using such distinct count measurements. We then derive corresponding inverse transforms for the target statistics. Our work provides optimal asymptotic bounds together with highly practical algorithms for these widely used statistics.
Comments: 23 pages; 2 figures
Subjects: Data Structures and Algorithms (cs.DS); Information Retrieval (cs.IR)
Cite as: arXiv:1607.06517 [cs.DS]
  (or arXiv:1607.06517v3 [cs.DS] for this version)
  https://doi.org/10.48550/arXiv.1607.06517
arXiv-issued DOI via DataCite

Submission history

From: Edith Cohen [view email]
[v1] Thu, 21 Jul 2016 21:58:37 UTC (46 KB)
[v2] Mon, 25 Jul 2016 19:08:13 UTC (56 KB)
[v3] Fri, 14 Oct 2016 18:51:18 UTC (67 KB)
[v4] Wed, 2 Nov 2016 17:27:15 UTC (73 KB)
[v5] Fri, 24 Feb 2017 03:06:17 UTC (171 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled Estimating Frequency Statistics through Distinct Count Measurements, by Edith Cohen
  • View PDF
  • Other Formats
view license
Current browse context:
cs.DS
< prev   |   next >
new | recent | 2016-07
Change to browse by:
cs
cs.IR

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar

DBLP - CS Bibliography

listing | bibtex
Edith Cohen
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack