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]. Preprint. Under review.
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 f57c6c8b-b02f-4756-b7f4-b35ee69e6a61Cited 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 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
- Leveraging Semantic Triples for Private Document Generation with Local Differential Privacy GuaranteesStephen Meisenbacher, Maulik Chevli, Florian MatthesEMNLP 2025
