arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.08400cs.CL
收藏

面向大语言模型的文体计量水印

Stylometric Watermarks for Large Language Models

Institute of Interactive Systems and Data Science(交互系统与数据科学研究所);Graz University of Technology(格拉茨工业大学);Know-Center GmbH(Know-Center 有限公司)

Georg Niess, Roman Kern

AI总结:

针对大语言模型生成文本难辨真伪的问题,提出一种融合文体计量学特征、每句更新密钥的新型水印方法,在多场景下实现低误检率,助力专有LLM问责与风险防控。

摘要:

大语言模型(LLMs)的快速发展使得区分人类与机器生成文本的难度日益提升。针对这一问题,我们提出一种新型水印生成方法,该方法在生成过程中策略性地调整token概率。与已有研究不同,本方法独特地运用了文体计量学等语言学特征。具体而言,我们将离合诗(acrostica)和感觉运动规范(sensorimotor norms)引入大语言模型中。此外,这些特征由一个密钥参数化,且密钥每句更新一次。我们采用语义零样本分类来计算该密钥,以此增强鲁棒性。评估结果显示,当文本长度为3句及以上时,本方法的假阳性率和假阴性率均为0.02;在循环翻译攻击场景下,当文本长度为7句及以上时,也能取得相近的效果。本研究对专有大语言模型实现问责制、防范社会危害具有重要价值。

英文摘要:

The rapid advancement of large language models (LLMs) has made it increasingly difficult to distinguish between text written by humans and machines. Addressing this, we propose a novel method for generating watermarks that strategically alters token probabilities during generation. Unlike previous works, this method uniquely employs linguistic features such as stylometry. Concretely, we introduce acrostica and sensorimotor norms to LLMs. Further, these features are parameterized by a key, which is updated every sentence. To compute this key, we use semantic zero shot classification, which enhances resilience. In our evaluation, we find that for three or more sentences, our method achieves a false positive and false negative rate of 0.02. For the case of a cyclic translation attack, we observe similar results for seven or more sentences. This research is of particular of interest for proprietary LLMs to facilitate accountability and prevent societal harm.

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

↑