Documented Exercise · OBS.EX0095

Extracting Verbatim Training Sequences & PII from GPT-2

Carlini et al. (2020/USENIX Security 2021) demonstrated targeted training-data extraction against GPT-2 using black-box query sampling combined with perplexity-ratio ranking across public web-trained weights. The evaluation recovered hundreds of verbatim training sequences, including names, phone numbers, email addresses, IRC logs, code, and 128-bit UUIDs, even for examples appearing in only a single training document, with larger model sizes showing higher memorization rates. Deduplication and differential privacy are critical because rare unique secrets can still be memorized by large autoregressive models. Teams must scrub PII before pretraining and run systematic memorization audits prior to weight release.

Exercise dossier metadata

Case ID
OBS.EX0095
Classification
Exercise
Date
Evaluation scope
GPT-2 Language Models · Query-Only Verbatim Memorization Extraction
Reference URI
https://arxiv.org/abs/2012.07805

Inspect OBS.EX0095 in Interactive Incidents & Cases Hub

Mapped AI security techniques

Mapped defensive controls

Source citation records