Introduction and Motivation
While standard 2D Generative Adversarial Networks (GANs) like StyleGAN produce stunning high-resolution images, they lack an inherent understanding of the 3D world. If you try to "rotate" a camera around a 2D-generated face, the person’s identity often shifts, or the geometry warps.
Previous "3D-aware" GANs attempted to fix this using voxel grids. However, voxels face a "cubic memory wall"—doubling the resolution requires eight times the memory. To bypass this, some models used 2D convolutional "up-samplers" after a low-res 3D projection, but this often leads to "texture sticking" or multi-view 3D inconsistency.
Generative Radiance Fields (GRAF) addresses these limitations by combining the power of GANs with Neural Radiance Fields (NeRF) to create high-resolution, 3D-consistent images. By using a continuous 3D representation and a novel multi-scale patch-based discriminator, GRAF achieves precise control over camera viewpoint, object shape, and appearance—all while training entirely on collections of unposed 2D images.
Methods
The authors introduce a generative framework that builds directly upon NeRF, replacing discrete voxel grids and 2D upsampling with continuous volume rendering.
- Conditional Radiance Field ($g_\theta$): Instead of representing a single static scene, the model uses a multi-layer perceptron (MLP) conditioned on two latent codes: $z_s$ (shape) and $z_a$ (appearance). It maps a 3D coordinate and a viewing direction to a specific color and volume density.
- Differentiable Volume Rendering: To generate an image, the model casts rays through the 3D field and integrates the colors and densities. This process is entirely parameter-free and physically based, ensuring that the 3D structure remains perfectly rigid as the camera moves.
- Multi-scale Patch-based Discriminator: Rendering a full high-resolution image via NeRF is computationally expensive during training. To solve this, the authors propose a discriminator that only looks at $K \times K$ patches. By randomly scaling these patches (capturing everything from local details to global structure), the model learns to generate high-resolution images efficiently without ever needing to render a full high-res frame during the training loop.
Key Insights
- Continuous is Better than Discrete: By using an MLP to represent the scene (a continuous function) rather than a voxel grid (discrete), the model can theoretically render at any resolution without increasing memory consumption.
- The "Anti-Upsampling" Stance: The paper argues that learned 2D projections and upsampling layers are the primary cause of 3D inconsistency in prior work. By sticking to pure volume rendering, GRAF maintains perfect multi-view consistency.
- Patch Sampling as Augmentation: The patch-based discriminator doesn't just save memory; it acts as a form of data augmentation that helps stabilize GAN training, particularly for complex 3D structures.
Datasets and Results
The model was evaluated on both synthetic datasets (Chairs and Cars) and real-world datasets (Faces, Cats, and Birds).
- Visual Fidelity: GRAF significantly outperformed voxel-based baselines like PlatonicGAN and HoloGAN. On the Chairs dataset, GRAF achieved a Frechet Inception Distance (FID) of 34, compared to HoloGAN's 59.
- High-Resolution Scaling: While previous 3D GANs struggled to go beyond $64 \times 64$ or $128 \times 128$ without artifacts, GRAF successfully generated consistent results at $256^2$ and $512^2$.
- 3D Consistency: The authors used COLMAP (a multi-view stereo tool) to reconstruct 3D shapes from generated images. GRAF’s reconstructions were far more accurate (Chamfer Distance of 0.044) than HoloGAN’s (0.109), proving its superior 3D consistency.
- Disentanglement: The model successfully separated shape from appearance. For example, in the Cars dataset, altering $z_s$ could change a sedan into a van, while $z_a$ kept the color and texture the same.
Limitations and Future Work
While a significant step forward, GRAF has a few limitations. The current model is restricted to objects centered in the frame with relatively simple backgrounds and does not yet handle complex, multi-object "in-the-wild" scenes. Furthermore, it requires some prior knowledge of the camera pose distribution (e.g., knowing that most photos of cars are taken from the side or front) to train effectively. Finally, while training is optimized via patches, rendering a full high-resolution image at inference time remains slower than a standard 2D GAN due to the computational demands of ray-marching.
Summary updated