Nonlinear 3D Face Morphable Model

04/11/2018 ∙ by Luan Tran, et al. ∙ Michigan State University 0

As a classic statistical model of 3D facial shape and texture, 3D Morphable Model (3DMM) is widely used in facial analysis, e.g., model fitting, image synthesis. Conventional 3DMM is learned from a set of well-controlled 2D face images with associated 3D face scans, and represented by two sets of PCA basis functions. Due to the type and amount of training data, as well as the linear bases, the representation power of 3DMM can be limited. To address these problems, this paper proposes an innovative framework to learn a nonlinear 3DMM model from a large set of unconstrained face images, without collecting 3D face scans. Specifically, given a face image as input, a network encoder estimates the projection, shape and texture parameters. Two decoders serve as the nonlinear 3DMM to map from the shape and texture parameters to the 3D shape and texture, respectively. With the projection parameter, 3D shape, and texture, a novel analytically-differentiable rendering layer is designed to reconstruct the original input face. The entire network is end-to-end trainable with only weak supervision. We demonstrate the superior representation power of our nonlinear 3DMM over its linear counterpart, and its contribution to face alignment and 3D reconstruction.



There are no comments yet.


page 4

page 6

page 7

page 8

This week in AI

Get the week's most popular data science and artificial intelligence research sent straight to your inbox every Saturday.

1 Introduction

3D Morphable Model (3DMM) is a statistical model of 3D facial shape and texture in a space where there are explicit correspondences [4]

. The morphable model framework provides two key benefits: first, a point-to-point correspondence between the reconstruction and all other models, enabling “morphing”, and second, modeling underlying transformations between types of faces (male to female, neutral to smile, etc.). 3DMM has been widely applied in numerous areas, such as computer vision 

[4, 44], graphics [1], human behavioral analysis [2] and craniofacial surgery [34].

Figure 1:

Conventional 3DMM employs linear bases models for shape/texture, which are trained with 3D face scans and associated controlled 2D images. We propose a nonlinear 3DMM to model shape/texture via deep neural networks (DNNs). It can be trained from in-the-wild face images without 3D scans, and also better reconstructs the original images due to the inherent nonlinearity.

3DMM is learnt through supervision

by performing dimension reduction, normally Principal Component Analysis (PCA), on a training set of face images/scans. To model highly variable 3D face shapes, a large amount of high-quality 3D face scans is required. However, this requirement is expensive to fulfill. The first 3DMM 

[4] was built from scans of

subjects with a similar ethnicity/age group. They were also captured in well-controlled conditions, with only neutral expressions. Hence, it is fragile to large variances in the face identity. The widely used Basel Face Model (BFM) 

[26] is also built with only subjects in neutral expressions. Lack of expression can be compensated using expression bases from FaceWarehouse [9] or BD-3FE [43]. After more than a decade, almost all models use less than training scans. Such a small training set is far from adequate to describe the full variability of human faces [8]. Only recently, Booth et al. [8] spent a significant effort to build 3DMM from scans of subjects.

Second, the texture model of 3DMM is normally built with a small number of 2D face images co-captured with 3D scans, under well-controlled conditions. Therefore, such a model is only learnt to represent the facial texture in similar conditions, rather than in-the-wild environments. This substantially limits the application scenarios of 3DMM.

Finally, the representation power of 3DMM is limited by not only the size of training set but also its formulation. The facial variations are nonlinear in nature. E.g., the variations in different facial expressions or poses are nonlinear, which violates the linear assumption of PCA-based models. Thus, a PCA model is unable to interpret facial variations well. Given the barrier of 3DMM in its data, supervision and linear bases, this paper aims to revolutionize the paradigm of learning 3DMM by answering a fundamental question:

Whether and how can we learn a nonlinear 3D Morphable Model of face shape and texture from a set of unconstrained 2D face images, without collecting 3D face scans?

If the answer were yes, this would be in sharp contrast to the conventional 3DMM approach, and remedy all aforementioned limitations. Fortunately, we have developed approaches that offer positive answers to this question. Therefore, the core of this paper is regarding how to learn this new 3DMM, what is the representation power of the model, and what is the benefit of the model to facial analysis.

As shown in Fig. 1

