NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

ZKROWNN: Zero Knowledge Right of Ownership for Neural Networks

Nojan Sheybani, Zahra Ghodsi, Ritvik Kapila, Farinaz Koushanfar

Abstract

ZKROWNN is the first automated, end-to-end framework designed to protect the intellectual property of deep neural networks (DNNs) using Zero-Knowledge Proofs (ZKPs). By leveraging zkSNARKs, ZKROWNN enables model owners to provide publicly verifiable proof of ownership via hidden watermarks without revealing the secret "trigger keys." This approach ensures that ownership can be verified in less than a second with minimal communication overhead, preserving the secrecy and integrity of the underlying watermark.

Introduction

The development of state-of-the-art AI models requires significant investment in datasets, compute time, and specialized expertise. To safeguard these assets, model watermarking embeds a unique signature that triggers upon specific secret inputs. However, traditional verification methods present a "catch-22": proving ownership in a legal dispute typically requires disclosing the secret trigger key to a third party, which compromises the watermark's future security. ZKROWNN addresses this by allowing owners to prove they possess the valid key and that it correctly triggers the watermark, all while maintaining the key's confidentiality.

The ZKROWNN Framework

The core of ZKROWNN is a cryptographic circuit based on the Groth16 zkSNARK protocol. This circuit translates complex neural network operations and watermark extraction processes into a format suitable for zero-knowledge verification.

The ZKROWNN end-to-end framework for privacy-preserving ownership verification.

The framework incorporates several technical innovations to handle the computational complexity of DNNs within a ZKP environment:

  • Integer-based Arithmetic: Since zkSNARKs do not natively support floating-point operations efficiently, ZKROWNN utilizes a scaling and truncation approach to perform integer-based math.
  • Non-linear Function Approximation: Standard activation functions like Sigmoid are approximated using Chebyshev polynomials to fit within the ZKP circuit constraints.
  • Modular Circuit Design: The system includes specialized, ZK-friendly circuits for common DNN layers, such as 3D convolutions, matrix multiplications, and ReLU activations.
  • Watermark Extraction: The circuit implements the "DeepSigns" method, extracting signatures from the probability density function (PDF) of activation maps and calculating the Bit Error Rate (BER) to verify ownership against a private signature.

Experimental Evaluation

The framework was benchmarked using the MNIST (Multilayer Perceptron) and CIFAR-10 (Convolutional Neural Network) datasets to demonstrate its versatility across different architectures.

Key Results

  • Lightning-Fast Verification: Third-party verification is exceptionally efficient, taking only 1ms for the CIFAR-10 model and 29.4ms for the MLP.
  • Minimal Communication: The generated proof is a constant 127 bytes. Total communication, including verification keys, remains low (e.g., ~35KB for the CNN benchmark).
  • Practical Prover Times: While generating the proof (prover time) takes longer—11 seconds for the CNN and 45 seconds for the MLP—it remains highly practical for legal or administrative processes.
  • Zero Accuracy Loss: ZKROWNN does not impact the accuracy of the underlying model, as the ZKP generation is an external process that does not modify the model weights during inference.

Discussion and Future Work

ZKROWNN provides a robust solution for privacy-preserving IP protection in AI. By enabling non-interactive, publicly verifiable proofs, it shifts the burden of proof from trust to mathematical certainty. However, challenges remain regarding circuit scaling for very large models and extending support to a wider variety of watermarking techniques beyond DeepSigns. Future research will also explore hardening the system against more sophisticated adversarial attempts to forge proofs.

Summary updated

BibTeX
@inproceedings{sheybani2023zkrownn,
  author = {Nojan Sheybani and Zahra Ghodsi and Ritvik Kapila and Farinaz Koushanfar},
  title = {{ZKROWNN: Zero Knowledge Right of Ownership for Neural Networks}},
  booktitle = {DAC},
  year = {2023},
  doi = {10.1109/dac56929.2023.10247798},
}
Figure