AI
Study suggests GPT-4o may have trained on copyrighted books without permission
Researchers used membership inference attacks to detect whether OpenAI's latest model recognized non-public, paywalled content in its training data.
A new research paper from arXiv suggests that OpenAI's GPT-4o model shows signs of having been trained on copyrighted material it may not have been licensed to use. The investigation focused specifically on non-public, paywalled content—rather than just publicly available text—to probe potential unauthorized access to proprietary books.
The Study Setup#
Researchers obtained 34 copyrighted O'Reilly Media books legally and applied a technique called the DE-COP membership inference attack. This method tests whether a language model recognizes specific text it was not supposed to have seen during training. By testing on books that were never meant to be publicly accessible, the team could assess whether the models had somehow ingested restricted content.
Key Findings#
Results varied significantly across OpenAI's model lineup:
- GPT-4o (OpenAI's most capable recent model) achieved an AUROC score of 0.82 in recognizing non-public books—well above the 50% random-chance baseline. The 95% confidence interval ranged from 0.60 to 0.96.
- GPT-3.5 Turbo (trained roughly two years earlier) scored 0.54, essentially at chance level.
- GPT-4o Mini scored 0.56, also near random performance.
What This Means#
The disparity between GPT-4o and other models tested suggests the newer, more capable system may have encountered copyrighted O'Reilly books during its training process—despite no legitimate licensing agreement covering such material. The researchers controlled for the possibility that models were simply detecting language evolution over time by comparing two models with the same October 2023 training cutoff date.
Caveats and Future Work#
The authors acknowledge their findings remain preliminary, citing a small sample size of books, the possibility of contamination in control datasets, and structural differences between models that make direct comparison challenging. They call for stronger disclosure requirements around training data provenance and the development of formal licensing markets for training content.