, starting with an observation that the linear 3DMM formulation is equivalent to a single layer network, using a deep network architecture naturally increases the model capacity. Hence, we utilize two network decoders, instead of two PCA spaces, as the shape and texture model components, respectively. With careful consideration of each component, we design different networks for shape and texture: the multi-layer perceptron (MLP) for shape and convolutional neural network (CNN) for texture. Each decoder will take a shape or texture representation as input and output the dense 3D face or a face texture. These two decoders are essentially the nonlinear 3DMM.

Further, we learn the fitting algorithm to our nonlinear 3DMM, which is formulated as a CNN encoder. The encoder takes a 2D face image as input and generates the shape and texture parameters, from which two decoders estimate the 3D face and texture. The 3D face and texture would perfectly reconstruct the input face, if the fitting algorithm and 3DMM are well learnt. Therefore, we design a differentiable rendering layer to generate a reconstructed face by fusing the 3D face, texture, and the camera projection parameters estimated by the encoder. Finally, the end-to-end learning scheme is constructed where the encoder and two decoders are learnt jointly to minimize the difference between the reconstructed face and the input face. Jointly learning the 3DMM and the model fitting encoder allows us to leverage the large collection of unconstrained 2D images without relying on 3D scans. We show significantly improved shape and texture representation power over the linear 3DMM. Consequently, this also benefits other tasks such as 2D face alignment and 3D reconstruction.

In this paper, we make the following contributions:

1) We learn a nonlinear 3DMM model that has greater representation power than its traditional linear counterpart.

2) We jointly learn the model and the model fitting algorithm via weak supervision, by leveraging a large collection of 2D images without 3D scans. The novel rendering layer enables the end-to-end training.

3) The new 3DMM further improves performance in related tasks: face alignment and face reconstruction.

2 Prior Work

Linear 3DMM. Since the original work by Blanz and Vetter [4], there has been a large amount of effort trying to improve 3DMM modeling mechanism. Paysan et al. [26] use a Nonrigid Iterative Closest Point [3] to directly align 3D scans as an alternative to the UV space alignment method in  [4]. Vlasic et al. [40] use a multilinear model to model the combined effect of identity and expression variation on the facial shape. Later, Bolkart and Wuhrer [6] show how such a multilinear model can be estimated directly from the 3D scans using a joint optimization over the model parameters and groupwise registration of 3D scans.

Improving Linear 3DMM. With PCA bases, the statistical distribution underlying 3DMM is Gaussian. Koppen et al. [20] argue that single-mode Gaussian can’t represent real-world distribution. They introduce the Gaussian Mixture 3DMM that models the global population as a mixture of Gaussian subpopulations, each with its own mean, but shared covariance. Booth el al. [7] aim to improve texture of 3DMM to go beyond controlled settings by learning “in-the-wild” feature-based texture model. However, both works are still based on statistical PCA bases. Duong et al. [25]

address the problem of linearity in face modeling by using Deep Boltzmann Machines. However, they only work with 2D face and sparse landmarks; and hence cannot handle faces with large-pose variations or occlusion well.

2D Face Alignment. 2D Face Alignment can be cast as a regression problem where 2D landmark locations are regressed directly [12]. For large-pose or occluded faces, strong priors of 3DMM face shape have been shown to be beneficial. Hence, there is increasing attention in conducting face alignment by fitting a 3D face model to a single 2D image [16, 17, 46, 21, 24, 19, 18]. Among the prior works, iterative approaches with cascades of regressors tend to be preferred. At each cascade, it can be a single [39, 16] or even two regressors [41]. In contrast to aforementioned works that use a fixed 3DMM model, our model and model fitting are learned jointly. This results in a more powerful model: a single-pass encoder, which is learnt jointly with the model, achieves state-of-the-art face alignment performance on AFLW2000 [46] benchmark dataset.

Figure 2: Jointly learning a nonlinear 3DMM and its fitting algorithm from unconstrained 2D face images, in a weakly supervised fashion.

3D Face Reconstruction. 3DMM also demonstrates its strength in face reconstruction. Since with a single image, present information about the surface is limited; 3D face reconstruction must rely on prior knowledge like 3DMM [31]. Besides 3DMM fitting methods [5, 15, 45, 35], recently, Richardson et al. [30] design a refinement network that adds facial details on top of the 3DMM-based geometry. However, this approach can only learn 2.5D depth map, which loses the correspondence property of 3DMM. The recent work of Tewari et al. reconstruct a 3D face by an elegant encoder-decoder network [35]. While their ability to decompose lighting with reflectance is satisfactory, our work has a different objective of learning a nonlinear 3DMM.

