NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

VQ3D: Learning a 3D-Aware Generative Model on ImageNet

Kyle Sargent, Jing Yu Koh, Han Zhang, Huiwen Chang, Charles Herrmann, Pratul P. Srinivasan, Jiajun Wu, Deqing Sun

Abstract

Scaling 3D-aware generative models to diverse, "in-the-wild" datasets like ImageNet has been a long-standing challenge. Existing GAN-based methods often fail to capture the immense variety of 1,000 object classes without explicit 3D labels or camera poses. We present VQ3D, a two-stage framework that replaces the GAN bottleneck with a vector-quantized autoencoder and an autoregressive Transformer. By leveraging a NeRF-based decoder supervised by pseudo-ground-truth depth, VQ3D achieves a state-of-the-art FID of 16.8 on ImageNet, representing a four-fold improvement over previous benchmarks.

Introduction

Generating 3D-consistent images—where a scene can be rendered from novel viewpoints—has traditionally been restricted to curated, single-class datasets like human faces (FFHQ) or cars. Applying these models to ImageNet, which contains 1.2 million images across 1,000 diverse categories, introduces significant hurdles. The complexity of learning a global 3D prior for everything from mushrooms to mountains, combined with the lack of ground-truth 3D shapes and the inherent instability of GANs on diverse data, has historically led to poor results.

The VQ3D Framework

VQ3D addresses these challenges by shifting from the standard GAN paradigm to a two-stage vector-quantized (VQ) formulation, inspired by the success of ViT-VQGAN in 2D image synthesis.

The two-stage VQ3D architecture: Stage 1 focuses on 3D-aware reconstruction using a ViT encoder and NeRF decoder, while Stage 2 enables generation via an autoregressive Transformer.

Stage 1: 3D-Aware Reconstruction

The first stage trains a 3D-aware autoencoder. A Vision Transformer (ViT) encoder compresses an input image into a grid of discrete latent tokens. A decoder then maps these tokens to a contracted triplane representation. This representation is processed by a Neural Radiance Field (NeRF) MLP to render the image from various angles. To handle the "unbounded" nature of ImageNet scenes, the model incorporates coordinate contraction techniques from Mip-NeRF 360.

Stage 2: 3D-Aware Generation

Once the autoencoder is trained, the images are represented as sequences of discrete tokens. In the second stage, an autoregressive Transformer is trained to predict these sequences. To generate a new 3D scene, the Transformer samples a new token sequence, which the frozen Stage 1 decoder then renders into a 3D-consistent image.

Supervision via Pseudo-Depth

A key innovation of VQ3D is its use of "pseudo-ground-truth" depth. Since ImageNet lacks 3D labels, the authors utilize a pre-trained depth estimation model (DPT) to supervise the NeRF's geometry. A novel weighted shift/scale invariant loss ensures the model learns accurate volume and depth, even for complex objects, without requiring expensive 3D scans or manual camera pose annotations.

Key Results and Comparison

VQ3D demonstrates a massive leap in performance on ImageNet. It achieved an FID score of 16.8, compared to the previous state-of-the-art 3D-aware model, StyleNeRF, which scored 69.8.

Qualitative comparison between StyleNeRF, EG3D, and VQ3D (Ours). VQ3D produces significantly cleaner and more accurate depth maps for complex, diverse scenes.

Qualitatively, VQ3D produces much cleaner geometry than previous baselines. While models like EG3D often produce "flat" or distorted geometry when faced with the diversity of ImageNet, VQ3D maintains consistent 3D structure across a wide variety of classes. Furthermore, on single-class benchmarks like CompCars, VQ3D remains highly competitive, achieving an FID of 7.3.

Conclusion and Limitations

VQ3D proves that vector quantization and sequence modeling are more robust than GANs for scaling 3D-aware generation to diverse datasets. However, the model currently has a limited camera range; because it assumes a "canonical" front-facing pose during reconstruction, it is best suited for "looking around" an object rather than full 360-degree rotations. Future work may focus on expanding this viewpoint range and integrating text-to-3D capabilities.

Summary updated

BibTeX
@inproceedings{sargent2023vq,
  author = {Kyle Sargent and Jing Yu Koh and Han Zhang and Huiwen Chang and Charles Herrmann and Pratul P. Srinivasan and Jiajun Wu and Deqing Sun},
  title = {{VQ3D: Learning a 3D-Aware Generative Model on ImageNet}},
  booktitle = {IEEE/CVF International Conference on Computer Vision},
  year = {2023},
}
Figure