$d_X$-Privacy for Text and the Curse of Dimensionality

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Asghar, Hassan Jameel, Carpentier, Robin, Zhao, Benjamin Zi Hao, Kaafar, Dali
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866908523285184512
author Asghar, Hassan Jameel
Carpentier, Robin
Zhao, Benjamin Zi Hao
Kaafar, Dali
author_facet Asghar, Hassan Jameel
Carpentier, Robin
Zhao, Benjamin Zi Hao
Kaafar, Dali
contents A widely used method to ensure privacy of unstructured text data is the multidimensional Laplace mechanism for $d_X$-privacy, which is a relaxation of differential privacy for metric spaces. We identify an intriguing peculiarity of this mechanism. When applied on a word-by-word basis, the mechanism either outputs the original word, or completely dissimilar words, and very rarely outputs semantically similar words. We investigate this observation in detail, and tie it to the fact that the distance of the nearest neighbor of a word in any word embedding model (which are high-dimensional) is much larger than the relative difference in distances to any of its two consecutive neighbors. We also show that the dot product of the multidimensional Laplace noise vector with any word embedding plays a crucial role in designating the nearest neighbor. We derive the distribution, moments and tail bounds of this dot product. We further propose a fix as a post-processing step, which satisfactorily removes the above-mentioned issue.
format Preprint
id arxiv_https___arxiv_org_abs_2411_13784
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle $d_X$-Privacy for Text and the Curse of Dimensionality
Asghar, Hassan Jameel
Carpentier, Robin
Zhao, Benjamin Zi Hao
Kaafar, Dali
Cryptography and Security
A widely used method to ensure privacy of unstructured text data is the multidimensional Laplace mechanism for $d_X$-privacy, which is a relaxation of differential privacy for metric spaces. We identify an intriguing peculiarity of this mechanism. When applied on a word-by-word basis, the mechanism either outputs the original word, or completely dissimilar words, and very rarely outputs semantically similar words. We investigate this observation in detail, and tie it to the fact that the distance of the nearest neighbor of a word in any word embedding model (which are high-dimensional) is much larger than the relative difference in distances to any of its two consecutive neighbors. We also show that the dot product of the multidimensional Laplace noise vector with any word embedding plays a crucial role in designating the nearest neighbor. We derive the distribution, moments and tail bounds of this dot product. We further propose a fix as a post-processing step, which satisfactorily removes the above-mentioned issue.
title $d_X$-Privacy for Text and the Curse of Dimensionality
topic Cryptography and Security
url https://arxiv.org/abs/2411.13784