3 Proposed Method

3.1 Conventional Linear 3DMM

The 3D Morphable Model (3DMM) [4] and its 2D counterpart, Active Appearance Model [11, 22]

, provide parametric models for synthesizing faces, where faces are modeled using two components: shape and texture. In 

[4], Blanz et al. propose to describe the 3D face space with PCA:


where is a 3D face with vertices, is the mean shape, is the shape parameter corresponding to a 3D shape bases . The shape bases can be further split into , where is trained from 3D scans with neutral expression, and is from the offsets between expression and neutral scans.

The texture of the face is defined within the mean shape , which describes the R, G, B colors of corresponding vertices. is also formulated as a linear combination of texture basis functions:


where is the mean texture, is the texture bases, and is the texture parameter.

The 3DMM can be used to synthesize novel views of the face. Firstly, a 3D face is projected onto the image plane with the weak perspective projection model:


where is the model construction and projection function leading to the 2D positions of 3D vertices, is the scale factor, is the orthographic projection matrix, is the rotation matrix constructed from three rotation angles pitch, yaw, roll, and

is the translation vector. While the projection matrix

has dimensions

, it has six degrees of freedom, which is parameterized by a

-dim vector . Then, the 2D image is rendered using texture and an illumination model as described in [4].

3.2 Nonlinear 3DMM

As mentioned in Sec. 1

, the linear 3DMM has the problems such as requiring 3D face scans for supervised learning, unable to leverage massive unconstrained face images for learning, and the limited representation power due to the linear bases. We propose to learn a nonlinear 3DMM model using only large-scale in-the-wild 2D face images.

3.2.1 Problem Formulation

In linear 3DMM, the factorization of each components (texture, shape) can be seen as a matrix multiplication between coefficients and bases. From a neural network’s perspective, this can be viewed as a shallow network with only one fully connected layer

and no activation function. Naturally, to increase the model’s representative power, the shallow network can be extended to a deep architecture. In this work, we design a novel learning scheme to learn a deep 3DMM and its inference (or fitting) algorithm.

Specifically, as shown in Fig. 2, we use two deep networks to decode the shape, texture parameters into the 3D facial shape and texture respectively. To make the framework end-to-end trainable, these parameters are estimated by an encoder network, which is essentially the fitting algorithm of our 3DMM. Three deep networks join forces for the ultimate goal of reconstructing the input face image, with the assistance of a geometry-based rendering layer.

Formally, given a set of 2D face images , we aim to learn an encoder : that estimates the projection parameter , and shape and texture parameters , a 3D shape decoder : that decodes the shape parameter to a 3D shape , and a texture decoder : that decodes the texture parameter to a realistic texture , with the objective that the rendered image with , , and can approximate the original image well. Mathematically, the objective function is:


where is the rendering layer (Sec. 3.2.3).

Figure 3: Three texture representations. (a) Texture value per vertex, (b) Texture as a 2D frontal face, (c) 2D unwarped texture.

3.2.2 Shape & Texture Representation

Our shape representation is the same as that of the linear 3DMM, i.e., is a set of vertices on the face surface. The shape decoder is a MLP whose input is the shape parameter from .

Fig. 3 illustrates three possible texture representations. Texture is defined per vertex in the linear 3DMM and recent work such as [35] (Fig. 3(a)). There is a texture intensity value corresponding to each vertex in the face mesh. Since 3D vertices are not defined on a 2D grid, this representation will be parameterized as a vector, which not only loses the spatial relation of vertices, but also prevents it from leveraging the convenience of deploying CNN on 2D imagery. In contrast, given the rapid progress in image synthesis, it is desirable to choose a 2D image, e.g., a frontal-view face image in Fig. 3(b), as a texture representation. However, frontal faces contain little information of two sides, which would lose much texture information for side-view faces.

In light of these considerations, we use an unwrapped 2D texture as our texture representation (Fig. 3(c)). Specifically, each 3D vertex is projected onto the UV space using cylindrical unwarp. Assuming that the face mesh has the top pointing up the axis, the projection of onto the UV space is computed as:


where are constant scale and translation scalars to place the unwrapped face into the image boundaries. Also, the texture decoder

is a CNN constructed by fractionally-strided convolution layers.

3.2.3 In-Network Face Rendering

