Saved in:
Bibliographic Details
Main Authors: Fu, Zhiyuan, Chen, Junfan, Zhang, Lan, Yang, Ting, Niu, Jun, Sun, Hongyu, Li, Ruidong, Liu, Peng, Wang, Jice, He, Fannv, Yue, Qiuling, Zhang, Yuqing
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2501.16029
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915737163005952
author Fu, Zhiyuan
Chen, Junfan
Zhang, Lan
Yang, Ting
Niu, Jun
Sun, Hongyu
Li, Ruidong
Liu, Peng
Wang, Jice
He, Fannv
Yue, Qiuling
Zhang, Yuqing
author_facet Fu, Zhiyuan
Chen, Junfan
Zhang, Lan
Yang, Ting
Niu, Jun
Sun, Hongyu
Li, Ruidong
Liu, Peng
Wang, Jice
He, Fannv
Yue, Qiuling
Zhang, Yuqing
contents Large Language Models (LLMs) are rapidly transforming the landscape of digital content creation. However, the prevalent black-box Application Programming Interface (API) access to many LLMs introduces significant challenges in accountability, governance, and security. LLM fingerprinting, which aims to identify the source model by analyzing statistical and stylistic features of generated text, offers a potential solution. Current progress in this area is hindered by a lack of dedicated datasets and the need for efficient, practical methods that are robust against adversarial manipulations. To address these challenges, we introduce FD-Dataset, a comprehensive bilingual fingerprinting benchmark comprising 90,000 text samples from 20 famous proprietary and open-source LLMs. Furthermore, we present FDLLM, a novel fingerprinting method that leverages parameter-efficient Low-Rank Adaptation (LoRA) to fine-tune a foundation model. This approach enables LoRA to extract deep, persistent features that characterize each source LLM. Through our analysis, we find that LoRA adaptation promotes the aggregation of outputs from the same LLM in representation space while enhancing the separation between different LLMs. This mechanism explains why LoRA proves particularly effective for LLM fingerprinting. Extensive empirical evaluations on FD-Dataset demonstrate FDLLM's superiority, achieving a Macro F1 score 22.1% higher than the strongest baseline. FDLLM also exhibits strong generalization to newly released models, achieving an average accuracy of 95% on unseen models. Notably, FDLLM remains consistently robust under various adversarial attacks, including polishing, translation, and synonym substitution. Experimental results show that FDLLM reduces the average attack success rate from 49.2% (LM-D) to 23.9%.
format Preprint
id arxiv_https___arxiv_org_abs_2501_16029
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle FDLLM: A Dedicated Detector for Black-Box LLMs Fingerprinting
Fu, Zhiyuan
Chen, Junfan
Zhang, Lan
Yang, Ting
Niu, Jun
Sun, Hongyu
Li, Ruidong
Liu, Peng
Wang, Jice
He, Fannv
Yue, Qiuling
Zhang, Yuqing
Cryptography and Security
Artificial Intelligence
Large Language Models (LLMs) are rapidly transforming the landscape of digital content creation. However, the prevalent black-box Application Programming Interface (API) access to many LLMs introduces significant challenges in accountability, governance, and security. LLM fingerprinting, which aims to identify the source model by analyzing statistical and stylistic features of generated text, offers a potential solution. Current progress in this area is hindered by a lack of dedicated datasets and the need for efficient, practical methods that are robust against adversarial manipulations. To address these challenges, we introduce FD-Dataset, a comprehensive bilingual fingerprinting benchmark comprising 90,000 text samples from 20 famous proprietary and open-source LLMs. Furthermore, we present FDLLM, a novel fingerprinting method that leverages parameter-efficient Low-Rank Adaptation (LoRA) to fine-tune a foundation model. This approach enables LoRA to extract deep, persistent features that characterize each source LLM. Through our analysis, we find that LoRA adaptation promotes the aggregation of outputs from the same LLM in representation space while enhancing the separation between different LLMs. This mechanism explains why LoRA proves particularly effective for LLM fingerprinting. Extensive empirical evaluations on FD-Dataset demonstrate FDLLM's superiority, achieving a Macro F1 score 22.1% higher than the strongest baseline. FDLLM also exhibits strong generalization to newly released models, achieving an average accuracy of 95% on unseen models. Notably, FDLLM remains consistently robust under various adversarial attacks, including polishing, translation, and synonym substitution. Experimental results show that FDLLM reduces the average attack success rate from 49.2% (LM-D) to 23.9%.
title FDLLM: A Dedicated Detector for Black-Box LLMs Fingerprinting
topic Cryptography and Security
Artificial Intelligence
url https://arxiv.org/abs/2501.16029