Leave No TRACE: Black-box Detection of Copyrighted Dataset Usage in Large Language Models via Watermarking
On the map: LLM safety and security → Watermarking generated content and models
Abstract (arXiv)
Large Language Models (LLMs) are increasingly fine-tuned on smaller, domain-specific datasets to improve downstream performance. These datasets often contain proprietary or copyrighted material, raising the need for reliable safeguards against unauthorized use. Existing membership inference attacks (MIAs) and dataset-inference methods typically require access to internal signals such as logits, while current black-box approaches often rely on handcrafted prompts or a clean reference dataset for calibration, both of which limit practical applicability. Watermarking is a promising alternative, but prior techniques can degrade text quality or reduce task performance. We propose TRACE, a practical framework for fully black-box detection of copyrighted dataset usage in LLM fine-tuning. textttTRACE rewrites datasets with distortion-free watermarks guided by a private key, ensuring both text quality and downstream utility. At detection time, we exploit the radioactivity effect of fine-tuning on watermarked data and introduce an entropy-gated procedure that selectively scores high-uncertainty tokens, substantially amplifying detection power. Across diverse datasets and model families, TRACE consistently achieves significant detections (p<0.05), often with extremely strong statistical evidence. Furthermore, it supports multi-dataset attribution and remains robust even after continued pretraining on large non-watermarked corpora. These results establish TRACE as a practical route to reliable black-box verification of copyrighted dataset usage. We will make our code available at: https://github.com/NusIoraPrivacy/TRACE.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Watermarking generated content and models, one of 12 directions in LLM safety and security. Builds on 29 of its 41 references that are in the map. First posted on arXiv 3 Oct 2025.
Builds on
29 of 41 references.
Closest ancestors · 5
Same direction, newest first
- 2025Improved Unbiased Watermark for Large Language Models16 Feb
- 2024Waterfall: Framework for Robust and Scalable Text Watermarking and Provenance for LLMs5 Jul
- 2024Watermarking Makes Language Models Radioactive22 Feb
- 2024Proving membership in LLM pretraining data via data watermarks16 Feb
- 2023A Watermark for Large Language Models24 Jan
Other references · 24
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2019BERTScore: Evaluating Text Generation with BERTcited by 5,512
- 2018Think you have Solved Question Answering? Try ARC, the AI2 Reasoning Challengecited by 4,886
- 2021Finetuned Language Models Are Zero-Shot Learnerscited by 3,780
- 2022Training Compute-Optimal Large Language Modelscited by 3,019
- 2016Membership Inference Attacks against Machine Learning Modelscited by 2,281
- 2020Extracting Training Data from Large Language Modelscited by 2,189
- 2022LaMDA: Language Models for Dialog Applicationscited by 1,220
- 2023Detecting Pretraining Data from Large Language Modelscited by 387
- 2024Large Language Models for Education: A Survey and Outlookcited by 188
12 more
- 2022Quantifying Privacy Risks of Masked Language Models Using Membership Inference Attackscited by 175
- 2021On the Importance of Difficulty Calibration in Membership Inference Attackscited by 147
- 2019A Question-Entailment Approach to Question Answeringcited by 134
- 2023Speak, Memory: An Archaeology of Books Known to ChatGPT/GPT-4cited by 125
- 2023Foundation Models and Fair Usecited by 116
- 2024LLM Dataset Inference: Did you train on my dataset?cited by 110
- 2023Copyright Violations and Large Language Modelscited by 108
- 2024DE-COP: Detecting Copyrighted Content in Language Models Training Datacited by 74
- 2023Did the Neurons Read your Book? Document-level Membership Inference for Large Language Modelscited by 56
- 2024Copyright Traps for Large Language Modelscited by 37
- 2021Paraphrastic Representations at Scalecited by 21
- 2025STAMP Your Content: Proving Dataset Membership via Watermarked Rephrasingscited by 8
Built on by
Citing papers per year: 2025: 2; 2026: 3.
5 papers.
- 2026TextSeal: A Localized LLM Watermark for Provenance & Distillation Protectioncited by 5
- 2025How Good is Post-Hoc Watermarking With Language Model Rephrasing?cited by 2
- 2026More Haste, Less Speed: Weaker Single-Layer Watermark Improves Distortion-Free Watermark Ensemblescited by 2
- 2025TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidancecited by 1
- 2026Dataset Watermarking with Provable Black-Box Detectioncited by 0
- 2026TextSeal: A Localized LLM Watermark for Provenance & Distillation Protection12 May 2026
- 2026Dataset Watermarking with Provable Black-Box Detection7 May 2026
- 2026More Haste, Less Speed: Weaker Single-Layer Watermark Improves Distortion-Free Watermark Ensembles12 Feb 2026
- 2025How Good is Post-Hoc Watermarking With Language Model Rephrasing?18 Dec 2025
- 2025TokenPure: Watermark Removal through Tokenized Appearance and Structural Guidance1 Dec 2025
Similar, not cited
Close in wording, no citation either way
- 2024Can Watermarking Large Language Models Prevent Copyrighted Text Generation and Hide Training Data?
- 2026Watermarking for Proprietary Dataset Protection
- 2024A Watermark for Black-Box Language Models
- 2025Mark Your LLM: Detecting the Misuse of Open-Source Large Language Models via Watermarking
- 2025A Statistical Hypothesis Testing Framework for Data Misappropriation Detection in Large Language Models
- 2023Baselines for Identifying Watermarked Large Language Models
- 2025Data Provenance Auditing of Fine-Tuned Large Language Models with a Text-Preserving Technique
- 2025LexiMark: Robust Watermarking via Lexical Substitutions to Enhance Membership Verification of an LLM's Textual Training Data