Skip to main content
QUICK REVIEW

[Paper Review] Model Distillation with Knowledge Transfer from Face Classification to Alignment and Verification

Chong Wang, Xipeng Lan|arXiv (Cornell University)|Sep 9, 2017
Face recognition and analysisComputer Science19 references17 citations
TL;DR

This paper proposes knowledge distillation transfer from face classification to face alignment and verification tasks, using distilled teacher network knowledge to initialize and guide smaller student networks. By selecting appropriate initialization strategies and distillation targets—particularly soft predictions and joint loss functions—the student models achieve performance competitive with or exceeding the teacher, especially under high compression rates on CelebA and CASIA-WebFace datasets.

ABSTRACT

Knowledge distillation is a potential solution for model compression. The idea is to make a small student network imitate the target of a large teacher network, then the student network can be competitive to the teacher one. Most previous studies focus on model distillation in the classification task, where they propose different architects and initializations for the student network. However, only the classification task is not enough, and other related tasks such as regression and retrieval are barely considered. To solve the problem, in this paper, we take face recognition as a breaking point and propose model distillation with knowledge transfer from face classification to alignment and verification. By selecting appropriate initializations and targets in the knowledge transfer, the distillation can be easier in non-classification tasks. Experiments on the CelebA and CASIA-WebFace datasets demonstrate that the student network can be competitive to the teacher one in alignment and verification, and even surpasses the teacher network under specific compression rates. In addition, to achieve stronger knowledge transfer, we also use a common initialization trick to improve the distillation performance of classification. Evaluations on the CASIA-Webface and large-scale MS-Celeb-1M datasets show the effectiveness of this simple trick.

Motivation & Objective

  • To extend knowledge distillation beyond classification tasks to regression and retrieval tasks in face recognition, specifically face alignment and verification.
  • To investigate how distilled knowledge from a pre-trained face classification model can be effectively transferred to improve student network performance in non-classification tasks.
  • To identify optimal initialization strategies and distillation targets (e.g., soft predictions, hidden features) that enhance distillation performance in alignment and verification.
  • To improve classification distillation performance using a simple initialization trick that boosts knowledge transfer to downstream tasks.
  • To evaluate the method on large-scale datasets like MS-Celeb-1M and CASIA-WebFace, demonstrating generalization and scalability.

Proposed method

  • Transfer knowledge from a distilled face classification teacher network to student networks in face alignment and verification by using the teacher’s features as initialization.
  • Use soft predictions (logits) from the teacher network as distillation targets for the student, especially in verification and alignment tasks.
  • Apply a joint loss function combining triplet loss and softmax cross-entropy loss in verification to stabilize training and improve performance.
  • Implement a common initialization trick—using ImageNet-pretrained or distilled classification models—as a strong starting point for distillation in all tasks.
  • Train student networks with knowledge distillation using both task-specific targets (e.g., keypoint locations in alignment) and transferred knowledge from classification.
  • Optimize hyperparameters α and β in the loss function to balance distillation and task-specific supervision, with α=1,β=0 (soft prediction) showing best results.

Experimental results

Research questions

  • RQ1Can knowledge distillation from face classification effectively improve performance in non-classification tasks like face alignment and verification?
  • RQ2What initialization strategy (e.g., pretraining, distillation-based) yields the best performance transfer to alignment and verification tasks?
  • RQ3Which distillation target—soft predictions, logits, or hidden features—leads to superior performance in alignment and verification?
  • RQ4How does combining soft label distillation with task-specific losses (e.g., triplet loss) affect verification accuracy?
  • RQ5Does a simple initialization trick improve distillation performance in classification, and does it further enhance transfer to downstream tasks?

Key findings

  • The student network trained with knowledge transfer from face classification surpassed the teacher network in face verification at a compression rate of 1/2 (ResNet-50/2), achieving 79.96% top-1 accuracy compared to the teacher’s 74.16%.
  • On the CASIA-WebFace dataset, distillation with soft prediction targets (α=1,β=0) and joint loss (softmax + triplet) significantly improved verification accuracy, especially for smaller student networks.
  • The initialization trick—using distilled or pre-trained classification models—boosted distillation performance in classification, which in turn enhanced downstream alignment and verification results.
  • For face alignment, knowledge transfer from classification improved student performance, demonstrating that distillation is effective even in regression tasks.
  • In verification, the baseline performance with only distillation (α=0,β=0) was poor due to low-confidence teacher predictions; adding softmax loss restored performance and enabled the student to exceed the teacher.
  • Experiments on MS-Celeb-1M confirmed the method’s scalability and effectiveness on large-scale data, showing consistent improvements across multiple compression rates.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.