一种用于无偏语言模型水印的集成框架
An Ensemble Framework for Unbiased Language Model Watermarking
AI总结:
本文提出 ENS 集成框架,通过顺序组合多密钥独立水印实例,在保持无偏性的前提下提升基于 logits 水印的检测能力与攻击鲁棒性。
摘要:
随着大型语言模型能力日益增强并被广泛部署,验证机器生成内容的来源对于确保信任、安全和问责至关重要。水印技术通过在生成过程中嵌入难以察觉的统计信号,已成为一种很有前景的解决方案。其中,无偏水印因其在理论上保证保持语言模型输出分布,从而避免流畅性下降或由分布偏移导致的可检测性降低,而尤其具有吸引力。然而,现有无偏水印方案往往存在检测能力弱和鲁棒性有限的问题,尤其是在文本长度较短或存在分布扰动时。在本工作中,我们提出 ENS,这是一种新颖的集成框架,可在严格保持无偏性的同时,增强基于 logits 的无偏水印的可检测性和鲁棒性。ENS 顺序组合多个独立的水印实例,每个实例由不同的密钥控制,以放大水印信号。我们从理论上证明该集成构造在期望意义上保持无偏,并展示其如何提升统计检测器的信噪比。在多个 LLM 系列上的实证评估表明,ENS 大幅减少了可靠检测所需的 token 数量,并增强了对平滑和改写攻击的抵抗能力,同时不会损害生成质量。
英文摘要:
As large language models become increasingly capable and widely deployed, verifying the provenance of machine-generated content is critical to ensuring trust, safety, and accountability. Watermarking techniques have emerged as a promising solution by embedding imperceptible statistical signals into the generation process. Among them, unbiased watermarking is particularly attractive due to its theoretical guarantee of preserving the language model's output distribution, thereby avoiding degradation in fluency or detectability through distributional shifts. However, existing unbiased watermarking schemes often suffer from weak detection power and limited robustness, especially under short text lengths or distributional perturbations. In this work, we propose ENS, a novel ensemble framework that enhances the detectability and robustness of logits-based unbiased watermarks while strictly preserving their unbiasedness. ENS sequentially composes multiple independent watermark instances, each governed by a distinct key, to amplify the watermark signal. We theoretically prove that the ensemble construction remains unbiased in expectation and demonstrate how it improves the signal-to-noise ratio for statistical detectors. Empirical evaluations on multiple LLM families show that ENS substantially reduces the number of tokens needed for reliable detection and increases resistance to smoothing and paraphrasing attacks without compromising generation quality.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。