Abstract: The swift advancement of Generative Artificial Intelligence (AI) has outstripped the development of corresponding laws and regulations, highlighting books' copyright infringement as a significant public concern and sparking numerous legal disputes. Although fair use doctrine exemption for using copyrighted materials in training datasets without the copyright holder's permission, content generated by such AI systems may still violate copyright laws. Previous research on copyright infringement has primarily focused on character-level analysis, which is narrower in scope compared to the comprehensive requirements of copyright law. To address this challenge, we developed a LLM-based similarity measurement mechanism. We guided the generative AI to produce relevant book content by employing carefully crafted prompts. Subsequently, we created datasets by comparing this generated content with the original texts from famous books. We conducted various experiments, including various similarity detection techniques and plot plagiarism detection. The experimental results show that the AI-generated content (AIGC) is 78.72% similar to the original text, confirming that generative AI has the potential to infringe upon copyrights. Moreover, our study examines copyright infringement issues related to the content generated by generative AI and other domains such as code, images, and licensing. Our research will provide valuable insights for refining laws and regulations about generative AI.
Introduction
As Large Language Models (LLMs) are trained on massive corpora of copyrighted books, a legal and ethical tension has emerged. While the act of training might be argued as "fair use" in some jurisdictions, the generated output often crosses the line into infringement. This paper investigates how LLMs can inadvertently commit literary plagiarism by reproducing copyrighted book content. By moving beyond simple character-matching to evaluate semantic and "plot-level" similarity, we demonstrate that prominent models can generate content with high textual similarity to original works, posing significant legal risks for developers and users alike.
The Challenge of Plot Plagiarism
A major gap in current research is that most existing studies focus on "data extraction" (verbatim recall) or simple character-level analysis. However, copyright law is significantly broader, protecting not just exact words but also "derivative works," character settings, and narrative structures. This research 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.
Methodology
We developed a multi-tiered similarity measurement mechanism to evaluate LLM outputs against original texts. The approach involves three main components:
1. Probing Prompt Engineering
To induce models to output memorized content, we designed two types of prompts:
- Direct Enquiry: Asking the model to recall specific chapters or sections.
- Prefix Prompt: Providing the opening lines of a book and asking the model to continue the text naturally.
2. Multi-Dimensional Similarity Metrics
We utilized a combination of traditional and semantic metrics:
- Textual Metrics: Standard algorithms including Levenshtein Distance (edit distance), Jaccard Distance (set overlap), and Longest Common Subsequence (LCS).
- Semantic Metrics: Cosine Similarity and Minkowski Distance applied to TF-IDF vector representations to determine if the core meaning remains consistent despite lexical changes.
3. LLM-based Plot Plagiarism Detection
Our most novel contribution is using an LLM as a "judge" to compare generated text against original text across dimensions like theme, narrative style, character relationships, and plot structure. We defined a standardized 1–10 scale and five levels of similarity, ranging from "irrelevant" to "consistent."
Experimental Setup
The study focused on popular classic books published within the last 50 years to ensure the models likely encountered them during training. Toni Morrison’s Beloved served as the primary case study. We evaluated three prominent LLMs: Moonshot (Kimi), ERNIE 3.5, and Qwen 1.5.
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.
Discussion and Insights
Our findings suggest that LLMs are not merely "stochastic parrots" of patterns; they possess significant verbatim memory of their training data, which can be "unlocked" with specific prefix prompts. Traditional plagiarism detectors often miss "plagiarism in disguise" or "text rewrites." By using an LLM-based judge, we show that even when a model changes the wording, the "creative expression" (the plot and character dynamics) often remains infringing.
Furthermore, the study highlights that "clever cue engineering" is a double-edged sword. While researchers use it to audit models, bad actors can use it to bypass copyright protections and generate derivative works without permission.
Conclusion and Future Work
While this study provides strong evidence of potential infringement, it is limited by its sample size and the inherent subjectivity of legal "fair use" determinations, which vary by jurisdiction. Future research will expand this framework to include more diverse copyrighted materials, such as code and images, and a wider variety of AI models. Our goal is to provide a comprehensive toolset for refining AI-related copyright laws and ensuring that the development of generative AI respects the rights of original content creators.
Summary updated