Skip to main content
QUICK REVIEW

[Paper Review] Copyright Violations and Large Language Models

Antonia Karamolegkou, Jiaang Li|arXiv (Cornell University)|Oct 20, 2023
Natural Language Processing TechniquesComputer Science6 citations
TL;DR

This study investigates verbatim memorization of copyrighted texts in large language models by probing six model families using prompts from best-selling books and LeetCode coding problems. Results show that larger models exhibit significant verbatim reproduction of entire text fragments, suggesting potential copyright violations through unauthorized redistribution.

ABSTRACT

Language models may memorize more than just facts, including entire chunks of texts seen during training. Fair use exemptions to copyright laws typically allow for limited use of copyrighted material without permission from the copyright holder, but typically for extraction of information from copyrighted materials, rather than {\em verbatim} reproduction. This work explores the issue of copyright violations and large language models through the lens of verbatim memorization, focusing on possible redistribution of copyrighted text. We present experiments with a range of language models over a collection of popular books and coding problems, providing a conservative characterization of the extent to which language models can redistribute these materials. Overall, this research highlights the need for further examination and the potential impact on future developments in natural language processing to ensure adherence to copyright regulations. Code is at \url{https://github.com/coastalcph/CopyrightLLMs}.

Motivation & Objective

  • To investigate whether large language models (LLMs) can verbatim memorize and reproduce copyrighted text fragments from training data.
  • To assess the extent of such memorization across diverse LLM families and different types of copyrighted content (literary works and coding problems).
  • To explore the influence of model size, content popularity, and prompt engineering on verbatim memorization.
  • To provide empirical data and methodological frameworks for future legal and ethical discussions on LLMs and copyright compliance.

Proposed method

  • Conducted probing experiments using specific prompts derived from the first lines or full descriptions of best-selling books and LeetCode coding problems.
  • Employed two probing strategies: direct prompt requests for text reproduction and targeted line-by-line queries.
  • Measured verbatim memorization using two metrics: exact string match and semantic similarity for context-aware evaluation.
  • Evaluated six distinct LLM families across varying sizes, focusing on memorization patterns and scalability.
  • Analyzed the relationship between memorization rates and popularity indicators (e.g., web prevalence) of the source texts.
  • Used controlled prompting to test whether memorization could be unlocked, simulating potential exploitation scenarios.
Figure 1: Verbatim memorization in large language models . Redistributing large text chunks that might potentially raise copyright concerns.
Figure 1: Verbatim memorization in large language models . Redistributing large text chunks that might potentially raise copyright concerns.

Experimental results

Research questions

  • RQ1To what extent can large language models reproduce entire copyrighted text fragments verbatim from their training data?
  • RQ2How does model size influence the rate of verbatim memorization of copyrighted content?
  • RQ3Does the online popularity of a text correlate with higher memorization rates in LLMs?
  • RQ4Can prompt engineering unlock previously suppressed verbatim memorization in LLMs?
  • RQ5How do different LLM families compare in their capacity for verbatim memorization of copyrighted materials?

Key findings

  • Larger language models demonstrate a near-linear increase in verbatim memorization of copyrighted text fragments, confirming that model scale correlates with memorization capacity.
  • Models such as GPT-3.5 were able to reproduce entire problem descriptions from LeetCode and full first lines of books like *The Boy Who Lived*, sometimes with high accuracy.
  • In some cases, models produced hallucinated or partially incorrect text (e.g., misrepresenting the first line of *Pinocchio*), suggesting that memorization may not be perfect but still substantial.
  • Confabulation occurred when prompted for specific lines, indicating that models may mix memorized content with generated text, especially when prompted with ambiguous or incomplete queries.
  • Prompt engineering was shown to unlock previously suppressed memorization, implying that current results are conservative and actual memorization may be higher under optimized conditions.
  • The study confirms that verbatim memorization of copyrighted material is empirically measurable and widespread across multiple LLM families, raising serious concerns about potential redistribution and copyright infringement.
Figure 2: Results for verbatim memorization in books. The left figure illustrates the average LCS length of book outputs for each model family across various model sizes. The right figure shows the average LCS length per book across all models, showing which books are the most memorized ones on aver
Figure 2: Results for verbatim memorization in books. The left figure illustrates the average LCS length of book outputs for each model family across various model sizes. The right figure shows the average LCS length per book across all models, showing which books are the most memorized ones on aver

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.