Back to paper library
Paper notesarXiv 2017ICCV 2017

FAN

Are We There Yet?

Original paper

How far are we from solving the 2D & 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)

Paper authors

Adrian Bulat · Georgios Tzimiropoulos

Publication
ICCV 2017Conference
First submitted to arXiv
arXiv:1703.07332
Cite this paper · BibTeX

The citation identifies the linked source version. It cites the original paper and its authors.

@misc{faceanalysisfan2017,
  title = {{How far are we from solving the 2D \& 3D Face Alignment problem? (and a dataset of 230,000 3D facial landmarks)}},
  author = {Adrian Bulat and Georgios Tzimiropoulos},
  year = {2017},
  eprint = {1703.07332},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1703.07332}
}
On this page

The paper's title is a question. How far are we from solving 2D and 3D face alignment?

To answer "nearly solved," you first need a ruler. The authors, Adrian Bulat and Georgios Tzimiropoulos (University of Nottingham), chose an unusual reference line. LFPW is an old dataset made up mostly of near-frontal faces; for several years hardly any method had improved on it, and it was widely considered saturated. The authors ran MDM, a strong method of the time (a 2016 method that rewrote cascaded regression as a recurrent neural network), on LFPW, plotted its error curve, and called it MDM-on-LFPW. If their own network can produce the same curve on other, harder datasets, those datasets are close to saturated too.

The network being measured is called FAN (Face Alignment Network). It takes the stacked hourglass network from human pose estimation and swaps out the residual blocks inside. It's trained mainly on 300W-LP, synthesized by 3DDFA, and then tested on more than two hundred thousand real images.

The parenthesis in the second half of the title says "and a dataset of 230,000 3D facial landmarks," and this dataset, LS3D-W, is also a lead character of the paper. Its labels were produced by another FAN, which will matter a great deal later on.

Defining the Problem

Heatmaps won first on human pose

Networks that find keypoints output their answers in roughly one of two ways. Coordinate regression outputs each point's (x,y)(x,y) directly; heatmap regression outputs, for each point, a lower-resolution map aligned with the image, where the value is highest wherever the point is, and the peak's location is then read off the map.

Around 2016, human pose estimation had switched almost entirely to fully convolutional networks doing heatmap regression, with Stacked Hourglass as the representative. In face alignment, the mainstream was still cascaded regression, which starts from a mean face and corrects the shape level by level. It degrades when the initialization is inaccurate, the pose is large, there's heavy self-occlusion, or there's a large in-plane rotation. The authors' question is straightforward. Take the strongest heatmap network from human pose and move it to faces; how far can it go?

2D points and 3D points

The second problem is in the labels. For a person whose head is turned 60°, the far side of the jaw contour has already disappeared behind the cheek. 2D annotations like 300-W's put the contour points on the visible silhouette, so the point with a given number sits at one spot on the jaw for a frontal face and moves to another spot for a profile, losing correspondence across poses.

3D annotations start from 68 points in 3D and project them onto the image plane. Hidden points still project to where they are behind the cheek, so the numbering always matches the anatomical location. The paper makes a point of noting that what it calls 3D annotations are really 2D projections of 3D points, called 3D only for convenience.

There was very little data for 3D training and testing, and the paper lists the datasets commonly used at the time.

DatasetImagesPoseLabels
300-W4,000±45°2D
300W-LP61,225±90°2D, 3D (synthetic)
AFLW2000-3D2,000±90°3D
300-VW218,595±45°2D

Compiled from Table 1 of the paper.

300W-LP and AFLW2000-3D both come from 3DDFA. The former is synthetic data made by turning 300-W photos sideways in 3D, with both 2D and 3D labels; the latter holds 3D labels fitted to the first 2,000 images of AFLW, and was the only in-the-wild 3D test set at the time.

The rulers: NME, CED and AUC

The error is NME (normalized mean error), equation (1) in the paper:

NME=1N∑k=1N∥xk−yk∥2d\mathrm{NME}=\frac{1}{N}\sum_{k=1}^{N}\frac{\|x_k-y_k\|_2}{d}

xkx_k and yky_k are the ground truth and prediction for point kk, and N=68N=68. A common choice for the denominator dd is the distance between the two outer eye corners, but on a profile the eye distance in the image may be down to a dozen or so pixels, magnifying the same error several times over. So the authors use the size of the box around the ground-truth points instead, d=wbbox⋅hbboxd=\sqrt{w_{bbox}\cdot h_{bbox}}, with the same box computed from the 2D points in both the 2D and 3D experiments.

