Joint 3D Face Reconstruction and Dense Face Alignment from A Single Image with 2D-Assisted Self-Supervised Learning

03/22/2019 ∙ by Xiaoguang Tu, et al. ∙ National University of Singapore Microsoft USTC 8

3D face reconstruction from a single 2D image is a challenging problem with broad applications. Recent methods typically aim to learn a CNN-based 3D face model that regresses coefficients of 3D Morphable Model (3DMM) from 2D images to render 3D face reconstruction or dense face alignment. However, the shortage of training data with 3D annotations considerably limits performance of those methods. To alleviate this issue, we propose a novel 2D-assisted self-supervised learning (2DASL) method that can effectively use "in-the-wild" 2D face images with noisy landmark information to substantially improve 3D face model learning. Specifically, taking the sparse 2D facial landmarks as additional information, 2DSAL introduces four novel self-supervision schemes that view the 2D landmark and 3D landmark prediction as a self-mapping process, including the 2D and 3D landmark self-prediction consistency, cycle-consistency over the 2D landmark prediction and self-critic over the predicted 3DMM coefficients based on landmark predictions. Using these four self-supervision schemes, the 2DASL method significantly relieves demands on the the conventional paired 2D-to-3D annotations and gives much higher-quality 3D face models without requiring any additional 3D annotations. Experiments on multiple challenging datasets show that our method outperforms state-of-the-arts for both 3D face reconstruction and dense face alignment by a large margin.

READ FULL TEXT VIEW PDF
POST COMMENT

Comments

There are no comments yet.

Authors

page 1

page 3

page 6

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 face reconstruction is an important task in the field of computer vision and graphics. For instance, the recovery of 3D face geometry from a single image can help address many challenges (

e.g., large pose and occlusion) for 2D face alignment through dense face alignment [30]. Traditional 3D face reconstruction methods [2, 34] are mainly based on optimization algorithms, e.g., iterative closest point [2], to obtain coefficients for the 3D Morphable Model (3DMM) model and render the corresponding 3D faces from a single face image [49]. However, such methods are usually time-consuming due to the high optimization complexity and suffer from local optimal solution and bad initialization. Recent works thus propose to use CNNs to learn to regress the 3DMM coefficients and significantly improve the reconstruction quality and efficiency.

CNN-based methods [24, 49, 29, 30, 46, 45] have achieved remarkable success in 3D face reconstruction and dense face alignment. However, obtaining an accurate 3D face CNN regression model (from input 2D images to 3DMM coefficients) requires a large amount of training faces with 3D annotations, which are expensive to collect and even not achievable in some cases. Even some 3D face datasets, like 300W-LP [49], are publicly available, they generally lack diversity in face appearance, expression, occlusions and environment conditions, limiting the generalization performance of resulted 3D face regression models. A model trained on such datasets cannot deal well with various potential cases in-the-wild that are not present in the training examples. Although some recent works bypass the 3DMM parameter regression and use image-to-volume [20] or image-to-image [15] strategy instead, the ground truths are all still needed and generated from 3DMM using 300W-LP, still lacking diversity.

In order to overcome the intrinsic limitation of existing 3D face recovery models, we propose a novel learning method that leverages 2D “in-the-wild” face images to effectively supervise and facilitate the 3D face model learning. With the method, the trained 3D face model can perform 3D face reconstruction and dense face alignment well. This is inspired by the observation that a large number of 2D face datasets [4, 31, 26, 36, 40] are available with obtainable 2D landmark annotations, that could provide valuable information for 3D model learning, without requiring new data with 3D annotations.

Since these 2D images do not have any 3D annotations, it is not straightforward to exploit them in 3D face model learning. We design a novel self-supervised learning method that is able to train a 3D face model with weak supervision from 2D images. In particular, the proposed method takes the sparse annotated 2D landmarks as input and fully leverage the consistency within the 2D-to-2D and 3D-to-3D self-mapping procedure as supervision. The model should be able to recover 2D landmarks from predicted 3D ones via direct 3D-to-2D projection. Meanwhile, the 3D landmarks predicted from the annotated and recovered 2D landmarks via the model should be the same. Additionally, our proposed method also exploits cycle-consistency over the 2D landmark predictions, i.e., taking the recovered 2D landmarks as input, the model should be able to generate 2D landmarks (by projecting its predicted 3D landmarks) that have small difference with the annotated ones. By leveraging these self-supervision derived from 2D face images without 3D annotations, our method could substantially improve the quality of learned 3D face regression model, even though there is lack of 3D samples and no 3D annotations for the 2D samples. To facilitate the overall learning procedure, our method also exploits self-critic learning. It takes as input both the latent representation and 3DMM coefficients of an face image and learns a critic model to evaluate the intrinsic consistency between the predicted 3DMM coefficients and the corresponding face image, offering another supervision for 3D face model learning.

