Generative VoxelNet: Learning Energy-Based Models for 3D Shape Synthesis and Analysis

Jianwen Xie, Zilong Zheng, Ruiqi Gao, Wenguan Wang, Song-Chun Zhu, Ying Nian Wu

TL;DR

Generative VoxelNet introduces a powerful framework for 3D shape modeling by applying Energy-Based Models (EBMs) directly to volumetric data. Unlike GANs or VAEs, it doesn't require auxiliary networks for training, instead using an "analysis by synthesis" approach that enables high-quality 3D synthesis, shape recovery, and state-of-the-art unsupervised feature extraction.

What Problem Does This Paper Address?

Generating and analyzing 3D data is significantly more complex than 2D images due to the extra dimension and the sparsity of volumetric shapes. Most existing 3D generative models rely on Variational Autoencoders (VAEs) or Generative Adversarial Networks (GANs). While successful, these have drawbacks: VAEs often produce blurry results due to imperfect posterior approximations, and GANs are notoriously difficult to stabilize and prone to "mode collapse."

Furthermore, these models require auxiliary networks (encoders or discriminators) to function. The authors propose a more "principled" approach using Energy-Based Models (EBMs), which define a probability distribution directly on the 3D voxel grid using a single deep convolutional neural network, avoiding the need for secondary networks during the core learning process.

Methods

The authors propose Generative VoxelNet, where a 3D ConvNet (the "VoxelNet") acts as an energy function $f(Y; \theta)$ that assigns a scalar value (energy) to any given 3D voxel grid $Y$.

  • Analysis by Synthesis: The model is trained via Maximum Likelihood Estimation (MLE). To update the model, it compares real training shapes with "synthesized" shapes generated by the model itself.
  • Langevin Dynamics: To generate these synthetic shapes, the authors use Markov Chain Monte Carlo (MCMC) sampling—specifically Langevin dynamics. This process starts with random noise and iteratively "tilts" the voxels toward low-energy (high-probability) regions defined by the VoxelNet.
  • Multi-grid Modeling: To handle high-resolution 3D shapes (up to $128^3$), which are computationally expensive for MCMC, the authors implement a coarse-to-fine strategy. They train separate models at different scales, using the results of a coarser grid to initialize the sampling for a finer grid.
  • MCMC Teaching: They also demonstrate a "cooperative" scheme where the EBM (the teacher) trains a separate top-down generator network (the student) to mimic its sampling process, allowing for much faster, non-iterative synthesis.

Datasets

The researchers evaluated their model using two primary 3D CAD datasets:

  1. ModelNet10: A 10-category subset of ModelNet, containing common objects like chairs, beds, and toilets.
  2. ShapeNet: A large-scale dataset used for more complex 3D analysis and high-resolution experiments.

Key Insights and Ideas

  • Auxiliary-Free Learning: The EBM is a "self-contained" generative model. The same parameters guide both the evaluation of a shape and the synthesis of new ones.
  • Mode Seeking vs. Mode Shifting: The authors provide a beautiful interpretation of the training process: MCMC sampling is "mode seeking" (finding where the model thinks data should be), while the parameter update is "mode shifting" (moving the model's energy valleys to align with the actual training data).
  • Versatility: Because the model learns a probability distribution over the entire 3D space, it is naturally suited for "inpainting" (recovering missing parts of a shape) and super-resolution by simply conditioning the MCMC process on the known voxels.
  • Superior Features: Even when trained without labels (unsupervised), the features learned by the VoxelNet are highly descriptive, proving more effective for object classification than those learned by 3D-GANs or VAEs.

Key Results

  • Synthesis Quality: On ModelNet10, the Generative VoxelNet achieved an Inception Score of 11.77, significantly outperforming 3D-GAN (8.66) and 3D-VAE (11.01).
  • Classification Accuracy: When using the learned features for unsupervised 3D object classification, the model reached 92.4% accuracy on ModelNet10, setting a new state-of-the-art for generative models in this category.
  • Robust Recovery: In occlusion experiments (where 70% of a shape was removed), the model recovered the original objects with a much lower error rate (0.0092) compared to 3D-GAN (0.0259).
  • High Resolution: The multi-grid approach successfully synthesized realistic $128 \times 128 \times 128$ voxel shapes, a resolution that typically causes standard EBMs to fail or become prohibitively slow.

Limitations and Future Work

The primary limitation is the computational cost of MCMC. While Langevin dynamics is effective, it requires multiple iterations (steps) to generate a single sample, making it slower than the direct "forward pass" synthesis of a GAN or VAE.

The authors suggest that future work could involve further optimizing the MCMC algorithms or exploring more efficient 3D representations beyond regular voxel grids (like octrees or point clouds) to reduce memory overhead and further increase resolution.

Summary updated

BibTeX
@article{xie2022generative,
  author = {Jianwen Xie and Zilong Zheng and Ruiqi Gao and Wenguan Wang and Song-Chun Zhu and Ying Nian Wu},
  title = {{Generative VoxelNet: Learning Energy-Based Models for 3D Shape Synthesis and Analysis}},
  journal = {IEEE Trans. Pattern Anal. Mach. Intell.},
  year = {2022},
  url = {https://openreview.net/forum?id=tEriiVjSTbi},
}
Figure