Skip to main navigation Skip to search Skip to main content

Reading Between the Lines: Towards Reliable Black-box LLM Fingerprinting via Zeroth-order Gradient Estimation

  • Shuo Shao
  • , Yiming Li*
  • , Hongwei Yao
  • , Yifei Chen
  • , Yuchen Yang
  • , Zhan Qin
  • *Corresponding author for this work

Research output: Chapters, Conference Papers, Creative and Literary Works › RGC 32 - Refereed conference paper (with host publication) › peer-review

2 Downloads (CityUHK Scholars)

Abstract

The substantial investment required to develop Large Language Models (LLMs) makes them valuable intellectual property, raising significant concerns about copyright protection. LLM fingerprinting has emerged as a key technique to address this, which aims to verify a model's origin by extracting an intrinsic, unique signature (a "fingerprint") and comparing it to that of a source model to identify illicit copies. However, existing black-box fingerprinting methods often fail to generate distinctive LLM fingerprints. This ineffectiveness arises because black-box methods typically rely on model outputs, which lose critical information about the model's unique parameters due to the usage of non-linear functions. To address this, we first leverage Fisher Information Theory to formally demonstrate that the gradient of the model's input is a more informative feature for fingerprinting than the output. Based on this insight, we propose ZeroPrint, a novel method that approximates these information-rich gradients in a black-box setting using zeroth-order estimation. ZeroPrint overcomes the challenge of applying this to discrete text by simulating input perturbations via semantic-preserving word substitutions. This operation allows ZeroPrint to estimate the model's Jacobian matrix as a unique fingerprint. Experiments on the standard benchmark show ZeroPrint achieves a state-of-the-art effectiveness and robustness, significantly outperforming existing black-box methods. © 2026 Copyright held by the owner/author(s).
Original languageEnglish
Title of host publicationWWW '26
Subtitle of host publicationProceedings of the ACM Web Conference 2026
PublisherAssociation for Computing Machinery
Pages2637-2648
Number of pages12
ISBN (Print)9798400723070
DOIs
Publication statusPublished - 2026
Event35th ACM Web Conference (WWW 2026) - Dubai, United Arab Emirates
Duration: 29 Jun 2026 → 3 Jul 2026

Publication series

NameWWW - Proceedings of the ACM Web Conference

Conference

Conference35th ACM Web Conference (WWW 2026)
Abbreviated titleWWW ’26
PlaceUnited Arab Emirates
CityDubai
Period29/06/26 → 3/07/26

Funding

This research is supported in part by the “Pioneer” and “Leading Goose” R&D Program of Zhejiang (2024C01169), the KunpengAscend Science and Education Innovation Excellence/Incubation Center, and the National Natural Science Foundation of China under Grants (62441238, U2441240).

Research Keywords

  • AI copyright protection
  • large language model
  • model fingerprinting
  • trustworthy AI

Publisher's Copyright Statement

  • This full text is made available under CC-BY 4.0. https://creativecommons.org/licenses/by/4.0/

Fingerprint

Dive into the research topics of 'Reading Between the Lines: Towards Reliable Black-box LLM Fingerprinting via Zeroth-order Gradient Estimation'. Together they form a unique fingerprint.

Cite this