Our proposed method is principled, effective and fully exploits available data resources. As shown in Fig. 1, our method can produce 3D reconstruction and dense face alignment results with strong robustness to large poses and occlusions. Our code, models and online demos will be available upon acceptance. Our contributions are summarized as follows:

  • We propose a new scheme that aims to fully utilize the abundant “in-the-wild” 2D face images to assist 3D face model learning. This is new and different from most common practices that pursues to improve 3D face model by collecting more data with 3D annotations for model training.

  • We introduce a new method that is able to train 3D face models with 2D face images by self-supervised learning. The devised multiple forms of self-supervision are effective and data efficient.

  • We develop a new self-critic learning based approach which could effectively improve the 3D face model learning procedure and give a better model, even though the 2D landmark annotations are noisy.

  • Comparison on the AFLW2000-3D and AFLW-LFPA datasets shows that our method achieves excellent performance on both tasks of 3D face reconstruction and dense face alignment.

Figure 2: The pipeline of our 2DASL. It aims to train a CNN regressor model. The model takes as input the face images with 3D annotations and other images with only 2D Facial Landmark Map (FLM), and predicts coefficients (for 3D annotated image) and (for images only with 2D landmarks) for 3DMM for 3D reconstruction and dense alignment. There are dual training paths. The upper path trains the model through 3D annotation supervision. The bottom path trains the model through self-critic supervision based on the 2D face images. In particular, 2D images are transformed by an encoder to the latent representation, and the self-critic module evaluates whether the predicted coefficients are consistent with the latent representations, by taking ground truth pairs as reference. Best viewed in color.

2 Related work

3D Face Reconstruction

Various approaches have been proposed to tackle the inherently ill-posed problem of 3D face reconstruction from a single image. In [7]

, Vetter and Blanz observe that both the geometric structure and the texture of human faces can be approximated by a linear combination of orthogonal basis vectors obtained by PCA over 100 male and 100 female identities. Based on this, they propose the 3DMM to represent the shape and texture of a 3D face. After that, large amount of efforts have been proposed to improve 3DMM modeling mechanism. Most of them devote to regressing the 3DMM coefficients by solving the non-linear optimization problem to establish the correspondences of the points between a single face image and the canonical 3D face model, including facial landmarks

[50, 27, 44, 9, 21, 17] and local features [17, 19, 39]

. Recently, various attempts have been made to estimate the 3DMM coefficients from a single face image using CNN as a regressor, as opposed to non-linear optimization. In

[24, 49, 37, 38], cascaded CNN structures are used to regress the 3DMM coefficients, which are time-consuming due to multi-stage. Besides, end-to-end approaches [14, 46, 23] are also proposed to directly estimate the 3DMM coefficients in a holistic manner. More recently, works are proposed to use CNN directly obtain the reconstructed 3D face bypassing the 3DMM coefficients regression. In [20], Jackson et al. propose to map the image pixels to a volumetric representation of the 3D facial geometry through CNN-based regression. While their method is not restricted to the 3DMM space any more, it needs a complex network structure and a lot of time to predict the voxel information. In a later work [15], Feng et al. store the 3D facial geometry into UV position map and train an image-to-image CNN to directly regress the complete 3D facial structure along with semantic information from a single image.

Face Alignment

Traditional 2D face alignment methods aim at locating a sparse set of fiducial facial landmarks. Initial progresses have been made with the classic Active Appearance Model (AAM) [11, 42, 47] and Constrained Local Model (CLM) [3, 12, 43]. Recently, CNN-based methods [28, 35, 8] have achieved state-of-the-art performance on 2D landmark localization. However, 2D face alignment only regresses visible landmarks on faces, which are unable to address large pose or occlusion situations, where partial face regions are invisible. With the development of this field, 3D face alignment have been proposed, aiming to fit a 3DMM [49, 32, 16] or register a 3D facial template [41, 13] to a 2D face image, which makes it possible to deal with the invisible points. The original 3DMM fitting method [6] fits the 3D model by minimizing the pixel-wise difference between image and the rendered face model. It is the first method that can address arbitrary poses, which, however, suffers from the one-minute-per-image computational cost. After that, some methods estimate 3DMM coefficients and then project the estimated 3D landmarks onto 2D space, such methods [23, 9, 21, 25, 25] could significantly improve the efficiency. Recently, the task of dense face alignment starts to attract more and more research attention, aiming to achieve very dense 3D alignment for large pose face images (including invisible parts). In [30], Liu et al. use multi-constraints to train a CNN model, jointly estimating the 3DMM coefficient and provides very dense 3D alignment. [1, 48] directly learn the correspondence between a 2D face image and a 3D template via a deep CNN, while only visible face-region is considered.

