arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2503.01659cs.CL
收藏

检测大型语言模型的风格指纹

Detecting Stylistic Fingerprints of Large Language Models

Copyleaks

Yehonatan Bitton, Elad Bitton, Shai Nisan

AI总结:

本文提出一种基于风格指纹的LLM检测集成方法,通过三个不同架构分类器的一致预测,在区分Claude、Gemini、Llama和OpenAI等模型生成的文本时实现了0.9988的高精确度和0.0004的低假阳性率。

摘要:

大型语言模型(LLMs)具有独特且一致的风格指纹,即使在被提示以不同写作风格进行写作时也是如此。检测这些指纹非常重要,原因众多,其中包括保护知识产权、确保AI生成内容的透明度以及防止AI技术的滥用。在本文中,我们提出了一种基于生成文本的模型风格指纹对文本进行分类的新方法。我们引入了一个LLM检测集成系统,该系统由三个具有不同架构和训练数据的分类器组成。该集成系统被训练用于对由四个知名LLM系列生成的文本进行分类:Claude、Gemini、Llama和OpenAI。由于此任务高度敏感且可能产生严重影响,我们希望最小化假阳性并提高置信度。当集成系统中的三个分类器在输出分类上达成一致时,我们才认为该预测是有效的。我们的集成系统在由Claude、Gemini、Llama和OpenAI模型生成的文本测试集上进行了验证,并实现了极高的精确度(0.9988)和极低的假阳性率(0.0004)。此外,我们展示了该集成系统区分已见和未见模型生成文本的能力。这揭示了模型之间有趣的风格关系。这种风格分析方法对于验证AI生成文本的原创性和追踪模型训练技术的来源具有重要意义。

英文摘要:

Large language models (LLMs) have distinct and consistent stylistic fingerprints, even when prompted to write in different writing styles. Detecting these fingerprints is important for many reasons, among them protecting intellectual property, ensuring transparency regarding AI-generated content, and preventing the misuse of AI technologies. In this paper, we present a novel method to classify texts based on the stylistic fingerprints of the models that generated them. We introduce an LLM-detection ensemble that is composed of three classifiers with varied architectures and training data. This ensemble is trained to classify texts generated by four well-known LLM families: Claude, Gemini, Llama, and OpenAI. As this task is highly cost-sensitive and might have severe implications, we want to minimize false-positives and increase confidence. We consider a prediction as valid when all three classifiers in the ensemble unanimously agree on the output classification. Our ensemble is validated on a test set of texts generated by Claude, Gemini, Llama, and OpenAI models, and achieves extremely high precision (0.9988) and a very low false-positive rate (0.0004). Furthermore, we demonstrate the ensemble's ability to distinguish between texts generated by seen and unseen models. This reveals interesting stylistic relationships between models. This approach to stylistic analysis has implications for verifying the originality of AI-generated texts and tracking the origins of model training techniques.

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

↑