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

基于主题的大型语言模型水印

Topic-Based Watermarks for Large Language Models

Case Western Reserve University(凯斯西储大学);Meta Platforms, Inc(Meta公司)

Alexander Nemecek, Yuzhou Jiang, Erman Ayday

AI总结:

本文提出一种轻量级主题引导的水印方案,通过将词汇库按主题划分,提升水印鲁棒性的同时保持生成文本的流畅性,实验表明其在多个LLM和基准测试中表现优异。

摘要:

大型语言模型(LLM)输出与人类撰写的文本难以区分,带来了AI生成文本可能被滥用的风险。水印算法通过在生成文本中嵌入可检测的签名来解决这一问题。然而,现有水印方法在攻击鲁棒性、生成质量及附加开销之间存在权衡。本文提出一种轻量级、基于主题的水印方案,将词汇库划分为与主题对齐的token子集。在输入提示下,该方案选择相关主题特定的token列表,有效“绿色列表”语义对齐的token以嵌入稳健的标记,同时保持流畅和连贯性。在多个LLM和最先进的基准测试中,实验结果表明,该方法在文本质量上与行业领先系统相当,并同时提高了对改写和词汇扰动攻击的水印鲁棒性,且性能开销极低。本文方法不依赖额外机制,仅需标准文本生成管道即可实现,为全球一致的AI生成内容水印提供了一条实用路径。

英文摘要:

The indistinguishability of large language model (LLM) output from human-authored content poses significant challenges, raising concerns about potential misuse of AI-generated text and its influence on future model training. Watermarking algorithms offer a viable solution by embedding detectable signatures into generated text. However, existing watermarking methods often involve trade-offs among attack robustness, generation quality, and additional overhead such as specialized frameworks or complex integrations. We propose a lightweight, topic-guided watermarking scheme for LLMs that partitions the vocabulary into topic-aligned token subsets. Given an input prompt, the scheme selects a relevant topic-specific token list, effectively "green-listing" semantically aligned tokens to embed robust marks while preserving fluency and coherence. Experimental results across multiple LLMs and state-of-the-art benchmarks demonstrate that our method achieves text quality comparable to industry-leading systems and simultaneously improves watermark robustness against paraphrasing and lexical perturbation attacks, with minimal performance overhead. Our approach avoids reliance on additional mechanisms beyond standard text generation pipelines, enabling straightforward adoption and suggesting a practical path toward globally consistent watermarking of AI-generated content.

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

↑