Abstract
Deep Neural Network (DNN)-based face recognition models typically require large, centrally aggregated datasets for effective training. However, increasing data privacy concerns and legal frameworks like GDPR and CCPA have made accessing and sharing such sensitive biometric data exceedingly difficult. We propose FedFace, a federated learning (FL) framework designed for the collaborative learning of face recognition models in a privacy-aware manner. FedFace enables multiple clients—specifically mobile devices—to learn an accurate and generalizable model without sharing raw images with other clients or a central host. A unique challenge addressed by FedFace is the "one identity per client" constraint, where each device contains images pertaining only to its owner. Our experiments demonstrate that FedFace significantly enhances the verification performance of pre-trained systems on standard benchmarks, including LFW, IJB-A, and IJB-C.
Introduction
Modern face recognition systems are built on the backbone of massive datasets. Historically, these datasets were collected and stored centrally. However, the tide has turned toward strict data privacy. High-profile retractions of datasets like MS Celeb due to consent issues underscore the need for new training paradigms.
Federated Learning (FL) offers a promising alternative by training models locally on user devices and only sharing mathematical updates. Yet, applying FL to face recognition introduces a major technical hurdle: in a realistic mobile scenario, a client device typically only contains images of one person (the owner). Standard training requires "negative samples"—images of different people—to teach the model how to distinguish between identities. Without these, standard FL algorithms like FedAvg suffer from feature space collapse, where the model fails to learn discriminative features.
The FedFace Framework
FedFace overcomes the "one identity per client" limitation through three key technical innovations that coordinate the global feature landscape from the server side.
- Mean Feature Initialization: Instead of initializing identity templates (class embeddings) randomly, FedFace initializes a client’s template by averaging the local face images passed through a pre-trained model. This places the new identity in a sensible starting position within the existing feature space.
- Local Positive Update: Clients perform local updates using a "positive loss" (squared hinge loss). This process optimizes the model to ensure that the user's local images map closely to their specific identity template.
- Server-Side Spreadout Regularizer: To compensate for the lack of negative samples at the client level, the server applies a Spreadout Regularizer to the aggregated identity templates. This acts as a mathematical force-field, pushing different identity templates away from each other to ensure the embedding space remains discriminative and well-separated.
Datasets and Evaluation
The framework was trained using 10,000 subjects from the CASIA-WebFace dataset, distributed across 1,000 simulated client devices to mimic a real-world federated environment. Evaluation was conducted on three gold-standard benchmarks to measure general accuracy and rigorous face verification performance at low False Acceptance Rates (FAR).
- LFW (Labeled Faces in the Wild): Used for assessing general recognition accuracy.
- IJB-A & IJB-C (IARPA Janus Benchmarks): Used for evaluating performance in challenging, unconstrained environments.
Key Results and Discussion
FedFace successfully bridged the gap between privacy-preserving distributed training and high-performance centralized training.
- Performance Gains: On the IJB-A benchmark (at 0.1% FAR), FedFace improved a pre-trained CosFace model's True Acceptance Rate (TAR) from 81.43% to 83.79%. On LFW, accuracy improved from 99.15% to 99.28%.
- The Necessity of Regularization: The "Spreadout Regularizer" proved critical. Without it, performance on IJB-C plummeted from 88.12% to just 25.40%.
- Failure of Standard FL: The study confirmed that standard FedAvg is unsuitable for this task; in the "one identity per client" scenario, FedAvg performance dropped to a disastrous ~19% TAR on IJB-A.
These results highlight that while the server never sees the raw biometric data, it can effectively act as a spatial coordinator, ensuring that the shared global model learns to distinguish between identities by managing the geometry of the feature space.
Conclusion and Future Work
FedFace demonstrates that it is possible to improve face recognition models collaboratively without compromising user privacy. By sharing only the direction of identity templates rather than raw images, the framework maintains strict data security. Future research will focus on reducing the communication overhead inherent in FL and exploring methods to train models from scratch in a fully federated manner, reducing the current dependency on centrally pre-trained models.
Summary updated