Skip to main content
QUICK REVIEW

[Paper Review] The Optimal Quantile Estimator for Compressed Counting

Ping Li|ArXiv.org|Aug 13, 2008
Bayesian Methods and Mixture ModelsComputer Science10 references4 citations
TL;DR

This paper proposes the optimal quantile estimator for Compressed Counting (CC), a method to efficiently approximate the α-th frequency moment in data streams. By leveraging numerically optimized quantiles of maximally skewed α-stable distributions, the estimator achieves significantly lower asymptotic variance than the geometric mean estimator, especially for α > 1, offering improved accuracy and computational efficiency in practical applications such as entropy estimation.

ABSTRACT

Compressed Counting (CC) was recently proposed for very efficiently computing the (approximate) $α$th frequency moments of data streams, where $0 1$, the complexity of CC (using the geometric mean estimator) is $O(1/ε)$, breaking the well-known large-deviation bound $O(1/ε^2)$. The case $α\approx 1$ has important applications, for example, computing entropy of data streams. For practical purposes, this study proposes the optimal quantile estimator. Compared with previous estimators, this estimator is computationally more efficient and is also more accurate when $α> 1$.

Motivation & Objective

  • To develop a more accurate and computationally efficient estimator for the α-th frequency moment in data streams under the Compressed Counting framework.
  • To address the limitations of existing estimators—particularly the geometric mean estimator—when α > 1 and sample size is moderate to large.
  • To identify and implement optimal quantiles of α-stable distributions that minimize asymptotic variance in frequency moment estimation.
  • To provide a practical alternative to the geometric mean estimator with demonstrably better performance for α > 1, especially in entropy estimation tasks.

Proposed method

  • The method formulates frequency moment estimation as a statistical estimation problem using k i.i.d. samples from a maximally skewed α-stable distribution with scale parameter F(α).
  • It introduces a quantile-based estimator that selects the optimal quantile q* to minimize the asymptotic variance of the frequency moment estimate.
  • The optimal quantile q* is determined numerically using simulated probability density functions of α-stable distributions, computed via the fBasics package in R.
  • The estimator uses the inverse cumulative distribution function and probability density function of the standard α-stable distribution to compute the scale parameter F(α) from the sample quantiles.
  • The asymptotic variance of the estimator is derived as a function of q*, α, and the density at the quantile, with the goal of minimizing this variance factor.
  • The method is applied to the Compressed Counting framework, where linear projections via maximally skewed stable random matrices are updated incrementally in a Turnstile stream.

Experimental results

Research questions

  • RQ1Can a quantile-based estimator achieve lower asymptotic variance than the geometric mean estimator for α > 1 in Compressed Counting?
  • RQ2What is the optimal quantile q* that minimizes the asymptotic variance of the frequency moment estimator under the maximally skewed α-stable distribution?
  • RQ3How does the performance of the optimal quantile estimator compare to the geometric mean estimator in terms of accuracy and computational efficiency for moderate to large sample sizes?
  • RQ4What are the numerical and theoretical limitations of the optimal quantile estimator, particularly near α = 1?

Key findings

  • The optimal quantile estimator achieves significantly lower asymptotic variance than the geometric mean estimator for α > 1, with the improvement becoming most pronounced as α approaches 1 from above.
  • For α = 1.011, the variance factor of the optimal quantile estimator is approximately 0.000555, compared to 0.000524 for α = 0.989, indicating strong performance near α = 1.
  • The optimal quantile q* transitions from low quantiles (e.g., q* ≈ 0.094 for α = 0.989) to high quantiles (e.g., q* ≈ 0.862 for α = 2.00), reflecting a shift in sensitivity to tail behavior.
  • The estimator is computationally more efficient than the geometric mean estimator due to simpler numerical evaluation of quantiles versus products and trigonometric functions.
  • For k ≥ 50, the optimal quantile estimator outperforms the geometric mean estimator in accuracy when α > 1, though it exhibits instability for small samples (k ≤ 20).
  • Numerical difficulties in computing the density of skewed stable distributions limit the availability of q* and W_q* to α ≥ 1.011 and α ≤ 0.989, creating a small gap near α = 1.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.