Saved in:
Bibliographic Details
Main Authors: Yan, Yuliang, Tang, Haochun, Yan, Shuo, Dai, Enyan
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2505.16530
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911412552466432
author Yan, Yuliang
Tang, Haochun
Yan, Shuo
Dai, Enyan
author_facet Yan, Yuliang
Tang, Haochun
Yan, Shuo
Dai, Enyan
contents Large language models (LLMs) are considered valuable Intellectual Properties (IP) for legitimate owners due to the enormous computational cost of training. It is crucial to protect the IP of LLMs from malicious stealing or unauthorized deployment. Despite existing efforts in watermarking and fingerprinting LLMs, these methods either impact the text generation process or are limited in white-box access to the suspect model, making them impractical. Hence, we propose DuFFin, a novel $\textbf{Du}$al-Level $\textbf{Fin}$gerprinting $\textbf{F}$ramework for black-box setting ownership verification. DuFFin extracts the trigger pattern and the knowledge-level fingerprints to identify the source of a suspect model. We conduct experiments on a variety of models collected from the open-source website, including four popular base models as protected LLMs and their fine-tuning, quantization, and safety alignment versions, which are released by large companies, start-ups, and individual users. Results show that our method can accurately verify the copyright of the base protected LLM on their model variants, achieving the IP-ROC metric greater than 0.95. Our code is available at https://github.com/yuliangyan0807/llm-fingerprint.
format Preprint
id arxiv_https___arxiv_org_abs_2505_16530
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle DuFFin: A Dual-Level Fingerprinting Framework for LLMs IP Protection
Yan, Yuliang
Tang, Haochun
Yan, Shuo
Dai, Enyan
Cryptography and Security
Artificial Intelligence
Computation and Language
Large language models (LLMs) are considered valuable Intellectual Properties (IP) for legitimate owners due to the enormous computational cost of training. It is crucial to protect the IP of LLMs from malicious stealing or unauthorized deployment. Despite existing efforts in watermarking and fingerprinting LLMs, these methods either impact the text generation process or are limited in white-box access to the suspect model, making them impractical. Hence, we propose DuFFin, a novel $\textbf{Du}$al-Level $\textbf{Fin}$gerprinting $\textbf{F}$ramework for black-box setting ownership verification. DuFFin extracts the trigger pattern and the knowledge-level fingerprints to identify the source of a suspect model. We conduct experiments on a variety of models collected from the open-source website, including four popular base models as protected LLMs and their fine-tuning, quantization, and safety alignment versions, which are released by large companies, start-ups, and individual users. Results show that our method can accurately verify the copyright of the base protected LLM on their model variants, achieving the IP-ROC metric greater than 0.95. Our code is available at https://github.com/yuliangyan0807/llm-fingerprint.
title DuFFin: A Dual-Level Fingerprinting Framework for LLMs IP Protection
topic Cryptography and Security
Artificial Intelligence
Computation and Language
url https://arxiv.org/abs/2505.16530