Figure 4: Forward and backward pass of the rendering layer.

To reconstruct a face image from the texture , shape , and projection parameter , we define a rendering layer . This is accomplished in three steps. Firstly, the texture value of each vertex in is determined by its predefined location in the 2D texture . Usually, it involves sub-pixel sampling via a bilinear sampling kernel:

where is the UV space projection of via Eqn. 5. Secondly, the 3D shape/mesh is projected to the image plane via Eqn. 3. Finally, the 3D mesh is then rendered using a Z-buffer renderer, where each pixel is associated with a single triangle of the mesh,


where is an operation returning three vertices of the triangle that encloses the pixel after projection

. In order to handle occlusions, when a single pixel resides in more than one triangle, the triangle that is closest to the image plane is selected. The value of each pixel is determined by interpolating the intensity of the mesh vertices via barycentric coordinates


There are alternative designs to our rendering layer. If the texture representation is defined per vertex, as in Fig. 3(a), one may warp the input image onto the vertex space of the 3D shape , whose distance to the per-vertex texture representation can form a reconstruction loss. This design is adopted by the recent work of [35]. In comparison, our rendered image is defined on a 2D grid while the alternative is on top of the 3D mesh. As a result, our rendered image can enjoy the convenience of applying the adversarial loss, which is shown to be critical in improving the quality of synthetic texture. Another design for rendering layer is image warping based on the spline interpolation, as in [10]. However, this warping is continuous: every pixel in the input will map to the output. Hence this warping operation fails in the occlusion part. As a result, Cole et al. [10] limit their scope to only synthesizing frontal faces by warping from normalized faces. 222Our rendering layer implementation is publicly available at

Layer Filter/Stride Output Size Layer Filter/Stride Output Size
Conv11 FConv52
Conv12 FConv51
Conv21 FConv43
Conv22 FConv42
Conv23 FConv41
Conv31 FConv33
Conv32 FConv32
Conv33 FConv31
Conv41 FConv23
Conv42 FConv22
Conv43 FConv21
Conv51 FConv13
Conv52 FConv12
Conv53 FConv11
FC (for only)
Table 1: The structures of and networks

3.2.4 Network Architecture

We design our network architecture as in Tab. 1. Also, includes two fully connected layers with -dim intermediate representation with eLU activation.

The entire network is end-to-end trained to reconstruct the input images, with the loss function:


where the reconstruction loss enforces the rendered image to be similar to the input , the adversarial loss favors realistic rendering, and the landmark loss enforces geometry constraint.

Adversarial Loss. Based on the principal of Generative Adversarial Network (GAN) [14], the adversarial loss is widely used to synthesize photo-realistic images [28, 37, 38], where the generator and discriminator are trained alternatively. In our case, networks that generate the rendered image is the generator. The discriminator includes a dedicated network , which aims to distinguish between the real face image and rendered image . During the training of the generator, the texture model will be updated with the objective that

is being classified as real faces by

. Since our face rendering already creates correct global structure of the face image, the global image-based adversarial loss may not be effective in producing high-quality textures on local facial regions. Therefore, we employ patchGAN [33] in our discriminator. Here, is a CNN consisting of four conv layers with stride of , and number of filters are , , and , respectively. Finally, one of key reasons we are able to employ adversarial loss is that we are rendering in the 2D image space, rather than the 3D vertices space or unwrapped texture space. This shows the necessity and importance of our rendering layer.

Semi-Supervised Pre-Training. Fully unsupervised training using only the mentioned reconstruction and adversarial loss on the rendered image could lead to a degenerate solution, since the initial estimation is far from ideal to render meaningful images. Hence, we introduce pre-training loss functions to guide the training in the early iterations.

With face profiling technique, Zhu et al. [46] expands the 300W dataset [32] into images with the fitted 3DMM shape and projection parameters . Given and , we create the pseudo groundtruth texture by referring every pixel in the UV space back to the input image, i.e., backward of our rendering layer. With , , , we define our pre-training loss by:




Due to the pseudo groundtruth, using may run into the risk that our solution learns to mimic the linear model. Thus, we switch to the loss of Eqn. 8 after converges.

Sparse Landmark Alignment. To help to better learn the facial shape, the landmark loss can be an auxiliary task.


