TL;DR
This paper introduces an efficient and privacy-preserving method for Vertical Federated Learning (VFL), a scenario where different parties hold complementary features for the same data points. Their approach uses secure aggregation techniques to protect sensitive information during training, achieving significant speedups compared to existing homomorphic encryption methods without sacrificing performance.
What Problem Does This Paper Address?
Federated Learning (FL) allows multiple parties to collaboratively train a machine learning model without sharing their raw data. While most FL research focuses on horizontal FL (HFL), where parties have different samples but the same features, this paper tackles vertical FL (VFL). VFL is crucial for scenarios like financial fraud detection or medical diagnosis, where different organizations (e.g., banks, hospitals) possess unique, complementary features for the same individuals or entities. The challenge in VFL is that training requires exchanging intermediate computations (like gradients or activations) between parties, which can inadvertently leak sensitive information. Existing VFL solutions often overlook robust privacy and security, or rely on computationally expensive methods like homomorphic encryption (HE).
Methods
The core contribution is a novel secure aggregation method for VFL. The approach involves:
- Secure Aggregation: Inspired by existing secure aggregation techniques, the method uses masking with random noise. During the forward and backward passes of training, clients add random noise to their computed values (activations or gradients) before sending them to an aggregator. This noise is designed to cancel out when summed across all clients, allowing the aggregator to compute the aggregate result without seeing individual contributions.
- Symmetric Encryption for Sample IDs: To facilitate mini-batch selection without revealing which samples belong to which party, sample IDs are encrypted using pairwise shared secrets derived from Elliptic-curve Diffie-Hellman (ECDH) key agreement. This ensures that only the intended recipient (the party with the corresponding shared secret) can decrypt the sample IDs.
- Pre-training Phase: A pre-training step is performed by the active party (which holds the labels) to obtain initial model parameters or feature embeddings. This is then used in conjunction with features from passive parties.
The method is structured into three phases: a setup phase for key exchange, a training phase involving mini-batch selection, forward pass, and backward pass with secure aggregation, and a testing phase for inference.
Datasets
The authors evaluated their method on three real-world datasets:
- Banking Dataset: Related to direct marketing campaigns of a Portuguese banking institution.
- Adult Income Dataset: A classification dataset for predicting income levels based on census data.
- Taobao Ad-Display/Click Dataset: A large-scale dataset of user interactions with online advertisements.
The paper details how features and clients were partitioned across active and passive parties for each dataset.
Key Insights and Ideas
- VFL Privacy is Hard: Unlike HFL, VFL inherently requires more complex inter-client communication (gradients/activations), making privacy leakage a more significant concern.
- Secure Aggregation as a Solution: The paper demonstrates that adapting secure aggregation, a technique proven effective in HFL, can be a viable and efficient solution for VFL privacy.
- Noise Cancellation for Efficiency: The clever use of random noise that cancels out upon summation is key to achieving efficiency. It allows for privacy without the heavy computational burden of full encryption.
- Speedup Over HE: The most striking insight is the dramatic performance improvement over homomorphic encryption, highlighting the practical limitations of HE for complex VFL tasks.
Key Results
- Performance Preservation: The proposed secure aggregation method does not negatively impact the training performance of the VFL model.
- Significant Speedup: Compared to homomorphic encryption (HE) methods, their approach achieves a speedup ranging from 9.1 x 10^2 to 3.8 x 10^4. This was demonstrated through an ablation study comparing their method with HE implementations (Phe and SEAL-Python).
- Minimal Overhead: The overhead in terms of CPU time and data transmission for the secure aggregation mechanism is relatively small compared to the overall training process. For example, the CPU time overhead was in the range of 100-300 ms, and communication overhead was around 100-150 KB.
Limitations and Future Work
- Threat Model: The current solution assumes a "honest-but-curious" threat model, meaning clients and the server follow the protocol but might try to infer information. It is not designed to defend against active adversaries. The authors suggest that incorporating a public-key infrastructure (PKI) could address this.
- Key Regeneration: To mitigate the risk of key leakage, the authors recommend routinely regenerating keys and re-executing the setup phase periodically (e.g., every K iterations).
- Generalization: The current method works with a pre-training step. Future work could explore generalizing the secure aggregation method to encompass all types of vertical FL settings and potentially remove the need for a pre-training step.
Summary updated