Lune

VLDB2023Top-tier venue

Bayesian Sketches for Volume Estimation in Data Streams

Francesco Da Dalt, Simon Scherrer, Adrian Perrig

Abstract

Given large data streams of items, each attributable to a certain key and possessing a certain volume, the aggregate volume associated with a key is difficult to estimate in a way that is both efficient and accurate. On the one hand, exact counting with dedicated counters incurs unacceptable overhead during stream processing. On the other hand, sketch algorithms, i.e., approximate-counting techniques that share counters among keys, have suffered from a trade-off between accuracy and query efficiency: Classic sketch algorithms allow to compute rough estimates in an efficient way, whereas more recent proposals yield highly accurate estimates at the cost of greatly increased computation time. In this work, we propose three sketch algorithms that overcome this trade-off, computing highly accurate estimates with lightweight procedures. To reconcile these desiderata, we employ novel estimation methods that rely on Bayesian probability theory, counter-cardinality information, and basic machine-learning techniques. The combination of these techniques enables highly accurate estimates, which we demonstrate by both a theoretical worst-case analysis and an experimental evaluation. Concretely, our sketches allow to efficiently produce volume estimates with an average relative error of < 4%, which previous methods could only achieve with computations that are several orders of magnitude more expensive.

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.

2 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

  • BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-Streams cites PR-Sketch: Monitoring Per-key Aggregation of Streaming Data with Nearly Full Accuracy
  • BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-Streams cites Toward Nearly-Zero-Error Sketching via Compressive Sensing
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. Strategic Games and Zero Shot Attacks on Heavy-Hitter Network Flow MonitoringFrancesco Da Dalt, Adrian PerrigNDSS 2026
  2. BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-StreamsFrancesco Da Dalt, Adrian PerrigICDE 2025

Builds on4

  1. Toward Nearly-Zero-Error Sketching via Compressive SensingQun Huang, Siyuan Sheng, Xiang Chen, Yungang Bao et al.NSDI 2021 · 82 citations
  2. BurstSketch: Finding Bursts in Data StreamsZheng Zhong, Shen Yan, Zikun Li, Decheng Tan et al.SIGMOD 2021 · 58 citations
  3. Randomized Error Removal for Online Spread Estimation in Data StreamingHaibo Wang, Chaoyi Ma, Olufemi O. Odegbile, Shigang Chen et al.VLDB 2021 · 38 citations
  4. PR-Sketch: Monitoring Per-key Aggregation of Streaming Data with Nearly Full AccuracySiyuan Sheng, Qun Huang, Sa Wang, Yungang BaoVLDB 2021 · 33 citations

Related papers

  1. Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
  2. XY-Sketch: on Sketching Data Streams at Web ScaleYongqiang Liu, Xike XieWWW 2021 · 12 citations
  3. MicroscopeSketch: Accurate Sliding Estimation Using Adaptive ZoomingYuhan Wu, Shiqi Jiang, Siyuan Dong, Zheng Zhong et al.KDD 2023 · 10 citations
  4. Improved Frequency Estimation Algorithms with and without PredictionsAnders Aamand, Justin Y. Chen, Huy Lê Nguyen, Sandeep Silwal et al.NeurIPS 2023 · 16 citations
  5. QSketch: An Efficient Sketch for Weighted Cardinality Estimation in StreamsYiyan Qi, Rundong Li, Pinghui Wang, Yufang Sun et al.KDD 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines