Skip to main content
QUICK REVIEW

[Paper Review] Certified Neural Network Watermarks with Randomized Smoothing

Arpit Bansal, Ping-yeh Chiang|arXiv (Cornell University)|Jul 16, 2022
Adversarial Robustness in Machine LearningComputer Science11 citations
TL;DR

This paper proposes the first certifiable neural network watermarking method using randomized smoothing, which guarantees watermark persistence unless model parameters are altered beyond a certified ℓ₂ threshold. The approach provides provable robustness against adversarial removal attacks while demonstrating superior empirical resilience compared to prior methods.

ABSTRACT

Watermarking is a commonly used strategy to protect creators' rights to digital images, videos and audio. Recently, watermarking methods have been extended to deep learning models -- in principle, the watermark should be preserved when an adversary tries to copy the model. However, in practice, watermarks can often be removed by an intelligent adversary. Several papers have proposed watermarking methods that claim to be empirically resistant to different types of removal attacks, but these new techniques often fail in the face of new or better-tuned adversaries. In this paper, we propose a certifiable watermarking method. Using the randomized smoothing technique proposed in Chiang et al., we show that our watermark is guaranteed to be unremovable unless the model parameters are changed by more than a certain l2 threshold. In addition to being certifiable, our watermark is also empirically more robust compared to previous watermarking methods. Our experiments can be reproduced with code at https://github.com/arpitbansal297/Certified_Watermarks

Motivation & Objective

  • To address the growing need for provable protection of expensive deep learning models against theft and unauthorized replication.
  • To overcome the limitations of existing watermarking methods, which are empirically vulnerable to sophisticated adversarial removal techniques.
  • To develop a watermarking scheme that offers both theoretical certification and strong empirical resistance to attacks.
  • To evaluate whether an ℓ₂-based threat model is meaningful and practical for real-world model watermarking.

Proposed method

  • The method leverages randomized smoothing to certify the robustness of a watermark embedded in a neural network.
  • Watermark detection is performed by querying the model with a trigger set, where the watermark is encoded as a pattern that induces consistent misclassification.
  • The certification is based on the ℓ₂ distance between the original and perturbed model parameters, ensuring that any change beyond this threshold would break the watermark.
  • The watermark is trained using a modified loss function that incorporates both standard training and a randomized smoothing-based robustness objective.
  • The approach supports both white-box and black-box watermark verification, enabling use in real-world API-based deployment scenarios.
  • The method is designed to be compatible with standard deep learning frameworks and is reproducible via open-source code.

Experimental results

Research questions

  • RQ1Can a neural network watermark be formally certified to resist removal unless model parameters are altered beyond a specific ℓ₂ threshold?
  • RQ2How meaningful is the certified radius in practice, and does it provide sufficient protection against realistic adversarial attacks?
  • RQ3Does the proposed certifiable watermarking method outperform existing empirical watermarking techniques in resisting known removal attacks?
  • RQ4Can the watermark be verified using only API access (black-box setting), or is white-box access required?
  • RQ5What is the trade-off between watermark robustness and model accuracy on standard benchmarks?

Key findings

  • The proposed watermark is provably robust: it remains intact unless the model parameters are changed by more than a certified ℓ₂ distance.
  • On CIFAR-10, the watermark remains visible after 50 epochs of finetuning, while the baseline is completely removed in under 10 epochs.
  • For distillation attacks, the white-box watermark maintains 100% trigger set accuracy after 50 epochs, significantly outperforming the baseline.
  • In the black-box setting, the watermark achieves 81.25% trigger set accuracy on CIFAR-10 after 50 epochs of distillation, compared to 50.00% for the baseline.
  • The method shows consistent empirical superiority across multiple datasets and attack types, even when the certificate is not required.
  • Despite the robustness gains, there is a small drop in clean accuracy: -0.1% on MNIST, -3.3% on CIFAR-10, and -1.1% on CIFAR-100.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.