English

REEF: Representation Encoding Fingerprints for Large Language Models

Computation and Language 2024-10-21 v1 Artificial Intelligence Cryptography and Security

Abstract

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.

Keywords

Cite

@article{arxiv.2410.14273,
  title  = {REEF: Representation Encoding Fingerprints for Large Language Models},
  author = {Jie Zhang and Dongrui Liu and Chen Qian and Linfeng Zhang and Yong Liu and Yu Qiao and Jing Shao},
  journal= {arXiv preprint arXiv:2410.14273},
  year   = {2024}
}
R2 v1 2026-06-28T19:26:59.822Z