GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis

Katja Schwarz, Yiyi Liao, Michael Niemeyer, Andreas Geiger

Abstract

While 2D generative adversarial networks have enabled high-resolution image synthesis, they largely lack an understanding of the 3D world and the image formation process. Thus, they do not provide precise control over camera viewpoint or object pose. To address this problem, several recent approaches leverage intermediate voxel-based representations in combination with differentiable rendering. However, existing methods either produce low image resolution or fall short in disentangling camera and scene properties, e.g., the object identity may vary with the viewpoint. In this paper, we propose a generative model for radiance fields which have recently proven successful for novel view synthesis of a single scene. In contrast to voxel-based representations, radiance fields are not confined to a coarse discretization of the 3D space, yet allow for disentangling camera and scene properties while degrading gracefully in the presence of reconstruction ambiguity. By introducing a multi-scale patch-based discriminator, we demonstrate synthesis of high-resolution images while training our model from unposed 2D images alone. We systematically analyze our approach on several challenging synthetic and real-world datasets. Our experiments reveal that radiance fields are a powerful representation for generative image synthesis, leading to 3D consistent models that render with high fidelity.

Introduction

Standard 2D Generative Adversarial Networks (GANs), such as StyleGAN, have achieved remarkable success in generating high-fidelity images. However, these models are fundamentally "3D-blind," lacking an inherent understanding of the 3D world and the physical process of image formation. Consequently, they fail to provide explicit control over camera viewpoints or object poses, often leading to geometric warping or identity shifts when attempting to manipulate these parameters.

Previous attempts at 3D-aware synthesis primarily relied on voxel-based representations. These methods are constrained by the "cubic curse," where memory requirements scale cubically with resolution, limiting them to low-resolution outputs. Other approaches using learned 2D projections often sacrifice 3D consistency by baking view-dependent artifacts into the neural layers.

Comparison of GRAF with previous 3D-aware generative models.

To overcome these limitations, we introduce Generative Radiance Fields (GRAF). By replacing discrete voxels with a continuous radiance field representation, GRAF enables high-resolution, 3D-consistent image synthesis with disentangled control over shape, appearance, and camera pose.

Methodology

The core of GRAF is a generative model for radiance fields, which represents a scene as a continuous function rather than a discrete grid.

Conditional Radiance Fields

GRAF utilizes a Multi-Layer Perceptron (MLP) to define a radiance field. For any 3D coordinate $\mathbf{x}$ and viewing direction $\mathbf{d}$, the MLP predicts a color $\mathbf{c}$ and a volume density $\sigma$. To make this representation generative, we condition the network on two latent codes: a shape code $z_s$ and an appearance code $z_a$. The architecture is designed such that $\sigma$ depends only on $z_s$, ensuring that the underlying geometry remains consistent regardless of the object's appearance or the camera angle.

Multi-Scale Patch-Based Discriminator

A significant challenge in training generative radiance fields is the computational cost of rendering full high-resolution images. To address this, we propose a novel training strategy using a multi-scale patch-based discriminator. Instead of rendering the entire image, the generator produces small $K \times K$ patches sampled at different scales. This allows the model to learn both global structure and fine-grained textures efficiently, enabling scaling to resolutions as high as $512 \times 512$.

The GRAF architecture overview.

Experiments and Results

We evaluated GRAF on a variety of synthetic (Chairs, Cars) and real-world (CelebA faces, Cats, Birds) datasets.

Quantitative Performance

GRAF significantly outperforms existing 3D-aware baselines. On the Chairs dataset, GRAF achieved a Frechet Inception Distance (FID) of 34, a substantial improvement over HoloGAN (59) and PlatonicGAN (199).

3D Consistency

To verify the physical plausibility of the generated images, we performed 3D reconstruction using COLMAP on sequences of generated views. As shown in Figure 1, GRAF produces highly consistent 3D structures, whereas previous methods like HoloGAN exhibit significant artifacts and lack true multi-view consistency.

Conclusion

GRAF demonstrates that continuous radiance fields are a powerful and efficient representation for 3D-aware image synthesis. By combining NeRF-based rendering with a patch-based GAN training strategy, we achieve high-resolution results that maintain strict 3D consistency. While currently focused on single-object scenes, GRAF paves the way for more complex generative models that fully respect the 3D nature of our world.

Summary updated

BibTeX
@inproceedings{schwarz2020graf,
  author = {Katja Schwarz and Yiyi Liao and Michael Niemeyer and Andreas Geiger},
  title = {{GRAF: Generative Radiance Fields for 3D-Aware Image Synthesis}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2020},
}
Figure