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

大型语言模型的指纹

A Fingerprint for Large Language Models

Shanghai University(上海大学)

Zhiguang Yang, Hanzhou Wu

AI总结:

本文提出了一种新型黑盒指纹技术,用于检测大型语言模型的侵权行为,通过分析模型输出的向量空间相似性,实现高效且鲁棒的指纹验证。

摘要:

近期进展证实,大型语言模型(LLMs)可以在各种任务上实现最先进的性能。然而,由于从头训练LLMs资源消耗巨大,迫切需要保护LLMs的知识产权免受侵权。这促使本文作者提出了一种新的黑盒指纹技术用于LLMs。我们首先证明LLMs的输出跨越了一个与每个模型相关联的唯一向量空间。我们将指纹认证问题建模为评估受害者模型空间与嫌疑人模型空间相似性的任务。为解决此问题,我们引入了两种解决方案:第一种确定嫌疑人输出是否位于受害者子空间内,从而实现快速侵权检测;第二种重建一个联合子空间以检测通过参数高效微调(PEFT)修改的模型。实验表明,所提出的方法在指纹验证和抗PEFT攻击的鲁棒性方面表现优异。这项工作揭示了LLMs的内在特征,并提供了一种有前景的解决方案来保护LLMs,确保其效率、通用性和实用性。

英文摘要:

Recent advances confirm that large language models (LLMs) can achieve state-of-the-art performance across various tasks. However, due to the resource-intensive nature of training LLMs from scratch, it is urgent and crucial to protect the intellectual property of LLMs against infringement. This has motivated the authors in this paper to propose a novel black-box fingerprinting technique for LLMs. We firstly demonstrate that the outputs of LLMs span a unique vector space associated with each model. We model the problem of fingerprint authentication as the task of evaluating the similarity between the space of the victim model and the space of the suspect model. To tackle with this problem, we introduce two solutions: the first determines whether suspect outputs lie within the victim's subspace, enabling fast infringement detection; the second reconstructs a joint subspace to detect models modified via parameter-efficient fine-tuning (PEFT). Experiments indicate that the proposed method achieves superior performance in fingerprint verification and robustness against the PEFT attacks. This work reveals inherent characteristics of LLMs and provides a promising solution for protecting LLMs, ensuring efficiency, generality and practicality.

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

↑