SELF: A Robust Singular Value and Eigenvalue Approach for LLM Fingerprinting

Hanxiu Zhang, Yue Zheng
12/3/2025
cs.CRcs.AIcs.CL

Official code: HanxiuZhang/SELF_v2 (0 stars, last commit 2025-12-14).

Abstract

The protection of Intellectual Property (IP) in Large Language Models (LLMs) represents a critical challenge in contemporary AI research. While fingerprinting techniques have emerged as a fundamental mechanism for detecting unauthorized model usage, existing methods -- whether behavior-based or structural -- suffer from vulnerabilities such as false claim attacks or susceptible to weight manipulations. To overcome these limitations, we propose SELF, a novel intrinsic weight-based fingerprinting scheme that eliminates dependency on input and inherently resists false claims. SELF achieves robust IP protection through two key innovations: 1) unique, scalable and transformation-invariant fingerprint extraction via singular value and eigenvalue decomposition of LLM attention weights, and 2) effective neural network-based fingerprint similarity comparison based on few-shot learning and data augmentation. Experimental results demonstrate SELF maintains high IP infringement detection accuracy while showing strong robustness against various downstream modifications, including quantization, pruning, and fine-tuning attacks. Our code is available at https://github.com/HanxiuZhang/SELF_v2.

View on arXivView PDF

Code Implementations(1)

00Python, Jupyter NotebookDec 3, 202510 months ago

Similar Papers

Cite this paper

@article{zhang2025self,
  title  = {SELF: A Robust Singular Value and Eigenvalue Approach for LLM Fingerprinting},
  author = {Hanxiu Zhang and Yue Zheng},
  year   = {2025},
  eprint = {2512.03620},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2512.03620v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2512.03620.svg)](https://codeofpaper.com/paper/2512.03620)

Discussion