Efficient Vertical Federated Learning with Secure Aggregation

Xinchi Qiu, Heng Pan, Wanru Zhao, Chenyang Ma, Pedro Porto Buarque de Gusmão, Nicholas D. Lane · DOI

Abstract

Vertical Federated Learning (VFL) allows multiple organizations to collaboratively train models on distributed features of the same user base without sharing raw data. However, traditional VFL often relies on Homomorphic Encryption (HE), which imposes prohibitive computational overhead. This paper introduces an efficient VFL design using Secure Aggregation (SA) based on lightweight masking. Our approach achieves speedups of up to 38,000x compared to HE-based methods while preserving model utility and privacy.

Introduction

In many real-world scenarios, data is partitioned vertically: different entities hold different attributes (features) for the same set of individuals. For instance, a bank and a retail store might share a customer base but possess complementary data points. Combining these datasets can significantly improve model performance for tasks like fraud detection or credit scoring. However, strict privacy regulations such as GDPR necessitate secure methods for data collaboration.

The Challenge of Vertical Federated Learning

Existing VFL solutions typically utilize Homomorphic Encryption (HE) to protect intermediate values like embeddings or gradients during the training process. While HE provides strong security, its computational cost is immense, often making it impractical for large-scale industrial applications. There is a critical need for a more scalable approach that maintains privacy without the performance penalties of HE.

Proposed Methodology

The authors propose a framework that replaces HE with Secure Aggregation (SA). The architecture involves three primary roles:

  1. Active Party: Holds the labels (ground truth) and coordinates the final stages of the model.
  2. Passive Parties: Hold additional features but do not have access to the labels.
  3. Aggregator: A central entity that sums contributions from all parties.
VFL Architecture with Active Party, Passive Parties, and Aggregator

The core innovation is a Masked Aggregation technique. Instead of full encryption, each party adds a "noise" vector to their local data before transmission. These vectors are generated via shared secrets such that they sum to zero ($\sum n_i = 0$). Consequently, the aggregator recovers the exact total sum required for training without ever seeing individual private contributions.

Experimental Evaluation

The framework was tested on three distinct classification datasets:

  • Banking: 45,211 records related to direct marketing campaigns.
  • Adult Income: 48,842 records of census data used to predict income levels.
  • Taobao Ad-Display: A production-scale dataset with 26 million interactions, used to simulate high-volume industrial environments.

Key Results and Insights

The proposed SA-based VFL demonstrates exceptional performance gains. As shown in the comparison below, the CPU time required for SA is orders of magnitude lower than that of popular HE libraries like SEAL or Phe.

Comparison of CPU Time: SA vs. HE Methods across Batch Sizes

Key findings include:

  • Massive Speedup: The method is 910x to 38,000x faster than HE-based alternatives.
  • Scalability: The design naturally supports any number of passive parties, unlike many two-party HE implementations.
  • Zero Accuracy Loss: Because the masks cancel out perfectly during summation, there is no utility-privacy trade-off; the mathematical result is identical to non-secure training.

Conclusion and Future Work

By leveraging Secure Aggregation, this work provides a practical path for large-scale Vertical Federated Learning. The system is production-ready, as evidenced by its performance on the 26-million-row Taobao dataset. Future research will focus on extending the framework to handle malicious actors and further optimizing key management protocols.

Summary updated

BibTeX
@inproceedings{qiu2023efficient,
  author = {Xinchi Qiu and Heng Pan and Wanru Zhao and Chenyang Ma and Pedro Porto Buarque de Gusmão and Nicholas D. Lane},
  title = {{Efficient Vertical Federated Learning with Secure Aggregation}},
  booktitle = {FLSys @ MLSys},
  year = {2023},
  url = {https://openreview.net/forum?id=2BEbzi4s52U},
}
Figure