Watermarking Datasets for LLM Fine-tuning
Large language models (LLMs) are typically pre-trained on massive-scale data and then fine-tuned on specialized datasets for downstream applications. Determining whether a model has been fine-tuned on a particular dataset is crucial for dataset owners to protect their copyrights. However, there is a lack of effective methods for safeguarding datasets used in LLM fine-tuning. This paper proposes a robust watermarking scheme that inserts tokens representing watermark information into datasets without altering their original semantics. When these watermarked datasets are used for fine-tuning, the watermark can be reliably extracted from the model’s generated outputs. Experiments show that models fine-tuned on our watermarked dataset successfully reveal the watermark in their outputs while maintaining performance comparable to those trained on non-watermarked datasets. When the fine-tuning dataset is entirely embedded with our watermark, the extraction success rate from the generated outputs during inference reaches up to 97.4%.
Authors
- Kejiang Chen (ORCID: https://orcid.org/0000-0002-9868-3414)
- Xi Yang (ORCID: https://orcid.org/0000-0002-8600-2570)
- Jing Qiu (ORCID: https://orcid.org/0000-0003-4202-7802)
- Nenghai Yu (ORCID: https://orcid.org/0000-0003-4417-9316)
- Weiming Zhang (ORCID: https://orcid.org/0000-0002-3782-2855)
- Shuai Li (ORCID: https://orcid.org/0000-0001-8316-5289)
Institutions
- University of Science and Technology of China (CN)
- Jinan University (CN)
Publication Details
- Published
- 2025-03-12
- DOI
- https://doi.org/10.1109/icassp49660.2025.10889741
- Citations
- 4
- Primary Topic
- Digital Rights Management and Security
- Type
- article
- Field-Weighted Citation Impact
- 12.98