mlsanityData to 7 Oct 2026

Can Watermarking Large Language Models Prevent Copyrighted Text Generation and Hide Training Data?

arXiv 2407.17417 ↗First posted 24 Jul 2024cs.LGcited by 15

On the map: LLM safety and security → Watermarking generated content and models

Abstract (arXiv)

Large Language Models (LLMs) have demonstrated impressive capabilities in generating diverse and contextually rich text. However, concerns regarding copyright infringement arise as LLMs may inadvertently produce copyrighted material. In this paper, we first investigate the effectiveness of watermarking LLMs as a deterrent against the generation of copyrighted texts. Through theoretical analysis and empirical evaluation, we demonstrate that incorporating watermarks into LLMs significantly reduces the likelihood of generating copyrighted content, thereby addressing a critical concern in the deployment of LLMs. However, we also find that watermarking can have unintended consequences on Membership Inference Attacks (MIAs), which aim to discern whether a sample was part of the pretraining dataset and may be used to detect copyright violations. Surprisingly, we find that watermarking adversely affects the success rate of MIAs, complicating the task of detecting copyrighted text in the pretraining dataset. These results reveal the complex interplay between different regulatory measures, which may impact each other in unforeseen ways. Finally, we propose an adaptive technique to improve the success rate of a recent MIA under watermarking. Our findings underscore the importance of developing adaptive methods to study critical problems in LLMs with potential legal implications.

Key facts. Cited by 15 papers in the map (data through 7 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 38 of its 42 references that are in the map. First posted on arXiv 24 Jul 2024.

Builds on

38 of 42 references.

Closest ancestors · 6

Same direction, newest first

  1. 2023A Semantic Invariant Robust Watermark for Large Language Models10 Oct
  2. 2023Robust Distortion-free Watermarks for Language Models28 Jul
  3. 2023Provable Robust Watermarking for AI-Generated Text30 Jun
  4. 2023Undetectable Watermarks for Language Models25 May
  5. 2023Paraphrasing evades detectors of AI-generated text, but retrieval is an effective defense23 Mar
  6. 2023A Watermark for Large Language Models24 Jan

Other references · 32

  1. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
  2. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,464
  3. 2016Membership Inference Attacks against Machine Learning Modelscited by 2,221
  4. 2020Extracting Training Data from Large Language Modelscited by 2,144
  5. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,734
  6. 2018The Secret Sharer: Evaluating and Testing Unintended Memorization in Neural Networkscited by 847
  7. 2021Membership Inference Attacks From First Principlescited by 839
  8. 2022Quantifying Memorization Across Neural Language Modelscited by 755
  9. 2023Extracting Training Data from Diffusion Modelscited by 723
  10. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 711
  11. 2021Deduplicating Training Data Makes Language Models Bettercited by 705
  12. 2022Diffusion Art or Digital Forgery? Investigating Data Replication in Diffusion Modelscited by 418
20 more
  1. 2023Detecting Pretraining Data from Large Language Modelscited by 375
  2. 2022Deduplicating Training Data Mitigates Privacy Risks in Language Modelscited by 309
  3. 2019White-box vs Black-box: Bayes Optimal Strategies for Membership Inferencecited by 265
  4. 2023Membership Inference Attacks against Language Models via Neighbourhood Comparisoncited by 249
  5. 2023Proving Test Set Contamination in Black Box Language Modelscited by 227
  6. 2022Memorization Without Overfitting: Analyzing the Training Dynamics of Large Language Modelscited by 218
  7. 2023Understanding and Mitigating Copying in Diffusion Modelscited by 205
  8. 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 168
  9. 2023Copyright Violations and Large Language Modelscited by 108
  10. 2024Min-K%++: Improved Baseline for Detecting Pre-Training Data from Large Language Modelscited by 102
  11. 2022Preventing Verbatim Memorization in Language Models Gives a False Sense of Privacycited by 97
  12. 2023On Provable Copyright Protection for Generative Modelscited by 97
  13. 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 72
  14. 2024Blind Baselines Beat Membership Inference Attacks for Foundation Modelscited by 65
  15. 2024Be like a Goldfish, Don't Memorize! Mitigating Memorization in Generative LLMscited by 50
  16. 2024Copyright Protection in Generative AI: A Technical Perspectivecited by 35
  17. 2023How to Protect Copyright Data in Optimization of Large Language Models?cited by 26
  18. 2023Can Copyright be Reduced to Privacy?cited by 24
  19. 2020Quantifying Membership Inference Vulnerability via Generalization Gap and Other Model Metricscited by 13
  20. 2024Not All Similarities Are Created Equal: Leveraging Data-Driven Biases to Inform GenAI Copyright Disputescited by 10

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 1; 2025: 10; 2026: 4.

15 papers.

Sort:

By area: