ESF: Efficient Sensitive Fingerprinting for Black-Box Tamper Detection of Large Language Models

The rapid adoption of large language models (LLMs) in diverse applications has intensified concerns over their security and integrity, particularly in cloud environments where users cannot access internal model parameters.One critical threat is model tampering, which can compromise LLM behavior and reliability.However, traditional tamper detection methods, designed for deterministic classification models, are inadequate for LLMs due to their output randomness and massive parameter spaces.In this paper, we introduce Efficient Sensitive Fingerprinting (ESF), the first fingerprinting method tailored for black-box tamper detection of LLMs.ESF generates fingerprint samples by optimizing output sensitivity at selected detection token positions and leverages Randomness-Set Consistency Checking (RSCC) to accommodate inherent output randomness.Additionally, we propose a novel Max Coverage Strategy (MCS) to select an optimal set of fingerprint samples that maximizes joint sensitivity to tampering.Grounded in a rigorous theoretical framework, ESF is computationally efficient and scalable to large models.Extensive experiments on state-of-the-art LLMs demonstrate that ESF reliably detects tampering-including fine-tuning, model compression, and backdoor injection-with detection rates of at least 99.2% using only 5 fingerprint samples, offering a robust solution for securing cloud-based AI systems.

Authors

Publication Details

Published
2025-01-01
DOI
https://doi.org/10.18653/v1/2025.findings-acl.546
Primary Topic
Authorship Attribution and Profiling
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ESF: Efficient Sensitive Fingerprinting for Black-Box Tamper Detection of Large Language Models

Lingli Yu, Pingyi Hu, Dongmei Zhang, Qi Zhang et al.
Authorship Attribution and Profiling
article

ESF: Efficient Sensitive Fingerprinting for Black-Box Tamper Detection of Large Language Models

Lingli Yu, Pingyi Hu, Dongmei Zhang, Qi Zhang, Xiaofan Bai, Bin Zhu, Xiaojing Ma
article en

Abstract

The rapid adoption of large language models (LLMs) in diverse applications has intensified concerns over their security and integrity, particularly in cloud environments where users cannot access internal model parameters.One critical threat is model tampering, which can compromise LLM behavior and reliability.However, traditional tamper detection methods, designed for deterministic classification models, are inadequate for LLMs due to their output randomness and massive parameter spaces.In this paper, we introduce Efficient Sensitive Fingerprinting (ESF), the first fingerprinting method tailored for black-box tamper detection of LLMs.ESF generates fingerprint samples by optimizing output sensitivity at selected detection token positions and leverages Randomness-Set Consistency Checking (RSCC) to accommodate inherent output randomness.Additionally, we propose a novel Max Coverage Strategy (MCS) to select an optimal set of fingerprint samples that maximizes joint sensitivity to tampering.Grounded in a rigorous theoretical framework, ESF is computationally efficient and scalable to large models.Extensive experiments on state-of-the-art LLMs demonstrate that ESF reliably detects tampering-including fine-tuning, model compression, and backdoor injection-with detection rates of at least 99.2% using only 5 fingerprint samples, offering a robust solution for securing cloud-based AI systems.

National Natural Science Foundation of China, Science, Technology and Innovation Commission of Shenzhen Municipality, Major Research Plan
Openalex Percentile: Top 90%
Authorship Attribution and Profiling
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.