Lune

ICML2020Top-tier venue

Composable Sketches for Functions of Frequencies: Beyond the Worst Case

Edith Cohen, Ofir Geri, Rasmus Pagh

Abstract

Recently there has been increased interest in using machine learning techniques to improve classical algorithms. In this paper we study when it is possible to construct compact, composable sketches for weighted sampling and statistics estimation according to functions of data frequencies. Such structures are now central components of large-scale data analytics and machine learning pipelines. However, many common functions, such as thresholds and ppth frequency moments with p>2p>2, are known to require polynomial size sketches in the worst case. We explore performance beyond the worst case under two different types of assumptions. The first is having access to noisy advice on item frequencies. This continues the line of work of Hsu et al. (ICLR 2019), who assume predictions are provided by a machine learning model. The second is providing guaranteed performance on a restricted class of input frequency distributions that are better aligned with what is observed in practice. This extends the work on heavy hitters under Zipfian distributions in a seminal paper of Charikar et al. (ICALP 2002). Surprisingly, we show analytically and empirically that "in practice" small polylogarithmic-size sketches provide accuracy for "hard" functions.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

10 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Faster Fundamental Graph Algorithms via Learned Predictions cites Learning-Augmented Data Stream Algorithms
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Learning Online Algorithms with Distributional Advice
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Faster Matchings via Learned Duals
  • Faster Fundamental Graph Algorithms via Learned Predictions cites Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online Algorithms
  • Learning Online Algorithms with Distributional Advice cites Learning-Augmented Data Stream Algorithms
  • Triangle and Four Cycle Counting with Predictions in Graph Streams cites Learning-Augmented Data Stream Algorithms
  • Triangle and Four Cycle Counting with Predictions in Graph Streams cites Faster Matchings via Learned Duals
  • Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online Algorithms cites Learning-Augmented Data Stream Algorithms
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers10

  1. Optimal Robustness-Consistency Trade-offs for Learning-Augmented Online AlgorithmsAlexander Wei, Fred ZhangNeurIPS 2020 · 129 citations
  2. Faster Matchings via Learned DualsMichael Dinitz, Sungjin Im, Thomas Lavastida, Benjamin Moseley et al.NeurIPS 2021 · 98 citations
  3. Faster Fundamental Graph Algorithms via Learned PredictionsJustin Y. Chen, Sandeep Silwal, Ali Vakilian, Fred ZhangICML 2022 · 58 citations
  4. Learning Online Algorithms with Distributional AdviceIlias Diakonikolas, Vasilis Kontonis, Christos Tzamos, Ali Vakilian et al.ICML 2021 · 44 citations
  5. Triangle and Four Cycle Counting with Predictions in Graph StreamsJustin Y. Chen, Talya Eden, Piotr Indyk, Honghao Lin et al.ICLR 2022 · 29 citations

Builds on2

  1. Learning-Augmented Data Stream AlgorithmsTanqiu Jiang, Yi Li, Honghao Lin, Yisong Ruan et al.ICLR 2020 · 53 citations
  2. WOR and p's: Sketches for ℓp-Sampling Without ReplacementEdith Cohen, Rasmus Pagh, David P. WoodruffNeurIPS 2020

Related papers

  1. Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal et al.NeurIPS 2023 · 16 citations
  2. Putting the "Learning" into Learning-Augmented Algorithms for Frequency EstimationElbert Du, Franklyn Wang, Michael MitzenmacherICML 2021 · 30 citations
  3. The Adaptive Use of Count-Min Sketch: What is Safe and What is Not?Dragos-Florian Ristache, Krzysztof OnakKDD 2025
  4. Compact Frequency Estimators in Adversarial EnvironmentsSam A. Markelon, Mia Filic, Thomas ShrimptonCCS 2023 · 4 citations
  5. Meta-Sketch: A Neural Data Structure for Estimating Item Frequencies of Data StreamsYukun Cao, Yuan Feng, Xike XieAAAI 2023 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines