LLMs and Memorization: On Quality and Specificity of Copyright Compliance

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Mueller, Felix B, Görge, Rebekka, Bernzen, Anna K, Pirk, Janna C, Poretschkin, Maximilian
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909393077927936
author Mueller, Felix B
Görge, Rebekka
Bernzen, Anna K
Pirk, Janna C
Poretschkin, Maximilian
author_facet Mueller, Felix B
Görge, Rebekka
Bernzen, Anna K
Pirk, Janna C
Poretschkin, Maximilian
contents Memorization in large language models (LLMs) is a growing concern. LLMs have been shown to easily reproduce parts of their training data, including copyrighted work. This is an important problem to solve, as it may violate existing copyright laws as well as the European AI Act. In this work, we propose a systematic analysis to quantify the extent of potential copyright infringements in LLMs using European law as an example. Unlike previous work, we evaluate instruction-finetuned models in a realistic end-user scenario. Our analysis builds on a proposed threshold of 160 characters, which we borrow from the German Copyright Service Provider Act and a fuzzy text matching algorithm to identify potentially copyright-infringing textual reproductions. The specificity of countermeasures against copyright infringement is analyzed by comparing model behavior on copyrighted and public domain data. We investigate what behaviors models show instead of producing protected text (such as refusal or hallucination) and provide a first legal assessment of these behaviors. We find that there are huge differences in copyright compliance, specificity, and appropriate refusal among popular LLMs. Alpaca, GPT 4, GPT 3.5, and Luminous perform best in our comparison, with OpenGPT-X, Alpaca, and Luminous producing a particularly low absolute number of potential copyright violations. Code can be found at https://github.com/felixbmuller/llms-memorization-copyright.
format Preprint
id arxiv_https___arxiv_org_abs_2405_18492
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle LLMs and Memorization: On Quality and Specificity of Copyright Compliance
Mueller, Felix B
Görge, Rebekka
Bernzen, Anna K
Pirk, Janna C
Poretschkin, Maximilian
Computation and Language
Artificial Intelligence
I.2.7
Memorization in large language models (LLMs) is a growing concern. LLMs have been shown to easily reproduce parts of their training data, including copyrighted work. This is an important problem to solve, as it may violate existing copyright laws as well as the European AI Act. In this work, we propose a systematic analysis to quantify the extent of potential copyright infringements in LLMs using European law as an example. Unlike previous work, we evaluate instruction-finetuned models in a realistic end-user scenario. Our analysis builds on a proposed threshold of 160 characters, which we borrow from the German Copyright Service Provider Act and a fuzzy text matching algorithm to identify potentially copyright-infringing textual reproductions. The specificity of countermeasures against copyright infringement is analyzed by comparing model behavior on copyrighted and public domain data. We investigate what behaviors models show instead of producing protected text (such as refusal or hallucination) and provide a first legal assessment of these behaviors. We find that there are huge differences in copyright compliance, specificity, and appropriate refusal among popular LLMs. Alpaca, GPT 4, GPT 3.5, and Luminous perform best in our comparison, with OpenGPT-X, Alpaca, and Luminous producing a particularly low absolute number of potential copyright violations. Code can be found at https://github.com/felixbmuller/llms-memorization-copyright.
title LLMs and Memorization: On Quality and Specificity of Copyright Compliance
topic Computation and Language
Artificial Intelligence
I.2.7
url https://arxiv.org/abs/2405.18492