Abstract
Coordinated sampling is a vital technique for summarizing massive, evolving datasets while maximizing sample overlap. This paper provides the first rigorous theoretical foundation for this approach, introducing the J estimator. This "variance competitive" algorithm is guaranteed to perform nearly as well as the best possible custom-tailored estimator for any given data distribution, offering a universal solution for diverse data queries.
Introduction
In the era of "Big Data," datasets like IP traffic logs or web snapshots are often too massive to store in full. Random sampling is the standard solution, but comparing different "instances" of data (e.g., traffic from different days) presents a challenge. Coordinated sampling ensures that if an item appears in multiple instances, it is likely to be included in all corresponding samples. This maximizes overlap, facilitating the estimation of functions like the size of a union or the difference between datasets.
Despite decades of practical use, the fundamental limits of coordinated sampling remained poorly understood. Specifically, researchers lacked a clear characterization of which queries could be answered accurately and whether a "universal" estimator existed that could remain efficient across any data distribution.
The Shared-Seed Model and the J Estimator
The authors formalize coordinated sampling using a shared-seed model. Each item is assigned a random "seed" $u \in [0, 1]$. An item's inclusion in a sample depends on its value and this shared seed. Because the seed is consistent across data instances, the resulting samples are inherently coordinated.
The paper's primary contribution is the J estimator. Unlike standard estimators (such as Horvitz-Thompson) that can become unstable for certain functions, the J estimator is constructed incrementally over intervals of the random seed. It leverages the concept of variance competitiveness: its variance is always within a constant factor of the best possible variance for any specific data vector encountered.
Key Theoretical Insights
The research reveals several critical properties of coordinated sampling:
- The "Universal" Property: The authors prove that if any unbiased, nonnegative estimator exists for a function, the J estimator will find it. It effectively serves as a universal tool for sum-aggregate queries.
- Characterization via the Lower Hull: The feasibility of estimation depends on the properties of the function's "lower bound" and its "convex hull." If a function does not behave well as the sample size grows, unbiased estimation may be impossible.
- Robustness through Competitiveness: The J estimator does not require prior knowledge of the data distribution. Because it is $O(1)$-competitive, it is robust against "worst-case" distributions. Theorem 6.1 proves that the J estimator's variance is within a factor of 84 of the optimal variance for any data vector.
- Tree-like Structure: Coordinated samples create a tree-like partial order of outcomes. The J estimator exploits this structure by evaluating alternative outcomes across different random seeds.
Limitations and Future Directions
While the J estimator establishes a strong theoretical benchmark, the competitive constant of 84 is relatively high for practical use. Subsequent work has identified tighter estimators, such as the $L^*$ estimator, which achieves a competitive ratio of 3.375.
Currently, the framework focuses on "sum aggregates"—queries that are sums of functions applied to individual items (e.g., $L_p$ distances). Extending this to more complex non-linear queries remains an open challenge. Future efforts may focus on automating the generation of competitive estimators based on specific user queries and sampling schemes.
This summary is based on the theoretical work characterizing coordinated sampling and the introduction of the variance-competitive J estimator.
Summary updated