FedSIS: Federated Split Learning with Intermediate Representation Sampling for Privacy-preserving Generalized Face Presentation Attack Detection

Naif Alkhunaizi, Koushik Srivatsan, Faris Almalik, Ibrahim Almakky, Karthik Nandakumar

TL;DR

This paper introduces FedSIS, a novel framework for privacy-preserving face presentation attack detection (FacePAD) that excels at generalizing to unseen environments and attack types. By combining federated learning, split learning, and a unique intermediate representation sampling technique within a Vision Transformer, FedSIS achieves state-of-the-art performance without requiring clients to share their sensitive facial data.

What Problem Does This Paper Address?

The core challenge in face presentation attack detection (FacePAD) is its poor generalization to unseen domains or attack variations. Real-world scenarios involve diverse lighting, camera angles, and spoofing methods, making models trained on specific datasets perform poorly when deployed elsewhere. Traditional approaches often rely on centralized training with access to all data, which is impractical due to privacy concerns and data silos. While federated learning (FL) offers a privacy-preserving solution, standard FL struggles with non-independent and identically distributed (non-iid) data across clients and generalizing to unseen test distributions. This paper tackles the problem of "federated generalized FacePAD" (Fed-DG-FacePAD), where multiple clients with private, non-iid data collaboratively train a robust FacePAD model that generalizes to unseen domains.

Methods

FedSIS builds upon a hybrid Vision Transformer (ViT-H) architecture, which combines the strengths of Convolutional Neural Networks (CNNs) for local feature extraction (tokenizer) with the global context understanding of ViTs (feature encoder). The key innovations are:

  • Federated Split Learning (FSL): This approach combines federated learning (for privacy and collaboration) with split learning (to divide the model between clients and a central server). Clients train their local tokenizers and classification heads, while the server trains a shared feature encoder and an adapter network. This allows for collaborative training without raw data sharing.
  • Intermediate Representation Sampling (ViT-H-IS): Instead of solely relying on the final output of the ViT's feature encoder (the "cls token"), FedSIS randomly samples intermediate representations from different ViT blocks. These sampled representations are then processed through a shared adapter network. This acts as a novel feature augmentation strategy, forcing the model to learn more robust and generalizable features by leveraging information from various stages of the ViT.
  • Hybrid ViT Architecture: The tokenizer is a CNN (specifically, a truncated ResNet-50) to better capture micro-texture details crucial for FacePAD, while the feature encoder is a standard ViT. The classification head is a simple linear classifier.

Datasets

The paper evaluates FedSIS on two benchmark datasets:

  • Benchmark 1: Consists of four datasets: MSU-MFSD, CASIA-MFSD, Idiap Replay Attack, and OULU-NPU. The evaluation follows a leave-one-domain-out protocol, where one dataset is treated as the unseen target domain.
  • Benchmark 2: Uses larger-scale datasets: WMCA, CASIA-CeFA, and CASIA-SURF.

The CelebA-Spoof dataset is used as an auxiliary dataset for pre-training and to increase data diversity in collaborative training.

Key Insights and Ideas

  • Intermediate features are key for generalization: The paper demonstrates that simply using the final output of a ViT is insufficient for robust domain generalization. By sampling and processing representations from intermediate ViT blocks, FedSIS effectively captures crucial texture information and enhances generalization.
  • Federated Split Learning is more than just privacy: While FSL is crucial for privacy, the paper shows it also plays a vital role in aligning domain-specific decision boundaries, which is essential for effective cross-domain generalization, especially when using a simple linear classifier.
  • Co-designing architecture and training matters: FedSIS's success stems from the synergistic combination of its hybrid ViT architecture and the federated split learning strategy. Neither component alone would achieve the same level of performance.
  • Privacy doesn't have to mean performance loss: FedSIS achieves state-of-the-art performance, even outperforming some centralized methods, while strictly preserving client data privacy. This challenges the notion of an inherent privacy-utility trade-off in FL.

Key Results

  • FedSIS outperforms existing federated learning methods (FedAvg, FedProx, MOON, FeSTA) and many state-of-the-art centralized DG-FacePAD methods on Benchmark 1, achieving lower HTER (Half Total Error Rate) and higher AUC (Area Under the Curve).
  • For example, on Benchmark 1, FedSIS achieved an average HTER of 3.91, significantly lower than other federated methods and competitive with centralized approaches.
  • The ViT-H-IS architecture with intermediate representation sampling showed a significant performance improvement over the standard ViT-H architecture, demonstrating the utility of the proposed sampling strategy.
  • Even when CelebA-Spoof was excluded, FedSIS* (the variant without auxiliary pre-training) still outperformed state-of-the-art centralized DG-FacePAD methods.
  • The paper also shows that FedSIS is robust to heterogeneous settings, including scenarios where clients have only one type of attack, achieving strong performance.

Limitations and Future Work

  • Communication Overhead: The transmission of patch tokens and pseudo-class tokens, along with model parameters, can lead to a high communication burden. This is identified as a key limitation that needs future mitigation.
  • Non-deterministic Inference: The random nature of intermediate representation sampling during inference can lead to non-deterministic predictions.
  • Continual Learning: The current framework does not support dynamic client participation (clients joining or leaving).
  • Unseen Attack Types: The framework needs to be evaluated on entirely unseen attack types that were not present during training.
  • Future Directions: The authors suggest exploring methods to reduce communication costs and enable continual learning. Further evaluation on unseen attack types is also a promising avenue.

Summary updated

BibTeX
@inproceedings{alkhunaizi2023fedsis,
  author = {Naif Alkhunaizi and Koushik Srivatsan and Faris Almalik and Ibrahim Almakky and Karthik Nandakumar},
  title = {{FedSIS: Federated Split Learning with Intermediate Representation Sampling for Privacy-preserving Generalized Face Presentation Attack Detection}},
  booktitle = {IJCB},
  year = {2023},
  url = {https://openreview.net/forum?id=TktuVR6Dr2},
}
Figure