Every image has its own NME. Sort them from small to large and plot "the fraction of images whose NME is below a threshold" against the threshold, and you get the CED (cumulative error distribution) curve. The earlier the curve reaches the top, the better. The paper's AUC is the area under this curve between 0 and 7%, divided by 7% to normalize it to between 0 and 1; an NME above 7% counts as a failure.

This AUC has a very handy reading. For each image's error ee,

∫07%1[e<t] dt=7%−min⁡(e, 7%)\int_0^{7\%}\mathbb 1[e<t]\,dt=7\%-\min(e,\,7\%)

Averaging over all images gives

AUC7%=1−E[min⁡(e, 7%)]7%\mathrm{AUC}_{7\%}=1-\frac{\mathbb E\big[\min(e,\,7\%)\big]}{7\%}

In other words, AUC just caps each image's NME at 7%, takes the average, and converts it into a percentage. An AUC of 66.9% corresponds to a capped mean NME of about 2.3%, and an AUC of 70% to 2.1%. Whenever AUCs below differ by 1 percentage point, you can convert that directly into a 0.07-point difference in mean NME.

How far can a strong enough heatmap network get on real 2D datasets when trained only on the synthetic 300W-LP? With so few 3D labels, can you make a big set yourself? Of pose, resolution, initialization and network size, which are still bottlenecks?

Solving the Problem

FAN: four hourglasses, with a different residual block

Original Figure 1: on the left, two hourglass networks side by side with three dots between them for the ones omitted, and a brace above labeled 4, meaning four stacked hourglasses. Each hourglass is a row of rectangular blocks, going from large to small and back to large, with skip connections between mirror-image blocks. To the right are three stacked heatmaps, one with a blue dot, labeled Heatmaps. The dashed box at the far right shows the inside of a block: the input goes through 3x3, 256 -> 128, then 3x3, 128 -> 64, then 3x3, 64 -> 64, each layer labeled BN, Binary above it; the outputs of the three layers are concatenated at C and added to the input at +.
Original Figure 1, Bulat et al., from PDF page 2, arXiv license, scholarly quotation.

FAN is a stack of four hourglass networks. The paper itself describes it in a single paragraph, and the details have to be filled in from the official Torch training code. Let's walk a 256×256256\times256 face crop through it.

  1. Preprocessing: a 7×77\times7, stride-2 convolution shrinks the image to 128×128×64128\times128\times64, one block takes it to 128 channels, pooling shrinks it to 64×6464\times64, and two more blocks raise the channels to 256. From here on, the main path of the network stays at 64×6464\times64 resolution.
  2. Hourglass: each hourglass has four levels. The downward path pools once per level, 64→32→16→8→464\to32\to16\to8\to4; the upward path doubles the size at each level with nearest-neighbor upsampling and adds the branch of the same resolution from the way down, returning to 64×64×25664\times64\times256.
  3. Output: the hourglass is followed by a block and a 1×11\times1 convolution, and then another 1×11\times1 convolution outputs 68 heatmaps of 64×6464\times64, one per landmark.
  4. Stacking: for every hourglass except the last, the features and the heatmaps each go through a 1×11\times1 convolution and are added back to that hourglass's input, which then goes to the next hourglass. All four hourglasses output a set of heatmaps, each with its own loss; that's the intermediate supervision.

The author added in issue #74 (May 2018) that the four losses are summed and backpropagated only once.

The difference from the original Hourglass is the block. The original uses ResNet's bottleneck (1×11\times1 to reduce dimensions, 3×33\times3, 1×11\times1 to expand), and FAN swaps it for the hierarchical, parallel & multi-scale block the authors proposed in a separate paper on binarized networks, the dashed box on the right of Figure 1.

Take a 256-channel input. Three 3×33\times3 convolutions are chained together, with 128, 64 and 64 channels in turn. The outputs of all three are kept and concatenated into 128+64+64=256128+64+64=256 channels, and the input's shortcut is added on. The first layer's receptive field is 3×33\times3, two stacked layers equal 5×55\times5, and three equal 7×77\times7, so a block's output mixes three scales at once. Each layer in the figure is labeled "BN, Binary," which is how the binarized version is written; FAN itself is a real-valued network, and both the official Torch and PyTorch code use the order BN, ReLU, convolution.

The whole FAN has about 24 million parameters, and the paper says it runs at 28 to 30 images per second on a TitanX.

