Gradient-Based Model Fingerprinting for LLM Similarity Detection and Family Classification
Not on the map. Why?
Abstract (arXiv)
As Large Language Models (LLMs) become integral software components in modern applications, unauthorized model derivations through fine-tuning, merging, and redistribution have emerged as critical software engineering challenges. Unlike traditional software where clone detection and license compliance are well-established, the LLM ecosystem lacks effective mechanisms to detect model lineage and enforce licensing agreements. This gap is particularly problematic when open-source model creators, such as Meta's LLaMA, require derivative works to maintain naming conventions for attribution, yet no technical means exist to verify compliance. To fill this gap, treating LLMs as software artifacts requiring provenance tracking, we present TensorGuard, a gradient-based fingerprinting framework for LLM similarity detection and family classification. Our approach extracts model-intrinsic behavioral signatures by analyzing gradient responses to random input perturbations across tensor layers, operating independently of training data, watermarks, or specific model formats. TensorGuard supports the widely-adopted safetensors format and constructs high-dimensional fingerprints through statistical analysis of gradient features. These fingerprints enable two complementary capabilities: direct pairwise similarity assessment between arbitrary models through distance computation, and systematic family classification of unknown models via the K-Means clustering algorithm with domain-informed centroid initialization using known base models. Experimental evaluation on 58 models comprising 8 base models and 50 derivatives across five model families (Llama, Qwen, Gemma, Phi, Mistral) demonstrates 94% classification accuracy under our centroid-initialized K-Means clustering.
Key facts. Cited by 14 papers in the map (data through 14 Oct 2026). Builds on 23 of its 37 references that are in the map. First posted on arXiv 2 Jun 2025.
Builds on
23 of 37 references.
References · 23
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2023Visual Instruction Tuningcited by 7,869
- 2014Explaining and Harnessing Adversarial Examplescited by 7,364
- 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
- 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
- 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
- 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
- 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 230
11 more
- 2024Instructional Fingerprinting of Large Language Modelscited by 68
- 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Techniquecited by 37
- 2024REEF: Representation Encoding Fingerprints for Large Language Modelscited by 36
- 2023HuRef: HUman-REadable Fingerprint for Large Language Modelscited by 34
- 2024Your Large Language Models Are Leaving Fingerprintscited by 33
- 2024A Fingerprint for Large Language Modelscited by 28
- 2023Fine-tuning Large Language Models for Adaptive Machine Translationcited by 21
- 2024Extending Llama-3's Context Ten-Fold Overnightcited by 15
- 2024Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlinescited by 8
- 2025A Systematic Literature Review of Parameter-Efficient Fine-Tuning for Large Code Modelscited by 2
- 2025Fine-Tuning Qwen 2.5 3B for Realistic Movie Dialogue Generationcited by 1
Built on by
Citing papers per year: 2025: 7; 2026: 7.
14 papers.
Sort:
By area:
- 2025Copyright Protection for Large Language Models: A Survey of Methods, Challenges, and Trendscited by 20
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 15
- 2025Fingerprinting LLMs via Prompt Injectioncited by 8
- 2025Are Robust LLM Fingerprints Adversarially Robust?cited by 8
- 2025AWM: Accurate Weight-Matrix Fingerprint for Large Language Modelscited by 3
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditingcited by 3
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Servicescited by 3
- 2025Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signaturescited by 2
- 2025Matrix-Driven Identification and Reconstruction of LLM Weight Homologycited by 1
- 2026Provable Model Provenance Set for Large Language Modelscited by 1
- 2026TokenPrint: A Calibrated Token-Space Fingerprint for Language-Model Provenancecited by 1
- 2026modelDNA: Calibrated Lineage Verification and Merge Decomposition from Sampled Weight Fingerprintscited by 0
2 more
- 2026Fingerprinting Multimodal Large Language Models17 Sep 2026
- 2026TokenPrint: A Calibrated Token-Space Fingerprint for Language-Model Provenance8 Aug 2026
- 2026Who Built This Model? Tracing LLM Lineage via Spectral Fingerprints in Weight Space7 Aug 2026
- 2026modelDNA: Calibrated Lineage Verification and Merge Decomposition from Sampled Weight Fingerprints12 Jul 2026
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Services15 Jun 2026
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditing28 May 2026
- 2026Provable Model Provenance Set for Large Language Models31 Jan 2026
- 2025Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signatures9 Nov 2025
- 2025AWM: Accurate Weight-Matrix Fingerprint for Large Language Models8 Oct 2025
- 2025Are Robust LLM Fingerprints Adversarially Robust?30 Sep 2025
- 2025Fingerprinting LLMs via Prompt Injection29 Sep 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2026Fingerprinting Multimodal Large Language Modelscited by 0
- 2026Fingerprinting Multimodal Large Language Models17 Sep 2026
- 2025SoK: Large Language Model Copyright Auditing via Fingerprintingcited by 15
- 2025Are Robust LLM Fingerprints Adversarially Robust?cited by 8
- 2025AWM: Accurate Weight-Matrix Fingerprint for Large Language Modelscited by 3
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditingcited by 3
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Servicescited by 3
- 2025Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signaturescited by 2
- 2025Matrix-Driven Identification and Reconstruction of LLM Weight Homologycited by 1
- 2026Provable Model Provenance Set for Large Language Modelscited by 1
- 2026TokenPrint: A Calibrated Token-Space Fingerprint for Language-Model Provenancecited by 1
- 2026modelDNA: Calibrated Lineage Verification and Merge Decomposition from Sampled Weight Fingerprintscited by 0
- 2026Who Built This Model? Tracing LLM Lineage via Spectral Fingerprints in Weight Spacecited by 0
- 2026TokenPrint: A Calibrated Token-Space Fingerprint for Language-Model Provenance8 Aug 2026
- 2026Who Built This Model? Tracing LLM Lineage via Spectral Fingerprints in Weight Space7 Aug 2026
- 2026modelDNA: Calibrated Lineage Verification and Merge Decomposition from Sampled Weight Fingerprints12 Jul 2026
- 2026Your "Pro" LLM Subscription May Actually Be "Free": Exposing Fingerprint Spoofing Risks in LLM Inference Services15 Jun 2026
- 2026KBF: Knowledge Boundary as Fingerprint for Language Model and Black-Box API Auditing28 May 2026
- 2026Provable Model Provenance Set for Large Language Models31 Jan 2026
- 2025Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signatures9 Nov 2025
- 2025AWM: Accurate Weight-Matrix Fingerprint for Large Language Models8 Oct 2025
- 2025Are Robust LLM Fingerprints Adversarially Robust?30 Sep 2025
- 2025SoK: Large Language Model Copyright Auditing via Fingerprinting27 Aug 2025
- 2025Matrix-Driven Identification and Reconstruction of LLM Weight Homology8 Aug 2025
Similar, not cited
Close in wording, no citation either way
- 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprints
- 2024LLMmap: Fingerprinting For Large Language Models
- 2025Intrinsic Fingerprint of LLMs: Continue Training is NOT All You Need to Steal A Model!
- 2026A Behavioral Fingerprint for Large Language Models: Provenance Tracking via Refusal Vectors
- 2026AttnDiff: Attention-based Differential Fingerprinting for Large Language Models
- 2026FLIPS: Instance-Fingerprinting for LLMs via Pseudo-random Sequences
- 2025Behavioral Fingerprinting of Large Language Models
- 2026Implicit Identity Technologies for LLMs: Fingerprinting and Watermarking across Datasets, Models, and Generated Content