Overall, CNN-based methods have achieved great success in both 3D face reconstruction and dense face alignment. However, they need a huge amount of 3D annotated images for training. Unfortunately, currently face datasets with 3D annotations are very limited. As far as we know, only the 300W-LP [49] dataset has been widely used for training. However, the 300W-LP is generated by profiling faces of 300W [40] into larger poses, which is not strictly unconstrained and can not cover all possible scenes in-the-wild.

3 Proposed method

In this section we introduce the proposed 2D-Aided Self-supervised Learning (2DASL) method for simultaneous 3D face reconstruction and dense face alignment. We first review the popular 3D morphable model that we adopt to render the 3D faces. Then we explain our method in details, in particular the novel cycle-consistency based self-supervised learning and the self-critic learning.

3.1 3D morphable model

We adopt the 3D morphable model (3DMM) [7] to recover the 3D facial geometry from a single face image. The 3DMM renders 3D face shape that stores 3D coordinates of mesh vertices with linear combination over a set of PCA basis. Following [49], we use 40 basis from the Basel Face Model (BFM) [34] to generate the face shape component and 10 basis from the Face Warehouse dataset [10] to generate the facial expression component. The rendering of a 3D face shape is thus formulated as:

where is the mean shape, is the shape principle basis trained on the 3D face scans, is the shape representation coefficient; is the expression principle basis and denotes the corresponding expression coefficient. The target of single-image based 3D face modeling is to predict the coefficients and for 3D face rendering from a single 2D image.

After obtaining the 3D face shape , it can be projected onto the 2D image plane with the scale orthographic projection to generate a 2D face from specified viewpoint:

where stores the 2D coordinates of the 3D vertices projected onto the 2D plane, is the scale factor, is the orthographic projection matrix , is the projection matrix consisting of 9 parameters, and is the translation vector. Putting them together, we have in total 62 parameters to regress for the 3D face regressor model.

3.2 Model overview

As illustrated in Fig. 2, the proposed 2DASL model contains 3 modules, i.e., a CNN-based regressor that predicts 3DMM coefficients from the input 2D image, an encoder that transforms the input image into a latent representation, and a self-critic that evaluates the input (latent representation, 3DMM coefficients) pairs to be consistent or not.

We use ResNet-50 [18]

to implement the CNN regressor. The encoder contains 6 convolutional layers, each followed by a ReLU and a max pooling layer. The critic consists of 4 fully-connected layers with 512, 1024, 1024 and 1 neurons respectively, followed by a softmax layer to output a score on the consistency degree of the input pair. The CNN regressor takes a 4-channel tensor as input that concatenates a 3-channel RGB face image and a 1-channel 2D Facial Landmark Map (FLM). The FLM is a binary-value image, where the locations corresponding to facial landmarks take the value of

and others take the value of .

Our proposed 2DSAL method trains the model using two sets of images, i.e., the images with 3DMM ground truth annotations and the 2D face images with only 2D facial landmark annotations provided by an off-the-shelf facial landmark detector [8]. The model is trained by minimizing the following one conventional 3D-supervision and four self-supervision losses.

The first one is the weighted coefficient prediction loss over the 3D annotated images that measures how accurate the model can predict 3DMM coefficients. The second one is the 2D landmark consistency loss that measures how well the predicted 3D face shapes can recover the 2D landmark locations for the input 2D images. The third one is the 3D landmark consistency loss . The fourth one is the cycle consistency loss . The last one is the self-critic loss that estimates the realism of the predicted 3DMM coefficients for 3D face reconstruction, conditioned on the face latent representation. Thus the overall training loss is:

where ’s are the weighting coefficients for different losses. The details of these losses are described in the following sections one by one.

Figure 3: Illustration on the self-supervision introduced by our 2DSAL for utilizing sparse 2D landmark information. The 2D landmark prediction can be viewed as a self-mapping: (forward training) constrained by . To further supervise the model training, we introduce the by mapping back from (backward training). The is employed to constrain landmarks matching in 3D space during the cycle training. Here indexes the landmark. Best viewed in color.

3.3 Weighted 3DMM coefficient supervision

Following [49], we deploy the ground truth 3DMM coefficients to supervise the model training where the contribution of each 3DMM coefficient is re-weighted according to their importance. It trains the model to predict closer coefficients to its 3DMM ground truth . Instead of calculating the conventional loss, we explicitly consider importance of each coefficient and re-weigh their contribution to the loss computation accordingly. Thus we obtain the weighted coefficient prediction loss as follows:

