A Comparative Analysis of Word-Level Metric Differential Privacy: Benchmarking The Privacy-Utility Trade-off
Stephen Meisenbacher, Nihildev Nandakumar, Alexandra Klymenko, Florian Matthes
TL;DR
This paper benchmarks seven word-level differential privacy (DP) mechanisms applied to static word embeddings in NLP, assessing the privacy-utility trade-off across two tasks (IMDb sentiment and AG News topics) and three embedding dimensions under multiple privacy budgets $\varepsilon$. It introduces a comprehensive experimental framework with a diverse set of utility and privacy metrics, including a novel Privacy-Utility Composite (PUC) score to jointly quantify performance and privacy. The study reveals nuanced interactions between privacy guarantees and utility, showing that some mechanisms maintain or even improve utility under DP while others degrade performance, and it highlights the need for standardized evaluation metrics and more coherent semantic preservation in perturbed text. The authors provide open-source replication code to facilitate future benchmarking, and discuss implications for advancing word-level MLDP research and metric development in NLP.
Abstract
The application of Differential Privacy to Natural Language Processing techniques has emerged in relevance in recent years, with an increasing number of studies published in established NLP outlets. In particular, the adaptation of Differential Privacy for use in NLP tasks has first focused on the $\textit{word-level}$, where calibrated noise is added to word embedding vectors to achieve "noisy" representations. To this end, several implementations have appeared in the literature, each presenting an alternative method of achieving word-level Differential Privacy. Although each of these includes its own evaluation, no comparative analysis has been performed to investigate the performance of such methods relative to each other. In this work, we conduct such an analysis, comparing seven different algorithms on two NLP tasks with varying hyperparameters, including the $\textit{epsilon ($\varepsilon$)}$ parameter, or privacy budget. In addition, we provide an in-depth analysis of the results with a focus on the privacy-utility trade-off, as well as open-source our implementation code for further reproduction. As a result of our analysis, we give insight into the benefits and challenges of word-level Differential Privacy, and accordingly, we suggest concrete steps forward for the research field.
