Skip to main content

Building blocks of Natural Language Processing with Differential Privacy guarantees

Resource type
Thesis type
(Thesis) Ph.D.
Date created
2024-07-08
Authors/Contributors
Abstract
Natural Language Processing (NLP) is increasingly more present in everyone's lives, with frequent use of social media and instant messaging applications. At the same time, manipulating sensitive text data, such as private conversations or personal health information, may lead to serious privacy issues. To support NLP applications, in this thesis we study the privacy preservation of three ubiquitous building blocks of NLP, namely: set union, word obfuscation and top-k selection. For this purpose, we adopt the formal guarantees of Differential Privacy (DP), which is becoming the gold standard for privacy. To release the set union of users' items subject to DP - e.g. with users' items being words and the set union forming a vocabulary - typically each user contributes with only a subset of their items, sampled uniformly at random. In our first work, we propose incorporating the item frequency within each user when defining their subset of items, such that each user prioritizes their most frequent items. Our approach boosts the utility of DP set union mechanisms, as more frequent items have higher chance of being outputted, and having each user look at the frequency of only their own items does not incur additional privacy loss. In word obfuscation the goal is to replace one sensitive word in a sentence by another word while satisfying DP and maintaining the context of the sentence. To protect privacy, a common step in this process is to add noise to the embedding of the sensitive word. Following the intuition that an embedding is already naturally obfuscated in a dense area, in our next work, we propose to calibrate the noise added to the word embedding based on the density of the space around it. We show that this improves the utility of word obfuscation mechanisms as, for example, less noise can be added to a word embedding in a dense area. Finally, we study DP top-k selection, typically used in text information retrieval. Our first solution in this context is a constructive framework that takes any DP top-k mechanism and builds a DP mechanism that is computationally efficient on very large domains. Our framework takes the DP top-k mechanism as a black-box, i.e. it does not need to change the mechanism internally. Finally, in the same scope, our second solution is a mechanism that leverages highly skewed datasets to improve utility for top-k selection and has a construction that can be used with general DP queries, thus being of independent interest.
Document
Extent
107 pages.
Identifier
etd23302
Copyright statement
Copyright is held by the author(s).
Permissions
This thesis may be printed or downloaded for non-commercial research and scholarly purposes.
Academic Supervisor
Thesis advisor: Wang, Ke
Language
English
Member of collection
Download file Size
etd23302.pdf 24.99 MB