English

Instructional Fingerprinting of Large Language Models

Cryptography and Security 2024-04-04 v2 Artificial Intelligence Computation and Language Machine Learning

Abstract

The exorbitant cost of training Large language models (LLMs) from scratch makes it essential to fingerprint the models to protect intellectual property via ownership authentication and to ensure downstream users and developers comply with their license terms (e.g. restricting commercial use). In this study, we present a pilot study on LLM fingerprinting as a form of very lightweight instruction tuning. Model publisher specifies a confidential private key and implants it as an instruction backdoor that causes the LLM to generate specific text when the key is present. Results on 11 popularly-used LLMs showed that this approach is lightweight and does not affect the normal behavior of the model. It also prevents publisher overclaim, maintains robustness against fingerprint guessing and parameter-efficient training, and supports multi-stage fingerprinting akin to MIT License. Code is available in https://cnut1648.github.io/Model-Fingerprint/.

Keywords

Cite

@article{arxiv.2401.12255,
  title  = {Instructional Fingerprinting of Large Language Models},
  author = {Jiashu Xu and Fei Wang and Mingyu Derek Ma and Pang Wei Koh and Chaowei Xiao and Muhao Chen},
  journal= {arXiv preprint arXiv:2401.12255},
  year   = {2024}
}

Comments

Accepted at NAACL 2024; 30 pages