arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2405.14057cs.CLcs.AI
收藏

您的大型语言模型正在留下指纹

Your Large Language Models Are Leaving Fingerprints

Cambridge Computer Lab(剑桥计算机实验室);Duke University(杜克大学);Grammarly(Grammarly公司);NVIDIA(英伟达公司)

Hope McGovern, Rickard Stureborg, Yoshi Suhara, Dimitris Alikaniotis

AI总结:

研究发现大型语言模型在生成文本中留下可检测的独特指纹,基于n-gram和词性特征的简单分类器即可稳健识别机器文本,且指纹跨领域稳定并受训练数据影响。

摘要:

已有研究表明,微调后的Transformer和其他监督检测器在某些情况下能有效区分人类与机器生成的文本(arXiv:2305.13242),但我们发现,即使基于n-gram和词性特征的简单分类器,也能在领域内和领域外数据上实现非常稳健的性能。为理解这一现象,我们分析了五个数据集中的机器生成输出文本,发现大型语言模型(LLMs)具有独特的指纹,这些指纹表现为某些词汇和形态句法特征频率的细微差异。我们展示了如何可视化这些指纹,描述了如何利用它们检测机器生成的文本,并发现这些指纹在跨文本领域时依然稳健。我们还发现,同一模型家族中的指纹通常具有持久性(例如llama-13b与llama-65b),且针对聊天进行微调的模型比标准语言模型更容易被检测,这表明LLM指纹可能直接由训练数据诱导产生。

英文摘要:

It has been shown that finetuned transformers and other supervised detectors effectively distinguish between human and machine-generated text in some situations arXiv:2305.13242, but we find that even simple classifiers on top of n-gram and part-of-speech features can achieve very robust performance on both in- and out-of-domain data. To understand how this is possible, we analyze machine-generated output text in five datasets, finding that LLMs possess unique fingerprints that manifest as slight differences in the frequency of certain lexical and morphosyntactic features. We show how to visualize such fingerprints, describe how they can be used to detect machine-generated text and find that they are even robust across textual domains. We find that fingerprints are often persistent across models in the same model family (e.g. llama-13b vs. llama-65b) and that models fine-tuned for chat are easier to detect than standard language models, indicating that LLM fingerprints may be directly induced by the training data.

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

↑