Abstract
We introduce StyleSDF, a high-resolution, 3D-consistent image and shape generation technique. Trained on single-view RGB data, StyleSDF leverages StyleGAN2 for image generation while addressing key challenges in 3D-aware GANs: high-resolution, view-consistent RGB generation and detailed 3D shape modeling. By merging a Signed Distance Field (SDF) based 3D representation with a style-based 2D generator, our method produces 1024×1024 images with consistent volume rendering and detailed surfaces, outperforming state-of-the-art methods in both visual and geometric quality.
Introduction
Generative Adversarial Networks (GANs) like StyleGAN produce photorealistic images but lack an internal concept of 3D geometry, leading to "warping" when attempting to rotate features. While 3D-aware GANs using volumetric rendering (e.g., NeRFs) exist, they are often limited by high computational costs at high resolutions and "cloudy" geometry due to the use of opacity fields. StyleSDF addresses these issues by combining the structural benefits of SDFs with the high-resolution capabilities of style-based 2D generators.
Methods
StyleSDF utilizes a hybrid, two-stage architecture to balance 3D consistency with high-resolution detail.
- 3D Backbone: A coordinate-based Multi-Layer Perceptron (MLP) models a Signed Distance Field (SDF), defining the distance to the nearest surface. This backbone renders low-resolution (64×64) feature maps and a base color image.
- 2D Style-Based Generator: The low-resolution feature maps are processed by a truncated StyleGAN2 network, which acts as a super-resolution engine to add high-frequency details (e.g., skin pores, hair) and upsample the image to 1024×1024.
- Training Objectives: The model employs Eikonal loss to ensure the SDF behaves as a true distance function, Minimal Surface loss to reduce artifacts, and Pose Alignment loss for consistent object orientation. Additionally, a sphere initialization for the 3D MLP prevents the "hollow face" illusion.
Datasets
The model was evaluated on two high-resolution benchmarks:
- FFHQ (Flickr-Faces-HQ): 70,000 human face images at 1024×1024.
- AFHQ (Animal Faces-HQ): 15,630 images of cats, dogs, and wild animals at 512×512.
Key Results
StyleSDF demonstrates superior performance in both visual quality and geometric integrity.
- Visual Quality: On FFHQ, StyleSDF achieved a Fréchet Inception Distance (FID) of 11.5, significantly better than Pi-GAN (83.0) and GIRAFFE (31.2).
- Geometric Consistency: The model showed nearly 30x better consistency than Pi-GAN on human faces, measured via view-aligned depth maps.
- Resolution: StyleSDF is among the first to generate 3D-consistent content at 1024×1024 resolution, a 4-8x improvement over contemporary competitors.
Discussion and Limitations
While StyleSDF sets a new standard for 3D-aware generation, some challenges remain. High-frequency areas like teeth can exhibit aliasing or flickering during motion. Single-view training can also lead to lighting-shape ambiguity, where specular highlights are misinterpreted as geometric features. Furthermore, the model currently treats the entire scene as a single SDF, which can complicate foreground/background separation. Future work will address these biases and improve the handling of view-dependent effects.
Summary updated