大型语言模型的起源追踪与检测
Origin Tracing and Detecting of LLMs
AI总结:
本文提出LLM起源追踪问题,并设计一种利用模型间对比特征、适用于白盒与黑盒场景的检测算法,可少样本泛化至未知或新型模型。
摘要:
大型语言模型(LLM)的卓越表现,使得检测上下文是否由AI系统生成变得愈发重要。更重要的是,随着越来越多的公司和机构发布各自的LLM,其起源可能难以追踪。由于LLM正迈向AGI时代,类似于人类学中的起源追踪,追踪LLM的起源具有重要意义。本文首先提出了LLM起源追踪这一关注点,并提出了一种追踪和检测AI生成上下文的有效方法。我们引入了一种新颖算法,利用不同LLM之间的对比特征,并提取模型层面的特征来追踪文本起源。所提方法在白盒和黑盒设置下均有效,因此能够广泛泛化以检测各种LLM(例如,可以在没有GPT-3模型的情况下泛化检测GPT-3模型)。此外,与监督学习方法相比,所提方法只需要有限的数据,并且可以扩展以追踪新出现模型的起源。我们构建了大量实验,检验能否追踪给定文本的起源。基于实验结果,我们提供了有价值的观察,例如AI起源追踪的难度等级以及AI起源相似性,并呼吁LLM提供者关注伦理问题。我们将所有代码和数据作为工具包和基准发布,以支持未来的AI起源追踪与检测研究。所有可用资源发布于 https://github.com/OpenLMLab/ 。
英文摘要:
The extraordinary performance of large language models (LLMs) heightens the importance of detecting whether the context is generated by an AI system. More importantly, while more and more companies and institutions release their LLMs, the origin can be hard to trace. Since LLMs are heading towards the time of AGI, similar to the origin tracing in anthropology, it is of great importance to trace the origin of LLMs. In this paper, we first raise the concern of the origin tracing of LLMs and propose an effective method to trace and detect AI-generated contexts. We introduce a novel algorithm that leverages the contrastive features between LLMs and extracts model-wise features to trace the text origins. Our proposed method works under both white-box and black-box settings therefore can be widely generalized to detect various LLMs.(e.g. can be generalized to detect GPT-3 models without the GPT-3 models). Also, our proposed method requires only limited data compared with the supervised learning methods and can be extended to trace new-coming model origins. We construct extensive experiments to examine whether we can trace the origins of given texts. We provide valuable observations based on the experimental results, such as the difficulty level of AI origin tracing, and the AI origin similarities, and call for ethical concerns of LLM providers. We are releasing all codes and data as a toolkit and benchmark for future AI origin tracing and detecting studies. \footnote{We are releasing all available resource at \url{https://github.com/OpenLMLab/}.}
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。