arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2312.07930cs.LGcs.CLcs.CRcs.ITmath.ITstat.ML
收藏

迈向最优统计水印

Towards Optimal Statistical Watermarking

University of California, Berkeley(加州大学伯克利分校);Princeton University(普林斯顿大学)

Baihe Huang, Hanlin Zhu, Banghua Zhu, Kannan Ramchandran, Michael I. Jordan, Jason D. Lee, Jiantao Jiao

AI总结:

本文提出将统计水印形式化为假设检验问题,通过令牌与拒绝区域耦合实现最优权衡,并给出近乎最优的样本复杂度速率及鲁棒水印的线性规划刻画。

摘要:

我们通过将统计水印问题形式化为假设检验问题来研究它,这是一个通用框架,涵盖了所有先前的统计水印方法。我们公式的关键在于输出令牌与拒绝区域的耦合,该耦合在实践中通过伪随机生成器实现,允许在类型I错误和类型II错误之间进行非平凡权衡。我们刻画了在一般假设检验设置下的均匀最强大(UMP)水印,以及在模型无关设置下的极小极大类型II错误。在输出为$n$个令牌序列的常见场景中,我们建立了关于所需独立同分布令牌数量的近乎匹配的上下界,以保证较小的类型I和类型II错误。我们的关于每个令牌平均熵$h$的速率$\Theta(h^{-1} \log (1/h))$,凸显了相对于先前工作中$h^{-2}$速率的改进潜力。此外,我们提出了鲁棒水印问题,其中允许用户对生成的文本执行一类扰动,并通过线性规划问题刻画了鲁棒UMP测试的最优类型II错误。据我们所知,这是首次在独立同分布设置下对水印问题进行系统性的统计处理,并达到近乎最优的速率,这可能对未来的工作具有参考意义。

英文摘要:

We study statistical watermarking by formulating it as a hypothesis testing problem, a general framework which subsumes all previous statistical watermarking methods. Key to our formulation is a coupling of the output tokens and the rejection region, realized by pseudo-random generators in practice, that allows non-trivial trade-offs between the Type I error and Type II error. We characterize the Uniformly Most Powerful (UMP) watermark in the general hypothesis testing setting and the minimax Type II error in the model-agnostic setting. In the common scenario where the output is a sequence of $n$ tokens, we establish nearly matching upper and lower bounds on the number of i.i.d. tokens required to guarantee small Type I and Type II errors. Our rate of $Θ(h^{-1} \log (1/h))$ with respect to the average entropy per token $h$ highlights potentials for improvement from the rate of $h^{-2}$ in the previous works. Moreover, we formulate the robust watermarking problem where the user is allowed to perform a class of perturbations on the generated texts, and characterize the optimal Type II error of robust UMP tests via a linear programming problem. To the best of our knowledge, this is the first systematic statistical treatment on the watermarking problem with near-optimal rates in the i.i.d. setting, which might be of interest for future works.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