Rethinking Literary Plagiarism in LLMs through the Lens of Copyright Laws

Huachen Tan, Moming Duan, Duo Liu, Haojie Lu, Yuexin Mu, Longyi Zhou, Ao Ren, Yujuan Tan, Kan Zhong

TL;DR

This paper investigates how Large Language Models (LLMs) can inadvertently commit literary plagiarism by reproducing copyrighted book content. By moving beyond simple character-matching to evaluate semantic and "plot-level" similarity, the researchers demonstrate that models like Moonshot, ERNIE, and Qwen can generate content with up to 78% textual similarity to original works, posing significant legal risks for developers and users.

What Problem Does This Paper Address?

As LLMs are trained on massive corpora of copyrighted books, a legal and ethical tension has emerged: while training might be argued as "fair use," the generated output often crosses the line into infringement.

The authors identify a major gap in current research: most existing studies focus on "data extraction" (verbatim recall) or simple character-level analysis. However, copyright law is broader, protecting not just exact words but also "derivative works," character settings, and narrative structures. This paper tackles the challenge of detecting plot plagiarism—a subtler, more complex form of infringement where the underlying "blueprint" of a story is copied even if the specific wording is slightly altered.

Methods

The researchers developed a multi-tiered similarity measurement mechanism to evaluate LLM outputs against original texts. Their approach involves three main components:

  1. Probing Prompt Engineering: They designed two types of prompts to induce models to output memorized content:
  2. Direct Enquiry: Asking the model to recall specific chapters.
  3. Prefix Prompt: Providing the opening lines of a book and asking the model to continue the text.
  4. Multi-Dimensional Similarity Metrics:
    • Textual: Using standard algorithms like Levenshtein Distance (edit distance), Jaccard Distance (set overlap), and Longest Common Subsequence (LCS).
  5. Semantic: Using Cosine Similarity and Minkowski Distance on TF-IDF vector representations to see if the meaning remains the same even if words change.
  6. LLM-based Plot Plagiarism Detection: This is the paper's most novel contribution. The authors used an LLM as a "judge" to compare generated text against original text across dimensions like theme, narrative style, character relationships, and plot structure. They defined a standardized 1–10 scale and five levels of similarity (from "irrelevant" to "consistent").

Datasets

The study focused on popular classic books published within the last 50 years to ensure the models likely encountered them during training.

  • Primary Case Study: Toni Morrison’s Beloved was used as the central example for the experiments.
  • Evaluation Models: The researchers tested three prominent LLMs: Moonshot (Kimi), ERNIE 3.5, and Qwen 1.5.

Key Insights and Ideas

  • Memorization vs. Generalization: The paper reinforces that LLMs are not just "stochastic parrots" of patterns; they possess significant verbatim memory of their training data, which can be "unlocked" with specific prefix prompts.
  • The "Plot" is the Problem: Traditional plagiarism detectors often miss "plagiarism in disguise" or "text rewrites." By using an LLM-based judge, the authors show that even when a model changes the wording, the "creative expression" (the plot and character dynamics) often remains infringing.
  • Prompting as an Infringement Vector: The study highlights that "clever cue engineering" is a double-edged sword. It can be used by researchers to audit models, but it can also be used by bad actors to bypass copyright protections and generate derivative works without permission.

Key Results

The experimental results confirm that generative AI has a high potential for copyright infringement:

  • Textual Similarity: The AI-generated content reached a maximum of 78.72% similarity (Levenshtein) to the original text.
  • Semantic Similarity: The models showed a maximum of 59.63% semantic similarity, indicating that the core meaning was preserved even when the text wasn't a perfect verbatim match.
  • Plot Plagiarism: In 100 independent experiments, the LLM-based judge assigned an average similarity score of 6.59/10 (65.9%). Most results fell into the "high similarity" category (7-8 points), proving that the models effectively replicate the "soul" of the literary work.

Limitations and Future Work

The authors acknowledge several limitations:

  • Sample Size: The study focused on a specific subset of LLMs and a limited number of literary works. The results may vary across different genres or smaller, less "famous" books.
  • Domain Scope: While the paper mentions code and images, the core experiments are strictly focused on text.
  • Legal Subjectivity: "Fair use" is a complex legal determination that varies by jurisdiction (e.g., the U.S. vs. Japan vs. China). A high similarity score in a lab setting doesn't always guarantee a win in a courtroom.

Future Directions: The researchers plan to expand their framework to include more diverse copyrighted materials (like code and images) and a wider variety of AI models to provide a more comprehensive tool for refining AI-related copyright laws.

Summary updated

BibTeX
@inproceedings{tan2024rethinking,
  author = {Huachen Tan and Moming Duan and Duo Liu and Haojie Lu and Yuexin Mu and Longyi Zhou and Ao Ren and Yujuan Tan and Kan Zhong},
  title = {{Rethinking Literary Plagiarism in LLMs through the Lens of Copyright Laws}},
  booktitle = {ACML},
  year = {2024},
}

Loading related content...

Figure