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

从文本到来源:检测大型语言模型生成内容的结果

From Text to Source: Results in Detecting Large Language Model-Generated Content

Inria(法国国家信息与自动化研究所)

Wissam Antoun, Benoît Sagot, Djamé Seddah

AI总结:

本文研究了跨模型检测和模型归因方法,发现分类器有效性与模型规模呈反比,在相似规模数据上训练可提升大模型检测效果,模型归因实验在识别源模型、家族及水印检测上表现优异。

摘要:

大型语言模型(LLMs)因其生成类人文本的能力而受到广泛赞誉,但其广泛使用也引发了对虚假信息和伦理影响的担忧。为了解决这些担忧,必须开发稳健的方法来检测和归因由LLMs生成的文本。本文研究了“跨模型检测”,即评估一个为区分源LLM生成文本和人类撰写文本而训练的分类器,是否能在无需进一步训练的情况下检测来自目标LLM的文本。该研究全面探索了各种LLM规模和家族,并评估了对话微调技术、量化和水印对分类器泛化能力的影响。研究还探讨了模型归因,包括源模型识别、模型家族和模型规模分类,以及量化和水印检测。我们的结果揭示了几个关键发现:分类器有效性与模型规模之间存在明显的反比关系,较大的LLMs更难被检测到,尤其是当分类器在来自较小模型的数据上训练时。在来自相似规模LLMs的数据上训练可以提高对较大模型的检测性能,但在处理较小模型时可能导致性能下降。此外,模型归因实验在识别源模型和模型家族方面显示出有希望的结果,突显了LLM生成文本中可检测的签名,水印检测方面结果尤为显著,而未观察到量化的可检测签名。总体而言,我们的研究为LLM检测和归因中模型规模、家族与训练数据之间的相互作用提供了有价值的见解。

英文摘要:

The widespread use of Large Language Models (LLMs), celebrated for their ability to generate human-like text, has raised concerns about misinformation and ethical implications. Addressing these concerns necessitates the development of robust methods to detect and attribute text generated by LLMs. This paper investigates "Cross-Model Detection," by evaluating whether a classifier trained to distinguish between source LLM-generated and human-written text can also detect text from a target LLM without further training. The study comprehensively explores various LLM sizes and families, and assesses the impact of conversational fine-tuning techniques, quantization, and watermarking on classifier generalization. The research also explores Model Attribution, encompassing source model identification, model family, and model size classification, in addition to quantization and watermarking detection. Our results reveal several key findings: a clear inverse relationship between classifier effectiveness and model size, with larger LLMs being more challenging to detect, especially when the classifier is trained on data from smaller models. Training on data from similarly sized LLMs can improve detection performance from larger models but may lead to decreased performance when dealing with smaller models. Additionally, model attribution experiments show promising results in identifying source models and model families, highlighting detectable signatures in LLM-generated text, with particularly remarkable outcomes in watermarking detection, while no detectable signatures of quantization were observed. Overall, our study contributes valuable insights into the interplay of model size, family, and training data in LLM detection and attribution.

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

↑