Sketch-Flip-Merge: Mergeable Sketches for Private Distinct Counting
Jonathan Hehir, Daniel Ting, Graham Cormode
Abstract
Data sketching is a critical tool for distinct counting, enabling multisets to be represented by compact summaries that admit fast cardinality estimates. Because sketches may be merged to summarize multiset unions, they are a basic building block in data warehouses. Although many practical sketches for cardinality estimation exist, none provide privacy when merging. We propose the first practical cardinality sketches that are simultaneously mergeable, differentially private (DP), and have low empirical errors. These introduce a novel randomized algorithm for performing logical operations on noisy bits, a tight privacy analysis, and provably optimal estimation. Our sketches dramatically outperform existing theoretical solutions in simulations and on real-world data.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 799136dc-93c8-47c4-a6f2-6c0c38574d5eCited by top-tier papers7
- Counting Distinct Elements in the Turnstile Model with Differential Privacy under Continual ObservationPalak Jain, Iden Kalemaj, Sofya Raskhodnikova, Satchit Sivakumar et al.NeurIPS 2023 · 24 citations
- Counting Distinct Elements Under Person-Level Differential PrivacyThomas Steinke, Alexander KnopNeurIPS 2023 · 4 citations
- PAPAYA Federated Analytics Stack: Engineering Privacy, Scalability and PracticalityHarish Srinivas, Graham Cormode, Mehrdad Honarkhah, Samuel Lurye et al.NSDI 2025 · 2 citations
- DPSW-Sketch: A Differentially Private Sketch Framework for Frequency Estimation over Sliding WindowsYiping Wang, Yanhao Wang, Cen ChenKDD 2024 · 2 citations
- PrvTel: Lightweight Models for Private and Accurate Telemetry Data RetentionYajie Zhou, Fuheng Zhao, Eric S. Wang, Ayse K. Coskun et al.NSDI 2026 · 1 citation
Builds on1
Related papers
- An LDP Compatible Sketch for Securely Approximating Set Intersection CardinalitiesPinghui Wang, Yitong Liu, Zhicheng Li, Rundong LiSIGMOD 2024 · 7 citations
- Order-Invariant Cardinality Estimators Are Differentially PrivateCharlie Dickens, Justin Thaler, Daniel TingNeurIPS 2022 · 17 citations
- SetSketch: Filling the Gap between MinHash and HyperLogLogOtmar ErtlVLDB 2021 · 17 citations
- Unmasking Vulnerabilities: Cardinality Sketches under Adaptive InputsSara Ahmadian, Edith CohenICML 2024 · 7 citations
- An Effective and Differentially Private Protocol for Secure Distributed Cardinality EstimationPinghui Wang, Chengjin Yang, Dongdong Xie, Junzhou Zhao et al.SIGMOD 2023 · 5 citations
