arXiv:2510.06605cs.CRcs.AI2025-10

通过梯度估计实现更可靠的LLM指纹识别

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

  • 用零阶估计法在黑盒环境下捕捉模型输入梯度,信息更丰富
  • 在标准基准上性能超越现有方法,指纹识别准确率显著提升
  • 适合关注模型版权保护的研究者与从业者

大语言模型(LLMs)研发成本高昂,其知识产权保护面临挑战。模型指纹技术旨在通过提取模型内在唯一特征(“指纹”)来验证来源,识别非法复制。然而,现有黑盒指纹方法依赖模型输出,因非线性函数导致关键参数信息丢失,难以生成有效指纹。本文基于费舍尔信息理论,首次证明输入梯度比输出更具指纹信息价值。据此提出ZeroPrint方法,利用零阶估计在黑盒场景下近似该梯度,并通过语义保持的词替换模拟输入扰动,从而估计出模型的雅可比矩阵作为唯一指纹。实验表明,ZeroPrint在标准基准上达到当前最优的有效性与鲁棒性,显著优于现有黑盒方法。

原文摘要 · Abstract (English)

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.

模型指纹黑盒攻击梯度分析

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。