All models

DeepFace

Facebook's DeepFace: a nine-layer face network with locally connected layers, fed 3D-aligned 152x152 crops.

Image classification · 24 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 (26 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
102.4M
Operations
24
Framework
PyTorch
Recurrent
No
Published
CVPR 2014
Cited by
6,536 (as of 18 October 2026)
Authors
Yaniv Taigman, Ming Yang, Marc'Aurelio Ranzato, Lior Wolf
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
m668
Graph hash
00f95bb973fd50ca6c629ab556bf0ad677749f4020b392a64c3493b25b99b210
Skeleton hash
f7e9908f545a709b660968751b0e8531a32512a70c667966f3a49fd53c53cf8c
Architecture hash
b93911dc45e3cb8baee4bbbbb5e1aa5ab517d43821e589fc4fb3f58d58961ceb
Diagram SHA-256
698d9544a106e2c41ca3de832380afa9a78e038c33f4582dd781ac6ba071a346
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

Hand-built with ordinary convolutions standing in for the three locally connected layers L4 to L6.

DeepFace is the Facebook AI Research face verification network that brought the Labeled Faces in the Wild benchmark near human performance. It reaches 97.35% accuracy on LFW. The pipeline revisits two of the four classic stages, alignment and representation, using an explicit 3D face model to apply a piecewise affine warp before the network sees any pixels.

The network has more than 120 million parameters, most of them in locally connected layers that apply a filter bank without weight sharing. Input is a 3D-aligned 152 by 152 RGB crop, fed to a first convolution of 32 filters of size 11x11. Pooling happens only after that first convolution, so the net keeps the precise positions of fine facial structure. Layers L4 to L6 are locally connected: every location in the feature map learns its own filters, which the authors justify by the different local statistics of different face regions. The output of the first fully connected layer, F7, is the raw face representation used throughout the paper. ReLU makes that representation sparse: on average 75% of the components in the top layers are exactly zero.

The member traced here is a hand-built stand-in that keeps the 152x152 input and the conv-pool-conv front end but uses ordinary convolutions where DeepFace has its three locally connected layers, so the graph shows shared-weight layers the original did not have. The deepface library on the other hand wraps the Facebook DeepFace model as one of its recognition backends. The original was trained on four million facial images of more than 4,000 identities, which the paper calls the largest facial dataset to date.

Key idea. Explicit 3D model-based alignment paired with a large locally connected network trained on millions of labeled faces.

  • deepface
  • facebook deepface
  • fbdeepface
  • face verification
  • face recognition
  • lfw
  • locally connected layers
  • 3d face alignment
  • 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{Taigman_2014, title={DeepFace: Closing the Gap to Human-Level Performance in Face Verification}, url={http://dx.doi.org/10.1109/CVPR.2014.220}, DOI={10.1109/cvpr.2014.220}, booktitle={2014 IEEE Conference on Computer Vision and Pattern Recognition}, publisher={IEEE}, author={Taigman, Yaniv and Yang, Ming and Ranzato, Marc’Aurelio and Wolf, Lior}, year={2014}, month=June, pages={1701–1708} }