SpaceSaving^±: An Optimal Algorithm for Frequency Estimation and Frequent items in the Bounded Deletion Model

12/07/2021
∙
by   Fuheng Zhao, et al.
∙
0
∙

In this paper, we propose the first deterministic algorithms to solve the frequency estimation and frequent item problems in the bounded deletion model. We establish the space lower bound for solving the deterministic frequent items problem in the bounded deletion model, and propose the Lazy SpaceSaving^± and SpaceSaving^± algorithms with optimal space bound. We then develop an efficient implementation of the SpaceSaving^± algorithm that minimizes the latency of update operations using novel data structures. The experimental evaluations testify that SpaceSaving^± has accurate frequency estimations and achieves very high recall and precision across different data distributions while using minimal space. Our analysis and experiments clearly demonstrate that SpaceSaving^± provides more accurate estimations using the same space as the state of the art protocols for applications with up to 93 deleted. Moreover, motivated by prior work, we propose Dyadic SpaceSaving^±, the first deterministic quantile approximation sketch in the bounded deletion model.

READ FULL TEXT

Please sign up or login with your details

Continue with:
Or login with email
Enter Password
Re-enter Password

Forgot password? Click here to reset
Success!
Error Icon An error occurred

Sign in with Google

×

Use your Google Account to sign in to DeepAI

×
Pro

Consider DeepAI Pro

Subscribe to DeepAI Pro
DeepAI Pro
Provides a limited generation allowance each month. When exceeded, you are charged overage rates available at deepai.org/pricing. Also includes an ad-free experience and API access. Renews automatically until canceled. Non-refundable.
Subtotal
Total due today

Payment

Add DeepAI credits
DeepAI credits
One-time purchase. Credits are added to your wallet after payment.
Subtotal
Total due today

Payment