Modern face recognition system mainly relies on the power of high-capacity deep neural network coupled with massive annotated data for learning effective face representations[26, 14, 21, 29, 11, 3, 32]. From CelebFaces  ( images) to MegaFace  ( images) and MS-Celeb-1M  ( images), face databases of increasingly larger scale are collected and labeled. Though impressive results have been achieved, we are now trapped in a dilemma where there are hundreds of thousands manually labeling hours consumed behind each percentage of accuracy gains. To make things worse, it becomes harder and harder to scale up the current annotation size to even more identities. In reality, nearly all existing large-scale face databases suffer from a certain level of annotation noises ; it leads us to question how reliable human annotation would be.
To alleviate the aforementioned challenges, we shift the focus from obtaining more manually labels to leveraging more unlabeled data. Unlike large-scale identity annotations, unlabeled face images are extremely easy to obtain. For example, using a web crawler facilitated by an off-the-shelf face detector would produce abundant in-the-wild face images or videos 
. Now the critical question becomes how to leverage the huge existing unlabeled data to boost the performance of large-scale face recognition. This problem is reminiscent of the conventional semi-supervised learning (SSL), but significantly differs from SSL in two aspects: First, the unlabeled data are collected from unconstrained environments, where pose, illumination, occlusion variations are extremely large. It is non-trivial to reliably compute the similarity between different unlabeled samples in this in-the-wild scenario. Second, there is usually no identity overlapping between the collected unlabeled data and the existing labeled data. Thus, the popular label propagation paradigm  is no longer feasible here.
In this work, we study this challenging yet meaningful semi-supervised face recognition problem, which can be formally described as follows. In addition to some labeled data with known face identities, we also have access to a massive number of in-the-wild unlabeled samples whose identities are exclusive from the labeled ones. Our goal is to maximize the utility of the unlabeled data so that the final performance can closely match the performance when all the samples are labeled. One key insight here is that although unlabeled data do not provide us with the straightforward semantic classes, its inner structure, which can be represented by a graph, actually reflects the distribution of high-dimensional face representations. The idea of using a graph to reflect structures is also adopted in cross-task tuning . With the graph, we can sample instances and their relations to establish an auxiliary loss for training our model.
Finding a reliable inner structure from noisy face data is non-trivial. It is well-known that the representation induced by a single model is usually prone to bias and sensitive to noise. To address the aforementioned challenge, we take a bottom-up approach to construct the graph by first identifying positive pairs reliably. Specifically, we propose a novel Consensus-Driven Propagation (CDP)111Project page: http://mmlab.ie.cuhk.edu.hk/projects/CDP/222Code: https://github.com/XiaohangZhan/cdp/ approach for graph construction in massive unlabeled data. It consists of two modules: a “committee” that provides multi-view information on the proposal pair, and a “mediator” that aggregates all the information for a final decision.
The “committee” module is inspired by query-by-committee (QBC) 
that was originally proposed for active learning. Different from QBC that measures disagreement, we collect consents from a committee, which comprises a base model and several auxiliary models. The heterogeneity of the committee reveals different views on the structure of the unlabeled data. Then positive pairs are selected as the pair instances that the committee members most agree upon, rather than the base model is most confident of. Hence the committee module is capable of selecting meaningful and hard positive pairs from the unlabeled data besides just easy pairs, complementing the model trained from just labeled data. Beyond the simple voting scheme, as practiced by most QBC methods, we formulate a novel and more effective “mediator
” to aggregate opinions from the committee. The mediator is a binary classifier that produces the final decision as to select a pair or not. We carefully design the inputs to the mediator so that it covers distributional information about the inner structure. The inputs include 1) voting results of the committee, 2) similarity between the pair, and 3) local density between the pair. The last two inputs are measured across all members of the committee and the base model. Thanks to the “committee” module and the “mediator” module, we construct a robust consensus-driven graph on the unlabeled data. Finally, we propagate pseudo-labels on the graph to form an auxiliary task for training our base model with unlabeled data.
To summarize, we investigate the usage of massive unlabeled data (over 6M images) for large-scale face recognition. Our setting closely resembles real-world scenarios where the unlabeled data are collected from unconstrained environments and their identities are exclusive from the labeled ones. We propose consensus-driven propagation (CDP) to tackle this challenging problem with two carefully-designed modules, the “committee” and the “mediator”, which select positive face pairs robustly by aggregating multi-view information. We show that a wise usage of unlabeled data can complement scarce manual labels to achieve compelling results. With consensus-driven propagation, we can achieve comparable results by only using of the labels when compared to its fully-supervised counterpart.
2 Related Work
Semi-supervised Face Recognition. Semi-supervised learning [34, 4] is proposed to leverage large-scale unlabeled data, given a handful of labeled data. It typically aims at propagating labels to the whole dataset from limited labels, by various ways, including self-training [30, 19], co-training [2, 16], multi-view learning 6] and graph-based methods . For face recognition, Roli and Marcialis  adopt a self-training strategy with PCA-based classifiers. In this work, the labels of unlabeled data are inferred with an initial classifier and are added to augment the labeled dataset. Zhao  employ Linear Discriminant Analysis (LDA) as the classifier and similarly use self-training to infer labels. Gao  propose a semi-supervised sparse representation based method to handle the problem in few-shot learning that labeled examples are typically corrupted by nuisance variables such as bad lighting, wearing glasses. All the aforementioned methods are based on the assumption that the set of categories are shared between labeled data and unlabeled data. However, as mentioned before, this assumption is impractical when the quantity of face identities goes massive.
Query-by-Committee. Query By Committee (QBC) 
is a strategy relying on multiple discriminant models to explore disagreements, thus mining meaningful examples for machine learning tasks. Argamon-Engelsonet al. 
extend the QBC paradigm to the context of probabilistic classification and apply it to natural language processing tasks. Loyet al.  extend QBC to discover unknown classes via a framework for joint exploration-exploitation active learning. These previous works make use of the disagreements of the committee for threshold-free selection. On the contrary, we exploit the consensus of the committee and extend it to the semi-supervised learning scenario.
We first provide an overview of the proposed approach. Our approach consists of three stages:
1) Supervised initialization - Given a small portion of labeled data, we separately train the base model and committee members in a fully-supervised manner. More precisely, the base model and all the committee members learn a mapping from image space to feature space using labeled data . For the base model, this process can be denoted as the mapping: , and as for committee members: , .
2) Consensus-driven propagation - CDP is applied on unlabeled data to select valuable samples and conjecture labels thereon. The framework is shown in Fig. 1
. We use the trained models from the first stage to extract deep features for unlabeled data and create k-NN graphs. The “committee” ensures the diversity of the graphs. Then a “mediator” network is designed to aggregate diverse opinions in the local structure of k-NN graphs to select meaningful pairs. With the selected pairs, a consensus-driven graph is created on the unlabeled data and nodes are assigned with pseudo labels via our label propagation algorithm.
3) Joint training using labeled and unlabeled data - Finally, we re-train the base model with labeled data, and unlabeled data with pseudo labels, in a multi-task learning framework.
3.1 Consensus-Driven Propagation
In this section, we formally introduce the detailed steps of CDP.
i. Building k-NN Graphs. For the base model and all committee members, we feed them with unlabeled data as input and extract deep features and . With the features, we find nearest neighbors for each sample in
by cosine similarity. This results in different versions of k-NN graphs,for the base model and for each committee member, totally graphs. The nodes in the graphs are examples of the unlabeled data. Each edge in the k-NN graph defines a pair, and all the pairs from the base model’s graph form candidates for the subsequent selection, as shown in Fig. 1.
ii. Collecting Opinions from Committee. Committee members map the unlabeled data to the feature space via different mapping functions }. Assume two arbitrary connected nodes and in the graph created by the base model, and they are represented by different versions of deep features and . The committee provides the following factors:
1) The relationship, , between the two nodes. Intuitively, it can be understood as whether two nodes are neighbors in the view of each committee member.
where is the k-NN graph of -th committee model and denotes all edges of a graph.
2) The affinity, , between the two nodes. It can be computed as the similarity measured in the feature space with the mapping functions defined by the committee members. Assume that we use cosine similarity as a metric,
3) The local structures w.r.t each node. This notion can refer to the distribution of a node’s first-order, second-order, and even higher-order neighbors. Among them the first-order neighbors play the most important role to represent the “local structures” w.r.t a node. And such distribution can be approximated as the distribution of similarities between the node and all of its neighbors , where .
As illustrated in Fig. 2, given a pair of nodes extracted from the base model’s graph, the committee members provide diverse opinions to the relationships, the affinity and the local structures, due to their nature of heterogeneity. From these diverse opinions, we seek to find a consent through a mediator in the next step.
iii. Aggregate Opinions via Mediator.
The role of a mediator is to aggregate and convey committee members’ opinions for pair selection. We formulate the mediator as a Multi-Layer Perceptron (MLP) classifier albeit other types of classifier are applicable. Recall that all pairs extracted from the base model’s graph constitute the candidates. The mediator shall re-weight the opinions of the committee members and make a final decision by assigning a probability to each pair to indicate if a pair shares the same identity,i.e., positive, or have different identities, i.e., negative.
The input to the mediator for each pair
is a concatenated vector containing three parts (here we denoteas for simplicity of notation):
1) “relationship vector” : , from the committee.
2) “affinity vector” : from both the base model and the committee.
3) “neighbors distribution vector” including “mean vector”
and “variance vector”:
from both the base model and the committee for each node. Then it results in dimensions of the input vector. The mediator is trained on
, and the objective is to minimize the corresponding Cross-Entropy loss function. For testing, pairs fromare fed into the mediator and those with a high probability to be positive are collected. Since most of the positive pairs are redundant, we set a high threshold to select pairs, thus sacrificing recall to obtain positive pairs with high precision.
iv. Pseudo Label Propagation. The pairs selected by the mediator in the previous step compose a “Consensus-Driven Graph”, whose edges are weighted by pairs’ probability to be positive. Note that the graph does not need to be a connected graph. Unlike conventional label propagation algorithms, we do not assume labeled nodes on the graph. To prepare for subsequent model training, we propagate pseudo labels based on the connectivity of nodes. To propagate pseudo labels, we devise a simple yet effective algorithm to identify connected components. At first, we find connected components based on the current edges in the graph and add it to a queue. For each identified component, if its node number is larger than a pre-defined value, we eliminate low-score edges in the component, find connected components from it, and add the new disjoint components to the queue. If the node number of a component is below the pre-defined value, we annotate all nodes in the component with a new pseudo label. We iterate this process until the queue is empty when all the eligible components are labeled.
3.2 Joint Training using Labeled and Unlabeled Data
Once the unlabeled data are assigned with pseudo labels, we can use them to augment the labeled data and update the base model. Since the identity intersection of two data sets is unknown, we formulate the learning in a multi-task training fashion, as shown in Fig. 3. The CNN architectures for the two tasks are exactly the same as the base model, and the weights are shared. Both CNNs are followed by a fully-connected layer to map deep features into the respective label space. The overall optimization objective is , where the loss, , is the same as the one for training the base model and committee members. In the following experiments, we employ as our loss function. But note that there is no restriction to which loss is equipped with CDP. In Section 4.3, we show that CDP still helps considerably despite with advanced loss functions. In this equation, denotes labeled data, while denotes unlabeled data and the assigned labels. is the weight to balance the two components. Its value is fixed following the proportion of images in the labeled and unlabeled set. The model is trained from scratch.
Training Set. MS-Celeb-1M  is a large-scale face recognition dataset containing training examples with identities. To address the original annotation noises, we clean up the official training set and crawl images of more identities, producing about images with identities. We split the cleaned dataset into 11 balanced parts randomly by identities, so as to ensures that there is no identity overlapping between different parts. Note that though our experiments adopt this harder setting, our approach can be readily applied to identity-overlapping settings since it makes no assumptions on the identities. Among the different parts, one part is regarded as labeled and the other ten parts are regarded as unlabeled. We also use one of the unlabeled parts as a validation set to adjust hyper-parameters and perform ablation study. The labeled part contains images with identities. The model trained only on the labeled part is regarded as the lower bound performance. The fully-supervised version is trained with full labels from all the 11 parts. To investigate the utility of the unlabeled data, we compare different methods with 2, 4, 6, 8, and 10 parts of unlabeled data included, respectively.
Testing Sets. MegaFace  is currently the largest public benchmark for face identification. It includes a gallery set containing images, and a probe set from FaceScrub  with 3,530 images. However, there are some noisy images from FaceScrub, hence we use the noises list proposed by InsightFace333InsightFace: https://github.com/deepinsight/insightface/tree/master/src/megaface to clean it. We adopt rank-1 identification rate in MegaFace benchmark, which is to select the top-1 image from the gallery and average the top-1 hit rate. IJB-A  is a face verification benchmark contains 5,712 images from 500 identities. We report the true positive rate under the condition that the false positive rate is 0.001 for evaluation.
Committee Setup. To create a “committee” with high heterogeneity, we employ popular CNN architectures including ResNet18 , ResNet34, ResNet50, ResNet101, DenseNet121 , VGG16 , Inception V3 , Inception-ResNet V2  and a smaller variant of NASNet-A . The number of committee members is eight in our experiments, but we also explore the choice of the number of committee member from to . We trained all the architectures with the labeled part of data and the performance is listed in Table 1. The numbers of parameters are also listed. Tiny NASNet-A shows the best performance among all the architectures but uses the smallest number of parameters. Model ensemble results are also presented. Empirically, the best ensemble combination is to assemble the four top-performing models, i.e., Tiny NASNet-A, Inception-Resnet V2, DenseNet121, ResNet101, yielding 68.86% and 76.97% on two benchmarks. We select Tiny NASNet-A as our base architecture and the other 8 models as committee members. The following experiments demonstrate that the “committee” helps even though its members are weaker than the base architecture. In Section 4.3 we also show that our approach is widely applicable by switching the base architecture.
Implementation Details. The “mediator” is an MLP classifier with hidden layers, each of which containingto select high-confident pairs. More details can be found in the supplementary material.
4.1 Comparisons and Results
Competing Methods. 1) Supervised deep feature extractor + Hierarchical Clustering
: We prepare a strong baseline by hierarchical clustering with supervised deep feature extractor. Hierarchical clustering is a practical way to deal with massive data comparing to other clustering methods. The clusters are assigned pseudo labels and augment the training set. For best performance, we carefully adjust the threshold of hierarchical clustering using the validation set and discard clusters with just a single image. 2)Pair selection by naive committee voting: A pair is selected if this pair is voted by all the committee members (best setting empirically). A vote is counted if there is an edge in the k-NN graph of a committee member.
Benchmarking. As shown in Fig. 4, the proposed CDP method achieves impressive results on both benchmarks. From the results, we observe that:
1) Comparing to the lower bound (ratio of unlabeled:labeled is 0:1) with no unlabeled data, CDP obtains significant and steady improvements given different quantities of unlabeled data.
2) CDP surpasses the baseline “Hierarchical Clustering” by a large margin, obtaining competitive or even better results over the fully-supervised counterpart. In the MegaFace benchmark, with 10 fold unlabeled data added, CDP yields 78.18% of identification rate. Comparing to the lower bound without unlabeled data that yields 61.78%, CDP obtains 16.4% of improvement. Notably, there are only 0.34% gap between CDP and the fully-supervised setting that reaches 78.52%. The results suggest that CDP is capable of maximizing the utility of the unlabeled data.
3) CDP by the “mediator” performs better than by naive voting, indicating that the “mediator” is more capable in aggregating committee opinions.
4) In the IJB-A face verification task, both settings of CDP surpass the fully-supervised counterpart. The poorer results observed on the fully-supervised baseline suggest the vulnerability of this task against noisy annotations in the training set, as discussed in Section 1. By contrast, our method is more resilient to noise. We will discuss this next based on Fig. 9.
Visual Results. We visualize the results of CDP in Fig. 9. It can be observed that CDP is highly precise in identity label assignment, regardless the diverse backgrounds, expressions, poses and illuminations. It is also observed that CDP behaves to be selective in choosing samples for pair candidates, as it automatically discards 1) wrongly-annotated faces not belonging to any identity; 2) samples with extremely low quality, including heavily blurred and cartoon images. This explains why CDP outperforms the fully-supervised baseline in the IJB-A face verification task (Fig. 4).
4.2 Ablation Study
We perform ablation study on the validation set to show the gain of each component, as shown in 2. Several indicators are included for comparison. Higher recall and precision of selected pairs will result in better consensus-driven graph, hence improves the quality of assigned labels. For assigned labels, pairwise recall and precision reflect the quality of the labels, and directly correlate the final performance on two benchmarks. Higher pairwise recall indicates more true examples in a category, which is important for the subsequent training. Higher pairwise precision indicates less noises in a category.
The Effectiveness of “Committee”. When we vary the number of committee members, we adjust pair similarity threshold to obtain fixed recall for convenience. With increasing committee number, an interesting observation is that, the peak of precision occurs where the number is 4. However, it does not bring the best quality of assigned labels, which occurs where the number is 6-8. This shows that more committee members will bring more meaningful pairs rather than just correct pairs. This conclusion is consistent with our assumption that the committee is able to select more hard positive pairs relative to the base model.
The Effectiveness of “Mediator”. For the “mediator”, we study the influence of different input settings. With only the “relationship vector” as input, the values of those indicators are close to that of direct voting. Then the “affinity vector” remarkably improves recall and precision of selected pairs, and also improves both pairwise recall and precision of assigned labels. The “neighbors distribution vector” and further boost the quality of the assigned labels. The improvements originate in the effect brought by these aspects of information, and hence the “mediator” performs better than naive voting.
|Methods||Committee number||Mediator inputs||Pair selection||Assigned labels|
4.3 Further Analysis
Different Base Architectures. In previous experiments we have chosen Tiny NASNet-A as the base model and other architecture as committee members. To investigate the influence of the base model, here we switch the base model to ResNet18, ResNet50, Inception-ResNet V2 respectively and list their performance in Table 3. We observe consistent and large improvements from the lower bound on all the base architectures. Specifically, with high-capacity Inception-ResNet V2, our CDP achieves 81.88% and 92.07% on MegaFace and IJB-A benchmarks, with 23.20% and 16.94% improvements. It is significant considering that CDP uses the same amount of labeled data as the lower bound ( of all the labels). Our performance is also much higher than the ensemble of base model and committee, indicating that CDP actually exploits the intrinsic structure of the unlabeled data to learn effective representations.
|Base||ResNet18||ResNet50||Tiny NASNet-A||Inception-ResNet V2|
Different in k-NN. Here we inspect the effect of in k-NN. In this comparable study, the probability threshold of a pair to be positive is fixed to . As shown in Table 4, higher results in more selected pairs and thus a denser consensus-driven graph, but the precision is almost unchanged. Note that the recall drops because the cardinal true pair number increases faster than the that of selected pairs. Actually, it is unnecessary to pursue high recall rate if the selected pairs are enough. For assigned labels, denser graph brings higher pairwise recall and lower precision. Hence it is a trade-off between pairwise recall and precision of the assigned labels via varying .
|Pair selection||Assigned labels|
Committee Heterogeneity. To study the influence of committee heterogeneity, we conduct experiments with homogeneous committee architectures. The homogeneous committee consists of eight ResNet50 models that are trained with different data feeding orders, and the base model is the identical one as the heterogeneous setting. The model capacity of ResNet50 is at the median of the heterogeneous committee, for a fair comparison. As shown in Table 5, heterogeneous committee performs better than the homogeneous one via either voting or the “mediator”. The study verifies that committee heterogeneity is helpful.
|Committee||Methods||Pair selection||Assigned labels|
Inside Mediator. To evaluate the participation of each input, we visualize the first layer’s weights in the “mediator”, as shown in Fig. 5. It is the weights of the first layer in the “mediator”, where the number of input and output channels is 53 and 50. Hence each column represents the weights of each input. The values in green is close to 0, and blue less than 0, yellow greater than 0. Both values in yellow and blue indicate high response to the corresponding inputs. We conclude that the committee’s “affinity vector” () and the mean vector of “neighbors distribution” () contribute higher to the response, than “relationship vector” () and the variance vector of “neighbors distribution” (). The result is reasonable since similarities contain more information than voting results, and the mean of neighbors’ distribution directly reflects the local density.
Incorporating Advanced Loss Functions. Our CDP framework is compatible with various forms of loss functions. Apart from , we also equip CDP with an advanced loss function, ArcFace , the current top entry on MegaFace benchmark. For parameters related to ArcFace, we set the margin and adopt the output setting “E”, that is “BN-Dropout-FC-BN”. We also use a cleaner training set aiming to obtain a higher baseline. As shown in Table 6, we observe that CDP still brings large improvements over this much higher baseline.
|CDP ( Ratio = 2)||70.51%||83.68%|
Efficiency and Scalability. The step-by-step runtime of CDP is listed as follows: for million-level data, graph construction (k-NN search) takes minutes to perform on a CPU with processors, the “committee”+“mediator” network inference takes minutes to perform on eight GPUs, and the propagation takes another minutes on a single CPU. Since our approach constructs graphs in a bottom-up manner and the “committee”+“mediator” only operate on local structures, the runtime of CDP grows linearly with the number of unlabeled data. Therefore, CDP is both efficient and scalable.
We have proposed a novel approach, Consensus-Driven Propagation (CDP), to exploit massive unlabeled data for improving large-scale face recognition. We achieve highly competitive results against fully-supervised counterpart by using only 9% of the labels. Extensive analysis on different aspects of CDP is conducted, including influences of the number of committee members, inputs to the mediator, base architecture, and committee heterogeneity. The problem is well-solved for the first time in the literature, considering the practical and non-trivial challenges it brings.
Acknowledgement: This work is partially supported by the Big Data Collaboration Research grant from SenseTime Group (CUHK Agreement No. TS1610626), the General Research Fund (GRF) of Hong Kong (No. 14236516, 14241716).
Argamon-Engelson, S., Dagan, I.: Committee-based sample selection for probabilistic classifiers. Journal of Artificial Intelligence Research11(335) (1999)
Blum, A., Mitchell, T.: Combining labeled and unlabeled data with co-training. In: Proceedings of the eleventh annual conference on Computational learning theory (1998)
-  Cao, K., Rong, Y., Li, C., Tang, X., Loy, C.C.: Pose-robust face recognition via deep residual equivariant mapping. In: CVPR (2018)
-  Chapelle, O., Scholkopf, B., Zien, A.: Semi-supervised learning (chapelle, o. et al., eds.; 2006)[book reviews]. IEEE Transactions on Neural Networks 20(3) (2009)
-  Chen, L., Wang, F., Li, C., Huang, S., Chen, Y., Qian, C., Loy, C.C.: The devil of face recognition is in the noise. In: ECCV (2018)
-  Dempster, A.P., Laird, N.M., Rubin, D.B.: Maximum likelihood from incomplete data via the em algorithm. Journal of the royal statistical society. Series B (methodological) (1977)
-  Deng, J., Guo, J., Zafeiriou, S.: Arcface: Additive angular margin loss for deep face recognition. arXiv preprint arXiv:1801.07698 (2018)
-  Gao, Y., Ma, J., Yuille, A.L.: Semi-supervised sparse representation based classification for face recognition with insufficient labeled samples. TIP 26(5) (2017)
-  Guo, Y., Zhang, L., Hu, Y., He, X., Gao, J.: Ms-celeb-1m: A dataset and benchmark for large-scale face recognition. In: ECCV (2016)
-  He, K., Zhang, X., Ren, S., Sun, J.: Deep residual learning for image recognition. In: CVPR (2016)
-  Huang, C., Li, Y., Loy, C.C., Tang, X.: Deep imbalanced learning for face recognition and attribute prediction. arXiv preprint arXiv:1806.00194 (2018)
-  Iandola, F., Moskewicz, M., Karayev, S., Girshick, R., Darrell, T., Keutzer, K.: Densenet: Implementing efficient convnet descriptor pyramids. arXiv preprint arXiv:1404.1869 (2014)
-  Kemelmacher-Shlizerman, I., Seitz, S.M., Miller, D., Brossard, E.: The megaface benchmark: 1 million faces for recognition at scale. In: CVPR (2016)
Liu, Z., Luo, P., Wang, X., Tang, X.: Deep learning face attributes in the wild. In: ICCV (2015)
-  Loy, C.C., Hospedales, T.M., Xiang, T., Gong, S.: Stream-based joint exploration-exploitation active learning. In: CVPR (2012)
-  Mitchell, T.M.: The role of unlabeled data in supervised learning. In: Language, Knowledge, and Representation (2004)
-  Ng, H.W., Winkler, S.: A data-driven approach to cleaning large face datasets. In: ICIP (2014)
Roli, F., Marcialis, G.L.: Semi-supervised pca-based face recognition using self-training. In: Joint IAPR International Workshops on Statistical Techniques in Pattern Recognition (SPR) and Structural and Syntactic Pattern Recognition (SSPR) (2006)
-  Rosenberg, C., Hebert, M., Schneiderman, H.: Semi-supervised self-training of object detection models (2005)
-  de Sa, V.R.: Learning classification with unlabeled data. In: NIPS (1994)
-  Schroff, F., Kalenichenko, D., Philbin, J.: Facenet: A unified embedding for face recognition and clustering. In: CVPR (2015)
-  Seung, H.S., Opper, M., Sompolinsky, H.: Query by committee. In: Proceedings of the fifth annual workshop on Computational learning theory (1992)
-  Simonyan, K., Zisserman, A.: Very deep convolutional networks for large-scale image recognition. arXiv preprint arXiv:1409.1556 (2014)
-  Sohn, K., Liu, S., Zhong, G., Yu, X., Yang, M.H., Chandraker, M.: Unsupervised domain adaptation for face recognition in unlabeled videos. In: Proc. IEEE Conf. Comput. Vis. Pattern Recognit. pp. 3210–3218 (2017)
-  Sun, Y., Chen, Y., Wang, X., Tang, X.: Deep learning face representation by joint identification-verification. In: NIPS (2014)
-  Sun, Y., Wang, X., Tang, X.: Deep learning face representation from predicting 10,000 classes. In: CVPR (2014)
Szegedy, C., Ioffe, S., Vanhoucke, V., Alemi, A.A.: Inception-v4, inception-resnet and the impact of residual connections on learning. In: AAAI. vol. 4 (2017)
Szegedy, C., Vanhoucke, V., Ioffe, S., Shlens, J., Wojna, Z.: Rethinking the inception architecture for computer vision. In: CVPR (2016)
-  Wen, Y., Zhang, K., Li, Z., Qiao, Y.: A discriminative feature learning approach for deep face recognition. In: ECCV (2016)
-  Yarowsky, D.: Unsupervised word sense disambiguation rivaling supervised methods. In: ACL (1995)
-  Zhan, X., Liu, Z., Luo, P., Tang, X., Loy, C.C.: Mix-and-match tuning for self-supervised semantic segmentation. In: AAAI (2018)
-  Zhang, X., Yang, L., Yan, J., Lin, D.: Accelerated training for massive classification via dynamic class selection. In: AAAI (2018)
-  Zhao, X., Evans, N., Dugelay, J.L.: Semi-supervised face recognition with lda self-training. In: ICIP (2011)
-  Zhu, X.: Semi-supervised learning literature survey. Computer Science, University of Wisconsin-Madison (2006)
-  Zhu, X., Ghahramani, Z.: Learning from labeled and unlabeled data with label propagation (2002)
-  Zhu, X., Lafferty, J., Rosenfeld, R.: Semi-supervised learning with graphs. Ph.D. thesis, Carnegie Mellon University, language technologies institute, school of computer science (2005)
-  Zoph, B., Vasudevan, V., Shlens, J., Le, Q.V.: Learning transferable architectures for scalable image recognition. arXiv preprint arXiv:1707.07012 (2017)
Appendix 0.A Detailed Implementation
0.a.1 Supervised Initialization
For the “tiny NASNet-A”, we use the implementation of “NASNet-A-Large”555https://github.com/Cadene/pretrained-models.pytorch, and keep “x_conv0”, “x_stem_0-1”, “x_cell_0-1”, “x_reduction_cell_0”, “x_cell_6-7”, while removing other cells.
For all backbone architectures of the base model and the committee members, we replace the last “average pooling” layer by a convolution layer followed by a “fully-connected” layer , to embed each image into a dimensional feature vector. Then the feature vector is fed into a linear layer to produce score for each category. The models are trained from scratch and the initialization strategy is “Xavier”. The batch size ranges from to , and the initial learning rate ranges from to , w.r.t different architectures. Each batch is scattered in
GPUs. The learning rate is decayed by 10 times at epochand , where is the maximal number of epochs ranging from to w.r.t different architectures.
0.a.2 Consensus-Driven Propagation
We use NMSLIB 666NMSLIB: https://github.com/searchivarius/nmslib for cosine similarity based k-NN search, and is set to in our main comparison.
The “mediator” is an MLP classifier with hidden layers, each of which containing nodes. It uses ReLU as the activation function and “cross-entropy” loss for binary classification. Note that the configuration parameters of the “mediator” makes little difference to the final results, as long as it’s not too complicated to over-fit the training pairs. We train the “mediator” on pairs extracted from the k-NN graph of the base model on the labeled data, for epochs until convergence. The learning rate is initially, and is decayed by 10 times when epoch finishes.
In testing time, we feed pairs from unlabeled data into the trained “mediator” and obtain probabilities for each pair. We set the probability threshold as to select high-confident pairs for the construction of the “consensus-based graph”.
Our label propagation algorithm is shown in Algorithm 1.
0.a.3 Joint Training
In this stage we collect assigned labels for the unlabeled data and re-train the base model from scratch with both labeled data and unlabeled data in a multi-task manner. The loss weights are equal to the proportion of total images in each part. The model is trained for to epochs w.r.t different ratios of unlabeled data ( for and for ), and the learning rate schedule is the same as in supervised initialization.
Appendix 0.B More Analysis
0.b.1 One-hot Labels v.s. Soft Labels.
The label propagation procedure in CDP is flexible to be adapted to other label modalities. For example, it can also propagate soft labels, i.e., the vector of probabilities a node belongs to each identity. The propagation of soft labels follows an initial propagation of one-hot labels. Then the label vectors are diffused from each node to their neighbors in breadth-first manner, with two hyper-parameters and , standing for the maximal diffusion depth and the decay ratio of the values on each diffusion step. Finally on each node, the values of identities are normalized to form a probability vector. In this experiment, we adopt “Cross Entropy Loss” to utilize the soft labels in multi-task training. As shown in Table 7, with appropriate combination of and , soft labels help to improve the performance on MegaFace by point, very close to the fully-supervised counterpart.
Appendix 0.C Visual Results
Fig. 7 shows partial view of the “consensus-based graph” in CDP. It clearly shows that CDP produces dense connections among samples in the same category and weak connections between samples in different categories. Such graph facilitates the following label propagation.
Fig. 8 shows 5 groups of faces and the assigned labels. For most of examples in the unlabeled data, CDP is able to group faces belonging to the same person together and assign the same label.
Fig. 9 shows 4 groups of faces and CDP is able to automatically discard noisy samples.
Fig. 10 shows the typical failure cases of our methods. In some cases, CDP cannot identify heavily occluded faces and atypical faces that even humans cannot easily tell discriminate. It is due to the lack of extreme training examples in the labeled data, hence both the base model and the committee trained on the labeled data cannot handle those cases well. However, these failure cases will be handled and the performance of CDP can be continuously improved as the base model and the committee go stronger.