Abstract
Large Language Models (LLMs) often memorize significant portions of their training data, raising critical concerns regarding privacy, copyright, and security. This paper introduces a novel, non-adversarial extraction method called instruction decomposition. By breaking down a request for copyrighted material into a series of seemingly benign, low-level tasks, researchers successfully induced frontier LLMs to leak verbatim sentences from the New York Times and Wall Street Journal. This approach exploits the models' "helpful assistant" persona and their struggle with compositional generalization, bypassing traditional safety guardrails without the need for adversarial jailbreaking.
Introduction
Large Language Models (LLMs) are known to memorize portions of their massive training corpora. While prior research has successfully extracted data using adversarial "jailbreaks" or by fine-tuning models to diverge from their chatbot personas, these methods are often blocked by modern safety alignments. The authors address a critical gap: Can training data be extracted using only benign, "helpful" prompts? They hypothesize that while a model might refuse to "print the full text of a copyrighted article," it might be much more willing to provide the "next sentence" in a sequence if the request is decomposed into smaller, seemingly innocent instructions. This exploits a known weakness in machine learning: compositional generalization, where models struggle to understand the high-level intent of a series of low-level tasks.
Methodology
The core technique is Instructional Decomposition. Instead of a single high-stakes query, the authors use a multi-stage prompting flow designed to guide the model through a sequence of tasks that appear helpful rather than extractive.
- Identification: The model is given a short summary of a real-world article and asked to identify its title, author, and publication date.
- Piecewise Extraction: Once the article is identified, the researchers query the model for specific fragments (e.g., "What is the sentence that immediately follows [Sentence X]?").
- Prompting Variants: The study tested several variants, including SIMPLE (direct instructions), In-Context Learning (ICL) (few-shot examples), and Multi-Turn Prompting (simulating successful retrieval to encourage continuation).
To verify the results, the researchers used several metrics, including Exact Match Positional (EMP) and BITAP-based Match (a fuzzy matching algorithm) to account for minor variations or "near-hits" where the model might hallucinate a single word but otherwise reproduce the text verbatim.
Experimental Setup
The study evaluated two commercially available frontier models (anonymized as LLM-α and LLM-β) against a large corpus of news data:
- 3,723 New York Times (NYT) articles published between 2015 and 2023.
- 1,349 Wall Street Journal (WSJ) articles published between 2017 and 2023.
- Control Group: 900 NYT and 425 WSJ articles published after the models' knowledge cutoffs (2024) to ensure the models weren't simply "guessing" the text based on general knowledge.
Results and Analysis
The results demonstrate that instruction decomposition is a highly effective method for bypassing safety filters. Because the prompts look like standard "helpful assistant" behavior (e.g., "help me find this quote"), they often bypass the guardrails designed to stop bulk data scraping or copyright violations.
Key Findings:
- Verbatim Extraction: The method extracted at least one verbatim sentence from 73 NYT articles and 7 WSJ articles.
- High-Fidelity Leaks: For 6 specific NYT articles, the researchers were able to extract over 20% of the article's sentences verbatim.
- Model Sensitivity: LLM-α (the model with an October 2023 cutoff) showed a much higher rate of regurgitation than LLM-β.
- Baseline Validation: The models failed to reproduce any significant text from the "post-cutoff" articles, confirming that the successful extractions were indeed results of memorization, not lucky guesses.
- The "Complicity" of Decomposition: Models are significantly more likely to regenerate training data when the task is broken down. The statistical difficulty of the model recognizing that a sequence of benign requests constitutes a data exfiltration attack makes this method highly effective.
Discussion and Limitations
While this study focused on public news articles, it highlights a systemic vulnerability in LLM alignment. The researchers found that for high-matching articles, the model was truly conditioning on the specific article text rather than just generating generic news-style sentences.
Limitations and Future Work: * Target Specificity: It remains to be seen how effective this method is for extracting more sensitive, non-public data (like PII or internal corporate documents) that might be buried in a training set. * Scaling: The current method requires some manual oversight to select "likely" candidates for extraction. Automating the discovery of memorized "hotspots" at scale is a logical next step. * Defense Mechanisms: Model developers need to find ways to detect "malicious intent" across multiple turns of a conversation, rather than just evaluating single prompts in isolation. Future work could involve developing "compositional" safety guardrails.
Summary updated