NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Probabilistically Robust Watermarking of Neural Networks

Mikhail Pautov, Nikita Bogdanov, Stanislav Pyatkin, Oleg Rogov, Ivan V. Oseledets

Abstract

As deep learning (DL) models are widely and effectively used in Machine Learning as a Service (MLaaS) platforms, there is a rapidly growing interest in DL watermarking techniques that can be used to confirm the ownership of a particular model. Unfortunately, these methods usually produce watermarks susceptible to model stealing attacks. In our research, we introduce a novel trigger set-based watermarking approach that demonstrates resilience against functionality stealing attacks, particularly those involving extraction and distillation. Our approach does not require additional model training and can be applied to any model architecture. The key idea of our method is to compute the trigger set, which is transferable between the source model and the set of proxy models with a high probability. In our experimental study, we show that if the probability of the set being transferable is reasonably high, it can be effectively used for ownership verification of the stolen model. We evaluate our method on multiple benchmarks and show that our approach outperforms current state-of-the-art watermarking techniques in all considered experimental setups.

Introduction

Training state-of-the-art deep learning models is an expensive endeavor, requiring massive datasets and significant computational power. To protect this intellectual property, researchers use digital watermarking. A common approach is "trigger-set" watermarking: the owner chooses a set of specific inputs (triggers) for which the model is trained to give a specific, often counter-intuitive, prediction. If a suspected stolen model gives the same unusual predictions on those triggers, ownership is proven.

However, existing watermarking methods face two major hurdles:

  1. Fragility: When an attacker "steals" a model via distillation (training a new model to mimic the outputs of the original), the decision boundaries shift slightly. This often causes the watermark to "wash out," making it undetectable in the stolen version.
  2. Performance Trade-offs: Most methods require retraining the original model to embed the watermark, which can lower the model's accuracy on its primary task.

Methodology

The proposed Probabilistic Watermarking approach requires zero additional training and works in two main stages: Trigger Set Generation and Verification via Proxy Models.

Overview of the Probabilistic Watermarking workflow.

Trigger Set Generation

Instead of forcing the model to learn new triggers, the method finds "natural" ones. By taking pairs of images from different classes (e.g., a "dog" and a "ship") from a hold-out dataset and creating convex combinations (blends) of them, the algorithm identifies specific blends where the model predicts a third, unrelated class (e.g., "automobile").

Verification via Proxy Models

To ensure these triggers are robust, the authors introduce a Parametric Set of Proxy Models. They create $m$ "proxy" versions of the source model by adding small amounts of noise to the weights. A candidate trigger point is only accepted if all $m$ proxy models agree on the prediction. By using the Clopper-Pearson test, they provide a mathematical guarantee: if a trigger point is stable across these random weight perturbations, it has a high probability of remaining stable in a stolen model created through distillation.

Experimental Setup

The approach was evaluated using standard computer vision benchmarks:

  • CIFAR-10 and CIFAR-100: Used for primary training and evaluation.
  • SVHN (Street View House Numbers): Used as a "surrogate" dataset to simulate a more realistic stealing attack where the thief uses different data than the original owner.

Results and Key Insights

The authors compared their method against state-of-the-art baselines like Entangled Watermark Embedding (EWE), Randomized Smoothing (RS), and Margin-Based (MB) watermarking.

Comparison of the proposed method against state-of-the-art watermarking techniques.

Key findings include:

  • Higher Accuracy: On CIFAR-10, the "Probabilistic" source model maintained 91% accuracy, while baselines often dropped to the mid-80s due to the overhead of embedding the watermark.
  • Superior Robustness: In the most aggressive stealing scenario (Regularization with Ground Truth - RGT), the Probabilistic watermark achieved ~78% accuracy on the stolen model, whereas the RS baseline plummeted to 3%.
  • Cross-Architecture Success: Even when the attacker used a completely different architecture (stealing a ResNet34 model using a VGG11 surrogate), the watermark remained detectable with high accuracy.
  • Stability is Key: Transferability is a function of local stability. If a prediction doesn't change when you wiggle the model's weights slightly, it is much more likely to survive the "noise" of the distillation process.

Discussion and Future Work

While powerful, the paper notes a few areas for improvement. The current method for generating proxy models assumes some knowledge of the architecture the thief might use. While it works across different architectures, the probabilistic guarantees are strongest when the architectures match. Additionally, finding these "stable" trigger points involves sampling many proxy models, which can be computationally intensive.

Future directions include exploring "provable integrity"—mathematically proving that a benign, independently trained model will never accidentally trigger the watermark, thereby avoiding false accusations of theft.

Summary updated

BibTeX
@inproceedings{pautov2024probabilistically,
  author = {Mikhail Pautov and Nikita Bogdanov and Stanislav Pyatkin and Oleg Rogov and Ivan V. Oseledets},
  title = {{Probabilistically Robust Watermarking of Neural Networks}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2024},
  url = {https://openreview.net/forum?id=0BJZL0dkn2},
}
Figure