Information Leakage in Embedding Models

By Congzheng Song, Ananth Raghunathan. 2020

376 citations recorded by the source corpus.

Embeddings are functions that map raw input data to low-dimensional vector representations, while preserving important semantic information about the inputs. Pre-training embeddings on a large amount of unlabeled data and fine-tuning them for downstream tasks is now a de facto standard in achieving state of the art learning in many domains. We demonstrate that embeddings, in addition to encoding generic semantics, often also present a vector that leaks sensitive information about the input data. We develop three classes of attacks to systematically study information that might be leaked by embeddings. First, embedding vectors can be inverted to partially recover some of the input data. As an example, we show that our attacks on popular sentence embeddings recover between 50%--70% of the input words (F1 scores of 0.5--0.7). Second, embeddings may reveal sensitive attributes inherent in inputs and independent of the underlying semantic task at hand. Attributes such as authorship of text can be easily extracted by training an inference model on just a handful of labeled embedding vectors. Third, embedding models leak moderate amount of membership information for infrequent training data inputs. We extensively evaluate our attacks on various state-of-the-art embedding models in the text domain. We also propose and evaluate defenses that can prevent the leakage to some extent at a minor cost in utility.

Subfields: Artificial Intelligence, Privacy & Security

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Florian Tramèr
  2. Nicholas Carlini
  3. Eric Wallace
  4. Dawn Song
  5. Percy Liang
  6. Luke S. Zettlemoyer
  7. Colin Raffel
  8. Mohit Bansal

In Privacy & Security

  1. Reza Shokri
  2. Philip S. Yu
  3. Florian Tramèr
  4. Dawn Song
  5. Emiliano De Cristofaro
  6. Michael Backes
  7. Nicholas Carlini
  8. Lichao Sun

Citations in the corpus