Efficient stream sampling for variance-optimal estimation of subset sums

Edith Cohen, Nick Duffield, Haim Kaplan, Carsten Lund, Mikkel Thorup

17 Citationer (Scopus)

Abstract

From a high volume stream of weighted items, we want to maintain a generic sample of a certain limited size k that we can later use to estimate the total weight of arbitrary subsets. This is the classic context of on-line reservoir sampling, thinking of the generic sample as a reservoir. We present an efficient reservoir sampling scheme, VarOptk, that dominates all previous schemes in terms of estimation quality. VarOptk provides variance optimal unbiased estimation of subset sums. More precisely, if we have seen n items of the stream, then for any subset size m, our scheme based on k samples minimizes the average variance over all subsets of size m. In fact, the optimality is against any off-line scheme with k samples tailored for the concrete set of items seen. In addition to optimal average variance, our scheme provides tighter worst-case bounds on the variance of particular subsets than previously possible. It is efficient, handling each new item of the stream in O(log k) time. Finally, it is particularly well suited for combinations of samples from different streams in a distributed setting.

OriginalsprogEngelsk
TidsskriftS I A M Journal on Computing
Vol/bind40
Udgave nummer5
Sider (fra-til)1402-1431
Antal sider30
ISSN0097-5397
DOI
StatusUdgivet - 2011
Udgivet eksterntJa

Fingeraftryk

Dyk ned i forskningsemnerne om 'Efficient stream sampling for variance-optimal estimation of subset sums'. Sammen danner de et unikt fingeraftryk.

Citationsformater