Lune

WWW2021Top-tier venue

XY-Sketch: on Sketching Data Streams at Web Scale

Yongqiang Liu, Xike Xie

Abstract

Conventional sketching methods on counting stream item frequencies use hash functions for mapping data items to a concise structure, e.g., a two-dimensional array, at the expense of overcounting due to hashing collisions. Despite the popularity, however, the accumulated errors originated in hashing collisions deteriorate the sketching accuracies at the rapid pace of data increasing, which poses a great challenge to sketch big data streams at web scale. In this paper, we propose a novel structure, called XY-sketch, which estimates the frequency of a data item by estimating the probability of this item appearing in the data stream. The framework associated with XY-sketch consists of two phases, namely decomposition and recomposition phases. A data item is split into a set of compactly stored basic elements, which can be stringed up in a probabilistic manner for query evaluation during the recomposition phase. Throughout, we conduct optimization under space constraints and detailed theoretical analysis. Experiments on both real and synthetic datasets are done to show the superior scalability on sketching large-scale streams. Remarkably, XY-sketch is orders of magnitudes more accurate than existing solutions, when the space budget is small.

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.

3 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

  • HIGGS: HIerarchy-Guided Graph Stream Summarization cites Mayfly: a Neural Data Structure for Graph Stream Summarization
  • Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data Streams cites Mayfly: a Neural Data Structure for Graph Stream Summarization
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers3

  1. Mayfly: a Neural Data Structure for Graph Stream SummarizationYuan Feng, Yukun Cao, Hairu Wang, Xike Xie et al.ICLR 2024 · 5 citations
  2. HIGGS: HIerarchy-Guided Graph Stream SummarizationXuan Zhao, Xike Xie, Christian S. JensenICDE 2025 · 2 citations
  3. Lego Sketch: A Scalable Memory-augmented Neural Network for Sketching Data StreamsYuan Feng, Yukun Cao, Hairu Wang, Xike Xie et al.ICML 2025

Related papers

  1. SieveSketch: A Fine-grained and Adaptive Sketch Framework for Accurate Frequency EstimationShishi Zhang, Yaping Xu, Lu TangSIGMOD 2026 · 2 citations
  2. Sublime: Sublinear Error & Space for Unbounded Skewed StreamsNavid Eslami, Ioana O. Bercea, Rasmus Pagh, Niv DayanSIGMOD 2026
  3. BFES: Towards Optimal Bayesian Frequency Estimation Sketches in Data-StreamsFrancesco Da Dalt, Adrian PerrigICDE 2025
  4. MimoSketch: A Framework to Mine Item Frequency on Multiple Nodes with SketchesYuchen Xu, Wenfei Wu, Bohan Zhao, Tong Yang et al.KDD 2023 · 5 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