where,

Here indicates importance of the coefficient, computed from how much error it introduces to locations of 2D landmarks after projection. Here is the sparse landmark projection from rendered 3D shape, is the ground truth and is the coefficient whose element comes from the predicted parameter and the others come from . With such a reweighting scheme, during training, the CNN model would first focus on learning the coefficients with larger weight (e.g., the ones for rotation and translation). After decreasing their error and consequently their weights, the model will change to optimize the other coefficients (e.g., the ones for shape and expression).

3.4 2D assisted self-supervised learning

To leverage the 2D face images with only annotation of sparse 2D landmark points offered by detector [8], we develop the following self-supervision scheme that offers three different self-supervision losses, including the 2D landmark consistency loss , the 3D landmark consistency loss and the cycle-consistency loss .

Fig. 3 gives a systematic overview. The intuition behind this scheme is: if the 3D face estimation model is trained well, it should present consistency in the following three aspects. First, the 2D landmarks recovered from the predicted 3D landmarks via 3D-2D projection should have small difference with the input 2D landmarks . Second, the predicted 3D landmarks from the input 2D landmarks should be consistent with the 3D landmarks recovered from the predicted 2D landmarks by passing it through the same 3D estimation model. Third, the projected from should be consistent with the original input , i.e., forming a consistent cycle.

Thus, we define following two landmark consistency losses in our model correspondingly. The is formulated as:

where is the 3D landmark output from the forward pass (see red arrow in Fig. 3), is the landmark predicted from the backward pass (see green arrow in Fig. 3).

For computing the , we first create a weight mask based the contribution of each point. Since the contour landmarks of a 2D face are inaccurate to represent the corresponding points of 3D face, we discard them and sample 18 landmarks from the 68 2D facial landmarks. The weight mask is shown in Fig. 4. Here, the mouth center landmark is the midpoint of two mouth corner points. The is defined as:

where is the 2D landmark of the input face, is the 2D landmark inferred from the output LMP, and is its corresponding weight. The weight values are specified in Fig. 4. We use the following relative weights in our experiments: (red points) : (pinky points) : (yellow points) = 4:2:1 that are set empirically.

Figure 4: Illustration of the weight mask used for computing . We assign the highest weight to the red points, the medium weight to the pinky points, the yellow points has the lowest weight. Best viewed in color.
Figure 5: Qualitative results on AFLW2000-3D dataset. The predictions by 2DASL show that our predictions are more accurate than ground truth in some cases (only 68 points are plotted to show). Green: landmarks predicted by our 2DASL. Red: ground truth from [49]. The thumbnails on the top right corner of each image are the dense alignment results. Best viewed in color.

We model the 2D facial landmarks prediction as a self-mapping process, and denote as the forward mapping, as the backward mapping. The backward mapping brings the output landmarks back to its original position , i.e., . We constrain this mapping using the cycle consistency loss:

where are the input 2D facial landmarks, and are the landmarks output from .

3.5 Self-critic learning

We further introduce a self-critic scheme to weakly supervise the model training with the “in-the-wild” 2D face images. Given a set of face images without any 3D annotations and a set of face images with accurate 3DMM annotations, the CNN regressor model would output 62 coefficients for each image. We use another model as the critic to evaluate whether the predicted coefficients are consistent with the input images as the pairs of . Since each coefficient is closely related to its corresponding face image, the critic model would learn to distinguish the realism of the coefficients conditioned on the latent representation of the input face images. To this end, we feed the input images to an encoder to obtain the latent representation and then concatenate with their corresponding 3DMM coefficients as the inputs to the critic . The critic is trained in the same way as the adversarial learning by optimizing the following loss:

where is the latent representation of a 3D annotated image , is the 3DMM ground truth, is the input “in-the-wild” face image, and is its latent representation. The above self-critic loss encourages the model to output 3D faces that lie on the manifold of human faces, and predict landmarks that have the same distribution with the true facial landmarks.

4 Experiments

We evaluate 2DASL qualitatively and quantitatively under various settings for 3D face reconstruction and dense face alignment.

4.1 Training details and datasets

Our proposed 2DASL is implemented with Pytorch

[33]. We use SGD optimizer for the CNN regressor with a learning rate beginning at and decays exponentially, the discriminator uses the Adam as optimizer with the fixed learning rate . The batch size is set as 32. , , and are set as 0.005, 0.005, 1 and 0.005 respectively. We use a two-stage strategy to train our model. In the first stage, we train the model using the overall loss . In the second stage, we fine-tune our model using the Vertex Distance Cost, following [49].

