De-Anonymizing Text by Fingerprinting Language Generation

arXiv:2006.09615 First posted 2020-06-17 v2 NeurIPS 2020
Cite this paper ×
BibTeX
@misc{sun2020deanonymizing,
  title = {De-Anonymizing Text by Fingerprinting Language Generation},
  author = {Zhen Sun and Roei Schuster and Vitaly Shmatikov},
  year = {2020},
  eprint = {2006.09615},
  archivePrefix = {arXiv},
  primaryClass = {cs.CR},
  url = {https://arxiv.org/abs/2006.09615}
}
APA
Sun, Z., Schuster, R., & Shmatikov, V. (2020). De-Anonymizing Text by Fingerprinting Language Generation [Preprint]. arXiv. https://doi.org/10.48550/arXiv.2006.09615
GB/T 7714
SUN Z, SCHUSTER R, SHMATIKOV V. De-Anonymizing Text by Fingerprinting Language Generation[EB/OL]. (2020-06-17)[2026-11-29]. https://arxiv.org/abs/2006.09615.

Abstract

Components of machine learning systems are not (yet) perceived as security hotspots. Secure coding practices, such as ensuring that no execution paths depend on confidential inputs, have not yet been adopted by ML developers. We initiate the study of code security of ML systems by investigating how nucleus sampling-a popular approach for generating text, used for applications such as auto-completion-unwittingly leaks texts typed by users. Our main result is that the series of nucleus sizes for many natural English word sequences is a unique fingerprint. We then show how an attacker can infer typed text by measuring these fingerprints via a suitable side channel (e.g., cache access times), explain how this attack could help de-anonymize anonymous texts, and discuss defenses.

Post #1 · the paper

Discussion

No comments yet. Start the discussion!