Mergeable summaries

Journal Article

We study the mergeability of data summaries. Informally speaking, mergeability requires that, given two summaries on two datasets, there is a way to merge the two summaries into a single summary on the two datasets combined together, while preserving the error and size guarantees. This property means that the summaries can be merged in a way akin to other algebraic operators such as sum and max, which is especially useful for computing summaries on massive distributed data. Several data summaries are trivially mergeable by construction, most notably all the sketches that are linear functions of the datasets. But some other fundamental ones, like those for heavy hitters and quantiles, are not (known to be) mergeable. In this article, we demonstrate that these summaries are indeed mergeable or can be made mergeable after appropriatemodifications. Specifically, we show that for e-approximate heavy hitters, there is a deterministic mergeable summary of size O(1/e); for e-approximate quantiles, there is a deterministic summary of size O((1/e) log(en)) that has a restricted form of mergeability, and a randomized one of size O((1/e) log3/2(1/e)) with full mergeability. We also extend our results to geometric summaries such as e-approximations which permit approximate multidimensional range counting queries. While most of the results in this article are theoretical in nature, some of the algorithms are actually very simple and even perform better than the previously best known algorithms, which we demonstrate through experiments in a simulated sensor network. We also achieve two results of independent interest: (1) we provide the best known randomized streaming bound for ε-approximate quantiles that depends only on e, of size O((1/e) log3/2(1/e)), and (2) we demonstrate that the MG and the SpaceSaving summaries for heavy hitters are isomorphic. © 2013.

Full Text

Duke Authors

Cited Authors

  • Agarwal, PK; Cormode, G; Huang, Z; Phillips, JM; Wei, Z; Yi, K

Published Date

  • November 1, 2013

Published In

Volume / Issue

  • 38 / 4

Electronic International Standard Serial Number (EISSN)

  • 1557-4644

International Standard Serial Number (ISSN)

  • 0362-5915

Digital Object Identifier (DOI)

  • 10.1145/2500128

Citation Source

  • Scopus