Extracting Books from Production Language Models

Quick Overview

The main finding is that production-level Large Language Models (LLMs) like GPT-4.1, Gemini 2.5 Pro, and Grok 3 are capable of extracting copyrighted material, including entire books, nearly verbatim from their training data, which challenges existing legal frameworks around fair use and copyright.

Key Points: Production LLMs (GPT-4.1, Gemini 2.5 Pro, Grok 3) can extract copyrighted text, sometimes nearly verbatim, from their training data. GPT-4.1 extracted 95.8% of "Harry Potter and the Sorcerer's Stone" verbatim, while Grok 3 extracted 73.3% of the same book. The extraction success was achieved through iterative prompting and, in some cases, required jailbreaking attempts for the most successful results. The cost to extract copyrighted material via API is negligible ($100 for an extraction that yields full books), making it financially insignificant compared to licensing costs. The study suggests that current legal frameworks, which often require perfect verbatim copying for infringement claims, may need reevaluation as models can easily reproduce substantial copyrighted work. Safety guardrails proved weak, acting more like a 'bump' than a 'brick wall' against the extraction of copyrighted material.

Context: The video discusses research findings demonstrating that large language models (LLMs) trained on vast datasets, including copyrighted books, retain and can reproduce significant portions of that material. The research specifically tested models like GPT-4.1, Gemini 2.5 Pro, and Grok 3 to see how much of copyrighted works, such as 'Harry Potter and the Sorcerer's Stone,' could be extracted using specific prompting techniques, which has major implications for copyright law and fair use debates.

Detailed Analysis

The core finding of the research presented is that major production LLMs, including GPT-4.1, Gemini 2.5 Pro, and Grok 3, are capable of reproducing copyrighted material almost verbatim when prompted correctly. The researchers found that GPT-4.1 could reproduce 95.8% of 'Harry Potter and the Sorcerer's Stone' and Grok 3 achieved 73.3% verbatim recall of the same book in a single run, which is a significant finding given that the book's copyright cutoff date (June 2024) was after the models' knowledge cutoffs. The method involved iterative prompting, and in some cases, required jailbreaking techniques to achieve the highest recall scores. The cost associated with these extractions via API is shown to be extremely low (under $100 for a successful extraction), which contrasts sharply with the potential cost of licensing the entire book. The researchers conclude that the current legal standard for copyright infringement, which often requires near-perfect verbatim copying, is insufficient to address this capability, as the models are clearly memorizing and reproducing proprietary structures and sequences. This finding is crucial for policymakers debating how copyright law applies to AI-generated content.

Raw markdown version of this recap