This paper presents VIPLFaceNet, a lightweight yet high-performance deep learning model and open-source C++ SDK for face recognition. By optimizing the classic AlexNet architecture and introducing a "Fast Normalization Layer," the authors achieved state-of-the-art accuracy on industry benchmarks while significantly reducing the computational resources required for training and inference.
TL;DR
VIPLFaceNet is an open-source, 10-layer CNN that achieves 98.60% accuracy on the LFW benchmark while being significantly faster than AlexNet. Its core innovations—architectural simplification and a memory-efficient Fast Normalization Layer—allow it to run efficiently on standard desktop CPUs, providing a robust "start point" for academic and industrial face recognition.
What Problem Does This Paper Address?
In 2016, face recognition was undergoing a massive shift from hand-crafted features (like LBP or SIFT) to deep learning. However, the field faced two major hurdles:
- Accessibility: Most top-tier models (like Google’s FaceNet or Facebook’s DeepFace) were proprietary or relied on massive, private datasets.
- Efficiency: High-accuracy models often required immense computational power, making them difficult to deploy on standard hardware or for researchers without massive GPU clusters.
The authors aimed to bridge this gap by providing a high-accuracy model that is open-source (BSD license) and optimized for real-world deployment on common hardware.
Methods
The authors developed VIPLFaceNet by taking the well-known AlexNet architecture and applying several strategic "simplifications" based on modern deep learning insights:
- Architectural Pruning: They reduced the first convolutional layer's kernel size from $11 \times 11$ to $9 \times 9$ and decomposed $5 \times 5$ kernels into multiple $3 \times 3$ layers to reduce parameters while maintaining receptive fields.
- Removal of Local Response Normalization (LRN): They found LRN unnecessary if parameters were initialized correctly.
- Fast Normalization Layer (FNL): This is the paper's primary algorithmic contribution. Similar to Batch Normalization, FNL ensures network nodes have zero mean and unit variance. However, it omits the "recovery" (scale and shift) operations found in standard Batch Normalization, making it more memory-efficient and faster to compute on GPUs.
- SDK Design: The model was packaged into a pure C++ SDK using an object-oriented design, supporting SIMD (Single Instruction, Multiple Data) instructions for faster matrix multiplication on CPUs.
Datasets
- Training: The model was trained on the CASIA-WebFace dataset, which contains approximately 494,414 images of 10,575 subjects.
- Evaluation: The primary benchmark used was Labeled Faces in the Wild (LFW), the de-facto standard for real-world face recognition at the time. They tested both the standard verification protocol and the more challenging identification protocol.
Key Insights and Ideas
- Efficiency doesn't require sacrificing accuracy: By carefully redesigning AlexNet (reducing feature maps and nodes in fully connected layers), the authors cut training time by 80% and testing time by 40% while actually improving accuracy.
- The Power of Normalization: The introduction of the Fast Normalization Layer (FNL) was a game-changer for training speed. It allowed the team to increase the learning rate significantly, leading to convergence in just 15 epochs compared to the 80 epochs required by the baseline network.
- CPU-Friendly Deep Learning: By optimizing the C++ implementation and using SIMD, they proved that deep face recognition could process an image in ~150ms on a standard i7 desktop CPU, making it viable for applications without dedicated GPUs.
Key Results
- Accuracy: Achieved 98.60% mean accuracy on LFW View2 using a single network.
- Error Reduction: Compared to AlexNet, VIPLFaceNet showed a 40% drop in error rate on the LFW benchmark.
- Speedup:
- Training: Reduced from 40 hours to 8 hours (an 80% reduction) when using FNL.
- Inference: Consumes only 60% of the computation required by AlexNet.
- Identification: On the LFW identification protocol, it achieved a 91.95% Rank-1 accuracy, significantly outperforming earlier deep models like DeepFace (64.9%).
Limitations and Future Work
While VIPLFaceNet was highly competitive, it did not quite reach the 99.63% accuracy of Google’s FaceNet. The authors noted that further improvements could be made by:
- Metric Learning: Integrating approaches like Joint Bayesian or triplet loss to further refine the face representations.
- Ensemble Methods: Using multiple networks (ensembles) to push accuracy higher, though this would trade off some of the speed benefits.
- Expanded Applications: The authors expressed intent to extend the SDK to handle related tasks like facial attribute analysis (gender/age) and ID photo verification.
Summary updated