Approximate counting with a floating-point counter

8Citations
Citations of this article
9Readers
Mendeley users who have this article in their library.
Get full text

Abstract

When many objects are counted simultaneously in large data streams, as in the course of network traffic monitoring, or Webgraph and molecular sequence analyses, memory becomes a limiting factor. Robert Morris [Communications of the ACM, 21:840-842, 1978] proposed a probabilistic technique for approximate counting that is extremely economical. The basic idea is to increment a counter containing the value X with probability 2-X . As a result, the counter contains an approximation of after n probabilistic updates, stored in bits. Here we revisit the original idea of Morris. We introduce a binary floating-point counter that combines a d-bit significand with a binary exponent, stored together on bits. The counter yields a simple formula for an unbiased estimation of n with a standard deviation of about 0.6•n2-d/2. We analyze the floating-point counter's performance in a general framework that applies to any probabilistic counter. In that framework, we provide practical formulas to construct unbiased estimates, and to assess the asymptotic accuracy of any counter. © 2010 Springer-Verlag Berlin Heidelberg.

Cite

CITATION STYLE

APA

Csurös, M. (2010). Approximate counting with a floating-point counter. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 6196 LNCS, pp. 358–367). https://doi.org/10.1007/978-3-642-14031-0_39

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free