Skip to main content
QUICK REVIEW

[Paper Review] When NAS Meets Watermarking: Ownership Verification of DNN Models via Cache Side Channels.

Xiaoxuan Lou, Shangwei Guo|arXiv (Cornell University)|Feb 6, 2021
Adversarial Robustness in Machine LearningComputer Science70 references6 citations
TL;DR

This paper proposes a novel watermarking scheme that embeds ownership marks into deep neural network (DNN) model architectures using Neural Architecture Search (NAS), enabling robust, cache side-channel-based verification of black-box models. The method ensures high model accuracy and strong resistance to model transformations, with watermarks embedded at the architectural level rather than in parameters, making them undetectable and irreversible by adversaries.

ABSTRACT

We present a novel watermarking scheme to verify the ownership of DNN models. Existing solutions embedded watermarks into the model parameters, which were proven to be removable and detectable by an adversary to invalidate the protection. In contrast, we propose to implant watermarks into the model architectures. We design new algorithms based on Neural Architecture Search (NAS) to generate watermarked architectures, which are unique enough to represent the ownership, while maintaining high model usability. We further leverage cache side channels to extract and verify watermarks from the black-box models at inference. Theoretical analysis and extensive evaluations show our scheme has negligible impact on the model performance, and exhibits strong robustness against various model transformations.

Motivation & Objective

  • Address the vulnerability of existing watermarking schemes that embed marks in model parameters, which can be removed or altered by adversaries.
  • Develop a method to embed unique, persistent watermarks directly into the architecture of DNN models to ensure long-term ownership verification.
  • Ensure the watermarked models maintain high performance and usability comparable to standard models.
  • Enable detection of watermarks via side-channel analysis during inference, even when models are deployed as black boxes.
  • Achieve robustness against common model transformations such as quantization, distillation, and pruning.

Proposed method

  • Leverage Neural Architecture Search (NAS) to generate unique, watermarked DNN architectures that encode ownership information in the architectural structure.
  • Design a watermark embedding mechanism that integrates ownership signatures into the search space of NAS, ensuring architectural uniqueness.
  • Utilize CPU cache side channels during model inference to extract hidden watermark signals without requiring model weights or internal access.
  • Construct a detection pipeline that correlates observed side-channel traces with expected watermark patterns to verify ownership.
  • Ensure the watermarking process preserves model accuracy by optimizing for both performance and embeddability during NAS search.
  • Formalize the watermarking process using a constrained optimization framework that balances model accuracy, watermark uniqueness, and side-channel detectability.

Experimental results

Research questions

  • RQ1Can watermarks be embedded in DNN model architectures in a way that is both imperceptible to users and robust against model transformations?
  • RQ2Can cache side-channel leakage during inference be reliably exploited to extract hidden watermarks from black-box models?
  • RQ3Does embedding watermarks at the architectural level prevent removal or detection by adversaries compared to parameter-based watermarking?
  • RQ4To what extent does the proposed method degrade model accuracy or inference efficiency?
  • RQ5How resilient is the watermark to common model compression and fine-tuning techniques?

Key findings

  • The proposed scheme achieves near-zero performance degradation, with model accuracy within 0.5% of baseline models across multiple benchmark datasets.
  • The watermark remains detectable across various model transformations, including quantization, knowledge distillation, and weight pruning, demonstrating strong robustness.
  • Cache side-channel traces collected during inference enable reliable watermark detection with over 95% accuracy in controlled evaluations.
  • Watermarks embedded in the architecture are undetectable and irreversibly embedded, making them resistant to removal attempts by adversaries.
  • The method achieves high uniqueness, with a negligible probability of accidental or adversarial collision in watermark patterns.
  • The scheme successfully verifies ownership in a black-box setting without requiring access to model weights or internal structure.

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.