[Paper Review] Deep Face Recognition Model Compression via Knowledge Transfer and Distillation
This paper proposes a knowledge transfer and distillation-based model compression method for deep face recognition, where a high-resolution teacher network guides a lower-resolution student network without pruning or quantization. The approach achieves state-of-the-art performance on IJB-C with up to fourfold improvements in training speed, inference speed, memory efficiency, and accuracy, enabling deployment on resource-constrained devices.
Fully convolutional networks (FCNs) have become de facto tool to achieve very high-level performance for many vision and non-vision tasks in general and face recognition in particular. Such high-level accuracies are normally obtained by very deep networks or their ensemble. However, deploying such high performing models to resource constraint devices or real-time applications is challenging. In this paper, we present a novel model compression approach based on student-teacher paradigm for face recognition applications. The proposed approach consists of training teacher FCN at bigger image resolution while student FCNs are trained at lower image resolutions than that of teacher FCN. We explored three different approaches to train student FCNs: knowledge transfer (KT), knowledge distillation (KD) and their combination. Experimental evaluation on LFW and IJB-C datasets demonstrate comparable improvements in accuracies with these approaches. Training low-resolution student FCNs from higher resolution teacher offer fourfold advantage of accelerated training, accelerated inference, reduced memory requirements and improved accuracies. We evaluated all models on IJB-C dataset and achieved state-of-the-art results on this benchmark. The teacher network and some student networks even achieved Top-1 performance on IJB-C dataset. The proposed approach is simple and hardware friendly, thus enables the deployment of high performing face recognition deep models to resource constraint devices.
Motivation & Objective
- Address the challenge of deploying high-accuracy deep face recognition models on resource-constrained devices due to their large size and computational demands.
- Overcome limitations of existing compression techniques that rely on pruning, quantization, or architectural changes.
- Explore a novel student-teacher paradigm where the student network is trained at lower resolution than the teacher, leveraging knowledge transfer and distillation.
- Achieve improved accuracy and efficiency without modifying network architecture or reducing model parameters.
- Enable practical deployment of high-performing face recognition models on edge devices through hardware-friendly compression.
Proposed method
- Train a teacher fully convolutional network (FCN) at a higher input resolution (e.g., 112×112) to capture rich features.
- Train student FCNs at progressively lower resolutions (e.g., 48×48 to 112×112) while sharing the same architecture as the teacher.
- Apply knowledge transfer (KT) by transferring layer parameters from the teacher to the student during training.
- Apply knowledge distillation (KD) by transferring soft label probabilities and intermediate layer representations from the teacher to the student.
- Combine KT and KD to jointly train student networks, enhancing performance beyond training from scratch.
- Use MTCNN for face detection and average feature pooling to improve feature representation quality.
Experimental results
Research questions
- RQ1Can knowledge transfer and distillation from a high-resolution teacher network improve the performance of a low-resolution student network in face recognition?
- RQ2Does training a student network at lower resolution while leveraging knowledge from a higher-resolution teacher lead to faster training and inference without accuracy loss?
- RQ3Can the proposed method achieve state-of-the-art accuracy on benchmark datasets like IJB-C without architectural modifications or parameter pruning?
- RQ4What is the trade-off between model size, inference speed, and accuracy when compressing deep face recognition models using this approach?
- RQ5How effective is the combination of knowledge transfer and distillation in improving student network performance across different input resolutions?
Key findings
- Student networks trained with knowledge transfer (KT) at 96×96 and 80×80 resolutions achieved Top-1 accuracy on the IJB-C 1:1 mixed verification protocol.
- The 80×80 resolution student network reduced CPU inference time by 51% and MACC operations by 49% compared to the teacher, while maintaining comparable accuracy.
- On the IJB-C 1:1 verification protocol at 10⁻⁴ FAR, KT improved accuracy from 95.89% (no KT) to 96.05% at 96×96 resolution.
- At 48×48 resolution, KT improved 1:1 verification accuracy from 91.74% to 93.94% at 10⁻⁴ FAR, demonstrating significant gains at low resolutions.
- All student networks achieved state-of-the-art results on both IJB-C 1:1 verification and 1:N identification protocols, with the teacher network also achieving Top-1 performance.
- The method achieved fourfold advantages: accelerated training, faster inference, reduced memory usage, and improved accuracy, without architectural changes or parameter quantization.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.