EMNLP 2024main18 citations

SHIELD: Evaluation and Defense Strategies for Copyright Compliance in LLM Text Generation

Xiaoze Liu, Ting Sun, Tianyang Xu, Feijie Wu, Cunxiang Wang, Xiaoqian Wang, Jing Gao

Abstract

Large Language Models (LLMs) have transformed machine learning but raised significant legal concerns due to their potential to produce text that infringes on copyrights, resulting in several high-profile lawsuits. The legal landscape is struggling to keep pace with these rapid advancements, with ongoing debates about whether generated text might plagiarize copyrighted materials. Current LLMs may infringe on copyrights or overly restrict non-copyrighted texts, leading to these challenges: (i) the need for a comprehensive evaluation benchmark to assess copyright compliance from multiple aspects; (ii) evaluating robustness against safeguard bypassing attacks; and (iii) developing effective defenses targeted against the generation of copyrighted text.To tackle these challenges, we introduce a curated dataset to evaluate methods, test attack strategies, and propose a lightweight, real-time defense mechanism to prevent the generation of copyrighted text, ensuring the safe and lawful use of LLMs. Our experiments demonstrate that current LLMs frequently output copyrighted text, and that jailbreaking attacks can significantly increase the volume of copyrighted output. Our proposed defense mechanism substantially reduces the volume of copyrighted text generated by LLMs by effectively refusing malicious requests.

BibTeX
@inproceedings{liu-etal-2024-shield,
    title = "{SHIELD}: Evaluation and Defense Strategies for Copyright Compliance in {LLM} Text Generation",
    author = "Liu, Xiaoze  and
      Sun, Ting  and
      Xu, Tianyang  and
      Wu, Feijie  and
      Wang, Cunxiang  and
      Wang, Xiaoqian  and
      Gao, Jing",
    editor = "Al-Onaizan, Yaser  and
      Bansal, Mohit  and
      Chen, Yun-Nung",
    booktitle = "Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing",
    month = nov,
    year = "2024",
    address = "Miami, Florida, USA",
    publisher = "Association for Computational Linguistics",
    url = "https://aclanthology.org/2024.emnlp-main.98/",
    doi = "10.18653/v1/2024.emnlp-main.98",
    pages = "1640--1670"
}
SHIELD: Evaluation and Defense Strategies for Copyright Compliance in LLM Text Generation · EMNLP 2024