mlsanityData to 14 Oct 2026

Gradient-Based Model Fingerprinting for LLM Similarity Detection and Family Classification

arXiv 2506.01631 ↗First posted 2 Jun 2025cs.LG cs.AI cs.SEcited by 14

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

  1. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  2. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  3. 2023Visual Instruction Tuningcited by 7,869
  4. 2014Explaining and Harnessing Adversarial Examplescited by 7,364
  5. 2019Parameter-Efficient Transfer Learning for NLPcited by 4,236
  6. 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
  7. 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
  8. 2019Fine-Tuning Language Models from Human Preferencescited by 2,150
  9. 2020Intrinsic Dimensionality Explains the Effectiveness of Language Model Fine-Tuningcited by 671
  10. 2023RLAIF vs. RLHF: Scaling Reinforcement Learning from Human Feedback with AI Feedbackcited by 625
  11. 2020Fine-Tuning Pretrained Language Models: Weight Initializations, Data Orders, and Early Stoppingcited by 384
  12. 2023Parameter-Efficient Fine-Tuning Methods for Pretrained Language Models: A Critical Review and Assessmentcited by 230
11 more
  1. 2024Instructional Fingerprinting of Large Language Modelscited by 68
  2. 2024Hey, That's My Model! Introducing Chain & Hash, An LLM Fingerprinting Techniquecited by 37
  3. 2024REEF: Representation Encoding Fingerprints for Large Language Modelscited by 36
  4. 2023HuRef: HUman-REadable Fingerprint for Large Language Modelscited by 34
  5. 2024Your Large Language Models Are Leaving Fingerprintscited by 33
  6. 2024A Fingerprint for Large Language Modelscited by 28
  7. 2023Fine-tuning Large Language Models for Adaptive Machine Translationcited by 21
  8. 2024Extending Llama-3's Context Ten-Fold Overnightcited by 15
  9. 2024Fine-Tuning Gemma-7B for Enhanced Sentiment Analysis of Financial News Headlinescited by 8
  10. 2025A Systematic Literature Review of Parameter-Efficient Fine-Tuning for Large Code Modelscited by 2
  11. 2025Fine-Tuning Qwen 2.5 3B for Realistic Movie Dialogue Generationcited by 1

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 7; 2026: 7.

14 papers.

Sort:

By area:

Similar, not cited

Close in wording, no citation either way

  1. 2025RAFP: Identifying LLM Lineages via Rare-Region Fingerprints
  2. 2024LLMmap: Fingerprinting For Large Language Models
  3. 2025Intrinsic Fingerprint of LLMs: Continue Training is NOT All You Need to Steal A Model!
  4. 2026A Behavioral Fingerprint for Large Language Models: Provenance Tracking via Refusal Vectors
  5. 2026AttnDiff: Attention-based Differential Fingerprinting for Large Language Models
  6. 2026FLIPS: Instance-Fingerprinting for LLMs via Pseudo-random Sequences
  7. 2025Behavioral Fingerprinting of Large Language Models
  8. 2026Implicit Identity Technologies for LLMs: Fingerprinting and Watermarking across Datasets, Models, and Generated Content