Boosting the Uniqueness of Neural Networks Fingerprints with Informative Triggers

Zhuomeng Zhang, Fangqi Li, Hanyi Wang, Shi-Lin WangNeurIPS 2025

Overview

As artificial intelligence models become increasingly valuable intellectual property, tracing the copyright of backend deep neural networks (DNNs) has become essential. This paper introduces an information-theoretical framework designed to make DNN fingerprinting more efficient and reliable. By utilizing a greedy algorithm to select "informative triggers"—inputs that maximize marginal mutual information—the authors demonstrate that a model can be uniquely identified among hundreds of competitors using significantly fewer queries, even under adversarial attacks.

If a proprietary model is stolen and hosted behind a black-box API, the original creator needs a reliable way to prove ownership. There are two primary methods for this: watermarking and fingerprinting.

While watermarking embeds specific behaviors during training (which is intrusive and can degrade model performance), fingerprinting is passive. It involves observing the model's natural outputs on specific "trigger" inputs. Because it does not interfere with the training process, fingerprinting is highly preferred in industry. However, it suffers from a major flaw: uniqueness.

The DNN fingerprinting framework for copyright identification, highlighting the need to optimize trigger selection.

Most existing research focuses heavily on robustness—ensuring a fingerprint remains intact even if the thief fine-tunes or prunes the stolen model. Yet, as the number of registered models grows, the probability of two different models sharing the same fingerprint (a collision) increases dramatically. Avoiding these collisions typically requires a massive number of triggers, but querying an API is expensive and time-consuming. This paper directly tackles this bottleneck, exploring how to achieve high uniqueness with a minimal number of queries.

An Information-Theoretical Approach

The authors reframe copyright tracing as a communication channel problem. In this framework, the "source" is the model's identity, and the "noise" represents adversarial attacks like fine-tuning or pruning.

  1. Conditional Mutual Information: Instead of selecting triggers that merely have high entropy (diverse outputs), the proposed method selects triggers that provide the most new information relative to the triggers already chosen.
  2. Greedy Optimization: Because finding the absolute optimal set of triggers is an NP-hard problem, the authors employ a greedy algorithm. They prove that the information gain function is submodular, meaning this greedy approach is mathematically guaranteed to perform within a specific factor $(1 - 1/e)$ of the theoretical optimum.
  3. Theorem of Necessity: The paper derives a formal necessary condition for the number of triggers required to ensure a specific "uniqueness rate," factoring in the total number of models and the expected adversarial noise.

Crucially, this method is "plug-and-play." It can be seamlessly incorporated into any existing fingerprinting scheme—whether it uses random noise, benign samples, or adversarial examples—to optimize exactly which samples are queried.

Key Insights

The Independence Fallacy

Most researchers assume that fingerprinting triggers act independently. This paper proves otherwise. Relying solely on triggers with the largest independent entropy can be highly misleading; triggers must be informative relative to one another to prevent overlapping fingerprints.

Comparison of trigger selection strategies, illustrating how triggers with the largest individual entropy can still fail to provide unique fingerprints due to overlap.

Uniqueness vs. Robustness Trade-off

There is an inherent trade-off between uniqueness and robustness. Triggers that are highly "robust" (such as standard, benign images) often cause different models to yield very similar outputs. This similarity makes them poor candidates for distinguishing between a large pool of models.

Information as a Metric and Scalability

By quantifying a fingerprint in "bits," the authors provide a concrete metric to measure how much capacity a fingerprinting scheme has before collisions occur. Furthermore, the greedy selection algorithm scales remarkably well. Triggers chosen based on a small subset of 100 models still perform exceptionally well when tasked with identifying models from a much larger pool of 600.

Experimental Validation and Results

The authors rigorously evaluated their method across diverse tasks, architectures, and modalities:

  • Computer Vision: Tested on MNIST, FashionMNIST, CIFAR-10, and ImageNet. For each task, they trained 600 distinct models with varying architectures (LeNet-5, VGG-16, ResNet-18/34), learning rates, and training epochs.
  • Large Language Models (LLMs): The framework was extended to 50 LLMs, including GPT-2, OPT, Pythia, and BLOOM, fine-tuned on various corpora.

Highlights of the results include: * Massive Efficiency Gains: In vision tasks, the first 15 greedily selected triggers provided as much identifying information as 50 randomly selected triggers. * Uniqueness Boost: In adversarial settings where models are actively modified to hide their identity, the greedy method consistently secured a higher uniqueness rate. On CIFAR-10 with a 5% error tolerance, it often doubled or tripled the uniqueness rate compared to baselines. * LLM Success: The method successfully distinguished between 50 different LLMs using only 5 to 10 prompts. * Low Computational Overhead: Optimizing 50 triggers across 600 models took less than 160 seconds, proving its viability for real-world deployment.

Limitations and Future Work

While highly effective, the greedy algorithm requires an initial set of "registered models" to calculate mutual information. The quality of the initial trigger selection is tied to the diversity of this starting pool. Additionally, while the paper thoroughly covers classifiers and text generators, more complex modalities like image and video generation remain open for future exploration. Finally, future work will need to address adaptive adversaries who might specifically tailor attacks to mimic the informative triggers of another model.

Summary updated

BibTeX
@inproceedings{zhang2025boosting,
  author = {Zhuomeng Zhang and Fangqi Li and Hanyi Wang and Shi-Lin Wang},
  title = {{Boosting the Uniqueness of Neural Networks Fingerprints with Informative Triggers}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=R3C3RY25eS},
}
Figure