FedFR: Joint Optimization Federated Framework for Generic and Personalized Face Recognition

Chih-Ting Liu, Chien-Yi Wang, Shao-Yi Chien, Shang-Hong Lai

Abstract

FedFR is a novel federated learning framework designed to simultaneously enhance a global "generic" face recognition model and develop "personalized" models for individual devices. By integrating shared public data for regularization and a Decoupled Feature Customization (DFC) branch for local tuning, FedFR achieves state-of-the-art performance while preserving user privacy by avoiding the transmission of sensitive face images.

Introduction

Modern face recognition (FR) models are traditionally trained on massive, centralized datasets. However, privacy concerns and regulations are making this approach increasingly untenable. Federated Learning (FL) provides a decentralized alternative, but standard algorithms like FedAvg struggle with the unique challenges of FR: open-set classification, extreme data heterogeneity (non-IID data), and the need for local personalization (e.g., optimizing for a specific user's face).

The FedFR Framework

FedFR addresses these challenges by jointly optimizing for both generic and personalized performance through several architectural innovations.

Detailed architecture of the FedFR framework, including the server-side FedAvg process and local client components like Hard Negative Sampling and Decoupled Feature Customization.

Key Methodological Innovations

  • Globally Shared Data as a Scaffold: To prevent local models from drifting or overfitting on limited local identities, FedFR utilizes a small, non-sensitive public dataset ($D_g$). This acts as a common reference point for all clients.
  • Hard Negative Sampling (HN): To minimize computational and communication costs, the framework identifies "hard negatives"—public images most similar to the local user's data—to maximize learning efficiency. This technique allows for a 10x reduction in public data usage with negligible performance loss.
  • Contrastive Regularization: This mechanism ensures the local model remains aligned with the global representation, preventing "catastrophic forgetting" of general facial features during local adaptation.
  • Decoupled Feature Customization (DFC): DFC is the primary engine for personalization. It introduces a lightweight, separate branch that maps generic features into a client-specific space, using binary classifiers to optimize recognition for the device owner without compromising the global model.

Experimental Results

The framework was evaluated using MS-Celeb-1M for training and the IJB-C benchmark for generic performance. The authors also established a new personalized benchmark to test 1:1 verification in realistic "Face ID" scenarios.

Performance comparison of FedFR against FedFace and central training, demonstrating FedFR's superior accuracy and robustness to data heterogeneity.

Key findings include:

  • Superior Generic Accuracy: On the IJB-C benchmark, FedFR achieved a True Acceptance Rate (TAR) of 77.60% (at 1e-5 FAR), surpassing existing federated methods and even slightly exceeding centralized training on the same data subset.
  • Enhanced Personalization: The DFC module significantly boosted local performance, raising the 1:1 verification TAR from 72.50% (pre-trained baseline) to 88.32%.
  • Robustness to Heterogeneity: As shown in the performance plots, FedFR maintains high accuracy even as the number of identities per client varies, outperforming competitors like FedFace.

Conclusion

FedFR successfully bridges the gap between robust global face recognition and effective local personalization within a privacy-preserving federated framework. By decoupling specialized features and utilizing public data for stabilization, it overcomes the primary obstacles to decentralized FR. Future research will explore reducing the dependency on high-quality pre-trained models and further optimizing communication efficiency.

Summary updated

BibTeX
@inproceedings{liu2022fedfr,
  author = {Chih-Ting Liu and Chien-Yi Wang and Shao-Yi Chien and Shang-Hong Lai},
  title = {{FedFR: Joint Optimization Federated Framework for Generic and Personalized Face Recognition}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i2.20057},
}
Figure