where is the manually labeled 2D landmark locations, is a constant -dim vector storing the indexes of 3D vertices corresponding to the labeled 2D landmarks. Unlike the three losses above, these landmark annotations are “golden” groundtruth, and hence can be used during the entire training process. Different from traditional face alignment work where the shape bases are fixed, our work jointly learns the bases functions (i.e., the shape decoder ) as well. Minimizing the landmark loss when updating only moves a tiny subset of vertices, since our is a MLP consisting of fully connected layers. This could lead to unrealistic shapes. Hence, when optimizing the landmark loss, we fix the decoder and only update the encoder. Note that the estimated groundtruth in and the landmarks are the only supervision used in our training, due to this our learning is considered as weakly supervised.

4 Experimental Results

The experiments study three aspects of the proposed nonlinear 3DMM, in terms of its expressiveness, representation power, and applications to facial analysis. Using facial mesh triangle definition by Basel Face Model (BFM) [26], we train our 3DMM using 300W-LP dataset [46]. The model is optimized using Adam optimizer with an initial learning rate of when minimizing , and when minimizing . We set the following parameters: , , .  values are set to make losses to have similar magnitudes.

4.1 Expressiveness

Exploring feature space. We use the entire CelebA dataset [23] with

k images to feed to our network to obtain the empirical distribution of our shape and texture parameters. By varying the mean parameter along each dimension proportional to their standard deviations, we can get a sense how each element contributes to the final shape and texture. We sort elements in the shape parameter

based on their differences to the mean 3D shape. Fig. 5 shows four examples of shape changes, whose differences rank No., , , and among elements. Most of top changes are expression related. Similarly, in Fig. 6, we visualize different texture changes by adjusting only one element of off the mean parameter . The elements with the same ranks as the shape counterpart are selected.

Figure 5: Each column shows shape changes when varying one element of . Ordered by the magnitude of shape changes.
Figure 6: Each column shows texture changes when varying one element of .

Attribute Embedding. To better understand different shape and texture instances embedded in our two decoders, we dig into their attribute meaning. For a given attribute, e.g., male, we feed images with that attribute into our encoder to obtain two sets of parameters and . These sets represent corresponding empirical distributions of the data in the low dimensional spaces. By computing the mean parameters , and feed into their respective decoders, we can reconstruct the mean shape and texture with that attribute. Fig. 7 visualizes the reconstructed shape and texture related to some attributes. Differences among attributes present in both shape and texture.

Male Mustache Pale skin
Female Chubby Smiling
Figure 7: Nonlinear 3DMM generates shape and texture embedded with different attributes.
Input Linear Nonlinear
Grad desc Network
Figure 8: Texture representation power comparison. Our nonlinear model can better reconstruct the facial texture.
Method Linear Nonlinear w. Grad De. Nonlinear w. Network
Table 2: Quantitative comparison of texture representation power.

4.2 Representation Power

Texture. Given a face image, assuming we know the groundtruth shape and projection parameters, we can unwarp the texture into the UV space, as we generate “pseudo groundtruth” texture in the weakly supervised step. With the groundtruth texture, by using gradient descent, we can estimate a texture parameter whose decoded texture matches with the groundtruth. Alternatively, we can minimize the reconstruction error in the image space, through the rendering layer with the groundtruth and . Empirically, the two methods give similar performances but we choose the first option as it involves only one warping step, instead of rendering in every optimization iteration. For the linear model, we use the fitting results of Basel texture and Phong illumination model [27] given by [46]. As in Fig. 8, our nonlinear texture is closer to the groundtruth than the linear model, especially for in-the-wild images (the first two rows). This is expected since the linear model is trained with controlled images. Quantitatively, our nonlinear model has significantly lower reconstruction error than the linear model ( vs. , as in Tab. 2).

Figure 9: Shape representation power comparison.

3D Shape. We also compare the power of nonlinear and linear 3DMM in representing real-world 3D scans. We compare with BFM [26], the most commonly used 3DMM at present. We use ten 3D face scans provided by [26], which are not included in the training set of BFM. As these face meshes are already registered using the same triangle definition with BFM, no registration is necessary. Given the groundtruth shape, by using gradient descent, we can estimate a shape parameter whose decoded shape matches the groundtruth. We define matching criteria on both vertex distances and surface normal direction. This empirically improves fidelity of final results compared to only optimizing vertex distances. Also, to emphasize the compactness of nonlinear models, we train different models with different latent space sizes. Fig. 9 shows the visual quality of two models’ reconstructions. As we can see, our reconstructions closely match the face shapes. Meanwhile the linear model struggles with face shapes outside its PCA span.

