Diffusion Renderer: Neural Inverse and Forward Rendering with Video Diffusion Models

Ruofan Liang, Zan Gojcic, Huan Ling, Jacob Munkberg, Jon Hasselgren, Chih-Hao Lin, Jun Gao, Alexander Keller, Nandita Vijaykumar, Sanja Fidler, Zian Wang

Introduction

In computer graphics, rendering is often viewed as a "dual problem." Forward rendering transforms 3D scene descriptions—geometry, materials, and lighting—into photorealistic images by simulating light transport. Conversely, inverse rendering attempts to decompose an image back into its constituent 3D properties. While traditional Physically Based Rendering (PBR) is highly accurate, it is notoriously "brittle," requiring near-perfect 3D meshes and material maps that are difficult to acquire from real-world data.

DiffusionRenderer addresses these challenges by leveraging the powerful generative priors of video diffusion models. By treating rendering as a neural approximation task, the framework bypasses the need for perfect geometry and complex path-tracing simulations, enabling high-quality relighting, material editing, and object insertion from a single video source.

The DiffusionRenderer Framework

The core of the system consists of two specialized video diffusion models built upon Stable Video Diffusion (SVD).

1. Neural Inverse Renderer

The inverse model takes an input RGB video and estimates five essential "G-buffers" (Geometry buffers): surface normals, depth, base color (albedo), roughness, and metallic properties. To ensure maximum precision, the model uses a "domain embedding" strategy, generating one attribute at a time rather than attempting to solve for all five simultaneously.

2. Neural Forward Renderer

The forward renderer acts as a neural proxy for a traditional path-tracer. It takes the estimated G-buffers and a target environment map (lighting) as input to produce a photorealistic video. A key advantage of this neural approach is its robustness; the model learns to compensate for the noise and imperfections inherent in estimated G-buffers that would typically cause a traditional PBR engine to fail.

Overview of the DiffusionRenderer pipeline showing reference images, estimated G-buffers (inverse rendering), and relit/edited results (forward rendering).

Methodology: The Auto-Labeling Loop

A significant hurdle in training such models is the scarcity of paired real-world data (videos with ground-truth 3D properties). The authors overcome this using a clever "auto-labeling" loop:

  1. Synthetic Training: The inverse model is first trained on a massive synthetic dataset (150,000 videos) with perfect ground-truth data.
  2. Real-World Generalization: This model is then used to "auto-label" thousands of real-world videos from the DL3DV-10k dataset.
  3. Co-training: Finally, the forward renderer is co-trained on both the perfect synthetic data and the "noisy" auto-labeled real data. Using Low-Rank Adaptation (LoRA), the model learns to bridge the gap between synthetic perfection and real-world complexity.

Key Insights

  • Diffusion as a Robust Proxy: Unlike traditional renderers that require manifold meshes, diffusion models can "fill in the blanks," producing plausible shadows and reflections even from imperfect inputs.
  • Temporal Consistency: By utilizing video diffusion models, the framework maintains temporal coherence, preventing the flickering artifacts often seen in frame-by-frame neural rendering.
  • Specular Accuracy: The video-based approach significantly improves material estimation. For instance, the model achieved a 41% reduction in RMSE for metallic property estimation compared to image-based baselines, as multi-view information helps the model better understand surface shininess.

Performance and Applications

DiffusionRenderer consistently outperforms existing baselines like RGB↔X and Neural Gaffer. In forward rendering tasks on complex scenes, it achieved a PSNR of 26.0, a substantial improvement over the next best neural baseline (20.7).

Beyond benchmarks, the framework enables several practical creative applications:

  • Relighting: Changing the lighting environment of a real video (e.g., from daylight to sunset).
  • Material Editing: Swapping material properties, such as making a plastic object appear metallic.
  • Object Insertion: Placing virtual objects into real scenes with realistic environmental interactions.

Limitations

Despite its strengths, the system relies on diffusion denoising steps, making it too slow for real-time applications. Additionally, the denoising process can occasionally introduce subtle variations in fine textures or colors. Future work may involve distillation techniques to accelerate inference and improvements in integrated lighting estimation.

Summary updated

BibTeX
@inproceedings{liang2025diffusion,
  author = {Ruofan Liang and Zan Gojcic and Huan Ling and Jacob Munkberg and Jon Hasselgren and Chih-Hao Lin and Jun Gao and Alexander Keller and Nandita Vijaykumar and Sanja Fidler and Zian Wang},
  title = {{Diffusion Renderer: Neural Inverse and Forward Rendering with Video Diffusion Models}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2025},
  doi = {10.1109/cvpr52734.2025.02428},
}
Figure