What the heatmaps look like, and how coordinates come out of them

The paper doesn't give the heatmap targets or the loss, so this part also has to come from the official training code.

Each landmark is first converted to the coordinates of the 64×6464\times64 heatmap and rounded to an integer cell, and a 7×77\times7 Gaussian (peak 1, standard deviation about 1.75 cells) is centered on that cell, with zeros everywhere else. The loss is the mean squared error between each hourglass's output and these 68 target maps, summed over the four. Later, answering a question in issue #161 (November 2019), the author said BCE was used. The paper, the code and the issue don't agree, so if you're reproducing it, go by the code.

At inference, the 68 heatmaps have to be turned back into coordinates. The official code does this in three steps.

  1. Find the cell with the maximum value in each map (argmax), and take the cell center as the initial position.
  2. In the xx direction, compare the two neighboring cells on the left and right and move 0.25 cells toward the larger one; do the same in the yy direction.
  3. Multiply by 4 to get back to the 256×256256\times256 crop, then undo the crop's translation and scaling to get back to the original image.

What the quarter cell in step two is doing becomes clear once you work through one peak. Suppose the network's output peak is centered exactly on the true position and has the same shape as the target, a Gaussian with a standard deviation of 1.75 cells, and the true position is 0.3 cells to the right of the maximum cell's center (an idealized case, this note's example). The three cells then have these values:

CellFrom true positionValue
Left neighbor1.3 cells0.759
Center (max)0.3 cells0.985
Right neighbor0.7 cells0.923

The right neighbor is larger than the left, so the position moves right by 0.25 cells, and the error drops from 0.3 cells to 0.05 cells. Now take a different case where the true position is only 0.05 cells to the right. The left and right neighbors are 0.835 and 0.863, the position still moves right by 0.25 cells, and the error actually grows from 0.05 cells to 0.2 cells. The trick looks only at direction, not at how far, and on average it cuts the error roughly in half. If the offset is uniformly distributed within the cell and the direction is always judged correctly, the mean 2D error drops from 0.38 cells to 0.19 cells.

How big is a cell? The official evaluation code sets the crop from the box around the points. The center is the box center shifted up by 12% of the box height, and the crop side is 200×(w+h)/195200\times(w+h)/195. For a square box of side LL, the crop side is 400L/195≈2.05L400L/195\approx2.05L; resized to 256 pixels, the box takes up about 125 pixels of the crop and about 31 cells of the heatmap. So one cell is about 3.2% of dd. With argmax alone, the mean error of 0.38 cells already comes to an NME of 1.2%; with the quarter-cell correction and the direction always right, about 0.6%. Compare this with the earlier point that an AUC of 66.9% corresponds to a mean NME of only 2.3%, and the quantization error is of the same order as the total error.

This is also the thing users run into most often. As early as September 2017, someone reported in issue #5 of face-alignment that the coordinates land on grid points and the landmarks jump around in video; the author suggested temporal smoothing, or using the previous frame's result as the next frame's box. The later PIPNet simply predicts an extra offset on a low-resolution heatmap and leaves this part of the error for the network to learn.

2D-to-3D-FAN: 3D points guided by 2D points

With FAN in hand, the 2D version trained on 300W-LP's 2D labels is called 2D-FAN, and the 3D version trained on 300W-LP's 3D labels is called 3D-FAN.

To make 3D labels in bulk, the authors also built a 2D-to-3D-FAN. It is 3D-FAN, except that besides the three RGB channels, its input has 68 more. Each channel corresponds to one 2D landmark and has a Gaussian with a standard deviation of 1 pixel drawn at that point's position. The network sees the image and the 2D points at the same time and outputs heatmaps for the 3D points (their projected positions). Every image in 300W-LP has paired 2D and 3D labels, which is exactly what training this needs.

The way to use it is to get a set of 2D points first and then hand them to 2D-to-3D-FAN to turn into 3D. Section 6 of the paper, describing how the dataset was built, says the authors "guided it using the predictions of 2D-FAN"; the abstract and the project page say it converts existing 2D annotations. Menpo's profiles are labeled with only 39 points, which don't match the 68-point layout, so turning them into 68 3D points has to start with 2D-FAN predicting a set of 68 points (this note's inference).

The images converted include the 300-W test set (600 images), all the 300-VW videos (218,595 frames) and Menpo (about 9,000 images), plus the re-annotated AFLW2000-3D (2,000 images), about 230,000 in total; this is LS3D-W.

Count them up and you'll find that 219,000 of the 230,000, about 95%, are video frames from 300-VW. They come from 114 videos, consecutive frames are very similar to each other, and the paper's table puts 300-VW's poses within ±45°. That "230,000" carries less weight than it sounds.

Training setup

The three networks are trained separately. 2D-FAN and 3D-FAN use RMSprop with an initial learning rate of 10−410^{-4} and a batch size of 10, dropping to 10−510^{-5} after 15 epochs and to 10−610^{-6} after another 15, for 40 epochs in all. Data augmentation includes flipping, ±50° rotation, color jitter, scaling from 0.8 to 1.2 and random occlusion. 2D-to-3D-FAN uses stronger augmentation, ±70° rotation and scaling from 0.7 to 1.3, with an initial learning rate of 10−310^{-3}. 2D-FAN is additionally fine-tuned for a few epochs on the original 300-W training set, because the 2D points of 300W-LP aren't fully compatible with those of 300-W, 300-VW and Menpo.

The official Torch training code doesn't match this description. The code's default learning rate is 2.5×10−42.5\times10^{-4}, lowered in five stages to 5×10−65\times10^{-6} over 100 to 110 epochs; rotations are sampled with a standard deviation of 30° and clipped at ±60°, and 60% of samples aren't rotated at all. A model retrained with the code isn't necessarily the same as the paper's model.

Discussion

2D: MDM on LFPW as the reference line

2D-FAN is trained on 300W-LP and evaluated on the 300-W test set, the 300-VW training and test videos, and Menpo's frontal faces, more than 220,000 images in total, all in a cross-dataset setting.

Original Figure 8 (d): CED curves on the 300-W test set, with NME (%) from 0 to 7 on the horizontal axis and the percentage of test images from 0 to 100 on the vertical axis. The blue line is 2D-FAN, the red line MDM, and the black line with stars MDM-on-LFPW. The black and blue lines almost overlap, both starting to rise at an NME of about 1.3% and nearing 100% at about 3.5%; the red MDM is clearly further right, at only a little over 60% when the NME is about 3%, and still short of 100% at 7%.
Original Figure 8 (d), Bulat et al., from PDF page 8, arXiv license, scholarly quotation.

These are the CED curves on the 300-W test set. The black line with stars is the reference line, MDM's performance on LFPW; the blue 2D-FAN hugs it almost exactly, while the red MDM falls far behind on the same 300-W test set. MDM, as well as CFSS and TCDCN in the table below, were run from their public code, initialized with ground-truth boxes; iCCR, the best face tracking method of the time, is compared only on the video dataset 300-VW.

Dataset2D-FANMDMiCCRCFSS
300VW-A72.170.265.9–
300VW-B71.267.965.5–
300VW-C64.154.658.1–
Menpo67.567.1–60.5
300-W66.958.1–55.9

Compiled from Table 2 of the paper, AUC@7% (%). TCDCN gets 47.9 on Menpo and 41.7 on 300-W.

Read this table with the conversion from earlier. 2D-FAN's 66.9% on 300-W is equivalent to a mean NME of about 2.3%, and MDM's 58.1% to about 2.9%. On Menpo the two differ by only 0.4 percentage points, so 2D-FAN doesn't pull ahead there.

The failure rate is very low. Of the 7,200 images in Menpo and the 300-W test set combined, only 18 (0.25%) have an NME above 7%. 300-VW's category C lags further behind, which the authors attribute to the labels. 300-VW was annotated semi-automatically, its quality is uneven, and large poses are labeled inaccurately; after removing 101 failed frames (0.38%) and looking at the images with the highest errors, the authors judge that in most cases the network's predictions are more accurate than the labels.

So the authors conclude that 2D-FAN performs on par with MDM-on-LFPW and that these 2D datasets are close to saturated, and that this was achieved training mainly on synthetic data, with a mismatch between the training and test labeling rules.

How well the conclusion holds up can be judged from later numbers. Three years on, LUVLi lists 2D-FAN at 66.5 on the same protocol (the 600-image 300-W test set, box normalization, AUC@7%), KDN at 68.3, and LUVLi itself at 70.2, with NME in the same table falling from 2.32% to 2.10%. The gap is small, but there was clearly still road left. How much of the remaining error comes from the labels themselves, the paper doesn't quantify.

Re-annotating AFLW2000-3D with FAN

How do you check the quality of 2D-to-3D-FAN? The only usable set is AFLW2000-3D. The authors ran the whole pipeline on these 2,000 images (2D-FAN produces the 2D points, and 2D-to-3D-FAN turns them into 3D) and compared the result with 3DDFA's original labels.

The NME between the two sets of labels has a median of about 2.6%, with 80% within 3.6% and 95% within 5% (approximate values). After removing 19 failures (0.9%), the largest differences are between 7% and 8%; the authors looked at these images and judge that the original labels are mainly the ones that are inaccurate on difficult poses. The re-annotated version replaces the original labels and goes into LS3D-W.

3D: 3D-FAN against 3DDFA

Original Figure 9 (a)(b)(c): three CED plots, for 300W-3D-Testset, AFLW2000-3D (re-annotated with 2D-to-3D FAN) and Menpo-3D, with NME (%) from 0 to 7 on the horizontal axis and the fraction of test images on the vertical axis. On all three plots, the blue line, 3D-FAN, starts rising at an NME of about 1%, reaches about 70% to 85% at 2%, and gets close to or above 95% around 3%; the red line, 3DDFA, rises much more slowly, at only about 3% to 20% at 2%, and about 85% to 88% at 7%.
Original Figure 9 (a)(b)(c), Bulat et al., from PDF page 8, arXiv license, scholarly quotation.

3D-FAN is trained on 300W-LP's 3D labels and tested on LS3D-W, against 3DDFA, which is also trained on 300W-LP. The three plots look almost identical. The blue line has gathered everything within 3%, while the red line still has more than a tenth of the images beyond the threshold at 7%. 3D-FAN is also slightly better than 2D-FAN, especially below 2%; the authors' explanation is that this time the training and test labels follow the same rules.

When reading this figure, remember where LS3D-W came from. The test labels were produced by 2D-to-3D-FAN, guided by 2D points from 2D-FAN, and both of these networks share the architecture of the 3D-FAN being evaluated and were likewise trained on 300W-LP. Part of the reason 3D-FAN agrees with these labels is that it's checking answers against its own family. The same goes the other way. AFLW2000-3D's original labels were fitted with a 3DMM, the same kind of model 3DDFA uses. A little over a year apart, the two papers each produced 3D ground truth with models of their own lineage and then used it to grade themselves.

Ablations: which factors still count

The ablations use a balanced subset of LS3D-W called LS3D-W Balanced, 7,200 images drawn from LS3D-W with 2,400 each at 0°–30°, 30°–60° and 60°–90° yaw. All numbers are AUC@7%. The default setting initializes with ground-truth boxes plus 10% noise.

Pose. The three groups score 73.5, 74.6 and 68.8. Large poses lose about 5 percentage points, which the authors attribute to 300W-LP having been synthesized by warping frontal faces to large poses, which distorts the area around the ears. Their conclusion is that pose is no longer a major issue.

Resolution. The faces are shrunk to different sizes and tested again, without retraining.

Original Figure 7: a line chart titled Resilience to face resolution. The horizontal axis runs 30, 40, 50, 60, 70, and the vertical axis is AUC from 0 to 80. The orange line (yaw 0–30) and the yellow line (30–60) almost overlap, from about 55 to 57 at 30, rising to about 64 at 40 and about 72 at 70; the green line (60–90) goes from about 33 at 30 to about 48 at 40, about 58 at 50, about 63 at 60 and about 65 at 70.
Original Figure 7, Bulat et al., from PDF page 7, arXiv license, scholarly quotation.

The horizontal axis has no unit; according to the text, it's the side of the face box in pixels. The first two groups are still around 64 at 40 pixels, and on that basis the authors say performance drops noticeably only when faces get as small as 30 pixels, so resolution isn't a major issue. The green line isn't so rosy. The 60°–90° group is at about 58 at 50 pixels, about 48 at 40 pixels and only about 33 at 30 pixels, half of the roughly 65 it had at 70 pixels. The conclusion holds for near-frontal faces; for profiles, take it with a grain of salt.

Initialization. Varying the amount of noise added to the ground-truth box:

Noise0°–30°30°–60°60°–90°
0%74.575.269.8
10%73.574.668.8
20%70.871.766.1
30%63.863.557.2

Compiled from Table 4 of the paper, AUC@7% (%).

The network saw up to 20% noise during training. Within 20% it loses only two or three percentage points; at 30% it loses about ten. Put in practical terms, as long as the detector's box isn't too far off, FAN isn't picky.

Network size. This is the factor the authors call "new":

Params0°–30°30°–60°60°–90°
2M70.969.955.8
4M71.070.557.0
6M71.571.158.3
12M72.772.767.1
18M73.474.268.3
24M73.574.668.8

Compiled from Table 5 of the paper, AUC@7% (%).

The parameter count is reduced by first cutting the hourglasses from 4 to 1 and then shrinking the blocks' channels. Going by the parameter counts, 24M, 18M, 12M and 6M correspond to roughly 4, 3, 2 and 1 hourglasses. The largest network runs at 28 to 30 images per second and the smallest at 150.

From 12M up, the three groups stay within 2 percentage points; only at 6M and below does performance drop clearly. It's clearer when you look at the three columns separately. From 6M to 12M, 0°–30° gains only 1.2, but 60°–90° gains 8.8; stacking the second hourglass mostly rescues profiles.

The official code and the face-alignment package

The paper's models were written in Torch7, and the training code, demo code and weights are all public. In practice, more people use the authors' later PyTorch package face-alignment, which works after a pip install face-alignment.

The package's default pipeline first detects faces with SFD (BlazeFace and others are supported too), crops by the box, and then runs a 4-hourglass FAN. There are three landmark modes. TWO_D follows the visible face contour, TWO_HALF_D is the projection of the 3D points, and THREE_D adds a ResNet to estimate the depth zz. The depth uses the center of the head as the origin and follows the coordinates of 300W-LP's Basel 3DMM, not camera coordinates (issue #31).

A few things dug up from the issues:

  • The PyTorch models were retrained. In December 2017, someone reported in issue #32 that the Torch and PyTorch versions gave very different results. The author acknowledged that the PyTorch models had less augmentation, uploaded retrained models in January 2018, and said the results were "very similar to the ones of from lua torch (up to some noise)." The README still says today that for numerical evaluation the Lua version is strongly recommended, because that is the model evaluated in the paper.
  • The crop constants were found by trial. The author said in issue #247 (January 2021) that the cropping constants, such as the 195 and the 12%, were chosen by trying two or three values on a small batch of images. Training used ground-truth boxes with 20% jitter, and neither SFD nor BlazeFace had been published yet. If you switch detectors, the box size is defined differently, so it's best to recheck the crop scale.
  • Smaller models. The README has said "More models will be added soon" since September 18, 2017. Four days later, in issue #4, someone asked for models other than the 4-hourglass one, and the author replied the same day that the smaller models mostly hadn't finished retraining and that work would resume "at some point during the next week." A year later the reply was "Not at this time unfortuantelly"; follow-up questions kept coming until 2021, the issue is still open, and the TINY, SMALL and MEDIUM options of NetworkSize in the code are still commented out (next week, as of September 2017). In the ablation table, the 12M version loses only 0.8 to 1.9 percentage points across the three groups, and the author also said in the issue that two hourglasses run about twice as fast with almost no drop in score.

Later influence

FAN's architecture later served as the backbone for quite a few heatmap methods. The 2019 Adaptive Wing Loss states outright that its model is built on the stacked hourglass of Bulat et al. Hopenet (2017), for head pose estimation, says in its paper that it chose to train its pose network on 300W-LP because FAN had trained landmarks on this data; it also converts the landmarks FAN detects into poses as a baseline.

Conclusion

Trained only on the synthetic 300W-LP, FAN, four stacked hourglasses with multi-scale blocks, matches the reference line from LFPW on 300-W, 300-VW and Menpo (except for 300-VW's category C), with an AUC@7% of 66.9% on 300-W. 2D-to-3D-FAN turns more than 230,000 images into 3D labels, on which 3D-FAN leads 3DDFA by a wide margin. The ablation numbers have more nuance than the authors' conclusions. Initialization noise within 20% matters little; for profiles, AUC drops clearly when the face is smaller than 50 pixels or the network is down to a single hourglass.

If you run face-alignment on video, you'll have to add temporal smoothing yourself. One cell of the 64×64 heatmap is about 3% of the face box, so independent per-frame predictions will jitter; using the box around the previous frame's landmarks as the next frame's crop is also steadier than rerunning detection every frame. Use TWO_HALF_D when you want to straighten the face or fit a 3D model, since its contour points don't slide along the silhouette; use TWO_D only when comparing against 300-W-style labels.

The paper asked how far we were from solving it. Three years later, the mean NME on 300-W had gone from 2.3% to 2.1%, and the main contest had already moved to WFLW, which only appeared in 2018.