Improved Frequency Estimation Algorithms with and without Predictions

Anders Aamand, Justin Y. Chen, Huy Le Nguyen, Sandeep Silwal, A. Vakilian
12/1/2023

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Estimating frequencies of elements appearing in a data stream is a key task in large-scale data analysis. Popular sketching approaches to this problem (e.g., CountMin and CountSketch) come with worst-case guarantees that probabilistically bound the error of the estimated frequencies for any possible input. The work of Hsu et al. (2019) introduced the idea of using machine learning to tailor sketching algorithms to the specific data distribution they are being run on. In particular, their learning-augmented frequency estimation algorithm uses a learned heavy-hitter oracle which predicts which elements will appear many times in the stream. We give a novel algorithm, which in some parameter regimes, already theoretically outperforms the learning based algorithm of Hsu et al. without the use of any predictions. Augmenting our algorithm with heavy-hitter predictions further reduces the error and improves upon the state of the art. Empirically, our algorithms achieve superior performance in all experiments compared to prior approaches.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{aamand2023improved,
  title  = {Improved Frequency Estimation Algorithms with and without Predictions},
  author = {Anders Aamand and Justin Y. Chen and Huy Le Nguyen and Sandeep Silwal and A. Vakilian},
  year   = {2023},
  eprint = {2312.07535},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2312.07535},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2312.07535.svg)](https://codeofpaper.com/paper/2312.07535)

Discussion