嫁祸于人:无密钥的多比特LLM水印的认证目标位移攻击
Pin It on Anyone: Certified Targeted Displacement of Multi-Bit LLM Watermarks Without the Key
AI总结:
本文提出无密钥的多比特LLM水印目标位移攻击,通过少量账户改写文本以替换嵌入的水印消息,经实验验证该攻击在多数场景下可高成功率实现。
摘要:
多比特水印将一条消息(通常是账户标识符)嵌入大型语言模型(LLM)的输出中,以便将有害文本追溯到其来源。本文展示了一种可修改水印消息的攻击技术,例如将嵌入的账户ID替换为任意不同的ID。攻击者主要需要访问少量账户以生成LLM输出和模型logits,但关键是不需要水印所用的密钥。随后攻击者改写文本,同时保留其含义,使得水印消息解码器恢复攻击者嵌入的水印消息。据我们所知,我们是首个提出此类攻击的团队,将其命名为目标位移攻击。理论上,我们给出了该攻击成功概率的上下界,该界取决于攻击者可访问的账户数量、消息长度以及给定文本的某些特征。只要能足够好地限定生成文本的歧义性,我们的攻击即可成功。实验中,我们针对五种水印方法和四种LLM测试了该攻击技术,攻击成功率与我们预测的界值相符,在拥有足够账户的情况下,几乎所有案例中都能以高准确率修改水印消息。我们的代码可在该https URL获取。
英文摘要:
Multi-bit watermarking embeds a message, typically an account identifier, into LLM output so that harmful text can be traced to its origin. We show an attack technique that allows to alter the watermarking message. This allows to, for example, exchange the embedded account ID to an arbitrary different one. The attacker mainly needs access to a few accounts for generating LLM output and model logits, but crucially not the secret key used to watermark. The attacker then rewrites the text, keeping its meaning, so that the watermarking message decoder recovers the watermarking message embedded by the attacker. We are, to our knowledge, the first to propose such an attack, which we call a targeted displacement. Theoretically, we present upper and lower bounds on the probability of our attack succeeding. This bound depends on the number of accounts the attacker has access to, the length of the message and some characteristics of the given text. Our attack can succeed whenever we can bound the ambiguity of the generated text well enough. Empirically, we test our attack technique against five watermarking methods and four LLMs. Attack success tracks our predicted bounds, allowing us to alter watermarking messages in almost all cases with high accuracy, given enough accounts. Our code can be found at https://github.com/Batorskq/PinIt.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。