All models

DeepID

DeepID: a compact 160-d face descriptor taken from the last hidden layer of a ConvNet trained to name 10,000 people.

Image classification · 20 operations Checked

100%

Showing the top corner; full diagram not loaded yetShowing a small copy; full diagram not loaded yetLarge diagram, not loaded yet

Open SVG

Loading diagram (23 KB)

Open in a new tab

Click or tap a spot to read it up close. Scroll or drag inside the diagram to move through it. Zoom with + and − or Ctrl and scroll. Press 0 for the whole graph. Swipe inside the diagram to move through it. Use + and − to zoom.

At a glance

Parameters
395.1K
Operations
20
Framework
PyTorch
Recurrent
No
Published
CVPR 2014
Cited by
1,996 (as of 18 October 2026)
Authors
Yi Sun, Xiaogang Wang, Xiaoou Tang
License
MIT
Checked
Passed: the trace was replayed operation by operation and matched the model's own output for this input.

Files

The diagram is a drawing of a TorchLens trace of the source code. It contains no code or weights.

Details
Stable ID
m678
Graph hash
41a64047d2b341b641c652807486965988e47fde4cdaf11e92564f026cdad900
Skeleton hash
63d4c3733e60fcf5ca9953b65a3c50d00a2fd52236d36e1560a64cbda97b8df8
Architecture hash
d764a22b477f10c8dd12befe7b9abc00088171928b1780f4b3d634d05648cb28
Diagram SHA-256
ebb0294c86c319d9980ff8b0460882a6073dcb4afb4313be6e170fb2ee32c717
TorchLens version
2.36.0
Renderer
graphviz 2.43.0+pyvips 3.2.0+libvips 8.18.7+render-opts@06c1f0d3
Check
Forward pass replayed in PyTorch

What it is

A single hand-built network on a 55x47 crop that emits the 160-dimensional DeepID vector.

DeepID, Deep hidden IDentity features, is an early deep face representation learned for face verification. The idea is to train convolutional networks to recognize about 10,000 identities and to keep the last hidden layer as the face descriptor. Those features generalize to verification and to identities never seen in training, and they generalize better the more classes the network has to predict.

Each ConvNet has four convolutional layers with max-pooling, then a fully connected DeepID layer, then a softmax over identities. The DeepID layer is fixed at 160 dimensions while the output layer grows with the number of classes. In the paper the DeepID layer connects to both the third and fourth convolutional layers, a bypass that lets it see multi-scale features. Weights in the third convolutional layer are shared only within 2x2 regions, and the fourth layer's weights are not shared at all.

The full system trained 60 such ConvNets on different face patches, scales and color channels, concatenating 19,200 features for the final verifier. It reached 97.45% verification accuracy on LFW with only weakly aligned faces. The member traced here is a single hand-built network on a 55x47 face crop, the crop size the TensorFlow DeepID1 reimplementation also uses, so it stands for one of the 60 patch networks rather than the ensemble. The deepface library wraps DeepID among its face recognition models, and a separate repository reimplements DeepID1 in TensorFlow.

Key idea. Face features learned as a by-product of large-scale identity classification: the compact last hidden layer generalizes to verifying unseen identities.

  • deepid
  • deepid1
  • deep hidden identity features
  • face verification
  • face recognition
  • lfw
  • joint bayesian
  • cuhk face
  • deepface library

AI-written summary, based on the paper and checked automatically against it; not reviewed by a person. Corrections welcome.

Cite the paper

@inproceedings{Sun_2014, title={Deep Learning Face Representation from Predicting 10,000 Classes}, url={http://dx.doi.org/10.1109/CVPR.2014.244}, DOI={10.1109/cvpr.2014.244}, booktitle={2014 IEEE Conference on Computer Vision and Pattern Recognition}, publisher={IEEE}, author={Sun, Yi and Wang, Xiaogang and Tang, Xiaoou}, year={2014}, month=June, pages={1891–1898} }