The dataset 300W-LP [49] is used to train our model. This dataset contains more than 60K face images with annotated 3DMM coefficients. The “in-the-wild” face images are all from the UMDFaces dataset [4] that contains 367,888 still face images for 8,277 subjects. The 2D facial landmarks of all the face images are detected by an advanced 2D facial landmarks detector [8]. The input images are cropped to the size . We use the test datasets below to evaluate our method:

Aflw2000-3d [49]

is constructed by selecting the first 2000 images from AFLW [26]. Each face is annotated with its corresponding 3DMM coefficients and the 68 3D facial landmarks. We use this dataset to evaluate our method on both 3D face reconstruction and dense face alignment.

Aflw-Lfpa [22]

is another extension of AFLW. It is constructed by picking images from AFLW according to the poses. It contains 1,299 test images with a balanced distribution of yaw angle. Each image is annotated with 34 facial landmarks. We use this dataset to evaluate performance for the dense face alignment task. The 34 landmarks are used as the ground truth to measure the accuracy of our results.

Figure 6: Error Distribution Curves (EDC) of face alignment results on AFLW2000-3D. The worst 20 cases of each method are discarded. The horizontal axis are the NME (%) in ascending order. The vertical axis are the number of images. Evaluation is performed on the 68 2D landmarks (a), 68 3D landmarks (b), all 2D points (c) and all 3D points (d). The mean NME (%) of each method is shown in the bottom legend.

4.2 Dense face alignment

We first compare the qualitative results from our method and corresponding ground truths in Fig. 5. Although all the state-of-the-art methods of dense face alignment conduct evaluation on AFLW2000-3D, the ground truth of AFLW2000-3D is controversial [8, 48], since its annotation pipeline is based on the Landmarks Marching method in [50]. As can be seen, our results are more accurate than the ground truth in some cases. This is mainly because 2DASL involves a number of the “in-the-wild” images for training, enabling the model to perform well in cases even unseen in the 3D annotated training data.

For fair comparison, we adopt the normalized mean error (NME) [49] as the metric to evaluate the alignment performance. The NME is the mean square error normalized by face bounding box size. Since some images in AFLW2000-3D contains more than 2 faces, and the face detector sometimes gives the wrong face for evaluation (not the test face with ground truth), leading to high NME. Therefore, we discard the worst 20 cases of each method and only 1,980 images from AFLW2000-3D are used for evaluation. We evaluate our 2DASL using a sparse set of 68 facial landmarks and also the dense points with both 2D and 3D coordinates, and compare it with other state-of-the-arts. The 68 sparse facial landmarks can be viewed as sampling from the dense facial points. Since PRNet [15] and VRN-Guided [20] are not 3DMM based, and the point cloud of these two methods are not corresponding to 3DMM, we only compare with them on the sparse 68 landmarks. The results are shown in Fig. 6, where we can see our 2DASL achieves the lowest NME (%) on the evaluation of both 2D and 3D coordinates among all the methods. For 3DMM-based methods: 3DDFA [49] and DeFA [30], our method outperforms them by a large margin on both the 68 spare landmarks and the dense coordinates.

To further investigate performance of our 2DASL across poses and datasets, we report the NME of faces with small, medium and large yaw angles on AFLW2000-3D dataset and the mean NME on both AFLW2000-3D and AFLW-LPFA datasets. The comparison results are shown in Tab. 1. Note that all the images from these two datasets are used for evaluation to keep consistent with prior works. The results of the compared method are directly from their published papers. As can be observed, our method achieves the lowest mean NME on both of the two datasets, and the lowest NME across all poses on AFLW2000-3D. Our 2DASL even performs better than PRNet [15], reducing NME by 0.09 and 0.08 on AFLW2000-3D and AFLW-LFPA, respectively. Especially on large poses (from to ), 2DASL achieves 0.2 lower NME than PRNet. We believe more “in-the-wild” face images used for training ensures better performance of 2DASL.

Methods AFLW2000-3D AFLW-LFPA
to to to Mean Mean
SDM [32] 3.67 4.94 9.67 6.12 -
3DDFA [49] 3.78 4.54 7.93 5.42 -
3DDFA + SDM [49] 3.43 4.24 7.17 5.42 -
PAWF [24] - - - - 4.72
Yu et al. [48] 3.62 6.06 9.56 - -
3DSTN [5] 3.15 4.33 5.98 4.49 -
DeFA [30] - - - 4.50 3.86
PRNnet [15] 2.75 3.51 4.61 3.62 2.93
2DASL (ours) 2.75 3.44 4.41 3.53 2.85
Table 1: Performance comparison on AFLW2000-3D (68 2D landmarks) and AFLW-LFPA (34 2D visible landmarks). The NME (%) for faces with different yaw angles are reported. The numbers in bold are the best results on each dataset, the lower is the better. -” indicates the corresponding result is unavailable.
Figure 7: (a) EDC of face reconstruction results on AFLW2000-3D dataset. The worst 20 cases of each method are discarded. The mean NME (%) of each method is shown in the bottom legend. (b) Some 3D reconstruction results of 2DASL (columns 2 & 3) , PRNet (columns 4 & 5) and VRN-Guided (columns 6 & 7). Images of the first column are the original face images.

