Differentially Private n-gram Extraction
Kunho Kim, Sivakanth Gopi, Janardhan Kulkarni, Sergey Yekhanin
Abstract
We revisit the problem of n-gram extraction in the differential privacy setting. In this problem, given a corpus of private text data, the goal is to release as many n-grams as possible while preserving user level privacy. Extracting n-grams is a fundamental subroutine in many NLP applications such as sentence completion, response generation for emails etc. The problem also arises in other applications such as sequence mining, and is a generalization of recently studied differentially private set union (DPSU). In this paper, we develop a new differentially private algorithm for this problem which, in our experiments, significantly outperforms the state-of-the-art. Our improvements stem from combining recent advances in DPSU, privacy accounting, and new heuristics for pruning in the tree-based approach initiated by Chen et al. ( 2012 ) [CAC12].
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Scalable Private Partition Selection via Adaptive Weighting cites Differentially Private Set Union
- The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Text cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
- Differentially Private Set Union cites The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networks
Cited by top-tier papers3
- Differentially Private Set UnionSivakanth Gopi, Pankaj Gulhane, Janardhan Kulkarni, Judy Hanwen Shen et al.ICML 2020 · 37 citations
- Scalable Private Partition Selection via Adaptive WeightingJustin Y. Chen, Vincent Cohen-Addad, Alessandro Epasto, Morteza ZadimoghaddamICML 2025
- The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic TextMatthieu Meeus, Lukas Wutschitz, Santiago Zanella-Béguelin, Shruti Tople et al.ICML 2025
Builds on2
- The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural NetworksNicholas Carlini, Chang Liu, Úlfar Erlingsson, Jernej Kos et al.USENIX Security 2019 · 1,386 citations
- Differentially Private Set UnionSivakanth Gopi, Pankaj Gulhane, Janardhan Kulkarni, Judy Hanwen Shen et al.ICML 2020 · 37 citations
Related papers
- A Model-Agnostic Approach to Differentially Private Topic MiningHan Wang, Jayashree Sharma, Shuya Feng, Kai Shu et al.KDD 2022 · 5 citations
- SeqPATE: Differentially Private Text Generation via Knowledge DistillationZhiliang Tian, Yingxiu Zhao, Ziyue Huang, Yu-Xiang Wang et al.NeurIPS 2022 · 29 citations
- Differentially Private Representation for NLP: Formal Guarantee and An Empirical Study on Privacy and FairnessLingjuan Lyu, Xuanli He, Yitong LiEMNLP Findings 2020 · 51 citations
- Differentially Private Graph Neural Networks for Link PredictionXun Ran, Qingqing Ye, Haibo Hu, Xin Huang et al.ICDE 2024 · 12 citations
- A Joint Exponential Mechanism For Differentially Private Top-kJennifer Gillenwater, Matthew Joseph, Andres Muñoz Medina, Mónica Ribero DiazICML 2022 · 20 citations
