Introduction
Style transfer has revolutionized 2D image editing, allowing users to apply the aesthetic of famous artists to their own photos. However, extending this capability to 3D scenes presents significant challenges, primarily regarding view consistency. Traditional frame-by-frame video stylization often suffers from "flickering" because 2D algorithms lack an understanding of 3D geometry. Furthermore, most existing 3D methods rely on a single reference image, which may not fully encapsulate an artist's style. TeSTNeRF addresses these issues by introducing a text-driven framework for 3D style transfer that ensures consistency across novel viewpoints.
Methodology
TeSTNeRF leverages Neural Radiance Fields (NeRF) and the CLIP (Contrastive Language-Image Pre-training) model to achieve consistent 3D stylization from text prompts. The core architecture freezes the scene's geometry (volume density $\sigma$) and focuses on optimizing the color component ($c$). This disentanglement ensures that the artistic style does not degrade the underlying 3D structure.
As shown in the architecture diagram, a text prompt (e.g., "Van Gogh") is processed by a CLIP text encoder to produce a latent style code $z$. This code is then fed into a hypernetwork $\Psi$, which predicts the weights for the NeRF's color branch ($F_c$). To ensure high-quality results, the model employs several loss functions:
- Text-Image Cross-Modal Loss ($L_{TIC}$): Aligns rendered views with the text prompt in CLIP's latent space.
- 2D Stylization Rectification ($L_{2D}$): Uses a pre-trained 2D style transfer model (e.g., CycleGAN) as a "teacher" to provide structural guidance and prevent "color spill," where colors bleed into irrelevant parts of the scene.
- Style and Content Losses: Maintain the original scene's structure while adopting the target style's feature statistics (mean and standard deviation) extracted from artist-specific collections.
Results and Discussion
The framework was evaluated on standard datasets like the NeRF and FVS collections, featuring complex real-world scenes such as "Fern," "Orchids," and "Vasedeck."
Quantitative analysis using warped distance metrics—a measure of pixel stability between frames—demonstrated that TeSTNeRF significantly outperforms image-based methods in temporal consistency, achieving scores as low as 0.0073 for short-range movements. In user studies involving 50 participants, TeSTNeRF's results were rated highest for both visual quality (7.23/10) and temporal consistency (8.32/10). Ablation studies confirmed that the $L_{2D}$ loss is crucial for preventing artifacts, while the CLIP-based $L_{TIC}$ loss ensures the color palette accurately reflects the requested artistic style.
Conclusion
TeSTNeRF represents a significant step forward in 3D content creation, offering an intuitive text-based interface for stylizing complex scenes. By disentangling geometry from appearance and employing a cross-modal learning strategy, it achieves unprecedented view consistency. While currently dependent on high-quality initial NeRF reconstructions and specific 2D teacher models, the method provides a robust foundation for future work in generalized, zero-shot 3D stylization.
Summary updated