To quantify the difference, we use NME, averaged per-vertex errors between the recovered and groundtruth shapes, normalized by inter-ocular distances. Our nonlinear model has a significantly smaller reconstruction error than the linear model, vs.  (Tab. 3). Also, the non-linear models are more compact. They can achieve similar performances as linear models whose latent space’s sizes doubled.

Table 3: 3D scan reconstruction comparison (NME).
  Input Shape Texture Reconstruction
Figure 10: 3DMM fits to faces with diverse skin color, pose, expression, lighting, facial hair, and faithfully recovers these cues.
Figure 11: Our 2D face alignment results. Invisible landmarks are marked as red. We can handle extreme pose and/or expression.
Method Linear SDM [42] 3DDFA [46] Ours
Table 4: Face alignment performance on ALFW2000
Input Our Richardson16 Tewari17
Figure 12: 3D reconstruction results comparison. We achieve comparable visual quality in 3D reconstruction.
Figure 13: Quantitative evaluation of 3D reconstruction. We obtain a low error that is comparable to optimization-based methods.

4.3 Applications

Having shown the capability of our nonlinear 3DMM (i.e., two decoders), now we demonstrate the applications of our entire network, which has the additional encoder. Many applications of 3DMM are centered on its ability to fit to 2D face images. Fig. 10 visualizes our 3DMM fitting results on CelebA dataset. Our encoder estimates the shape , texture as well as projection parameter . We can recover personal facial characteristic in both shape and texture. Our texture can have variety skin color or facial hair, which is normally hard to be recovered by linear 3DMM.

2D Face Alignment.

Face alignment is a critical step for any facial analysis task such as face recognition. With enhancement in the modeling, we hope to improve this task (Fig. 

11). We compare face alignment performance with state-of-the-art methods, SDM [42] and 3DDFA [46], on the AFLW2000 dataset. The alignment accuracy is evaluated by the Normalized Mean Error (NME), the average of visible landmark error normalized by the bounding box size. Here, current state-of-the-art 3DDFA [46] is a cascade of CNNs that iteratively refines its estimation in multiple steps, meanwhile ours is a single-pass of and . However, by jointly learning model fitting with 3DMM, our network can surpass  [46]’s performance, as in Tab. 4. Another perspective is that in conventional 3DMM fitting [46], the texture is used as the input to regress the shape parameter, while ours adopts an analysis-by-synthesis scheme and texture is the output of the synthesis. Further, for a more fair comparison of nonlinear vs. linear models, we train an encoder with the same architecture as our , whose output parameter will multiple with the linear shape bases , and train with the landmark loss function (Eqn. 13). Again we observe the higher error from the linear model-based fitting.

3D Face Reconstruction. We compare our approach to recent works: the CNN-based iterative supervised regressor of Richardson et al. [29, 30] and unsupervised regressor method of Tewari et al. [35]. The work by Tewari et al. [35] is relevant to us as they also learn to fit 3DMM in an unsupervised fashion. However, they are limited to linear 3DMM bases, which of course are not jointly trained with the model. Also, we only compare with the coarse network in [30] as their refinement network use SfS, which leads to a 2.5D representation and loses correspondence between different 3D shapes. This is orthogonal to our approach. Fig. 12 shows visual comparison. Following the same setting in [35], we also quantitatively compare our method with prior works on subjects of FaceWarehouse database (Fig. 13). We achieve on-par results with Garrido et al. [13], an offline optimization method, while surpassing all other regression methods [36, 30, 35].

Input No GAN ImgGAN PatchGAN
Figure 14: Effects of adversarial losses for texture learning.

4.4 Ablation on Texture Learning

With great representation power, we would like to learn a realistic texture model from in-the-wild images. The rendering layer opens a possibility to apply adversarial loss in addition to global loss. Using a global image-based discriminator is redundant as the global structure is guaranteed by the rendering layer. Also, we empirically find that using global image-based discriminator can cause severe artifacts in the resultant texture. Fig. 14 visualizes outputs of our network with different options of adversarial loss. Clearly, patchGAN offers higher realism and fewer artifacts.

5 Conclusions

