arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2602.06754cs.CRcs.AIcs.LG
收藏

为大语言模型设计统一的水印框架

A Unified Framework for LLM Watermarks

ETH Zürich(苏黎世联邦理工学院)

Thibaud Gloaguen, Robin Staab, Nikola Jovanović, Martin Vechev

AI总结:

本文提出了一种统一的框架,通过约束优化问题统一现有大语言模型水印方法,并揭示质量-多样性-功率的权衡,同时为设计新型水印方案提供系统性方法。

摘要:

大语言模型水印允许通过在生成内容中插入可检测信号来追踪人工智能生成的文本。近期的研究提出了多种水印算法,每种都有不同的设计,通常采用自底向上的方法。关键的是,目前还没有一个通用且系统性的框架用于大语言模型水印。在本文中,我们证明大多数现有且广泛使用的水印方案实际上可以由一个系统性的约束优化问题推导出来。我们的框架统一了现有的水印方法,并明确揭示了每个方法所优化的约束条件。特别是,它突显了一个被忽视的质量-多样性-功率权衡问题。同时,我们的框架还提供了一种系统性的方法,用于设计针对特定需求的新型水印方案。例如,它允许我们直接使用困惑度作为质量的代理,从而推导出针对此约束最优的新方案。我们的实验评估验证了我们的框架:从给定约束推导出的水印方案在该约束下一致地最大化检测能力。

英文摘要:

LLM watermarks allow tracing AI-generated texts by inserting a detectable signal into their generated content. Recent works have proposed a wide range of watermarking algorithms, each with distinct designs, usually built using a bottom-up approach. Crucially, there is no general and principled formulation for LLM watermarking. In this work, we show that most existing and widely used watermarking schemes can in fact be derived from a principled constrained optimization problem. Our formulation unifies existing watermarking methods and explicitly reveals the constraints that each method optimizes. In particular, it highlights an understudied quality-diversity-power trade-off. At the same time, our framework also provides a principled approach for designing novel watermarking schemes tailored to specific requirements. For instance, it allows us to directly use perplexity as a proxy for quality, and derive new schemes that are optimal with respect to this constraint. Our experimental evaluation validates our framework: watermarking schemes derived from a given constraint consistently maximize detection power with respect to that constraint.

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

↑