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

0Citations
Citations of this article
5Readers
Mendeley users who have this article in their library.
Get full text

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.

Cite

CITATION STYLE

APA

Bai, X., Hu, P., Ma, X., Yu, L., Zhang, D., Zhang, Q., & Zhu, B. B. (2025). ESF: Efficient Sensitive Fingerprinting for Black-Box Tamper Detection of Large Language Models. In Proceedings of the Annual Meeting of the Association for Computational Linguistics (pp. 10477–10494). Association for Computational Linguistics (ACL). https://doi.org/10.18653/v1/2025.findings-acl.546

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free