Skip to main content
QUICK REVIEW

[Paper Review] Copy, Right? A Testing Framework for Copyright Protection of Deep Learning Models

Jialuo Chen, Jingyi Wang|arXiv (Cornell University)|Dec 10, 2021
Adversarial Robustness in Machine LearningComputer Science6 citations
TL;DR

This paper proposes DeepJudge, a non-invasive, efficient, and flexible testing framework for copyright protection of deep learning models. It quantitatively measures model similarity using multiple metrics and adaptive test case generation, successfully detecting stolen models under finetuning, pruning, and extraction attacks with high accuracy and robustness to adaptive attacks.

ABSTRACT

Deep learning (DL) models, especially those large-scale and high-performance ones, can be very costly to train, demanding a great amount of data and computational resources. Unauthorized reproduction of DL models can lead to copyright infringement and cause huge economic losses to model owners. Existing copyright protection techniques are mostly based on watermarking, which embeds an owner-specified watermark into the model. While being able to provide exact ownership verification, these techniques are 1) invasive, as they need to tamper with the training process, which may affect the utility or introduce new security risks; 2) prone to adaptive attacks that attempt to remove the watermark; and 3) not robust to the emerging model extraction attacks. Latest fingerprinting work, though being non-invasive, also falls short when facing the diverse and ever-growing attack scenarios. In this paper, we propose a novel testing framework for DL copyright protection: DEEPJUDGE. DEEPJUDGE quantitatively tests the similarities between two DL models: a victim model and a suspect model. It leverages a diverse set of testing metrics and test case generation methods to produce a chain of supporting evidence to help determine whether a suspect model is a copy of the victim model. Advantages of DEEPJUDGE include: 1) non-invasive, as it works directly on the model and does not tamper with the training process; 2) efficient, as it only needs a small set of test cases and a quick scan of models; 3) flexible, as it can easily incorporate new metrics or generation methods to obtain more confident judgement; and 4) fairly robust to model extraction and adaptive attacks. We verify the effectiveness of DEEPJUDGE under typical copyright infringement scenarios, including model finetuning, pruning and extraction, via extensive experiments on both image and speech datasets with a variety of model architectures.

Motivation & Objective

  • To address the limitations of invasive watermarking and fragile fingerprinting in protecting deep learning models from unauthorized duplication.
  • To develop a copyright protection method that is non-invasive, efficient, and robust against diverse attacks including model extraction and adaptive modifications.
  • To enable detection of stolen models across various attack scenarios such as finetuning, pruning, and transfer learning.
  • To provide a flexible, extensible framework that supports integration of new testing metrics and test case generation techniques.
  • To offer a practical, open-source solution for model owners to verify ownership without altering the training process.

Proposed method

  • DeepJudge employs a multi-level testing framework that evaluates similarity between a victim model and a suspect model using diverse metrics, including accuracy, robustness distance, Jensen-Shannon divergence, and other behavioral similarity measures.
  • It uses efficient seed-based test case generation to explore model behavior across different input regions, enabling rapid scanning of model outputs.
  • The framework supports both black-box and white-box testing, adapting to model architectures and output dimensions, including after transfer learning or pruning.
  • It dynamically updates test case seeds to maintain detection sensitivity under adaptive attacks, such as adversarial training or model extraction.
  • The system computes a chain of evidence through multiple metrics, with thresholds (e.g., τλ) used to determine if a suspect model is a copy.
  • New testing metrics and generation strategies can be easily integrated, enhancing robustness and detection confidence.

Experimental results

Research questions

  • RQ1Can a non-invasive testing framework effectively detect model theft without modifying the training process?
  • RQ2How robust is the framework against adaptive attacks such as adversarial training, model extraction, and fine-tuning?
  • RQ3Can the framework maintain high detection accuracy across diverse model architectures and datasets?
  • RQ4How does the framework perform under transfer learning scenarios where model structure is modified?
  • RQ5Can the integration of multiple testing metrics improve detection reliability compared to single-metric approaches?

Key findings

  • DeepJudge achieved 100% AUC in detecting transfer learning attacks on SVHN using a 5-class classification task, demonstrating strong detection capability.
  • In black-box testing, DeepJudge correctly identified 4 out of 6 adaptive attack models (Adapt-B) as copies, with a detection threshold of τλ = 0.816.
  • For white-box testing, 4 out of 6 models under Adapt-W attack were flagged as copies, with a threshold of τλ = 0.537.
  • The framework maintained high detection performance under adversarial training, with 4 out of 6 models correctly identified as copies (AUC = 1.0).
  • Negative control models (e.g., Neg-1 and Neg-2) were consistently classified as non-copies, with values well above the threshold, indicating low false positive rates.
  • DeepJudge showed resilience to model extraction attacks, with detection performance sustained even when suspect models were derived from API-based queries.

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.