Skip to main content
QUICK REVIEW

[Paper Review] DeepMarks: A Digital Fingerprinting Framework for Deep Neural Networks

Huili Chen, Bita Darvish Rohani|arXiv (Cornell University)|Apr 10, 2018
Digital Media Forensic DetectionComputer Science21 references42 citations
TL;DR

DeepMarks embeds unique fingerprints into neural network weights using orthogonal and BIBD-based coded codes to protect IP, enabling owner identification and colluder detection under model transformations.

ABSTRACT

This paper proposes DeepMarks, a novel end-to-end framework for systematic fingerprinting in the context of Deep Learning (DL). Remarkable progress has been made in the area of deep learning. Sharing the trained DL models has become a trend that is ubiquitous in various fields ranging from biomedical diagnosis to stock prediction. As the availability and popularity of pre-trained models are increasing, it is critical to protect the Intellectual Property (IP) of the model owner. DeepMarks introduces the first fingerprinting methodology that enables the model owner to embed unique fingerprints within the parameters (weights) of her model and later identify undesired usages of her distributed models. The proposed framework embeds the fingerprints in the Probability Density Function (pdf) of trainable weights by leveraging the extra capacity available in contemporary DL models. DeepMarks is robust against fingerprints collusion as well as network transformation attacks, including model compression and model fine-tuning. Extensive proof-of-concept evaluations on MNIST and CIFAR10 datasets, as well as a wide variety of deep neural networks architectures such as Wide Residual Networks (WRNs) and Convolutional Neural Networks (CNNs), corroborate the effectiveness and robustness of DeepMarks framework.

Motivation & Objective

  • Protect intellectual property of distributed deep learning models by embedding unique fingerprints in model weights without sacrificing accuracy.
  • Enable owner to identify individual users and detect colluders in model sharing scenarios.
  • Provide a scalable, robust fingerprinting framework applicable to different architectures and datasets.
  • Propose metrics and evaluation methodology for DL watermarking/fingerprinting performance.

Proposed method

  • Assign a v-bit code-vector (fingerprint) to each user and embed it in the weight distribution of selected layers via an embedding loss added to standard training loss.
  • Embed fingerprints in the weight distribution by using an additive embedding term: L = L0 + γ MSE(fj − Xw) where X is a secret random projection and w is the flattened, averaged target-layer weights.
  • Use two fingerprint modulation schemes: orthogonal modulation for small user groups and coded modulation with anti-collusion codes (ACC) based on balanced incomplete block designs (BIBD) to support many users and collusion resistance.
  • Construct fingerprints as either orthogonal basis vectors (each user gets a unique column of an orthogonal matrix) or as a linear combination of basis vectors using BIBD-ACC codebooks.
  • Decode fingerprints at inference by correlating extracted weights with the basis to recover the user code-vector, and detect colluders via ACC decoding.
  • Evaluate robustness to model fine-tuning, pruning, and collusion attacks using coded fingerprints with a (31,6,1)-BIBD ACC codebook.

Experimental results

Research questions

  • RQ1Can DeepMarks reliably embed unique fingerprints in DNN weights without degrading model accuracy?
  • RQ2How many distributed users can be supported with unique fingerprints using orthogonal vs coded (BIBD-ACC) schemes?
  • RQ3How robust are the embedded fingerprints to common DL transformations such as fine-tuning, pruning, and collusion attacks?
  • RQ4Can the framework accurately identify both individual users and colluders in practical DNN sharing scenarios?

Key findings

  • Fingerprint embedding preserves or slightly improves task accuracy under MNIST-CNN and CIFAR10-WRN benchmarks.
  • Using a (31,6,1)-BIBD ACC codebook, up to 5 colluders can be uniquely identified with 100% detection rate and 0% false alarms in tested scenarios.
  • Coded fingerprinting with BIBD-ACC enables scalable user support exceeding the fingerprint dimension, with robustness to collusion attacks.
  • Detection rates and false alarm rates are consistent across MNIST-CNN and CIFAR10-WRN benchmarks for the same colluder count.
  • Fidelity results (Table III) show baseline and fingerprinted models achieving similar accuracies on MNIST-CNN (99.52 baseline, 99.72 with fingerprint) and CIFAR10-WRN (91.85 baseline, 92.03 with fingerprint).
  • The framework’s colluder detection performance depends on ACC codebook parameters; comparing (31,6,1) vs (13,4,1) codebooks demonstrates differing collision resilience and false alarm characteristics.

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.