Since its debut in 1999, 3DMM has became a cornerstone of facial analysis research with applications to many problems. Despite its impact, it has drawbacks in requiring training data of 3D scans, learning from controlled 2D images, and limited representation power due to linear bases. These drawbacks could be formidable when fitting 3DMM to unconstrained faces, or learning 3DMM for generic objects such as shoes. This paper demonstrates that there exists an alternative approach to 3DMM learning, where a nonlinear 3DMM can be learned from a large set of unconstrained face images without collecting 3D face scans. Further, the model fitting algorithm can be learnt jointly with 3DMM, in an end-to-end fashion.

Our experiments cover a diverse aspects of our learnt model, some of which might need the subjective judgment of the readers. We hope that both the judgment and quantitative results could be viewed under the context that, unlike linear 3DMM, no genuine 3D scans are used in our learning. Finally, we believe that unsupervisedly learning 3D models from large-scale in-the-wild 2D images is one promising research direction. This work is one step along this direction.


  • [1] O. Aldrian and W. A. Smith. Inverse rendering of faces with a 3D morphable model. TPAMI, 2013.
  • [2] B. Amberg, R. Knothe, and T. Vetter. Expression invariant 3D face recognition with a morphable model. In FG, 2008.
  • [3] B. Amberg, S. Romdhani, and T. Vetter. Optimal step nonrigid ICP algorithms for surface registration. In CVPR, 2007.
  • [4] V. Blanz and T. Vetter. A morphable model for the synthesis of 3D faces. In Proceedings of the 26th annual conference on Computer graphics and interactive techniques. ACM Press/Addison-Wesley Publishing Co., 1999.
  • [5] V. Blanz and T. Vetter. Face recognition based on fitting a 3D morphable model. TPAMI, 2003.
  • [6] T. Bolkart and S. Wuhrer. A groupwise multilinear correspondence optimization for 3D faces. In ICCV, 2015.
  • [7] J. Booth, E. Antonakos, S. Ploumpis, G. Trigeorgis, Y. Panagakis, and S. Zafeiriou. 3D face morphable models “In-the-wild”. In CVPR, 2017.
  • [8] J. Booth, A. Roussos, S. Zafeiriou, A. Ponniah, and D. Dunaway. A 3D morphable model learnt from 10,000 faces. In CVPR, 2016.
  • [9] C. Cao, Y. Weng, S. Zhou, Y. Tong, and K. Zhou. Facewarehouse: A 3D facial expression database for visual computing. IEEE Transactions on Visualization and Computer Graphics, 2014.
  • [10] F. Cole, D. Belanger, D. Krishnan, A. Sarna, I. Mosseri, and W. T. Freeman. Face synthesis from facial identity features. In CVPR, 2017.
  • [11] T. F. Cootes, G. J. Edwards, and C. J. Taylor. Active appearance models. TPAMI, 2001.
  • [12] P. Dollár, P. Welinder, and P. Perona. Cascaded pose regression. In CVPR, 2010.
  • [13] P. Garrido, M. Zollhöfer, D. Casas, L. Valgaerts, K. Varanasi, P. Pérez, and C. Theobalt. Reconstruction of personalized 3D face rigs from monocular video. ACM Transactions on Graphics (TOG), 2016.
  • [14] I. Goodfellow, J. Pouget-Abadie, M. Mirza, B. Xu, D. Warde-Farley, S. Ozair, A. Courville, and Y. Bengio. Generative adversarial nets. In NIPS, 2014.
  • [15] L. Gu and T. Kanade. A generative shape regularization model for robust face alignment. In ECCV, 2008.
  • [16] A. Jourabloo and X. Liu. Pose-invariant 3D face alignment. In ICCV, 2015.
  • [17] A. Jourabloo and X. Liu. Large-pose face alignment via CNN-based dense 3D model fitting. In CVPR, 2016.
  • [18] A. Jourabloo and X. Liu. Pose-invariant face alignment via CNN-based dense 3D model fitting. IJCV, 2017.
  • [19] A. Jourabloo, X. Liu, M. Ye, and L. Ren. Pose-invariant face alignment with a single CNN. In ICCV, 2017.
  • [20] P. Koppen, Z.-H. Feng, J. Kittler, M. Awais, W. Christmas, X.-J. Wu, and H.-F. Yin. Gaussian mixture 3D morphable face model. Pattern Recognition, 2017.
  • [21] F. Liu, D. Zeng, Q. Zhao, and X. Liu. Joint face alignment and 3D face reconstruction. In ECCV. Springer, 2016.
  • [22] X. Liu, P. Tu, and F. Wheeler. Face model fitting on low resolution images. In BMVC, 2006.
  • [23] Z. Liu, P. Luo, X. Wang, and X. Tang. Deep learning face attributes in the wild. In ICCV, 2015.
  • [24] J. McDonagh and G. Tzimiropoulos. Joint face detection and alignment with a deformable Hough transform model. In ECCV, 2016.
  • [25] C. Nhan Duong, K. Luu, K. Gia Quach, and T. D. Bui. Beyond principal components: Deep Boltzmann Machines for face modeling. In CVPR, 2015.
  • [26] P. Paysan, R. Knothe, B. Amberg, S. Romdhani, and T. Vetter. A 3D face model for pose and illumination invariant face recognition. In Advanced video and signal based surveillance, 2009. AVSS’09. Sixth IEEE International Conference on. IEEE, 2009.
  • [27] B. T. Phong. Illumination for computer generated pictures. Communications of the ACM, 1975.
  • [28] A. Radford, L. Metz, and S. Chintala. Unsupervised representation learning with deep convolutional generative adversarial networks. In ICLR, 2016.
  • [29] E. Richardson, M. Sela, and R. Kimmel. 3D face reconstruction by learning from synthetic data. In 3DV. IEEE, 2016.
  • [30] E. Richardson, M. Sela, R. Or-El, and R. Kimmel. Learning detailed face reconstruction from a single image. In CVPR, 2017.
  • [31] J. Roth, Y. Tong, and X. Liu. Adaptive 3D face reconstruction from unconstrained photo collections. TPAMI, 2017.
  • [32] C. Sagonas, E. Antonakos, G. Tzimiropoulos, S. Zafeiriou, and M. Pantic. 300 faces in-the-wild challenge: Database and results. Image and Vision Computing, 2016.
  • [33] A. Shrivastava, T. Pfister, O. Tuzel, J. Susskind, W. Wang, and R. Webb. Learning from simulated and unsupervised images through adversarial training. In CVPR, 2017.
  • [34] F. C. Staal, A. J. Ponniah, F. Angullia, C. Ruff, M. J. Koudstaal, and D. Dunaway. Describing crouzon and pfeiffer syndrome based on principal component analysis. Journal of Cranio-Maxillofacial Surgery, 2015.
  • [35] A. Tewari, M. Zollhöfer, H. Kim, P. Garrido, F. Bernard, P. Pérez, and C. Theobalt.

    MoFA: Model-based deep convolutional face autoencoder for unsupervised monocular reconstruction.

    In ICCV, 2017.
  • [36] A. T. Tran, T. Hassner, I. Masi, and G. Medioni. Regressing robust and discriminative 3D morphable models with a very deep neural network. In CVPR, 2017.
  • [37] L. Tran, X. Yin, and X. Liu. Disentangled representation learning GAN for pose-invariant face recognition. In CVPR, 2017.
  • [38] L. Tran, X. Yin, and X. Liu. Representation learning by rotating your faces. TPAMI, 2018.
  • [39] S. Tulyakov and N. Sebe. Regressing a 3D face shape from a single image. In ICCV, 2015.
  • [40] D. Vlasic, M. Brand, H. Pfister, and J. Popović. Face transfer with multilinear models. In ACM transactions on graphics (TOG). ACM, 2005.
  • [41] Y. Wu and Q. Ji. Robust facial landmark detection under significant head poses and occlusion. In ICCV, 2015.
  • [42] J. Yan, Z. Lei, D. Yi, and S. Li. Learn to combine multiple hypotheses for accurate face alignment. In CVPRW, 2013.
  • [43] L. Yin, X. Wei, Y. Sun, J. Wang, and M. J. Rosato. A 3D facial expression database for facial behavior research. In FGR, 2006.
  • [44] X. Yin, X. Yu, K. Sohn, X. Liu, and M. Chandraker. Towards large-pose face frontalization in the wild. In ICCV, 2017.
  • [45] L. Zhang and D. Samaras. Face recognition from a single training image under arbitrary unknown lighting using spherical harmonics. TPAMI, 2006.
  • [46] X. Zhu, Z. Lei, X. Liu, H. Shi, and S. Z. Li. Face alignment across large poses: A 3D solution. In CVPR, 2016.