Skip to main content
QUICK REVIEW

[Paper Review] A Very Efficient Scheme for Estimating Entropy of Data Streams Using Compressed Counting

Ping Li|ArXiv.org|Aug 13, 2008
Data Stream Mining TechniquesComputer Science30 references4 citations
TL;DR

This paper proposes Compressed Counting (CC), a highly efficient algorithm for estimating entropy in data streams using maximally-skewed stable random projections. CC dramatically outperforms symmetric stable random projections—especially as α→1—achieving sub-1% relative error with only k=20 samples, making it ideal for real-time network and Web data analysis.

ABSTRACT

Compressed Counting (CC)} was recently proposed for approximating the $α$th frequency moments of data streams, for $0

Motivation & Objective

  • To evaluate the practicality and accuracy of Compressed Counting (CC) for estimating Shannon, Rényi, and Tsallis entropy in real-world data streams.
  • To address the challenge of estimating Shannon entropy via α-th frequency moments when α≈1, a regime where traditional symmetric stable random projections fail due to excessive sample requirements.
  • To provide empirical and theoretical guidance on the variance-bias trade-off in entropy estimation using CC and symmetric stable projections.
  • To recommend optimal configurations (e.g., α≈0.98–0.99, optimal quantile estimator) for high-accuracy, low-storage entropy estimation in real-time applications.

Proposed method

  • Utilizes Compressed Counting (CC), a randomized algorithm based on maximally-skewed stable random projections, to estimate the α-th frequency moment F_(α) for 0<α≤2.
  • Applies CC to estimate Rényi entropy H_α = 1/(1−α) log(F_(α)/F_(1)^α) and Tsallis entropy T_α = 1/(α−1) (1−F_(α)/F_(1)^α), both of which converge to Shannon entropy H as α→1.
  • Employs the optimal quantile estimator within CC to minimize mean squared error (MSE) in entropy estimation, outperforming geometric and harmonic mean estimators.
  • Uses real Web crawl data to empirically evaluate CC and symmetric stable random projections across varying sample sizes (k) and α values.
  • Compares estimation accuracy and required sample size between CC and symmetric stable random projections under the relaxed strict-Turnstile model.
  • Analyzes the variance-bias trade-off by varying α away from 1 to improve performance when using symmetric stable projections.

Experimental results

Research questions

  • RQ1How does Compressed Counting (CC) compare to symmetric stable random projections in estimating frequency moments when α→1?
  • RQ2What is the optimal configuration (α, estimator type, sample size k) for minimizing estimation error in Shannon entropy using CC?
  • RQ3Can CC achieve high-accuracy entropy estimation with extremely small sample sizes (e.g., k=20) in real-world data streams?
  • RQ4Is using symmetric stable random projections with α=1+δ and very small |δ| a practical approach for estimating Shannon entropy?
  • RQ5How do Rényi and Tsallis entropies compare as approximations to Shannon entropy when estimated via CC?

Key findings

  • CC reduces the mean squared error (MSE) of frequency moment estimation by 20- to 50-fold compared to symmetric stable random projections when k≤10^3, and by 5- to 15-fold at k=10^4.
  • With k=20, CC achieves sub-1% relative error in Shannon entropy estimation, while symmetric stable random projections require at least 50 times more samples to reach similar accuracy.
  • When estimating Shannon entropy from Tsallis entropy, symmetric stable random projections cannot match CC’s accuracy even with 500 times more samples.
  • The optimal quantile estimator in CC significantly outperforms geometric and harmonic mean estimators for α<1 and k>20, especially near α→1.
  • Estimating Shannon entropy via Rényi entropy is more accurate than via Tsallis entropy when using CC, making Rényi a better approximation path.
  • Using symmetric stable random projections with α=1+δ and very small |δ| is impractical due to the enormous sample size required, while CC enables high accuracy with minimal storage.

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.