Watermarking LLM-Generated Datasets in Downstream Tasks
Authors:
Preprint
Abstract
Large Language Models (LLMs) have experienced rapid advancements, with applications spanning a wide range of fields, including sentiment classification, review generation, and question answering. Due to their efficiency and versatility, researchers and companies increasingly employ LLM-generated data to train their models. However, the inability to track content produced by LLMs poses a significant challenge, potentially leading to copyright infringement for the LLM owners. In this paper, we propose a method for injecting watermarks into LLM-generated datasets, enabling the tracking of downstream tasks to detect whether these datasets were produced using the original LLM. These downstream tasks can be divided into two categories. The first involves using the generated datasets at the input level, commonly for training classification tasks. The other is the output level, where model trainers use LLM-generated content as output for downstream tasks, such as question-answering tasks. We design a comprehensive set of experiments to evaluate both watermark methods. Our results indicate the high effectiveness of our watermark approach. Additionally, regarding model utility, we find that classifiers trained on the generated datasets achieve a test accuracy exceeding 0.900 in many cases, suggesting that the utility of such models remains robust. For the output-level watermark, we observe that the quality of the generated text is comparable to that produced using real-world datasets. Through our research, we aim to advance the protection of LLM copyrights, taking a significant step forward in safeguarding intellectual property in this domain.Keywords
All Related Versions
This publication has 8 references indexed in Scilit:
- Robustness Over Time: Understanding Adversarial Examples’ Effectiveness on Longitudinal Versions of Large Language ModelsIEEE Transactions on Information Forensics and Security, 2026
- Improved Baselines with Visual Instruction Tuning2024
- A Robust Semantics-based Watermark for Large Language Model against Paraphrasing2024
- Efficient Memory Management for Large Language Model Serving with PagedAttention2023
- What In-Context Learning “Learns” In-Context: Disentangling Task Recognition and Task Learning2023
- Backdoor Attacks Against Dataset Distillation2023
- DialogSum: A Real-Life Scenario Dialogue Summarization Dataset2021
- Adversarial frontier stitching for remote neural network watermarkingNeural Computing and Applications, 2019