arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.22810cs.CLcs.CR
收藏

可水印性:测量和改进语言模型与基于logit的水印的兼容性

Watermarkability: Measuring and Improving Language-Model Compatibility with Logit-Based Watermarks

University of Minnesota(明尼苏达大学);Oakland University(奥克兰大学);Princeton University(普林斯顿大学)

Zewei Deng, Mohamed Seif, Liyan Xie

AI总结:

该研究提出“可水印性”指标表征模型与基于logit的水印的兼容性,通过两阶段方法降低可水印性代价,在OPT-125M和Qwen3-8B上验证了该方法可显著降低PPL并提升目标标记集的采样可靠性。

摘要:

语言模型水印可用于识别模型生成的文本、编码来源信息以及检测生成后的编辑。一大类基于logit的水印会在每个解码步骤中增加指定标记集的logit。由于基础模型在该集合上的原生概率质量会随上下文、模型和水印规则变化,相同的logit偏置会产生不同的 adherence 率和困惑度(PPL)提升。我们引入“可水印性”来表征模型与水印所请求的标记集之间的兼容性。在目标质量τ处,我们通过可水印性代价来量化该属性:为给请求集合分配至少τ的概率所需的、与基础模型分布的预期最小KL散度。代价越低,模型对该请求分布的可水印性越高。为降低该代价,我们提出一种两阶段方法:第一阶段,在从16路词汇划分中抽取的并集上训练目标集合条件低秩适配器,以增加请求集合的概率质量;第二阶段,闭式控制器应用达到目标质量所需的最小剩余均匀logit偏置。我们在OPT-125M和Qwen3-8B上使用6种水印调度评估该方法。在12个模型-调度对中,适配前的可水印性代价与近硬固定偏置基线下的log-PPL提升相关(合并皮尔逊r=0.929)。对于每个调度,至少99.80%的采样标记落在其解码步骤所请求的目标集合中。在该可靠性下,与固定偏置基线相比,适配器和控制器将OPT-125M上每个调度的平均提示条件PPL降低46.3%,将Qwen3-8B上的该值降低5.2%。

英文摘要:

Language-model watermarks can help identify model-generated text, encode provenance information, and detect post-generation edits. A broad class of logit-based watermarks increases the logits of a designated token set at each decoding step. Because a base model's native probability mass on this set varies across contexts, models, and watermark rules, the same logit bias can yield different adherence rates and increases in perplexity (PPL). We introduce watermarkability to characterize the compatibility between a model and the token sets requested by a watermark. At a target mass $τ$, we quantify this property through a watermarkability cost: the expected minimum KL divergence from the base-model distribution required to assign probability at least $τ$ to the requested set. A lower cost means that the model is more watermarkable for that request distribution. To reduce this cost, we propose a two-stage method. In the first stage, we train a target-set-conditioned low-rank adapter on unions drawn from a 16-way vocabulary partition to increase the requested set's probability mass. In the second stage, a closed-form controller applies the smallest remaining uniform logit bias needed to reach the target mass. We evaluate the method on six watermark schedules using OPT-125M and Qwen3-8B. Across the 12 model-schedule pairs, the pre-adaptation watermarkability cost correlates with the log-PPL increase under a near-hard fixed-bias baseline (pooled Pearson $r=0.929$). For every schedule, at least 99.80% of sampled tokens fall in the target set requested at their decoding step. At this reliability, the adapter and controller reduce average per-schedule prompt-conditional PPL by 46.3% on OPT-125M and 5.2% on Qwen3-8B relative to the fixed-bias baseline.

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

↑