REEF:面向大语言模型的表示编码指纹
REEF: Representation Encoding Fingerprints for Large Language Models
AI总结:
本文提出免训练的REEF方法,通过比较LLMs特征表示的中心核对齐相似度来识别模型间的衍生关系,在不损害模型能力的同时对微调、剪枝、合并和置换具有鲁棒性,为LLMs知识产权保护提供简单有效的手段。
摘要:
保护开源大语言模型(LLMs)的知识产权非常重要,因为训练LLMs需要耗费大量的计算资源和数据。因此,模型所有者和第三方需要识别某个可疑模型是否是对受害模型的后续开发。为此,我们提出了一种免训练的REEF方法,从LLMs特征表示的角度识别可疑模型与受害模型之间的关系。具体来说,REEF在相同样本上计算并比较可疑模型与受害模型表示之间的中心核对齐相似度。这种免训练的REEF不会损害模型的通用能力,并且对顺序微调、剪枝、模型合并和置换具有鲁棒性。通过这种方式,REEF为第三方和模型所有者共同保护LLMs的知识产权提供了一种简单而有效的方法。代码可在 https://github.com/tmylla/REEF 获取。
英文摘要:
Protecting the intellectual property of open-source Large Language Models (LLMs) is very important, because training LLMs costs extensive computational resources and data. Therefore, model owners and third parties need to identify whether a suspect model is a subsequent development of the victim model. To this end, we propose a training-free REEF to identify the relationship between the suspect and victim models from the perspective of LLMs' feature representations. Specifically, REEF computes and compares the centered kernel alignment similarity between the representations of a suspect model and a victim model on the same samples. This training-free REEF does not impair the model's general capabilities and is robust to sequential fine-tuning, pruning, model merging, and permutations. In this way, REEF provides a simple and effective way for third parties and models' owners to protect LLMs' intellectual property together. The code is available at https://github.com/tmylla/REEF.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。