Profile

Settings

Loading…

← Papers

Help

FAQ

Which features require signing in?

You can read the commentary, paper info, Model Structure and related papers of public papers without signing in. Sign in to manage your account or contact us about your inquiries.

Can I upload a PDF file?

Upload papers with an arXiv or DOI link; the commentary is public to everyone. Papers whose source and terms of use can't be verified, so the commentary can't be made public, can't be uploaded. Uploading PDF files and keeping papers private are for subscribers only, and a paper uploaded as a file is saved as private only. Searching for official info by title runs only when you press the button.

Are the figures and AI commentary accurate?

Figures come only from the original paper, and only those whose terms of use are verified are shown. The commentary is written by AI and may be wrong. Check important claims, numbers and figure context against the evidence in the original paper.

I want to report a copyright issue.

Terms of use and the source of the original paper are on the Paper info tab. If there's a problem, choose "Paper content, figures and copyright" under Contact us and send the paper link, the part in question, and evidence that you hold the rights. Receiving your report doesn't confirm any rights or remove anything right away. You can see the result of the review under My inquiries.

I forgot my password.

If you signed up with email, use Forgot password in the sign-in window to reset it with your verified email. If you signed up with Google, Naver or Kakao, change your password with that service.

What should I include in an inquiry?

Tell us which screen you were on and what you were doing when the problem happened, along with the paper link. Don't include personal information such as passwords, API keys, verification codes or phone numbers. Inquiries and replies are stored in Refivu and you can see them under My inquiries.

How do I delete my account?

In Settings, under My account, press Delete account. Review what will be deleted and complete identity verification to delete your account. For other requests, choose "Account" under Contact us.

Paper commentary

Deep Learning Face Representation by Joint Identification-Verification

Joint identification and verification signals train face features that generalize to unseen people

  • Problem Face recognition needs features that shrink variation within one person while separating different people. Identification training separates people only loosely and does not pull same-person images together, so earlier linear and shallow methods remained limited.
  • Method DeepID2 adds a verification loss to identification training for face features.
  • Results The method reaches 99.15% face verification accuracy on LFW, a 67% error reduction against the best deep learning result cited. A single 25-patch model reaches 98.97%.

Why identity labels alone fall short

Pose, lighting, expression, age and occlusion can make two images of one person differ more than images of two different people, so a useful representation must shrink spread within a person while keeping different people apart. Early subspace methods such as LDA handled this with linear projections that trade off between the two kinds of variation, and metric learning methods learned mappings that bring same-person faces together, but both remain limited by linear or shallow structure.

A classifier over thousands of identities pushes different people apart, because each person must land in a different class. It places only a loose constraint on images of the same person, since two dissimilar feature vectors can still be mapped to one class. The authors therefore add a verification term that acts directly on the distance between two feature vectors, which is the piece the identification signal lacks.

How the two losses are written and weighted

The identification branch puts an n-way softmax on top of the DeepID2 layer, with n = 8192 in the main setting, and trains it with cross-entropy. Because the target distribution is one-hot, the loss reduces to the negative log of the predicted probability of the target class. Written out, \( \mathrm{Ident}(f,t,\theta_{id}) = -\log \hat{p}_t \), where f is the DeepID2 vector, t the target identity, and θid the softmax parameters.

The verification loss on a pair of DeepID2 vectors f_i and f_j takes two forms depending on the label y_ij. For y_ij = 1 it is \( \tfrac{1}{2}\lVert f_i-f_j\rVert_2^2 \), which pulls same-identity vectors together; for y_ij = -1 it is \( \tfrac{1}{2}\max(0,\, m-\lVert f_i-f_j\rVert_2)^2 \), which only penalizes different-identity pairs whose distance is still below the margin m.

The margin m is a learned parameter in name only, since a gradient step would always push it in one direction; the authors instead set it to the threshold that gives the lowest verification error on recent training pairs.

Training samples two images per step, computes both identification gradients and the verification gradient, and weights the verification part by λ before updating the ConvNet, softmax and verification parameters with stochastic gradient descent. Only θc, the ConvNet parameters, is needed at test time, so the softmax and verification parameters act as training-time scaffolding.

The cosine-based alternative replaces the distance with a sigmoid over a scaled and shifted cosine similarity, and an L1-based version is also possible. All three verification formulations are compared in the experiments.

The ConvNet and where DeepID2 is read

The network has four convolutional layers, and the first three are followed by max-pooling. The third layer shares weights only within each 2×2 local region, so its filters vary across the map, and the fourth layer is locally connected with no weight sharing between neurons. The layout follows an earlier deep ConvNet from the same group, and the less sharing in higher layers is meant to let the network learn a diverse set of high-level features.

The DeepID2 layer is fully connected to both the third and the fourth convolutional layers. Since the fourth layer captures more global structure, feeding the DeepID2 layer from both levels gives a multi-scale design. The DeepID2 output is a 160-dimensional vector, and ReLU is used in the convolutional layers and in the DeepID2 layer. The input is an RGB patch of 55×47, and the map sizes later in the network follow from the patch size.

From aligned faces to a verification score

Each of 200 ConvNets is trained on one patch and its horizontally flipped counterpart, so every face yields 400 DeepID2 vectors of 160 dimensions in total.

The forward-backward greedy algorithm keeps 25 patches that are both effective and complementary, which saves most of the extraction time at test. The 25 selected 160-dimensional vectors are concatenated into a 4000-dimensional vector. That 4000-dimensional vector is compressed with PCA before verification.

