CopyBench: Measuring Literal and Non-Literal Reproduction of Copyright-Protected Text in Language Model Generation

Tong Chen, Akari Asai, Niloofar Mireshghallah, Sewon Min, James Grimmelmann, Yejin Choi, Hannaneh Hajishirzi, Luke Zettlemoyer, Pang Wei Koh

Introduction

As Large Language Models (LLMs) increasingly demonstrate the ability to generate high-quality creative content, concerns regarding copyright infringement have intensified. Most existing research focuses on "memorization"—the verbatim reproduction of training data. However, legal standards for "substantial similarity" extend beyond literal text to include non-literal elements such as plot sequences and unique characters. This paper introduces CopyBench, a benchmark designed to evaluate both literal and non-literal reproduction of copyrighted fiction.

The CopyBench Framework

CopyBench evaluates language models across four critical dimensions to capture the nuances of copyright-protected expression:

  1. Literal Copying: Measures verbatim reproduction by asking models to complete a 200-word passage from a known book.
  2. Non-Literal Copying: Evaluates the reproduction of specific plot events and character names when prompted to write an "original" story based on a book's premise.
  3. Fact Recall: Assesses the model's utility by measuring its ability to answer specific questions about the source material.
  4. Fluency: Ensures the generated text is coherent and high-quality using automated evaluation models.
Figure 1: Examples of literal and non-literal copying, fact recall, and fluency evaluation in CopyBench.

Methodology and Datasets

The researchers utilized two primary datasets:

  • BookMIA: A collection of 16 popular copyrighted books used to test literal completion.
  • CliffsNotes: A dataset of 118 copyrighted fiction books. Human-written plot summaries and character lists from this source were used to evaluate non-literal event and character overlap.

Non-literal event overlap is determined using a judge model (Flan-T5-XL) that compares the generated story's sequence of events against the source book's plot. Character overlap is measured by identifying unique character names and their aliases in the generated output.

The study reveals that copying behavior scales aggressively with model size. Larger models, while more capable, are significantly more likely to reproduce protected content. For instance, Llama3-70B exhibits a literal copying rate of 10.5% and a character copying rate of 15.6%, compared to much lower rates in the 8B version.

Figure 4: Quantitative evaluation of base LMs and mitigation methods across copying and utility metrics.

A significant finding is the Utility Trade-off: there is a strong positive correlation between a model's ability to recall facts (utility) and its tendency to copy. This suggests that the internal knowledge required to be an "expert" on a text inherently increases the risk of reproduction.

Mitigation and the Alignment Paradox

Current defense mechanisms often fail to address non-literal copying. MemFree Decoding, which effectively suppresses $n$-gram overlap to stop literal copying, has almost no impact on the reproduction of plot events or characters.

Furthermore, the study identifies an Alignment Paradox: while instruction tuning (e.g., Llama-Chat) can reduce literal verbatim copying, it may actually increase non-literal copying. As models become better at creative writing and following instructions, they more effectively leverage memorized training data to construct derivative works that mimic protected plots and characters.

Conclusion

CopyBench highlights a critical gap in current AI safety and copyright mitigation strategies. While verbatim filters are becoming more common, they do not prevent models from leaking the "expression" of an author through plot and character reproduction. Future work must focus on developing mitigation strategies that can decouple factual knowledge from the reproduction of creative expression.

Summary updated

BibTeX
@inproceedings{chen2024copybench,
  author = {Tong Chen and Akari Asai and Niloofar Mireshghallah and Sewon Min and James Grimmelmann and Yejin Choi and Hannaneh Hajishirzi and Luke Zettlemoyer and Pang Wei Koh},
  title = {{CopyBench: Measuring Literal and Non-Literal Reproduction of Copyright-Protected Text in Language Model Generation}},
  booktitle = {Conference on Empirical Methods in Natural Language Processing},
  year = {2024},
  doi = {10.18653/v1/2024.emnlp-main.844},
}
Figure