Documented Incident · INC-OBS-043 · High severity
ChatGPT Poem Divergence Attack Extracting Verbatim Memorized PII and Training Data
On November 28, 2023, researchers from Google DeepMind, ETH Zurich, and University of Washington (Nasr, Carlini, Hayase, Jagielski, Cooper, Ippolito, Choquette-Choo, Wallace, Tramer, and Lee) published a landmark disclosure demonstrating a scalable 'divergence attack' against production `gpt-3.5-turbo` powering ChatGPT. By prompting the model to repeat a single token indefinitely (famously 'poem poem poem...'), the researchers caused the aligned chat model to break out of its RLHF conversational distribution and revert to raw pre-training continuation, emitting gigabytes-scale verbatim training data at over 150 times baseline rates. Extracted samples included real individuals' personally identifiable information (phone numbers, email addresses, physical addresses), copyrighted news copy, and raw code for roughly $200 in API spend. OpenAI subsequently added repetition-guardrail filters and updated its terms of service while highlighting that post-training alignment does not erase underlying memorization.
Incident dossier metadata
- Case ID
INC-OBS-043- Classification
- Incident
- Date
- Severity
- High
- Sector
- Cloud & AI Infrastructure
- Attack vector
- Data Exfiltration
- System type
- Production Aligned Commercial Large Language Models
- Reference URI
https://arxiv.org/abs/2311.17035
Defensive takeaway
Deduplicate and scrub PII prior to pre-training, deploy output repetition/memorization detectors, and never assume RLHF alignment prevents verbatim training-data extraction.
Mapped AI security techniques
- Exfiltration via AI Inference API AML.T0024
- AI Model Inference API Access AML.T0040
- LLM Jailbreak AML.T0054
- Outputs from AI Models AML.T0135
- Training Data Information from AI Models AML.T0137
- Training Data Information from AI Models: Extract Memorized Data AML.T0137.003
Mapped defensive controls
- Limit AI Service Query Volume and Rate AML.M0004
- Sanitize Training Data AML.M0007
- Generative AI Guardrails AML.M0020
- Adaptive AI Response Degradation AML.M0040
- Privacy-Preserving AI Training and Inference AML.M0041
Source citation records
- Scalable Extraction of Training Data from (Production) Language Models · arXiv (Nasr, Carlini et al.) ·