QuantileMark:一种消息对称的多比特水印用于大语言模型
QuantileMark: A Message-Symmetric Multi-bit Watermark for LLMs
AI总结:
QuantileMark通过在连续累积概率区间[0,1)内嵌入信息,实现消息对称的多比特水印,提升水印检测的鲁棒性和生成质量的稳定性。
摘要:
随着大语言模型成为内容生成的标准后端,实际溯源日益需要多比特水印。在提供商内部部署中,关键要求是消息对称性:消息本身不应系统地影响文本质量和验证结果。词汇分区水印在低熵解码中会破坏消息对称性:某些消息被分配了大部分概率质量,而其他则被迫使用尾部标记。这使得嵌入质量和消息解码准确性依赖于消息。我们提出了QuantileMark,一种白盒多比特水印,将信息嵌入到连续累积概率区间[0,1)中。在每一步,QuantileMark将此区间分成M等质量的bin,并严格从分配给目标符号的bin中采样,确保固定1/M的概率预算,无论上下文熵如何。对于检测,验证者在教师强迫下重建相同的分区,计算潜在bin的后验,并聚合验证证据。我们证明了消息无偏性,这是一种确保在平均消息下恢复基础分布的性质。这为生成端的对称性提供了理论基础,而等质量设计还促进了检测端消息的均匀证据强度。在C4延续和LFQA上的实验证明,QuantileMark在多比特恢复和检测鲁棒性方面优于强基线,对生成质量影响微乎其微。我们的代码可在GitHub(https://github.com/zzzjunlin/QuantileMark)上获得。
英文摘要:
As large language models become standard backends for content generation, practical provenance increasingly requires multi-bit watermarking. In provider-internal deployments, a key requirement is message symmetry: the message itself should not systematically affect either text quality or verification outcomes. Vocabulary-partition watermarks can break message symmetry in low-entropy decoding: some messages are assigned most of the probability mass, while others are forced to use tail tokens. This makes embedding quality and message decoding accuracy message-dependent. We propose QuantileMark, a white-box multi-bit watermark that embeds messages within the continuous cumulative probability interval $[0, 1)$. At each step, QuantileMark partitions this interval into $M$ equal-mass bins and samples strictly from the bin assigned to the target symbol, ensuring a fixed $1/M$ probability budget regardless of context entropy. For detection, the verifier reconstructs the same partition under teacher forcing, computes posteriors over latent bins, and aggregates evidence for verification. We prove message-unbiasedness, a property ensuring that the base distribution is recovered when averaging over messages. This provides a theoretical foundation for generation-side symmetry, while the equal-mass design additionally promotes uniform evidence strength across messages on the detection side. Empirical results on C4 continuation and LFQA show improved multi-bit recovery and detection robustness over strong baselines, with negligible impact on generation quality. Our code is available at GitHub (https://github.com/zzzjunlin/QuantileMark).
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。