← AI & Foundation Models Hub 🏛️ Stanford Graduate School of Business 📄 Working Paper · Author Abstract
🔗 Also at arXiv ↗

Extracting Training Data from Large Language Models

AUTHOR BACKGROUND & AFFILIATION 2020-12-14 · 4m read · 4,370 peer citations
FT

Florian Tramèr

Faculty Researcher · Stanford Graduate School of Business

Open-access research dispatch from Stanford Graduate School of Business, indexed under AI & Foundation Models (4,370 peer citations).

Provenance: CC-BY
Author’s Original Abstract

It has become common to publish large (billion parameter) language models that have been trained on private datasets. This paper demonstrates that in such settings, an adversary can perform a training data extraction attack to recover individual training examples by querying the language model. We demonstrate our attack on GPT-2, a language model trained on scrapes of the public Internet, and are able to extract hundreds of verbatim text sequences from the model's training data.

These extracted examples include (public) personally identifiable information (names, phone numbers, and email addresses), IRC conversations, code, and 128-bit UUIDs. Our attack is possible even though each of the above sequences are included in just one document in the training data. We comprehensively evaluate our extraction attack to understand the factors that contribute to its success. Worryingly, we find that larger models are more vulnerable than smaller models.

We conclude by drawing lessons and discussing possible safeguards for training large language models.

ALSO APPEARS AT · ORIGINAL SOURCE

Originally published at arXiv

By Florian Tramèr (Stanford Graduate School of Business) · 2020-12-14 · CC-BY.

🔗 Read Original at arXiv ↗ 📄 Open PDF ↗
🤝 COMMUNITY CO-READING MARGIN · EARN +25 XP

Add a Worked Example, Practitioner Field Note, or Counter-Thesis

More from Stanford Graduate School of Business & Related Topics

All 183 works from Stanford Graduate School of Business →
🏷️ Strategy & Governance ✍️ Full Essay

Using light to control brain cells – neuroscientist Karl Deisseroth explains how he made his Nobel-winning discovery

KD Karl Deisseroth 🏛️ Stanford Graduate School of Business · D. H. Chen Professor, Professor of Bioengineering and of Psychiatry and Behavioral Sciences, Stanford University

Optogenetics, a field that started with an algae gene, is shedding light on new treatments for eye and neuropsychiatric conditions.

2026-10-15 · 7m read Also at The Conversation ↗
Free community dispatch · Zero spam.