4.3 3D face reconstruction

In this section, we evaluate our 2DASL on the task of 3D face reconstruction on AFLW2000-3D by comparing with 3DDFA and DeFA. The VRN-Guided and PRNet are not compared because of the mis-match of point cloud between them and our method. Following [15], we first employ the Iterative Closest Points (ICP) algorithm to find the corresponding nearest points between the reconstructed 3D face and the ground truth point cloud. We then calculate the NME normalized by the face bounding box size. Fig. 7 (a) shows the comparison results on AFLW2000-3D. As can be seen, the 3D reconstruction results of 2DASL outperforms 3DDFA by 0.39, and 2.29 for DeFA, which are significant improvements.

We show some visual results of our 2DASL and compare with PRNet and VRN-Guided in Fig. 7 (b). As can be seen, the reconstructed shape of our 2DASL are more smooth, however, both PRNet and VRN-Guided introduce some artifacts into the reconstructed results, which makes the reconstructed faces look unnaturally.

4.4 Ablation study

In this section, we perform ablation study on AFLW2000-3D by evaluating several variants of our model: (1) 2DASL (base), which only takes the RGB images as input without self-supervision and self-critic supervision; (2) 2DASL (cyc), which takes as input the combination of RGB face images and the corresponding 2D FLMs with self-supervison, however without self-critic supervision; (3) 2DASL (sc), which takes as input the RGB face images only using self-critic learning. (4) 2DASL (cyc+sc), which contains both self-supervision and self-critic supervision. For each variant, we use the with (w/) or without (w/o) weight mask. Therefore, there are in total 6 variants.

The ablation study results are shown in Tab. 2. Adding weights to central points of the facial landmarks reduces the NME by to

on the two stages, respectively. Both self-critic and the self-supervision are effective to improve the performance. If the self-critic learning is not used, the NME increases by 0.04/0.18 for with/without weight mask, respectively. While the self-supervision scheme reduce NME by 0.1 when the weight mask is used, and 0.23 if the weight mask is removed, no significant improvement is observed. The best result is achieved when both these two modules are used. Moreover, in our experiments, we found taking the FLMs as input can accelerate the convergence of training process. Therefore, the first training stage just takes one or two epochs to reach a good model.

Variants Stage 1 Stage 2
2DASL (base) w Mask 4.13 3.77
w/o Mask 4.32 4.00
2DASL (cyc) w Mask 3.85 3.67
w/o Mask 4.03 3.79
2DASL (sc) w Mask 3.88 3.73
w/o Mask 4,09 3.82
2DASL (cyc+sc) w Mask 3.79 3.53
w/o Mask 3.96 3.71
Table 2: Ablation study results (NME %). “w/ Mask” means using the weight mask for , while “w/o Mask” refers to without weight mask. The numbers in bold are the best results of each variant.
Num. # ITW 77,228 115,126 175,534 367,888
Stage 1 4.13 4.01 3.85 3.79
Stage 2 3.92 3.75 3.62 3.53
Table 3: The results (NME (%)) of 2DASL by training with different number of “in-the-wild” face images. “Num. # ITW” indicates the number of the “in-the-wild” face images used for training. The numbers in bold are the best results of each stage.

To explore how the performance is affected by the number of “in-the-wild” face images involved in training, we train our model using different numbers. Since the UMDFaces dataset [4] divides the whole dataset into 3 batches, each contains 77,228, 115,126, and 175,534 images respectively. We use the 3 batches and also the whole dataset to train our model. The results are reported in Tab. 3, where we can see the more data that used for aiding training, the lower NME is achieved by 2DASL.

5 Conclusion

In this paper, we propose a novel 2D-Assisted Self-supervised Learning (2DASL) method for 3D face reconstruction and dense face alignment based on the 3D Morphable face Model. The sparse 2D facial landmarks are taken as input of CNN regressor and learn themselves via 3DMM coefficients regression. To supervise and facilitate the 3D face model learning, we introduce four self-supervision losses, including the self-critic which is employed to weakly supervise the training samples that without 3D annotations. Our 2DASL make the abundant “in-the-wild” face images could be used to aid 3D face analysis without any 2D-to-3D supervision. Experiments on two challenging face datasets illustrate the effectiveness of 2DASL on both 3D face reconstruction and dense face alignment by comparing with other state-of-the-arts.

