Skip to main content
QUICK REVIEW

[Paper Review] StylizedNeRF: Consistent 3D Scene Stylization as Stylized NeRF via 2D-3D Mutual Learning

Yihua Huang, Yue He|arXiv (Cornell University)|May 24, 2022
Computer Graphics and Visualization TechniquesComputer Science7 citations
TL;DR

StylizedNeRF proposes a mutual learning framework that combines 2D image stylization networks with neural radiance fields (NeRF) to achieve consistent 3D scene stylization. By distilling spatial consistency from NeRF to a 2D stylizer and using learnable latent codes conditioned on style, the method achieves superior visual quality and long-range consistency over state-of-the-art approaches.

ABSTRACT

3D scene stylization aims at generating stylized images of the scene from arbitrary novel views following a given set of style examples, while ensuring consistency when rendered from different views. Directly applying methods for image or video stylization to 3D scenes cannot achieve such consistency. Thanks to recently proposed neural radiance fields (NeRF), we are able to represent a 3D scene in a consistent way. Consistent 3D scene stylization can be effectively achieved by stylizing the corresponding NeRF. However, there is a significant domain gap between style examples which are 2D images and NeRF which is an implicit volumetric representation. To address this problem, we propose a novel mutual learning framework for 3D scene stylization that combines a 2D image stylization network and NeRF to fuse the stylization ability of 2D stylization network with the 3D consistency of NeRF. We first pre-train a standard NeRF of the 3D scene to be stylized and replace its color prediction module with a style network to obtain a stylized NeRF. It is followed by distilling the prior knowledge of spatial consistency from NeRF to the 2D stylization network through an introduced consistency loss. We also introduce a mimic loss to supervise the mutual learning of the NeRF style module and fine-tune the 2D stylization decoder. In order to further make our model handle ambiguities of 2D stylization results, we introduce learnable latent codes that obey the probability distributions conditioned on the style. They are attached to training samples as conditional inputs to better learn the style module in our novel stylized NeRF. Experimental results demonstrate that our method is superior to existing approaches in both visual quality and long-range consistency.

Motivation & Objective

  • To address the challenge of achieving consistent 3D scene stylization across novel views, which existing 2D stylization methods fail to maintain due to lack of 3D geometric awareness.
  • To bridge the domain gap between 2D style examples and 3D implicit representations (NeRF), which hinders effective stylization.
  • To improve stylization quality and consistency by jointly training a stylized NeRF and a 2D stylization network through mutual learning.
  • To handle ambiguities in 2D stylization outputs that lead to blurriness and inconsistency in NeRF rendering, by introducing learnable latent codes conditioned on style.

Proposed method

  • Pre-train a standard NeRF on the 3D scene and replace its color prediction head with a style module to form a stylized NeRF.
  • Distill spatial consistency priors from NeRF to the 2D stylization network using a consistency loss during pre-training.
  • Introduce a mimic loss to align outputs between the stylized NeRF and the 2D stylization network, enabling knowledge sharing.
  • Parameterize 2D stylization results as learnable latent codes that follow a conditional probability distribution based on style, improving robustness to ambiguity.
  • Use a distribution loss $L_d$ to regularize latent codes to cluster around the mean of the pre-trained distribution, reducing artifacts during inference.
  • Select the stylized NeRF’s rendered outputs as final results due to their inherent 3D consistency from volume rendering.

Experimental results

Research questions

  • RQ1Can mutual learning between a 2D stylization network and a NeRF improve 3D scene stylization consistency while preserving high visual quality?
  • RQ2How can the domain gap between 2D style images and 3D NeRF representations be effectively bridged for stylization?
  • RQ3Can learnable latent codes conditioned on style mitigate inconsistencies in 2D stylization results and improve stylized NeRF performance?
  • RQ4Does distilling spatial consistency from NeRF to a 2D network enhance the 3D consistency of stylized outputs?
  • RQ5Is the combination of mutual learning and conditional latent codes more effective than standalone 2D or NeRF-based stylization?

Key findings

  • Our method outperforms state-of-the-art approaches in both stylization quality and consistency, as confirmed by user studies with 50 participants and 1000 votes per metric.
  • User preference boxplots show our method significantly wins in both stylization quality and consistency, with higher median scores and less interquartile spread.
  • Ablation studies confirm that learnable latent codes and mutual training of the 2D decoder are essential: removing either leads to visible artifacts and blurriness.
  • The distribution loss $L_d$ effectively clusters latent codes around the mean, reducing artifacts in inference and improving result stability.
  • Stylized NeRF outputs maintain superior long-range consistency compared to 2D method outputs, which suffer from flickering and inconsistency across distant views.
  • The complete framework with mutual learning and conditional latent codes produces clearer object outlines and more reasonable stylization than ablated variants.

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.