DiffStyle3D: Consistent 3D Gaussian Stylization via Attention Optimization

Yitong Yang, Xuexin Liu, Yinglin Wang, Jing Wang, Hao Dou, Changshuo Wang, Shuting He

Abstract

3D style transfer enables the creation of visually expressive 3D content, enriching the visual appearance of 3D scenes and objects. However, existing VGG- and CLIP-based methods struggle to model multi-view consistency within the model itself, while diffusion-based approaches can capture such consistency but rely on denoising directions, leading to unstable training. To address these limitations, we propose DiffStyle3D, a novel diffusion-based paradigm for 3DGS style transfer that directly optimizes in the latent space. Specifically, we introduce an Attention-Aware Loss that performs style transfer by aligning style features in the self-attention space, while preserving original content through content feature alignment. Inspired by the geometric invariance of 3D stylization, we propose a Geometry-Guided Multi-View Consistency method that integrates geometric information into self-attention to enable cross-view correspondence modeling. Based on geometric information, we additionally construct a geometry-aware mask to prevent redundant optimization in overlapping regions across views, which further improves multi-view consistency. Extensive experiments show that DiffStyle3D outperforms state-of-the-art methods, achieving higher stylization quality and visual realism.

Introduction

3D style transfer aims to apply the aesthetic of a reference image—such as a painting or a sketch—to a 3D scene or object. While 3D Gaussian Splatting (3DGS) has revolutionized 3D rendering speed and quality, stylizing these representations remains a significant challenge. Existing methods generally fall into two categories: VGG/CLIP-based methods, which often fail to maintain multi-view consistency (leading to visual "flickering"), and diffusion-based approaches, which typically rely on Score Distillation Sampling (SDS). These diffusion methods often suffer from unstable training, over-smoothed textures, and artifacts.

Overview of DiffStyle3D stylization results on various 3D objects and scenes, demonstrating high-quality and consistent style transfer.

DiffStyle3D introduces a paradigm shift by moving away from noisy denoising gradients toward direct latent-space optimization. This approach ensures stable, high-fidelity stylization that remains perfectly consistent across different camera viewpoints.

Methodology

The core of DiffStyle3D is the optimization of features within the self-attention layers of a pre-trained diffusion model (Stable Diffusion 1.5). By operating in the latent space, the framework avoids the instabilities of traditional denoising directions.

The DiffStyle3D framework architecture, detailing the Attention-Aware Loss and the Geometry-Guided Multi-View Consistency (GGA) module.

Attention-Aware Loss

To transfer style without compromising the original scene structure, the authors propose an Attention-Aware Loss. This mechanism injects the Keys (K) and Values (V) from the style image into the Queries (Q) of the rendered 3D scene. This guides the model to adopt the style's textures and color palettes while strictly maintaining the scene's layout. A critical component of this optimization is feature normalization; centering and normalizing features before calculating loss ensures the optimization focuses on the "direction" of the style rather than absolute magnitudes.

Geometry-Guided Multi-View Consistency (GGA)

To ensure the style is "locked" to the 3D geometry, DiffStyle3D uses camera intrinsics and depth maps to warp features between views. This Geometry-Guided Multi-View Consistency (GGA) allows the self-attention mechanism to recognize correspondences across multiple viewpoints simultaneously, enforcing coherence. Furthermore, a Geometry-Aware Mask ($M_G$) is employed to restrict optimization to non-overlapping areas in a given batch, preventing the blurriness caused by over-optimizing overlapping regions.

Fixed Timestep Optimization

Unlike standard diffusion training that samples random noise levels, DiffStyle3D utilizes a fixed, very low noise timestep ($t=1$). This preserves fine-grained details and prevents the over-smoothing effect common in other diffusion-based generation methods.

Experimental Results

The researchers evaluated DiffStyle3D on a robust set of benchmarks, including 8 scenes from the Tandt DB and Mip-NeRF 360 datasets, and 10 individual objects. A total of 112 scene-level and 140 object-level experiments were conducted using 14 diverse artistic styles.

DiffStyle3D outperformed state-of-the-art methods like StyleGaussian and CLIPGaussian in both qualitative and quantitative measures:

  • Visual Quality: The method effectively avoids "content leakage," a failure mode where elements of the style image (e.g., a specific face or object) accidentally appear in the stylized scene.
  • Consistency: It achieved top scores in CLIP-CONS and LPIPS, metrics specifically designed to measure style consistency across different camera angles.
  • Efficiency: Despite the use of a large diffusion model, training remains efficient, taking approximately 16 minutes for a full scene and 4 minutes for an object on an NVIDIA L20 GPU.

Conclusion and Future Work

DiffStyle3D demonstrates that optimizing in the latent space of diffusion models provides a more stable and high-fidelity path for 3D stylization than previous gradient-based methods. However, the current implementation only optimizes color-related parameters (Spherical Harmonics) and does not alter the underlying 3D geometry. Future work may explore integrating geometric deformation into the optimization loop to allow for structural artistic transfers, such as the blocky forms of Cubism. Additionally, reducing the VRAM requirements of the diffusion model remains a goal for broader accessibility.

Summary updated

BibTeX
@inproceedings{yang2026diffstyle,
  author = {Yitong Yang and Xuexin Liu and Yinglin Wang and Jing Wang and Hao Dou and Changshuo Wang and Shuting He},
  title = {{DiffStyle3D: Consistent 3D Gaussian Stylization via Attention Optimization}},
  booktitle = {International Conference on Machine Learning},
  year = {2026},
  url = {https://openreview.net/forum?id=7gIbZL9jwE},
}
Figure