Proceedings

Succinct Approximate Counting of Skewed Data

Download BibTeX Cite

Proceedings of the Twenty-First International Joint Conference on Artificial Intelligence. Pages 1243-1247.

© 2009 International Joint Conferences on Artificial Intelligence

Abstract

Practical data analysis relies on the ability to count observations of objectssuccinctly and efficiently. Unfortunately the space usage of an exact estimator grows with the size of the a priori set from which objects are drawn while the time required to maintain such an estimator grows with the size of the data set. We present static and on-line approximation schemes that avoid these limitations when approximate frequency estimates are acceptable. Our Log-Frequency Sketch extends the approximate counting algorithm of Morris [Morris1978] to estimate frequencies with bounded relative error via a single pass over a data set. It uses constant space per object when the frequencies follow a power law and can be maintained in constant time per observation. We give an (epsilon, delta)-approximation scheme which we verify empirically on a large natural language data set where, for instance, 95 percent of frequencies are estimated with relative error less than 0.25 using fewer than 11 bits per object in the static case and 15 bits per object on-line.David Talbot

  1. [Alon et al., 1996] N. Alon, Y. Matias, and M. Szegedy. The space complexity of approximating the frequency moments. In Pro- ceedings of STOC '96, pages 20-29, 1996.
  2. [Bloom, 1970] B. Bloom. Space/time tradeoffs in hash coding with allowable errors. Comm. of ACM, 13:422-426, 1970.
  3. [Brants et al., 2007] T. Brants, A.C. Popat, P. Xu, F.J. Och, and J. Dean. Large language models in machine translation. In Pro- ceedings of EMNLP-CoNLL 2007, Prague, 2007.
  4. [Carter et al., 1978] L. Carter, R.W. Floyd, J. Gill, G. Markowsky, and M.N. Wegman. Exact and approximate membership testers. In Proceedings of STOC '78, pages 59-65, 1978.
  5. [Cohen and Matias, 2003] S. Cohen and Y. Matias. Spectral Bloom filters. In Proceedings of the 2003 ACM SIGMOD, International Conference on Management of Data, pages 241-252, 2003.
  6. [Cormode and Muthukrishnan, 2005] G. Cormode and S. Muthukr- ishnan. An improved data stream summary: The Count-Min Sketch. Journal of Algorithms, 55:58-75, 2005.
  7. [Graff et al., 2005] D. Graff, J. Kong, K. Chen, and K. Maeda. En- glish Gigaword Second Edition, 2005. LDC2005T12.
  8. [Kumar et al., 2004] A. Kumar, J. Xu, J. Wang, O. Spatscheck, and L. Li. Space-code Bloom filter for efficient per-flow traffic mea- surement. In Proceedings of INFOCOM '04, 2004.
  9. [Morris, 1978] Robert Morris. Counting large numbers of events in small registers. Comm. of the ACM, 21:840-842, 1978.
  10. [Motwani and Raghavan, 1995] R. Motwani and P. Raghavan. Ran- domized Algorithms. Cambridge University Press, 1995.
  11. [Talbot and Osborne, 2007] D. Talbot and M. Osborne. Ran- domised language modelling for statistical machine translation. In Proc. of 45th Annual Meeting of the ACL, 2007.
  12. [Talbot and Talbot, 2008] D. Talbot and J. Talbot. Bloom maps. In Proc. of 4th Workshop on Analytic Algorithmics and Combina- torics 2008 (ANALCO'08), pages 203-212, San Francisco, 2008.

References were extracted automatically from the PDF and may contain errors.

Welcome Future Conferences AI Journal Division IJCAI Proceedings About IJCAI IJCAI Awards