Learning All-in-One Face Analysis Model from Unlabeled Video
Authors: Yuyang Sha, Pengbo Liu, Gang Luo, Ting Liu
Organizations: Eye Research Center, Hangzhou Institute of Medicine, Chinese Academy of Sciences, Eye Hospital, Wenzhou Medical University, Hangzhou, 310018, China · School of Biomedical Engineering, Division of Life Sciences and Medicine, University of Science and Technology of China (USTC), Hefei, Anhui, 230026, China · Center for Artificial Intelligence Driven Drug Discovery, Faculty of Applied Sciences, Macao Polytechnic University, Macau, 999078, Macau SR · MT Lab, Meitu Inc, Beijing, 100191, China
In this paper, we present an all-in-one facial analysis model called AIO-Face. Our model is designed to learn robust representations from unlabeled facial videos, which can be utilized for various downstream tasks such as facial landmark detection, face recognition, and facial action unit detection. The proposed method consists of three components: a feature disentanglement module, a target generation module, and a cycle-consistency regularization module. The feature disentanglement module, formed by two encoders, is able to distinguish between instance-specific features and instance-irrelevant features presented in the input facial videos. Subsequently, the target generation module produces new facial images through strategic feature combinations. To make our unsupervised learning approach more efficient, we incorporate cycle-consistency regularization. This component constrains the model to disentangle two distinct facial representations and provides additional supervision during model training. We conducted extensive experiments on various datasets for face alignment, face recognition, and facial action unit detection. The results show that our approach outperforms the evaluated unsupervised learning baselines and is comparable to some supervised approaches. Furthermore, we also evaluate the model's performance in face reenactments, where it surpassed several leading systems.
Figures & tables
Figure 1: Our AIO-Face architecture. The method contains three parts: feature disentanglement module, target generation module, and cycle-consistency regularization. The feature disentanglement module includes two encoders ( Esp and Eir ), which are used to extract the instance-specific features and instance-irrelevant features. The target generation module ( G ) attempts to generate face videos with the feature combinations of identity and attribute representations. The cycle-consistency regularization provides additional supervisions for model training.
Method
300W
MAFL
AFLW
Supervised Learning
DCNN
-
9.73
8.97
MTCNN
-
5.39
6.90
TCDCN
5.54
7.95
7.65
Wing
4.04
-
1.47
SAN
3.98
-
1.91
Table 1: Facial landmark detection performance (NME) on 300W, MAFL, and AFLW datasets. Lower is better.
Figure 2: Qualitative comparison for cross-person reenactment with state-of-the-art methods including X2Face and CycleFace. The 1-st column is source images, and the 2-nd column is driver images. The 3-rd column demonstrates the results of X2Face, and CycleFace generates the results in the 4-st column. Our method results are illustrated in the 5-st column.
Method
LFW
CPLFW
Supervised Learning
VGG-Face
98.95
84.00
SphereFace
99.42
81.40
Arc-Face
99.53
92.08
Unsupervised Learning
LBP
72.44
-
Table 2: Face recognition performance on LFW and CPLFW datasets. Higher is better.
Method
1
2
4
6
9
12
25
26
AVE
Supervised Learning
ResNet-Face
24.9
17.9
49.5
41.2
26.2
48.6
56.4
32.8
37.2
VGG-Face
35.5
25.5
58.1
53.8
32.4
74.4
79.0
55.7
51.8
EAC-Net
41.5
26.4
66.4
50.7
80.5
89.3
88.9
15.6
48.5
JAANet
43.7
46.2
56.0
41.4
44.7
69.6
88.3
58.4
56.0
Unsupervised Learning
Table 3: Facial AU detection performance (F1-score) on DISFA dataset. Higher is better.
Type
Fsp
Fir
Fsp + Fir
Face Rec.
76.57
35.08
73.89
AU Det.
27.5
46.2
41.0
Land. Det.
6.01
10.25
4.68
Table 4: The influence of different features on downstream face analysis tasks. We apply the LFW, DISFA, and 300W for face recognition, facial AU detection, and facial landmark detection, respectively.
Appendix figures & tables5 assets
Supplementary material from the paper’s appendix.
Appendix
Method
Roll
Pitch
Yaw
MAE
Supervised Learning
Dlib [ 57 ]
10.50
13.60
23.10
15.80
FAN [ 24 ]
8.71
12.3
6.36
9.12
FSA [ 58 ]
5.28
6.71
5.27
5.75
Unsupervised Learning
TCAE [ 4 ]
14.83
14.57
21.75
17.39
Appendix
Table S1: Head pose estimation performance on AFLW2000 datasets. Lower is better.
Method
FER-2013
RAF-BD
Supervised Learning
FSN [ 59 ]
67.60
81.10
ALT [ 60 ]
69.85
84.50
Unsupervised Learning
FabNet [ 18 ]
46.98
66.72
TCAE [ 4 ]
45.05
65.32
Appendix
Table S2: Expression recognition performance on FER-2013 and RAF-BD datasets in terms of accuracy (%). Higher is better.
Method
1
2
4
6
7
10
12
14
15
17
23
24
AVE
Supervised Learning
ResNet-Face [ 38 ]
39.3
40.6
38.5
64.2
67.5
71.0
65.3
57.2
37.8
51.3
35.1
32.6
49.9
VGG-Face [ 55 ]
46.4
36.3
49.6
76.0
77.6
80.2
87.8
60.8
40.4
59.1
43.7
48.2
58.8
AlexNet [ 62 ]
40.3
39.0
41.7
62.8
54.2
75.1
78.1
44.7
32.9
47.3
27.3
40.1
48.6
DRML [ 63 ]
36.4
41.8
43.0
55.0
67.0
66.3
65.8
54.1
33.2
48.0
31.7
30.0
48.3
EAC-Net [ 25 ]
39.0
35.2
48.6
76.1
72.9
81.9
86.2
58.8
37.5
59.1
35.9
35.8
55.9
Appendix
Table S3: Facial AU detection performance (F1-score) on BP4D dataset. Higher is better.
Figure S1 : Visualization results of the AIO-Face in facial landmark detection. The test images are selected from 300W dataset.
Figure S2 : Generated images by AIO-Face. The results demonstrate that our method is able to disentangle the instance-specific features and instance-irrelevant features.
Facial Action Unit (AU) detection often relies on highly-cost accurate labeling or inaccurate pseudo labeling techniques in recent years. How to introduce large amounts of unlabeled facial images in the wild into supervised AU detection frameworks has become a challenging problem. Additionally, nearly every type of AUs has the problem of unbalanced positive and negative samples. Inspired by other multi-task learning frameworks, we first propose a multi-task learning strategy boosting AU detection in the wild through jointing facial landmark detection and AU domain separation and reconstruction. Our introduced dual domains facial landmark detection framework can solve the lack of accurate facial landmark coordinates during the AU domain separation and reconstruction training process, while the parameters of homostructural facial extraction modules from these two similar facial tasks are shared. Moreover, we propose a pixel-level feature alignment scheme to maintain the consistency of features obtained from two separation and reconstruction processes. Furthermore, a weighted asymmetric loss is proposed to change the contribution of positive and negative samples of each type of AUs to model parameters updating. Experimental results on three widely used benchmarks demonstrate our superiority to most state-of-the-art methods for AU detection.
Ziqiao Shang, Bin Liu
School of Electronic and Information Communications, Huazhong University of Science and Technology Wuhan, China
Face animation deals with controlling and generating facial features with a wide range of applications. The methods based on unsupervised keypoint positioning can produce realistic and detailed virtual portraits. However, they cannot achieve controllable face generation since the existing keypoint decomposition pipelines fail to fully decouple identity semantics and intertwined motion information (e.g., rotation, translation, and expression). To address these issues, we present a new method, Motion Manipulation via unsupervised keypoint positioning in Face Animation (MMFA). We first introduce self-supervised representation learning to encode and decode expressions in the latent feature space and decouple them from other motion information. Secondly, we propose a new way to compute keypoints aiming to achieve arbitrary motion control. Moreover, we design a variational autoencoder to map expression features to a continuous Gaussian distribution, allowing us for the first time to interpolate facial expressions in an unsupervised framework. We have conducted extensive experiments on publicly available datasets to validate the effectiveness of MMFA, which show that MMFA offers pronounced advantages over prior arts in creating realistic animation and manipulating face motion.
Face forgery detection is crucial for preserving the security and integrity of facial data given the rapid developments in face manipulation techniques and deep generative models. Existing methods for video face forgery detection typically assume that all frames in a forged video are manipulated, while detecting partially forged videos that contain only a subset of altered frames remains challenging. To address this issue, we propose a novel framework, UVIF, that utilizes additional annotated images to provide fine-grained supervision for detecting partial forgeries in videos. UVIF employs a unified encoder and a multi-task learning paradigm to jointly model facial videos and images for boosted video face forgery detection. A 2D backbone with temporal fusion modules is employed as the unified encoder. A pseudo labeling process is designed for video frames to bridge their representations with those of static images. A video-oriented feature alignment strategy is further introduced to reduce the distribution gap between videos and images. Extensive experiments on benchmark datasets demonstrate the effectiveness of our framework, which outperforms state-of-theart methods in detecting partially forged videos while introducing no additional computational overhead. Our code is available at https://github.com/haotianll/UVIF.