Abstract
Training state-of-the-art deep learning models is a resource-intensive endeavor, leading to the rise of Machine Learning as a Service (MLaaS). However, these models are vulnerable to functionality stealing attacks, where adversaries query APIs to train surrogate models. Traditional watermarking defenses often require intrusive retraining and lack robustness against model distillation. We propose a Probabilistic Robust Watermarking framework that identifies "natural" triggers already present in a model's decision logic. By validating these triggers against a parametric swarm of proxy models, we create a digital fingerprint that is statistically likely to transfer to stolen copies. Our approach requires no retraining, preserves original model accuracy, and demonstrates superior robustness against advanced stealing attacks, maintaining over 99% trigger accuracy in benchmark evaluations.
The Threat of Functionality Stealing
In the MLaaS ecosystem, proprietary models are often exposed via black-box APIs. Attackers can exploit this by performing functionality stealing: they query the API with thousands of inputs and use the resulting labels to train a "surrogate" model. This effectively bypasses the high costs of data collection and computation.
To protect intellectual property, researchers have turned to watermarking—embedding specific behaviors (triggers) into the model. If a suspicious model exhibits these same behaviors, it serves as evidence of theft. However, existing watermarks are frequently fragile; they can be "washed out" during the distillation process or through fine-tuning by the attacker.
Methodology: The Proxy Swarm
The core innovation of our framework is the shift from forcing a watermark into a model to discovering stable, existing triggers. The process follows three main stages:
- Trigger Generation: Using a "Mixup"-style approach, we create convex combinations of images from different classes (e.g., blending a "dog" and a "ship"). We specifically look for points where the source model $f$ predicts a third, unrelated class (e.g., "bird").
- Verification via Proxy Models: To ensure a trigger is not a fluke of a specific weight configuration, we generate a set of proxy models $\mathcal{B}_{\delta,\tau}(f)$ by slightly perturbing the base model's weights.
- Probabilistic Filtering: A candidate trigger is only added to the "Verified Trigger Set" $\mathcal{D}_t^*$ if it is consistently misclassified in the same way by a large number ($m$) of these proxy models.
By ensuring stability across this "cloud" of similar models, we provide a probabilistic guarantee that the trigger will persist in a stolen surrogate model, even if that surrogate has a different architecture or slightly different weights.
Experimental Results
We evaluated the framework using CIFAR-10 and CIFAR-100 datasets, simulating attacks where the thief uses both the original data and out-of-distribution data (SVHN) for stealing.
Robustness Against Advanced Attacks
Our method was tested against "Regularization with Ground Truth" (RGT), currently considered the most potent stealing attack designed to strip watermarks. As shown in the results table, our probabilistic approach maintains near-perfect trigger set accuracy where others fail.
Key Findings
- Superior Transferability: On CIFAR-10, our method achieved a trigger set accuracy of 99.42% against RGT attacks, significantly higher than Margin-based (MB) or Entangled Watermark Embedding (EWE) methods.
- Cross-Architecture Success: The watermark remains detectable even when the attacker uses a different architecture (e.g., stealing a ResNet34 model into a VGG11 surrogate), maintaining over 80% accuracy.
- Zero Performance Impact: Because the method is post-hoc and identifies existing decision boundaries, there is no degradation in the model's performance on its original task.
Conclusion
The Probabilistic Robust Watermarking framework represents a significant step forward in model IP protection. By leveraging the inherent stability of decision boundaries in weight space, it provides a robust, non-intrusive way to verify model ownership. Future work will focus on extending these probabilistic guarantees to Natural Language Processing and exploring mathematical proofs for watermark integrity.
Summary updated