Multi-objective Weighted Sampling

Edith Cohen

Abstract

Multi-objective weighted sampling addresses the challenge of creating a single, compact summary of a massive dataset that provides high-quality statistical estimates for many different types of queries simultaneously. By "coordinating" samples using shared randomness, this approach achieves the same accuracy as multiple dedicated samples while keeping the total summary size significantly smaller—often only a logarithmic factor larger than a single-objective sample. This paper establishes theoretical foundations for sampling closure, universal monotone sampling, and provides efficient algorithms for practical implementation.

Introduction

In large-scale data analysis, weighted sampling is a fundamental tool for estimating "segment-sum" statistics, such as total revenue or user activity within specific demographics. Traditional techniques like Poisson or Bottom-$k$ sampling are optimized for a single weight objective. However, real-world applications often require simultaneous estimation of multiple metrics—such as counts, sums, moments, or capped values. Storing separate samples for each objective is often prohibitively expensive. This research explores whether a single, small sample can provide robust guarantees for a wide range of objectives concurrently.

Methods

The core of the proposed approach is Sample Coordination. Instead of independent random selection for each objective, the same set of random hash values ($u_x$) is used for every key across all objectives. This ensures that a key selected for one objective is more likely to be selected for others, maximizing overlap.

The paper introduces several key sampling strategies:

  1. Multi-objective PPS & Bottom-$k$: Defined as the union of coordinated dedicated samples.
  2. Sampling Closure: Proving that a sample designed for a set of functions $F$ also covers any non-negative linear combination of $F$.
  3. Universal Monotone Sampling: A method to support the infinite set of all monotone non-decreasing functions by focusing on threshold functions.
  4. Universal Capping Sampling: A specialized sample for concave "capping" functions common in robust statistics.

Key Insights

The "Luck" Factor is central to the efficiency of this method. By using a shared random seed, keys that are "lucky" in one objective's selection process are prioritized across others. This maximizes the reuse of sampled data points across different query types.

Furthermore, the paper demonstrates a Logarithmic Overhead: supporting all possible monotone functions only increases the expected sample size by a factor of $O(\ln n)$. This is achieved by reducing the problem of supporting all monotone functions to supporting all threshold functions. If a sample can accurately estimate how many items are above any value $T$, it can estimate any monotone function.

Results

The multi-objective framework provides a Coefficient of Variation (CV) for any objective $f$ that matches or exceeds a dedicated sample of size $k$. For a dataset with $n$ keys, the Universal Monotone Sample maintains an expected size of at most $k \ln n$. Computationally, the samples can be constructed in near-linear time—$O(n + k \ln n \log k)$—making them suitable for high-volume streaming or distributed environments.

Conclusion

Multi-objective weighted sampling offers a powerful way to summarize data for diverse analytical needs. While currently optimized for aggregated data and monotone functions, it provides a scalable foundation for robust, multi-faceted data estimation. Future work may extend these guarantees to unaggregated streams and a broader class of non-monotone functions, as well as refining adaptive sampling methods for complex optimization tasks.

Summary updated

BibTeX
@inproceedings{cohen2015multi,
  author = {Edith Cohen},
  title = {{Multi-objective Weighted Sampling}},
  booktitle = {HotWeb},
  year = {2015},
  doi = {10.1109/hotweb.2015.8},
}
Figure