TLDR: This research introduces a federated facial recognition system designed for open-set scenarios, addressing both privacy concerns and the challenge of identifying unknown individuals. By integrating Federated Learning with an adapted OpenMax algorithm, the system allows clients to train models and process sensitive data locally, sharing only aggregated, non-identifying information with a central server. This approach successfully maintains high accuracy in classifying known faces while effectively identifying unknown faces, all while preserving user data privacy.
Artificial intelligence has significantly advanced facial recognition systems, making them highly accurate for identification and biometric verification in various applications like access control and electronic payments. However, these powerful systems face considerable challenges, particularly concerning data privacy in collaborative learning environments and the critical need to identify individuals not present in the initial training data.
Traditional facial recognition models are often trained in “closed-set” scenarios, meaning they are only exposed to a predefined set of known individuals. When presented with a face outside this known set, these models tend to misclassify it as one of the known individuals, often with high confidence. This limitation, combined with privacy concerns, highlights the need for more sophisticated approaches.
Addressing Privacy with Federated Learning
Federated Learning (FL) emerges as a robust solution to the privacy challenge. This innovative training strategy allows AI models to learn collaboratively from multiple decentralized devices or clients without centralizing sensitive data. Instead, data remains on local devices, and only aggregated knowledge (like model updates or parameters) is shared with a central server. This approach is crucial for complying with data protection regulations and safeguarding user privacy.
Tackling the Unknown with Open-Set Recognition
Beyond privacy, facial recognition systems must also be capable of “Open-Set Recognition” (OSR). This means the system should not only accurately identify known individuals but also reliably detect and label images belonging to people it has never encountered before as “unknown.” This prevents misidentification and enhances the system’s practical utility in real-world, dynamic environments.
A Novel Federated Open-Set Facial Recognition System
Researchers have proposed a novel system that integrates Federated Learning with an adapted OpenMax algorithm to address these dual challenges. The core idea is to design, implement, and evaluate a facial recognition system in a federated learning environment specifically tailored for open-set scenarios, ensuring both accuracy and data privacy. You can read the full research paper here: Federated Facial Recognition System in Open Sets based on OpenMax.
In this proposed solution, the training process begins with a model learning from a set of known individuals within a federated setup. After this initial training, the OpenMax algorithm is employed to fine-tune the model. OpenMax is a powerful alternative to the standard SoftMax activation function, designed to adapt models for open-set recognition. It allows the system to classify images of known individuals accurately while correctly identifying and labeling unknown faces.
How the System Preserves Privacy with OpenMax
A key innovation lies in how OpenMax is integrated into the federated framework without compromising privacy. Traditionally, OpenMax might require access to training images to determine if a new image belongs to a known or unknown person. However, in a federated setting, clients cannot share raw image data with the server.
The proposed solution overcomes this by having each client perform several critical operations locally: calculating activation vectors for correctly classified images, determining Mean Activation Vectors (MAVs) for each known person, and computing distances between activations and their corresponding MAVs. Only these MAVs and distances, which are aggregated and less sensitive, are then sent to the central server. The server then combines this information from all clients to complete the OpenMax process centrally. This method significantly enhances privacy by preventing the server from accessing raw facial data or even specific features that could be reconstructed from individual activations.
Implementation and Promising Results
The system was implemented on a powerful server using Python 3.10.12 and validated with two extensive facial image databases: MS1M ArcFace and VGGFace2. The federated learning scenario involved five clients and a server, with data distributed independently and identically (IID) among clients.
The results were highly encouraging. During the training phase, the model achieved nearly 100% accuracy, demonstrating rapid convergence. In closed-set inference (identifying known individuals), the model maintained impressive accuracy, reaching 99.6% with MS1M ArcFace and 98.83% with VGGFace2. Crucially, in the open-set inference phase, where images of 8,000 unknown individuals were introduced, the system achieved F1 macro scores above 90% (93.58% for MS1M ArcFace and 90.8% for VGGFace2). These scores indicate that the model successfully classified known individuals and accurately distinguished unknown ones.
Also Read:
- Protecting User Privacy in Recommender Systems: A Deep Dive into Federated Learning Approaches
- Unpacking Gradient Inversion Risks in Federated Learning: A Deep Dive into Model Vulnerabilities
Future Directions
This research marks a significant contribution to the fields of federated learning and open-set facial recognition, offering a practical solution for applications like distributed biometric access control systems where privacy and accuracy are paramount. Future work will explore advanced privacy-preserving techniques such as homomorphic encryption and differential privacy to further enhance the security of these systems.


