Guiding Text-to-Text Privatization by Syntax

Stefan Arnold, Dilara Yesilbas, Sven Weinzierl
6/2/2023
cs.CLcs.CRcs.LG

No confident code implementation found for this paper. 1 possible match can be shown below.

Abstract

Metric Differential Privacy is a generalization of differential privacy tailored to address the unique challenges of text-to-text privatization. By adding noise to the representation of words in the geometric space of embeddings, words are replaced with words located in the proximity of the noisy representation. Since embeddings are trained based on word co-occurrences, this mechanism ensures that substitutions stem from a common semantic context. Without considering the grammatical category of words, however, this mechanism cannot guarantee that substitutions play similar syntactic roles. We analyze the capability of text-to-text privatization to preserve the grammatical category of words after substitution and find that surrogate texts consist almost exclusively of nouns. Lacking the capability to produce surrogate texts that correlate with the structure of the sensitive texts, we encompass our analysis by transforming the privatization step into a candidate selection problem in which substitutions are directed to words with matching grammatical properties. We demonstrate a substantial improvement in the performance of downstream tasks by up to $4.66\%$ while retaining comparative privacy guarantees.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 1 weaker match is hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{arnold2023guiding,
  title  = {Guiding Text-to-Text Privatization by Syntax},
  author = {Stefan Arnold and Dilara Yesilbas and Sven Weinzierl},
  year   = {2023},
  eprint = {2306.01471},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2306.01471v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2306.01471.svg)](https://codeofpaper.com/paper/2306.01471)

Discussion