Incident report
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 record
- Reported
- Severity
- High
- Vector
- Data Exfiltration
- Affected system type
- Production Aligned Commercial Large Language Models
- Reference URI
https://arxiv.org/abs/2311.17035
Defensive lesson
Deduplicate and scrub PII prior to pre-training, deploy output repetition/memorization detectors, and never assume RLHF alignment prevents verbatim training-data extraction.
Research citation
Referenced 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