Table of Contents
Fetching ...

A Behavioral Fingerprint for Large Language Models: Provenance Tracking via Refusal Vectors

Zhenyu Xu, Victor S. Sheng

TL;DR

This work addresses the challenge of tracing provenance and protecting IP for large language models by introducing refusal-vector fingerprints, a behavior-based signature tied to safety alignment. By contrasting model responses to harmful and harmless prompts across transformer layers, the method derives a $d$-dimensional fingerprint $\hat{\mathbf{f}} \in \mathbb{R}^d$ that remains stable under common derivatives such as quantization, fine-tuning, adapters, and merging, and can identify base families with high accuracy. Notably, the approach achieves 100% Top-1 identification accuracy across 76 derivative models and maintains discriminability under alignment-breaking attacks, where similarity falls yet remains distinct from unrelated families. The paper also proposes a privacy-preserving verification framework combining Locality-Sensitive Hashing (SimHash) and zero-knowledge proofs to enable public validation without exposing weights, enabling provenance auditing in web-scale GenAI deployments. Collectively, this work lays a foundation for intrinsic, verifiable, and scalable governance of AI systems, while outlining practical pathways and limitations toward real-world black-box verification and broader applicability.

Abstract

Protecting the intellectual property of large language models (LLMs) is a critical challenge due to the proliferation of unauthorized derivative models. We introduce a novel fingerprinting framework that leverages the behavioral patterns induced by safety alignment, applying the concept of refusal vectors for LLM provenance tracking. These vectors, extracted from directional patterns in a model's internal representations when processing harmful versus harmless prompts, serve as robust behavioral fingerprints. Our contribution lies in developing a fingerprinting system around this concept and conducting extensive validation of its effectiveness for IP protection. We demonstrate that these behavioral fingerprints are highly robust against common modifications, including finetunes, merges, and quantization. Our experiments show that the fingerprint is unique to each model family, with low cosine similarity between independently trained models. In a large-scale identification task across 76 offspring models, our method achieves 100\% accuracy in identifying the correct base model family. Furthermore, we analyze the fingerprint's behavior under alignment-breaking attacks, finding that while performance degrades significantly, detectable traces remain. Finally, we propose a theoretical framework to transform this private fingerprint into a publicly verifiable, privacy-preserving artifact using locality-sensitive hashing and zero-knowledge proofs.

A Behavioral Fingerprint for Large Language Models: Provenance Tracking via Refusal Vectors

TL;DR

This work addresses the challenge of tracing provenance and protecting IP for large language models by introducing refusal-vector fingerprints, a behavior-based signature tied to safety alignment. By contrasting model responses to harmful and harmless prompts across transformer layers, the method derives a -dimensional fingerprint that remains stable under common derivatives such as quantization, fine-tuning, adapters, and merging, and can identify base families with high accuracy. Notably, the approach achieves 100% Top-1 identification accuracy across 76 derivative models and maintains discriminability under alignment-breaking attacks, where similarity falls yet remains distinct from unrelated families. The paper also proposes a privacy-preserving verification framework combining Locality-Sensitive Hashing (SimHash) and zero-knowledge proofs to enable public validation without exposing weights, enabling provenance auditing in web-scale GenAI deployments. Collectively, this work lays a foundation for intrinsic, verifiable, and scalable governance of AI systems, while outlining practical pathways and limitations toward real-world black-box verification and broader applicability.

Abstract

Protecting the intellectual property of large language models (LLMs) is a critical challenge due to the proliferation of unauthorized derivative models. We introduce a novel fingerprinting framework that leverages the behavioral patterns induced by safety alignment, applying the concept of refusal vectors for LLM provenance tracking. These vectors, extracted from directional patterns in a model's internal representations when processing harmful versus harmless prompts, serve as robust behavioral fingerprints. Our contribution lies in developing a fingerprinting system around this concept and conducting extensive validation of its effectiveness for IP protection. We demonstrate that these behavioral fingerprints are highly robust against common modifications, including finetunes, merges, and quantization. Our experiments show that the fingerprint is unique to each model family, with low cosine similarity between independently trained models. In a large-scale identification task across 76 offspring models, our method achieves 100\% accuracy in identifying the correct base model family. Furthermore, we analyze the fingerprint's behavior under alignment-breaking attacks, finding that while performance degrades significantly, detectable traces remain. Finally, we propose a theoretical framework to transform this private fingerprint into a publicly verifiable, privacy-preserving artifact using locality-sensitive hashing and zero-knowledge proofs.
Paper Structure (54 sections, 5 equations, 1 figure, 7 tables)

This paper contains 54 sections, 5 equations, 1 figure, 7 tables.

Figures (1)

  • Figure 1: Ablation studies on data efficiency and hyperparameter sensitivity. (a) Fingerprint stability converges rapidly; using only $N=500$ prompts achieves $>0.98$ cosine similarity relative to the full 10k baseline, demonstrating extreme extraction efficiency. (b) Identification performance remains robust (100% accuracy) across a wide range of layer selection parameters ($\alpha \in [0.3, 0.7]$), indicating that the method does not require fine-grained tuning.