Skip to main navigation Skip to search Skip to main content

SlideDP: A Time-Aware and Private Sketch for Cardinality Estimation over Sliding Windows

  • Xi'an Jiaotong University

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

Abstract

Cardinality estimation over sliding windows is a fundamental task in data stream analytics. While sketch-based methods offer efficient approximations with low memory usage, they inherently lack data privacy protection, making them vulnerable to inference attacks when shared across different parties or queried repeatedly. To address this issue, we propose SlideDP, a novel sketch that achieves accurate and efficient cardinality estimation under local differential privacy (LDP) in sliding window settings. SlideDP maintains a compact two-dimensional array, where each cell contains a 1-bit register and a small counter to jointly encode the presence and temporal validity of elements. Privacy is enforced via randomized response applied to each register, while a clock-based decay mechanism periodically decrements counters to track element expiration without requiring explicit timestamps. To reduce computational overhead, SlideDP incorporates ordered Poisson sampling for efficient updates. We further develop a concrete probabilistic model to support accurate estimation with theoretical guarantees. Experiments on both synthetic and real-world datasets show that SlideDP achieves accuracy comparable to non-private methods. In particular, when the window cardinality exceeds 215, SlideDP maintains a relative error of approximately 5% using only 256KB of memory.

Original languageEnglish
Title of host publicationBig Data - 13th CCF Conference, BigData 2025, Proceedings
EditorsKeqiu Li, Hui Xiong, Xiaofei Zhu, Xueli Liu, Dawei Cheng
PublisherSpringer Science and Business Media Deutschland GmbH
Pages1-21
Number of pages21
ISBN (Print)9789819584468
DOIs
StatePublished - 2026
Event13th CCF BigData Conference, CCF BigData 2025 - Tianjin, China
Duration: 12 Sep 2025 → 14 Sep 2025

Publication series

NameCommunications in Computer and Information Science
Volume2728 CCIS
ISSN (Print)1865-0929
ISSN (Electronic)1865-0937

Conference

Conference13th CCF BigData Conference, CCF BigData 2025
Country/TerritoryChina
CityTianjin
Period12/09/25 → 14/09/25

Keywords

  • Cardinality estimation
  • Data stream
  • Differential privacy
  • Sketch algorithm
  • Sliding window

Fingerprint

Dive into the research topics of 'SlideDP: A Time-Aware and Private Sketch for Cardinality Estimation over Sliding Windows'. Together they form a unique fingerprint.

Cite this