Generating 3D Faces Using Convolutional Mesh Autoencoders

Anurag Ranjan, Timo Bolkart, Soubhik Sanyal, Michael J. Black

Abstract

Learned 3D representations of human faces are useful for computer vision problems such as 3D face tracking and reconstruction from images, as well as graphics applications such as character generation and animation. Traditional models learn a latent representation of a face using linear subspaces or higher-order tensor generalizations. Due to this linearity, they can not capture extreme deformations and non-linear expressions. To address this, we introduce a versatile model that learns a non-linear representation of a face using spectral convolutions on a mesh surface. We introduce mesh sampling operations that enable a hierarchical mesh representation that captures non-linear variations in shape and expression at multiple scales within the model. In a variational setting, our model samples diverse realistic 3D faces from a multivariate Gaussian distribution. Our training data consists of 20,466 meshes of extreme expressions captured over 12 different subjects. Despite limited training data, our trained model outperforms state-of-the-art face models with 50% lower reconstruction error, while using 75% fewer parameters. We show that, replacing the expression space of an existing state-of-the-art face model with our model, achieves a lower reconstruction error.

Introduction

Capturing the nuances of the human face in 3D is a significant challenge because facial movements are inherently non-linear. Traditional approaches, such as Principal Component Analysis (PCA), rely on linear combinations of "base shapes." While effective for neutral poses, these linear models struggle to represent extreme or asymmetric expressions, such as puffing out cheeks or screaming.

While Convolutional Neural Networks (CNNs) have revolutionized 2D image processing, applying them to 3D meshes is difficult. Standard CNNs operate on regular grids (pixels), whereas 3D meshes are irregular graphs of vertices and edges. Previous attempts often used computationally expensive volumetric convolutions (voxels) limited to low resolutions. To overcome this, we introduce CoMA (Convolutional Mesh Autoencoder), a model that operates directly on the mesh surface to capture both global structure and fine-grained local deformations.

Methods

The CoMA architecture is a non-linear autoencoder that compresses a 3D mesh (5023 vertices) into a compact 8-dimensional latent vector before reconstructing it. The model relies on two primary innovations:

  1. Fast Spectral Convolutions: Instead of standard sliding-window convolutions, CoMA uses Chebyshev polynomials to approximate filters in the spectral domain. This allows the model to learn localized, translation-invariant features directly on the mesh surface without the massive computational cost of full Fourier transforms.
  2. Hierarchical Mesh Sampling: To create a multi-scale representation similar to a standard CNN, the model employs specialized downsampling and upsampling operations.
The CoMA architecture uses a series of spectral convolutions and mesh sampling layers to compress 3D face meshes into a low-dimensional latent space.

Mesh Sampling Operations

To enable the hierarchical structure, we use iterative vertex pair contraction to simplify the mesh while preserving its topology. During this downsampling phase, the model records the "barycentric coordinates" of deleted vertices. This allows the decoder to precisely re-insert vertices into their correct positions during the upsampling phase, ensuring high-fidelity reconstruction.

The mesh sampling process: (a) original mesh, (b) downsampling via vertex removal, (c) simplified mesh, and (d) upsampling to restore the original topology.

Datasets and Training

We trained the model on a new, high-quality dataset consisting of 20,466 high-resolution 3D meshes captured from 12 different subjects. The dataset includes 12 classes of "extreme" and asymmetric expressions, such as "bare teeth," "cheeks in," and "mouth side." All data was registered to a common template of 5023 vertices to ensure dense correspondence across the entire set.

Key Results and Insights

CoMA demonstrates significant improvements over traditional linear models in both efficiency and accuracy:

  • Superior Accuracy: In interpolation tests, CoMA achieved a mean reconstruction error of 0.845 mm, a ~50% improvement over PCA's 1.639 mm. Furthermore, 72.6% of CoMA’s reconstructed vertices were within 1 mm of the ground truth, compared to only 47.3% for PCA.
  • Parameter Efficiency: By sharing convolutional filters across the mesh surface, the model is highly compact, using only ~33k parameters—a 75% reduction compared to the ~120k required by a comparable PCA model.
  • Generalization: CoMA consistently outperformed state-of-the-art models like FLAME in extrapolation tests (reconstructing unseen expressions). We also demonstrated that swapping the linear expression space of FLAME with CoMA significantly improves its accuracy.
  • Generative Power: When trained as a Variational Autoencoder (VAE), the model can sample new, realistic 3D faces from a Gaussian distribution, confirming it has learned a meaningful and continuous "face space."

Conclusion

CoMA represents a shift toward non-linear 3D face modeling. By utilizing spectral convolutions and hierarchical mesh sampling, it captures complex facial tissue deformations that linear models smooth over. While the current model requires a fixed topology, future work may extend these techniques to unorganized point clouds and direct 3D reconstruction from 2D video, providing a powerful prior for various computer vision and graphics applications.

Summary updated

BibTeX
@inproceedings{ranjan2018generating,
  author = {Anurag Ranjan and Timo Bolkart and Soubhik Sanyal and Michael J. Black},
  title = {{Generating 3D Faces Using Convolutional Mesh Autoencoders}},
  booktitle = {European Conference on Computer Vision},
  year = {2018},
  url = {https://openreview.net/forum?id=Sk-N4cZdZS},
}
Figure