English

Optimal Watermark Generation under Type I and Type II Errors

Methodology 2025-12-08 v1

Abstract

Watermarking has recently emerged as a crucial tool for protecting the intellectual property of generative models and for distinguishing AI-generated content from human-generated data. Despite its practical success, most existing watermarking schemes are empirically driven and lack a theoretical understanding of the fundamental trade-off between detection power and generation fidelity. To address this gap, we formulate watermarking as a statistical hypothesis testing problem between a null distribution and its watermarked counterpart. Under explicit constraints on false-positive and false-negative rates, we derive a tight lower bound on the achievable fidelity loss, measured by a general ff-divergence, and characterize the optimal watermarked distribution that attains this bound. We further develop a corresponding sampling rule that provides an optimal mechanism for inserting watermarks with minimal fidelity distortion. Our result establishes a simple yet broadly applicable principle linking hypothesis testing, information divergence, and watermark generation.

Keywords

Cite

@article{arxiv.2512.05333,
  title  = {Optimal Watermark Generation under Type I and Type II Errors},
  author = {Hengzhi He and Shirong Xu and Alexander Nemecek and Jiping Li and Erman Ayday and Guang Cheng},
  journal= {arXiv preprint arXiv:2512.05333},
  year   = {2025}
}
R2 v1 2026-07-01T08:10:30.993Z