CopyRNeRF: Protecting the CopyRight of Neural Radiance Fields

Ziyuan Luo, Qing Guo, Ka Chun Cheung, Simon See, Renjie Wan

Introduction

Neural Radiance Fields (NeRF) have fundamentally changed how we represent 3D scenes, enabling high-fidelity rendering from sparse 2D images. However, the high computational cost and proprietary data required to train these models make them valuable intellectual property. As NeRF models become more common in commercial applications, they also become targets for theft.

Traditional 2D watermarking techniques are insufficient for protecting 3D models. While they can protect individual rendered images, they do not protect the underlying model weights. A malicious actor who steals a NeRF model can simply render new viewpoints that lack the original watermark. Previous attempts to embed watermarks directly into model weights often faced a "Sophie’s choice": achieving invisibility (maintaining visual quality) usually meant sacrificing robustness (the ability of the watermark to survive image processing or different rendering settings). CopyRNeRF is a novel framework designed to solve this dilemma by embedding digital watermarks directly into the model's color representation.

The CopyRNeRF Framework

CopyRNeRF integrates the watermark into the core rendering pipeline through three primary components that ensure the copyright message is "baked" into the scene's representation.

1. Watermarked Color Representation

Unlike standard NeRF architectures where a Multilayer Perceptron (MLP) directly outputs color values, CopyRNeRF utilizes a multi-stage fusion process. The system generates two distinct fields: a Color Feature Field, which captures spatial and directional information, and a Message Feature Field, which encodes the binary copyright bitstring. These fields are merged via a feature fusion module to produce the final watermarked color. This ensures the message is distributed throughout the scene's appearance rather than being a superficial overlay.

2. Distortion-Resistant Rendering (DRR)

To ensure the watermark remains extractable in real-world scenarios, the authors introduced a Distortion-Resistant Rendering (DRR) layer during training. This layer subjects rendered patches to various 2D distortions, such as Gaussian noise, rotation, scaling, and blurring. Furthermore, DRR employs a random sampling strategy. By varying the number of points sampled along a ray during training, the model learns to keep the watermark extractable regardless of the specific rendering parameters used during inference.

3. CNN-based Message Extractor

A dedicated Convolutional Neural Network (CNN) is trained end-to-end alongside the NeRF model. This extractor is designed to take a rendered 2D image patch and retrieve the original binary message with high precision, even if the image has been degraded.

Key Design Insights

During development, the authors identified several critical factors for successful 3D watermarking:

  • Color vs. Geometry: Initial experiments attempted to embed messages within the geometry (density) field. However, this led to significant visual artifacts and blurring. The authors concluded that the color representation is a far more effective carrier for hidden information, allowing for high visual fidelity while maintaining a strong signal for the extractor.
  • The Necessity of Patch-based Training: Standard NeRFs are typically trained pixel-by-pixel. To ensure a watermark survives spatial distortions like blurring or cropping, it must be learned over a spatial area. Training on image patches allows the model to encode the message across local structures, making the watermark more resilient.
  • Invariance to Rendering Strategy: By randomizing rendering parameters (like samples per ray) during training, the watermark becomes an intrinsic property of the radiance field itself, rather than a byproduct of a specific mathematical implementation.

Experimental Results

The framework was evaluated using the Blender Dataset (synthetic objects) and the LLFF (Local Light Field Fusion) Dataset (real-world scenes).

  • High Fidelity: CopyRNeRF maintained an average PSNR of approximately 32 dB on the Blender dataset, indicating that the watermark is virtually invisible to the human eye.
  • Bit Accuracy: The system achieved 100% bit accuracy for 4-bit and 8-bit messages. While accuracy remains high (over 90%) for up to 16 bits, it begins to degrade as message length increases toward 48 bits.
  • Robustness: CopyRNeRF outperformed existing 2D watermarking baselines like HiDDeN and MBRS. The extracted messages remained over 88% accurate even when rendered images were subjected to heavy blurring, rotation, or scaling by 25%.

Limitations and Future Directions

While CopyRNeRF represents a significant step forward in IP protection for 3D vision, it is not without limitations. The additional fusion layers and the DRR process increase training overhead. Additionally, while the model is robust to image-space attacks, it remains somewhat vulnerable to direct weight-scrubbing attacks (adding noise to the MLP parameters), though preliminary tests still showed 94% accuracy under such conditions. Future work will likely focus on optimizing training speeds and extending these protections to dynamic, time-varying NeRF scenes.

Summary updated

BibTeX
@inproceedings{luo2023copyrnerf,
  author = {Ziyuan Luo and Qing Guo and Ka Chun Cheung and Simon See and Renjie Wan},
  title = {{CopyRNeRF: Protecting the CopyRight of Neural Radiance Fields}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure