An Efficient Industrial Federated Learning Framework for AIoT: A Face Recognition Application

Youlong Ding, Xueyang Wu, Zhitao Li, Zeheng Wu, Shengqi Tan, Qian Xu, Weike Pan, Qiang YangarXiv 2022 · DOI

Introduction

The Artificial Intelligence of Things (AIoT) represents a transformative shift toward smart, interconnected edge devices. However, deploying high-performance face recognition on these devices faces two critical challenges: severe resource constraints and stringent privacy regulations like GDPR. Standard deep learning models are often too computationally heavy for edge hardware, and uploading raw facial data to central servers for training is frequently prohibited.

Federated Learning (FL) offers a potential solution by allowing models to be trained locally on devices without sharing raw data. Yet, traditional FL often suffers from slow convergence and remains vulnerable to "model inversion attacks," where adversaries reconstruct private images from shared gradients. This paper presents an efficient FL framework designed to bridge the gap between high-performance recognition and the practical requirements of industrial AIoT.

The Proposed Federated Learning Framework

To make FL viable for the edge, the researchers developed a three-pronged architectural approach focused on efficiency and security.

Transfer Learning and the Private Projector

Instead of training from scratch, the framework utilizes a central server to pre-train a "public" feature extractor ($f_{ heta1}$) on a massive public dataset (MS-Celeb-1M). This provides a robust starting point for edge devices.

The core innovation is the Private Projector. Each client appends a local classification layer ($Proj_{ heta2}$) to the shared model. During the federated training process, only the gradients of the feature extractor are shared with the server; the projector remains strictly local. This architectural split "breaks" the information chain required for gradient-based privacy attacks, as an external adversary lacks the final layer necessary for full forward propagation.

Overview of the proposed federated learning framework featuring a public feature extractor and a private local projector.

Optimization for the Edge

To handle the non-i.i.d. (independent and identically distributed) nature of edge data, the framework introduces two key stability measures:

  1. Freezing BatchNorm Statistics: By freezing the mean and variance in Batch Normalization layers during local training, the model avoids becoming biased toward the small, skewed datasets found on individual devices.
  2. Warm-up Fine-tuning: A gradual increase in the learning rate stabilizes training during the early stages of local adaptation.

Experimental Setup and Datasets

The framework was evaluated using two primary datasets to simulate a transition from general pre-training to specific real-world deployment:

  • MS-Celeb-1M: A large-scale public dataset used for initial server-side pre-training.
  • Private Asian Face Dataset: A specialized collection of 20,551 images from 4,998 East Asian individuals. This dataset includes variations such as face masks to test the framework's robustness against domain shifts and real-world environmental factors.
Samples from the private Asian face dataset used to simulate real-world AIoT deployment conditions, including masked and unmasked subjects.

Key Results and Insights

The framework demonstrates that privacy and performance are not mutually exclusive in AIoT environments:

  • Rapid Convergence: The system achieved high accuracy in just 20 communication rounds, a significant improvement over standard FL which often requires hundreds of rounds.
  • High Accuracy: The federated approach reached 72.83% accuracy (at FAR@1e-3), nearly matching the 73.58% achieved by a centralized model with full data access.
  • Privacy Resilience: Qualitative tests using Deep Leakage from Gradients (DLG) attacks showed that while baseline FL leaked recognizable images, the proposed framework's recovered images were indistinguishable from noise.
  • Hardware Efficiency: Utilizing the MobileFaceNet backbone, the model requires only 1.2M parameters and 35MB of memory, making it compatible with on-chip SRAM in modern AIoT chips.

Conclusion

By combining transfer learning with a private local projector, this framework provides a secure and efficient path for industrial face recognition. The approach proves that "privacy through incompleteness"—withholding a small part of the model—can be more effective and efficient than complex encryption for protecting edge data. Future work may explore more extreme domain shifts and the scaling of the framework across thousands of heterogeneous devices.

Summary updated

BibTeX
@misc{ding2022efficient,
  author = {Youlong Ding and Xueyang Wu and Zhitao Li and Zeheng Wu and Shengqi Tan and Qian Xu and Weike Pan and Qiang Yang},
  title = {{An Efficient Industrial Federated Learning Framework for AIoT: A Face Recognition Application}},
  year = {2022},
  eprint = {2206.13398},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2206.13398},
}
Figure