Joint Bayesian models a face feature as f = µ + ε, where µ and ε are Gaussian and estimated from training data, so the inter-personal and intra-personal parts are modeled separately. Two faces are judged the same person when the log-likelihood ratio between the inter-personal and intra-personal hypotheses is high enough, with the threshold set on training data.

Data split used for training and testing

LFW contains 13,233 face images of 5749 identities, and verification is reported on its 6000 given pairs. Because most LFW identities have a single image, the authors do not use it for training. Training draws on CelebFaces+, which has 202,599 images of 10,177 identities, and the authors state that its identities are mutually exclusive with LFW.

8192 CelebFaces+ identities, referred to as CelebFaces+A, are used to learn DeepID2, and the remaining 1985 identities, referred to as CelebFaces+B, are used for feature selection and for fitting Joint Bayesian. CelebFaces+B serves as a validation set for the learning rate, the number of epochs and λ while CelebFaces+A is being trained. Afterwards it is split into 1485 training identities and 500 validation identities for feature selection, and Joint Bayesian is finally fitted on all of CelebFaces+B.

The early experiments use one deep ConvNet on the entire face region, and the full system is assembled only afterwards.

Weighting the identification and verification signals

The weight λ is swept from 0 to infinity with the L2 norm loss. At λ = 0 only identification acts, and as λ grows verification takes over until only verification remains at infinity. Neither extreme gives the best verification accuracy on the test set, measured with the L2 norm and with Joint Bayesian.

The analysis uses LDA-style scatter matrices. The inter-personal scatter sums over identities the squared deviation of each identity mean from the global mean weighted by its image count, and the intra-personal scatter sums over images the squared deviation from their identity mean. The eigenvalue spectra of these two matrices are the measure of variation diversity.

At λ = 0 both spectra have long tails, meaning large and diverse intra-personal variation sits alongside useful inter-personal diversity. At λ = 0.05 the inter-personal diversity stays similar while its main directions grow, and the intra-personal spectrum shrinks in both magnitude and diversity. At infinity both spectra concentrate on a few directions, and the authors link the resulting drop in accuracy to lost inter-personal diversity.

PCA plots of six LFW identities show the same pattern. At λ = 0 the clusters of different people overlap, although their centers differ, while at λ = 0.05 the clusters separate, and at infinity the centers begin to collapse and some clusters overlap again.

Identity count and the choice of verification loss

The number of identities used for identification grows exponentially from 32 to 8192, while the verification term always uses all 8192 training identities. Verification accuracy of the learned DeepID2 rises with this number under both the L2 norm and Joint Bayesian, and the authors treat a large identity count as key to good features. They expect more than 8192 identities could improve the result, but this was not tested.

Table 2 compares the L2 loss on all pairs with L2+, which only pulls same-identity pairs together, L2-, which only pushes different-identity pairs apart inside the margin, the L1 loss, the cosine loss, and no verification loss. The identification signal is 8192 identities in every row.

The authors read the L2+ result as showing that most of the verification benefit comes from shrinking same-identity distances. L2- stays close to the no-verification row in both rows of the table, which supports that reading. The authors attribute the advantage of the L2 loss over L1 and cosine to those constraints being weaker, with cosine constraining only the angle and not the magnitude.

Final system on LFW

The 98.97% result uses 180-dimensional PCA features with Joint Bayesian, and the PCA dimension was chosen by cross-validation on CelebFaces+B, with performance nearly flat between 150 and 250 dimensions.

Extraction time grows with the number of patches, from 1.7 ms for one patch to 35 ms for 25 patches on a single Titan GPU. The patch count therefore trades a small accuracy gain at the top end for a much larger extraction cost.

The 99.15% figure corresponds to a 67% reduction in error rate relative to the best deep learning result cited, reference [21]. The authors also set this against the 99.20% human accuracy on LFW, noting that the machine sees only the face region while the human sees the whole image with background. This is a comparison of different inputs rather than a matched experiment.

Limits of the evidence

Every accuracy reported in the experiments is on LFW under its 6000-pair protocol, and no other benchmark appears in these results. The final result depends on training with 8192 CelebFaces+ identities and on selecting features and fitting Joint Bayesian with CelebFaces+B.

The text does not report how many runs or seeds underlie those single-network comparisons.

The identity count was tested only up to 8192, so whether more identities help beyond that was not tested.

Paper info

Authors
Yi Sun, Xiaogang Wang, Xiaoou Tang
Venue
arXiv · Preprint
First published
2014-6-18
Added
2026-11-12
Updated
2014-6-18
Version
v1
arXiv
1406.4773
Category
cs.CV
Original paper terms
arXiv non-exclusive 1.0
What we show
Paper info and commentary

AI commentary is a separate explanation from the original paper and may contain errors. The original paper and figures follow each source's terms of use and any rights noted separately.

Quote from the paper

Yi Sun, Xiaogang Wang, Xiaoou Tang (2014). Deep Learning Face Representation by Joint Identification-Verification. arXiv:1406.4773v1. https://arxiv.org/abs/1406.4773v1

BibTeX
@misc{sun2014deep,
  title = {{Deep Learning Face Representation by Joint Identification-Verification}},
  author = {Yi Sun and Xiaogang Wang and Xiaoou Tang},
  year = {2014},
  eprint = {1406.4773},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1406.4773v1}
}

See related papersBrowse other papers

Paper preview
Account security

Connect Google account

If you connect a Google account, you can sign in with it too.

Refivu

Delete account

Refivu
Refivu

Sign up