Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signatures

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Wang, Suqing, Ma, Ziyang, Xinyi, Li, Li, Zuchao
Natura: Preprint
Pubblicazione: 2025
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866911307757780992
author Wang, Suqing
Ma, Ziyang
Xinyi, Li
Li, Zuchao
author_facet Wang, Suqing
Ma, Ziyang
Xinyi, Li
Li, Zuchao
contents Large Language Models (LLMs) are widely adopted, but their high training cost leads many developers to fine-tune existing open-source models. While most adhere to open-source licenses, some falsely claim original training despite clear derivation from public models, raising pressing concerns about intellectual property protection and the need to verify model provenance. In this paper, we propose GhostSpec, a lightweight yet effective method for verifying LLM lineage without access to training data or modification of model behavior. Our approach constructs compact and robust fingerprints by applying singular value decomposition (SVD) to invariant products of internal attention weight matrices. Unlike watermarking or output-based methods, GhostSpec is fully data-free, non-invasive, and computationally efficient. Extensive experiments show it is robust to fine-tuning, pruning, expansion, and adversarial transformations, reliably tracing lineage with minimal overhead. By offering a practical solution for model verification, our method contributes to intellectual property protection and fosters a transparent, trustworthy LLM ecosystem. Our code is available at https://github.com/DX0369/GhostSpec.
format Preprint
id arxiv_https___arxiv_org_abs_2511_06390
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signatures
Wang, Suqing
Ma, Ziyang
Xinyi, Li
Li, Zuchao
Cryptography and Security
Artificial Intelligence
Large Language Models (LLMs) are widely adopted, but their high training cost leads many developers to fine-tune existing open-source models. While most adhere to open-source licenses, some falsely claim original training despite clear derivation from public models, raising pressing concerns about intellectual property protection and the need to verify model provenance. In this paper, we propose GhostSpec, a lightweight yet effective method for verifying LLM lineage without access to training data or modification of model behavior. Our approach constructs compact and robust fingerprints by applying singular value decomposition (SVD) to invariant products of internal attention weight matrices. Unlike watermarking or output-based methods, GhostSpec is fully data-free, non-invasive, and computationally efficient. Extensive experiments show it is robust to fine-tuning, pruning, expansion, and adversarial transformations, reliably tracing lineage with minimal overhead. By offering a practical solution for model verification, our method contributes to intellectual property protection and fosters a transparent, trustworthy LLM ecosystem. Our code is available at https://github.com/DX0369/GhostSpec.
title Ghost in the Transformer: Detecting Model Reuse with Invariant Spectral Signatures
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2511.06390