References

  • [1] R. Alp Guler, G. Trigeorgis, E. Antonakos, P. Snape, S. Zafeiriou, and I. Kokkinos. Densereg: Fully convolutional dense shape regression in-the-wild. In CVPR, pages 6799–6808, 2017.
  • [2] B. Amberg, S. Romdhani, and T. Vetter. Optimal step nonrigid icp algorithms for surface registration. In CVPR, pages 1–8, 2007.
  • [3] A. Asthana, S. Zafeiriou, S. Cheng, and M. Pantic. Robust discriminative response map fitting with constrained local models. In CVPR, pages 3444–3451, 2013.
  • [4] A. Bansal, A. Nanduri, C. D. Castillo, R. Ranjan, and R. Chellappa. Umdfaces: An annotated face dataset for training deep networks. In IJCB, pages 464–473, 2017.
  • [5] C. Bhagavatula, C. Zhu, K. Luu, and M. Savvides.

    Faster than real-time facial alignment: A 3d spatial transformer network approach in unconstrained poses.

    In ICCV, pages 3980–3989, 2017.
  • [6] V. Blanz and T. Vetter. Face recognition based on fitting a 3d morphable model. T-PAMI, 25(9):1063–1074, 2003.
  • [7] V. Blanz, T. Vetter, et al. A morphable model for the synthesis of 3d faces. In SIGGRAPH, volume 99, pages 187–194, 1999.
  • [8] A. Bulat and G. Tzimiropoulos. How far are we from solving the 2d & 3d face alignment problem?(and a dataset of 230,000 3d facial landmarks). In ICCV, pages 1021–1030, 2017.
  • [9] C. Cao, Q. Hou, and K. Zhou. Displaced dynamic expression regression for real-time facial tracking and animation. ACM-TOG, 33(4):43, 2014.
  • [10] C. Cao, Y. Weng, S. Zhou, Y. Tong, and K. Zhou. Facewarehouse: A 3d facial expression database for visual computing. T-VCG, 20(3):413–425, 2014.
  • [11] T. F. Cootes, G. J. Edwards, and C. J. Taylor. Active appearance models. In ECCV, pages 484–498, 1998.
  • [12] D. Cristinacce and T. F. Cootes. Feature detection and tracking with constrained local models. In BMVC, volume 1, page 3, 2006.
  • [13] F. H. de Bittencourt Zavan, A. C. Nascimento, L. P. e Silva, O. R. Bellon, and L. Silva. 3d face alignment in the wild: A landmark-free, nose-based approach. In ECCV, pages 581–589, 2016.
  • [14] P. Dou, S. K. Shah, and I. A. Kakadiaris.

    End-to-end 3d face reconstruction with deep neural networks.

    In CVPR, pages 5908–5917, 2017.
  • [15] Y. Feng, F. Wu, X. Shao, Y. Wang, and X. Zhou. Joint 3d face reconstruction and dense alignment with position map regression network. In ECCV, pages 534–551, 2018.
  • [16] C. Gou, Y. Wu, F.-Y. Wang, and Q. Ji. Shape augmented regression for 3d face alignment. In ECCV, pages 604–615, 2016.
  • [17] C. M. Grewe and S. Zachow. Fully automated and highly accurate dense correspondence for facial surfaces. In ECCV, pages 552–568, 2016.
  • [18] K. He, X. Zhang, S. Ren, and J. Sun. Deep residual learning for image recognition. In CVPR, pages 770–778, 2016.
  • [19] P. Huber, Z.-H. Feng, W. Christmas, J. Kittler, and M. Rätsch. Fitting 3d morphable face models using local features. In ICIP, pages 1195–1199, 2015.
  • [20] A. S. Jackson, A. Bulat, V. Argyriou, and G. Tzimiropoulos. Large pose 3d face reconstruction from a single image via direct volumetric cnn regression. In ICCV, pages 1031–1039, 2017.
  • [21] L. A. Jeni, J. F. Cohn, and T. Kanade. Dense 3d face alignment from 2d videos in real-time. In FG, volume 1, pages 1–8, 2015.
  • [22] L. A. Jeni, S. Tulyakov, L. Yin, N. Sebe, and J. F. Cohn. The first 3d face alignment in the wild (3dfaw) challenge. In ECCV, pages 511–520, 2016.
  • [23] A. Jourabloo and X. Liu. Pose-invariant 3d face alignment. In ICCV, pages 3694–3702, 2015.
  • [24] A. Jourabloo and X. Liu. Large-pose face alignment via cnn-based dense 3d model fitting. In CVPR, pages 4188–4196, 2016.
  • [25] A. Jourabloo and X. Liu. Pose-invariant face alignment via cnn-based dense 3d model fitting. IJCV, 124(2):187–203, 2017.
  • [26] M. Koestinger, P. Wohlhart, P. M. Roth, and H. Bischof. Annotated facial landmarks in the wild: A large-scale, real-world database for facial landmark localization. In ICCVW.
  • [27] Y. J. Lee, S. J. Lee, K. R. Park, J. Jo, and J. Kim. Single view-based 3d face reconstruction robust to self-occlusion. EURASIP, 2012(1):176, 2012.
  • [28] Z. Liang, S. Ding, and L. Lin. Unconstrained facial landmark localization with backbone-branches fully-convolutional networks. arXiv, 2015.
  • [29] F. Liu, D. Zeng, Q. Zhao, and X. Liu. Joint face alignment and 3d face reconstruction. In ECCV, pages 545–560, 2016.
  • [30] Y. Liu, A. Jourabloo, W. Ren, and X. Liu. Dense face alignment. In CVPR, pages 1619–1628, 2017.
  • [31] Z. Liu, P. Luo, X. Wang, and X. Tang. Deep learning face attributes in the wild. In ICCV, pages 3730–3738, 2015.
  • [32] J. McDonagh and G. Tzimiropoulos. Joint face detection and alignment with a deformable hough transform model. In ECCV, pages 569–580, 2016.
  • [33] A. Paszke, S. Gross, S. Chintala, and G. Chanan. Pytorch: Tensors and dynamic neural networks in python with strong gpu acceleration. PyTorch: Tensors and dynamic neural networks in Python with strong GPU acceleration, 2017.
  • [34] P. Paysan, R. Knothe, B. Amberg, S. Romdhani, and T. Vetter. A 3d face model for pose and illumination invariant face recognition. In AVSS, pages 296–301, 2009.
  • [35] X. Peng, R. S. Feris, X. Wang, and D. N. Metaxas. A recurrent encoder-decoder network for sequential face alignment. In ECCV, pages 38–56, 2016.
  • [36] D. Ramanan and X. Zhu. Face detection, pose estimation, and landmark localization in the wild. In CVPR, pages 2879–2886, 2012.
  • [37] E. Richardson, M. Sela, and R. Kimmel. 3d face reconstruction by learning from synthetic data. In 3DV, pages 460–469, 2016.
  • [38] E. Richardson, M. Sela, R. Or-El, and R. Kimmel. Learning detailed face reconstruction from a single image. In CVPR, pages 1259–1268, 2017.
  • [39] S. Romdhani and T. Vetter. Estimating 3d shape and texture using pixel intensity, edges, specular highlights, texture constraints and a prior. In CVPR.
  • [40] C. Sagonas, G. Tzimiropoulos, S. Zafeiriou, and M. Pantic. 300 faces in-the-wild challenge: The first facial landmark localization challenge. In ICCVW, pages 397–403, 2013.
  • [41] Z. Sánta and Z. Kato. 3d face alignment without correspondences. In ECCV, pages 521–535, 2016.
  • [42] J. Saragih and R. Goecke. A nonlinear discriminative approach to aam fitting. In ICCV, pages 1–8, 2007.
  • [43] J. M. Saragih, S. Lucey, and J. F. Cohn. Deformable model fitting by regularized landmark mean-shift. IJCV, 91(2):200–215, 2011.
  • [44] J. Thies, M. Zollhofer, M. Stamminger, C. Theobalt, and M. Nießner. Face2face: Real-time face capture and reenactment of rgb videos. In CVPR, pages 2387–2395, 2016.
  • [45] L. Tran and X. Liu. Nonlinear 3d face morphable model. In CVPR, pages 7346–7355, 2018.
  • [46] A. Tuan Tran, T. Hassner, I. Masi, and G. Medioni. Regressing robust and discriminative 3d morphable models with a very deep neural network. In CVPR, pages 5163–5172, 2017.
  • [47] G. Tzimiropoulos and M. Pantic. Optimization problems for fast aam fitting in-the-wild. In ICCV, pages 593–600, 2013.
  • [48] R. Yu, S. Saito, H. Li, D. Ceylan, and H. Li. Learning dense facial correspondences in unconstrained images. In ICCV, pages 4723–4732, 2017.
  • [49] X. Zhu, Z. Lei, X. Liu, H. Shi, and S. Z. Li. Face alignment across large poses: A 3d solution. In CVPR, pages 146–155, 2016.
  • [50] X. Zhu, Z. Lei, J. Yan, D. Yi, and S. Z. Li. High-fidelity pose and expression normalization for face recognition in the wild. In CVPR, pages 787–796, 2015.