Differentially Private n-gram Extraction
Not on the map. Why?
Abstract (arXiv)
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).
Key facts. Cited by 8 papers in the map (data through 14 Oct 2026). Builds on 7 of its 17 references that are in the map. First posted on arXiv 5 Aug 2021.
Builds on
7 of 17 references.
References · 7
- 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 864
- 2018Improving the Gaussian Mechanism for Differential Privacy: Analytical Calibration and Optimal Denoisingcited by 218
- 2019Gmail Smart Compose: Real-Time Assisted Writingcited by 98
- 2015Convolutional Neural Network Architectures for Matching Natural Language Sentencescited by 82
- 2016Smart Reply: Automated Response Suggestion for Emailcited by 54
- 2019Diversifying Reply Suggestions using a Matching-Conditional Variational Autoencodercited by 14
- 2020Differentially Private Set Unioncited by 14
Built on by
Citing papers per year: 2022: 3; 2023: 2; 2024: 1; 2025: 1; 2026: 1.
8 papers.
- 2022Submix: Practical Private Prediction for Large-Scale Language Modelscited by 31
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directionscited by 20
- 2025The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Textcited by 18
- 2022Differential Privacy in Natural Language Processing: The Story So Farcited by 12
- 2022Privacy-Preserving Domain Adaptation of Semantic Parserscited by 12
- 2023Differentially Private Heavy Hitter Detection using Federated Analyticscited by 2
- 2026A Systematic Exploration of Text Decomposition and Budget Distribution in Differentially Private Text Obfuscationcited by 1
- 2024Evaluating utility in synthetic banking microdata applicationscited by 0
- 2026A Systematic Exploration of Text Decomposition and Budget Distribution in Differentially Private Text Obfuscation1 May 2026
- 2025The Canary's Echo: Auditing Privacy Risks of LLM-Generated Synthetic Text19 Feb 2025
- 2024Evaluating utility in synthetic banking microdata applications29 Oct 2024
- 2023Differentially Private Heavy Hitter Detection using Federated Analytics21 Jul 2023
- 2023Differentially Private Natural Language Models: Recent Advances and Future Directions22 Jan 2023
- 2022Privacy-Preserving Domain Adaptation of Semantic Parsers20 Dec 2022
- 2022Differential Privacy in Natural Language Processing: The Story So Far17 Aug 2022
- 2022Submix: Practical Private Prediction for Large-Scale Language Models4 Jan 2022