Abstract
Neural rendering aims to bridge the gap between traditional graphics pipelines and generative AI. However, existing diffusion models often struggle with temporal consistency in interactive settings, leading to "flicker" or "autoregressive drift." We present FrameDiffuser, an autoregressive neural rendering framework that transforms G-buffer data into photorealistic video frames in real-time. By employing a dual-conditioning architecture—utilizing ControlNet for structural guidance and a novel Temporal LoRA for coherence—FrameDiffuser maintains stable lighting and reflections over thousands of frames. Our three-stage training strategy, including self-conditioning on imperfect outputs, enables the model to resist error accumulation, achieving significant improvements in PSNR and SSIM over state-of-the-art baselines.
Introduction
Traditional game engines rely on complex, hand-tuned shaders and lighting algorithms to render 3D scenes. Neural rendering offers a promising alternative by using deep learning to synthesize images directly from scene data. While diffusion-based models have shown remarkable quality, they face a critical "consistency vs. flexibility" trade-off. Single-image models lack temporal awareness, resulting in distracting flickers. Conversely, video-based models require full sequences in advance, making them unsuitable for interactive applications like gaming where the next frame depends on real-time user input.
The primary obstacle in autoregressive neural rendering is autoregressive drift. When a model uses its own previous, slightly inaccurate output as a condition for the next frame, these errors compound rapidly. Without specific interventions, visual quality typically collapses within a few frames, leading to "melting" artifacts.
Methodology
FrameDiffuser is built upon the Stable Diffusion 1.5 architecture, enhanced with a Dual-Conditioning Architecture designed for structural integrity and temporal stability.
The system processes a 10-channel input: 9 channels from the standard G-buffer (basecolor, normals, depth, roughness, metallic) and a tenth "predicted irradiance" channel.
- ControlNet for Structure: This component ensures the generated frame adheres strictly to the geometry and material properties defined in the G-buffer.
- Temporal LoRA for Coherence: To maintain consistency, the model is conditioned on the latent representation of the previous frame. This "nudges" the diffusion process to preserve lighting and color across time steps.
- Irradiance Guidance: The framework derives an approximate irradiance map by comparing the previous frame's output with the current basecolor. This provides essential cues for shadows and specular highlights without requiring expensive ground-truth lighting calculations.
Training Strategy
To combat autoregressive drift, the authors implemented a specialized three-stage training pipeline:
- Structural Learning: The model first learns to interpret G-buffer data using zeroed (black) irradiance inputs.
- Temporal Introduction: Real irradiance data and previous frame latents are introduced to teach the model temporal relationships.
- Self-Conditioning: This critical final stage involves training the model on its own generated, noisy outputs rather than ground-truth data. This "self-correction" training makes the model resilient to the minor errors inherent in autoregressive generation.
Experiments and Results
The model was evaluated across six diverse Unreal Engine 5 environments, ranging from dense jungles to urban cityscapes. By specializing models on specific environments, FrameDiffuser learns the unique lighting behaviors and artistic styles of each world.
Quantitatively, FrameDiffuser significantly outperforms the RGB↔X baseline, achieving a PSNR of 18.34 (compared to 8.60) and an SSIM of 0.6377 (compared to 0.3566). Most notably, the model demonstrates extreme stability, maintaining visual quality for over 4,000 consecutive frames—a feat previously unattainable for autoregressive diffusion models.
Discussion and Limitations
A key advantage of FrameDiffuser is its support for G-Buffer Editing. Users can modify the scene in real-time (e.g., adding objects), and the model automatically synthesizes appropriate shadows and reflections for the new geometry.
However, challenges remain. Currently, the model runs at approximately 1 FPS on an RTX 4090, which is insufficient for high-speed gaming. Future work will focus on model distillation and temporal-aware VAEs to reduce high-frequency flicker and reach 30-60 FPS. Additionally, while environment-specific specialization yields high quality, it limits the model's ability to generalize across vastly different scenes without retraining.
Conclusion
FrameDiffuser represents a significant advancement in neural forward rendering. By successfully addressing autoregressive drift through dual-conditioning and self-conditioning training, it paves the way for stable, AI-driven interactive environments that can be edited and rendered in real-time with high photorealism.
Summary updated