Dataset Watermarking with Provable Black-Box Detection

Pengrun Huang, Kamalika Chaudhuri, Yu-Xiang Wang
5/7/2026
cs.LG

No confident code implementation found for this paper.

Abstract

Large Language Models (LLMs) are often pre-trained and post-trained on vast amounts of loosely curated data, and potentially have been trained on proprietary datasets or the benchmarks used for evaluation. This motivates dataset watermarking: designing datasets such that training on them leaves detectable signatures in the resulting model.

Show full abstract

Existing approaches embed watermarks by either injecting artificial content or paraphrasing full examples under token-level generation control, and many require model access beyond generated outputs for detection. Our method embeds a dataset-level watermark by increasing the co-occurrence of randomly selected word pairs through meaning-preserving local edits, and detects it from generated text alone with provable false positive control. We conduct evaluation on four base models and three datasets and show that it reliably detects the watermark ($p <0.01$) in the fine-tuning stage, outperforming existing black-box baselines. Our method remains effective under substantial dilution where watermarked data is less than 5% of fine-tuning tokens. Moreover, our method better preserves benchmark utility and semantic integrity than existing baselines.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{huang2026dataset,
  title  = {Dataset Watermarking with Provable Black-Box Detection},
  author = {Pengrun Huang and Kamalika Chaudhuri and Yu-Xiang Wang},
  year   = {2026},
  eprint = {2605.06865},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2605.06865v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2605.06865.svg)](https://codeofpaper.com/paper/2605.06865)

Discussion