Conference paper · 2020 · Open access

Privacy Risks of General-Purpose Language Models

Xudong Pan, Mi Zhang, Shouling Ji, Min Yang

IEEE Symposium on Security and Privacy (S&P), 1314–1331 · Published 1 May 2020 · DOI 10.1109/sp40000.2020.00095

Open PDFView at the publisherCite this paper

In brief

“Privacy Risks of General-Purpose Language Models” is a 2020 conference paper by Xudong Pan and 3 co-authors, published in IEEE Symposium on Security and Privacy (S&P). OpenAlex counts 392 citations as of 6 December 2026, which puts it in the top 1% of works published in 2020 by citations. It is open access under a public domain licence: the full text is free to read at IEEE Symposium on Security and Privacy (S&P).

Citations
392
Most cited in
2025 (106)
Field-weighted impact
5.71
References
71
Authors
4

Abstract

Recently, a new paradigm of building general-purpose language models (e.g., Google’s Bert and OpenAI’s GPT-2) in Natural Language Processing (NLP) for text feature extraction, a standard procedure in NLP systems that converts texts to vectors (i.e., embeddings) for downstream modeling, has arisen and starts to find its application in various downstream NLP tasks and real world systems (e.g., Google’s search engine [6]). To obtain general-purpose text embeddings, these language models have highly complicated architectures with millions of learnable parameters and are usually pretrained on billions of sentences before being utilized. As is widely recognized, such a practice indeed improves the state-of-the-art performance of many downstream NLP tasks. However, the improved utility is not for free. We find the text embeddings from general-purpose language models would capture much sensitive information from the plain text. Once being accessed by the adversary, the embeddings can be reverse-engineered to disclose sensitive information of the victims for further harassment. Although such a privacy risk can impose a real threat to the future leverage of these promising NLP tools, there are neither published attacks nor systematic evaluations by far for the mainstream industry-level language models. To bridge this gap, we present the first systematic study on the privacy risks of 8 state-of-the-art language models with 4 diverse case studies. By constructing 2 novel attack classes, our study demonstrates the aforementioned privacy risks do exist and can impose practical threats to the application of general-purpose language models on sensitive data covering identity, genome, healthcare and location. For example, we show the adversary with nearly no prior knowledge can achieve about 75% accuracy when inferring the precise disease site from Bert embeddings of patients’ medical descriptions. As possible countermeasures, we propose 4 different defenses (via rounding, differential privacy, adversarial training and subspace projection) to obfuscate the unprotected embeddings for mitigation purpose. With extensive evaluations, we also provide a preliminary analysis on the utility-privacy trade-off brought by each defense, which we hope may foster future mitigation researches.

Cite this paper

Formatted from the catalogue record. Check names, capitals and page numbers against the paper before you submit.

APA 7

Pan, X., Zhang, M., Ji, S., & Yang, M. (2020). Privacy Risks of General-Purpose Language Models. IEEE Symposium on Security and Privacy (S&P), 1314–1331. https://doi.org/10.1109/sp40000.2020.00095

MLA 9

Pan, Xudong, et al. “Privacy Risks of General-Purpose Language Models.” IEEE Symposium on Security and Privacy (S&P), 2020, pp. 1314–1331. https://doi.org/10.1109/sp40000.2020.00095.

Chicago

Pan, Xudong, Mi Zhang, Shouling Ji, and Min Yang. 2020. “Privacy Risks of General-Purpose Language Models.” IEEE Symposium on Security and Privacy (S&P): 1314–1331. https://doi.org/10.1109/sp40000.2020.00095.

Harvard

Pan, X. et al. (2020) ‘Privacy Risks of General-Purpose Language Models’, IEEE Symposium on Security and Privacy (S&P), pp. 1314–1331. doi:10.1109/sp40000.2020.00095.

IEEE

X. Pan, M. Zhang, S. Ji, and M. Yang, “Privacy Risks of General-Purpose Language Models,” IEEE Symposium on Security and Privacy (S&P), pp. 1314–1331, 2020, doi: 10.1109/sp40000.2020.00095.

BibTeX

@inproceedings{pan2020privacy,
  title     = {{Privacy Risks of General-Purpose Language Models}},
  author    = {Pan, Xudong and Zhang, Mi and Ji, Shouling and Yang, Min},
  booktitle = {IEEE Symposium on Security and Privacy (S\&P)},
  year      = {2020},
  pages     = {1314--1331},
  doi       = {10.1109/sp40000.2020.00095},
  url       = {https://doi.org/10.1109/sp40000.2020.00095}
}

Download for a reference manager: BibTeX (.bib) · RIS for Zotero, Mendeley and EndNote (.ris)

Citations by year

YearCitationsShare of the best year
202077
20211616
20222727
20236262
20249292
2025106106
20268282

Its field-weighted citation impact is 5.71: it has been cited 5.71 times as often as the average work of the same field, type and year (1.00 is the world average).

Topic and keywords

Physical Sciences › Computer Science › Artificial Intelligence › Privacy-Preserving Technologies in Data

  • privacy risks
  • text embeddings
  • sensitive information disclosure
  • BERT
  • GPT-2
  • differential privacy
  • adversarial training
  • subspace projection

Work with this paper

Most-cited papers in Computer Science

All highly cited Computer Science papers

Questions about this paper

How do I cite this paper in APA style?

Pan, X., Zhang, M., Ji, S., & Yang, M. (2020). Privacy Risks of General-Purpose Language Models. IEEE Symposium on Security and Privacy (S&P), 1314–1331. https://doi.org/10.1109/sp40000.2020.00095

How many times has this paper been cited?

392 times, according to OpenAlex on 6 December 2026. Google Scholar and Scopus count different sets of sources, so their numbers differ.

Is this paper free to read?

Yes. It is open access at IEEE Symposium on Security and Privacy (S&P): sign in and open the PDF from this page.

Who wrote this paper?

Xudong Pan, Mi Zhang, Shouling Ji, Min Yang.

What is the DOI of this paper?

10.1109/sp40000.2020.00095, permanently at https://doi.org/10.1109/sp40000.2020.00095. Sign in and open it from this page.

Bibliographic data from OpenAlex (CC0), last checked 6 December 2026. ResearchGuru does not host this paper; once you are signed in, the links open it at the publisher or the repository that does.