TL;DR
AgileGAN3D is a novel framework that achieves high-quality, multi-view-consistent 3D portrait stylization from a single user photo using only around 20 unpaired 2D style exemplars. By leveraging a 2D style prior to bootstrap data generation and introducing a multi-view cycle consistency loss for 3D GAN inversion, it effectively bypasses the severe shortage of 3D stylized training data.
What Problem Does This Paper Address?
While automated 2D portrait stylization (turning a selfie into a cartoon or oil painting) has made massive strides, extending this capability into 3D remains a significant challenge. If you want to turn a single selfie into a 3D digital avatar with detailed, style-specific geometry, you run into a major roadblock: a total lack of high-quality, stylized 3D training data.
Recent geometry-aware 3D GANs (like EG3D) can generate realistic 3D human faces from unstructured 2D photos, but trying to fine-tune them directly on a few artistic images fails. This is because:
- Data Scarcity: 3D-aware generators rely on underlying Neural Radiance Fields (NeRF), which require a massive variety of viewpoints to properly reason about 3D geometry. A handful of style exemplars isn't enough.
- Inaccurate Camera Poses: Training 3D GANs requires accurate camera pose labels. Estimating precise camera angles from abstract, stylized, or cartoonish drawings is notoriously unreliable.
Methods
AgileGAN3D tackles these challenges using a three-stage pipeline: Style Prior Creation, 3D GAN Inversion, and Guided Transfer Learning.
1. Style Prior Creation
Instead of training the complex 3D GAN directly on the limited 2D exemplars, the authors first train a simpler 2D stylization module (based on AgileGAN) on top of a pretrained StyleGAN2. This creates a 2D Style Prior.
By feeding thousands of standard, real face photos through this 2D prior, they generate an infinite supply of augmented 2D stylized images. Crucially, because these stylized images are derived from real photos, the authors can accurately estimate camera poses from the original real photos and map them directly to the new stylized outputs.
2. Encoder Inversion with $W+$ Space
To stylize a specific user's selfie, the image must be mapped into the latent space ($W+$) of the 3D GAN—a process called GAN inversion. The authors design a pyramid-structured encoder ($E_\theta$) and introduce a novel multi-view cycle consistency loss. This loss ensures that if a latent code is rendered from an arbitrary new camera angle, the encoder can still successfully recover the original latent code, preventing visual artifacts and ensuring the subject's identity is preserved across all viewing angles.
3. Guided Transfer Learning
Finally, the pretrained 3D generator is fine-tuned using the augmented paired data. A guidance loss (combining pixel-level $L_2$ and perceptual LPIPS losses) stabilizes the training, ensuring the 3D model inherits the target style while maintaining clean, artifact-free geometry.
Datasets
- CelebA-HQ: 30,000 high-quality face images used to train the 3D GAN encoder and supply the real face images for guided transfer learning.
- FFHQ: Pretrained weights from this dataset were utilized for the base StyleGAN2 and EG3D models.
- Artistic Exemplars: Approximately 20 unstructured 2D images per target style (e.g., Cartoon, Oil Painting, Comic, Sculpture) collected from public asset websites.
Key Insights and Ideas
- The "Pose Trick": Instead of struggling to estimate camera matrices from abstract art, the authors generate art from real faces, allowing them to cleanly inherit perfect camera pose labels.
- Leveraging 2D Maturity for 3D Tasks: Bootstrapping a 3D NeRF-based model using data synthesized by a mature 2D GAN framework bridges the data gap elegantly.
- Geometry Matters: As shown in the sample size evolution, increasing the number of augmented training samples dramatically improves how well the NeRF module resolves fine-level 3D structures.
Key Results
AgileGAN3D was evaluated against hybrid baselines like AgileGAN-EG3D and Toonify-EG3D (which directly fine-tune 3D GANs without the augmented style prior pipeline).
- Quantitative Quality: Using the Stylization LPIPS metric (where lower scores indicate closer alignment to high-quality 2D stylization), AgileGAN3D significantly outperformed the baselines across all tested styles:
- Cartoon: 0.195 (Ours) vs. 0.440 (AgileGAN-EG3D)
- Oil Painting: 0.212 (Ours) vs. 0.433 (AgileGAN-EG3D)
- Sculpture: 0.234 (Ours) vs. 0.469 (AgileGAN-EG3D)
- Qualitative Consistency: Visual results demonstrate superior identity preservation and highly detailed, style-appropriate 3D geometry (e.g., chiseled features for sculptures, smooth contours for cartoons) that remain consistent when the virtual camera rotates.
Limitations and Future Work
Despite the compelling results, the authors note a few limitations:
- Gaze Bias: The model occasionally struggles with eye gaze direction, tending to bias the generated eyes toward a frontal gaze regardless of the input image.
- Rare Accessories: The framework sometimes fails to preserve or accurately stylize accessories like hats or unique glasses if they are underrepresented in the underlying training datasets.
Future work will likely look into expanding input exemplar diversity to better capture these complex peripheral details.
Summary updated