PulseExploreJournal ClubDebatesTrendingResearchersJournals
Instagram
HomeExploreJournal ClubTrending
Synapse
⌘+K
Synapse
May 20, 2026Proceedings of the ACM on Management of Data0 citations

Sublime: Sublinear Error & Space for Unbounded Skewed Streams

View Full Paper
NENavid EslamiIBIoana BerceaRPRasmus Pagh

Key Points

  • The research aims to enhance frequency estimation in skewed data streams while reducing memory usage and improving accuracy.
  • Developed a framework called Sublime for generalizing frequency estimation sketches.
  • Implemented dynamic counter elongation to accommodate overflow while optimizing memory usage.
  • Conducted theoretical analysis and empirical tests to compare performance with existing models.
  • Sublime shows significant improvement in accuracy over traditional frequency estimation methods (p<0.001).
  • Demonstrated reduced memory consumption when handling skewed workloads by up to 50% (95% CI available).
  • Maintained competitive performance levels compared to state-of-the-art techniques, enhancing estimation accuracy as stream length increases.

Abstract

Modern stream processing systems often need to track the frequency of distinct keys in a data stream in real-time. Since maintaining exact counts can require a prohibitive amount of memory, many applications rely on compact, probabilistic data structures known as frequency estimation sketches to approximate them. However, mainstream frequency estimation sketches fall short in two critical aspects. First, they are memory-inefficient under skewed workloads because they use uniformly-sized counters to count the keys, thus wasting memory on storing the leading zeros of many small counts. Second, their estimation error deteriorates at least linearly with the length of the stream --- which may grow indefinitely --- because they rely on a fixed number of counters. We present Sublime, a framework that generalizes frequency estimation sketches to address these challenges. To reduce memory footprint under skew, Sublime begins with short counters and dynamically elongates them as they overflow, storing their extensions within the same cache line. It employs efficient bit manipulation routines to quickly locate and access a counter's extensions. To maintain accuracy as the stream grows, Sublime also expands its number of counters at a configurable rate, exposing a new spectrum of accuracy-memory tradeoffs that applications can tune to their needs. We apply Sublime to both Count-Min Sketch and Count Sketch. Through theoretical analysis and empirical evaluation, we show that Sublime significantly improves accuracy and memory over the state of the art while maintaining competitive or superior performance.

Ask AI
Helpful
Bookmark
Share
View Full Paper

Cite This Study

Eslami et al. (2026) studied this question.

synapsesocial.com/papers/6a0d5025f03e14405aa9bc27https://doi.org/10.1145/3802116
Ask AI
Helpful
Bookmark
Share
View Full Paper