MergePrint: Merge-Resistant Fingerprints for Robust Black-box Ownership Verification of Large Language Models
Shojiro Yamabe, Futa Waseda, Tsubasa Takahashi, Koki Wataoka
TL;DR
MergePrint tackles the model-merging threat to LLM IP by embedding merge-resistant fingerprints that enable black-box ownership verification. It optimizes fingerprint inputs and embeddings against a pseudo-merged model, formalized through $\tilde{\theta}_{m} = \theta_{b} + \alpha(\theta_{o} - \theta_{b})$ and a two-step process (OptI/OptP) to maximize merge resistance while preserving performance. Empirically, MergePrint achieves high verification success across diverse merging methods and remains robust under fine-tuning, pruning, quantization, and inference-time hyperparameters, all with efficient embedding times. This work offers a practical, scalable approach for protecting LLM IP in black-box deployment, balancing security with utility and confidentiality.
Abstract
Protecting the intellectual property of Large Language Models (LLMs) has become increasingly critical due to the high cost of training. Model merging, which integrates multiple expert models into a single multi-task model, introduces a novel risk of unauthorized use of LLMs due to its efficient merging process. While fingerprinting techniques have been proposed for verifying model ownership, their resistance to model merging remains unexplored. To address this gap, we propose a novel fingerprinting method, MergePrint, which embeds robust fingerprints capable of surviving model merging. MergePrint enables black-box ownership verification, where owners only need to check if a model produces target outputs for specific fingerprint inputs, without accessing model weights or intermediate outputs. By optimizing against a pseudo-merged model that simulates merged behavior, MergePrint ensures fingerprints that remain detectable after merging. Additionally, to minimize performance degradation, we pre-optimize the fingerprint inputs. MergePrint pioneers a practical solution for black-box ownership verification, protecting LLMs from misappropriation via merging, while also excelling in resistance to broader model theft threats.
