Estimating arbitrary subset sums with few probes Conference Paper uri icon

abstract

  • Suppose we have a large table T of items i, each with a weight w i, e.g., people and their salary. In a general preprocessing step for estimating arbitrary subset sums, we assign each item a random priority depending on its weight. Suppose we want to estimate the sum of an arbitrary subset I T. For any q > 2, considering only the q highest priority items from I, we obtain an unbiased estimator of the sum whose relative standard deviation is O(1/q). Thus to get an expected approximation factor of 1 , it suffices to consider O(1/2) items from I. Our estimator needs no knowledge of the number of items in the subset I, but we can also estimate that number if we want to estimate averages. The above scheme performs the same role as the on-line aggregation of Hellerstein et al. (SIGMOD'97) but it has the advantage of having expected good performance for any possible sequence of weights. In particular, the performance does not deteriorate in the common case of heavy-tailed weight distributions. This point is illustrated experimentally both with real and synthetic data. We will also show that our approach can be used to improve Cohen's size estimation framework (FOCS'94). Copyright 2005 ACM.

name of conference

  • Proceedings of the twenty-fourth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems

published proceedings

  • Proceedings of the twenty-fourth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems

author list (cited authors)

  • Alon, N., Duffield, N., Lund, C., & Thorup, M.

citation count

  • 31

complete list of authors

  • Alon, Noga||Duffield, Nick||Lund, Carsten||Thorup, Mikkel

publication date

  • January 2005