TL;DR
This paper tackles the significant performance bottlenecks in Vertical Federated Learning (VFL) when using homomorphic encryption for privacy. They introduce a novel system that combines a "backup worker" strategy to mitigate communication delays caused by network heterogeneity and Principal Component Analysis (PCA) to reduce the computational burden of homomorphic encryption, achieving substantial speedups without compromising security.
What Problem Does This Paper Address?
The Internet of Things (IoT) generates vast amounts of data, but integrating this data for machine learning is challenging due to privacy concerns and differing data structures across sources. Federated Learning (FL) offers a solution by allowing collaborative model training without sharing raw data. Vertical Federated Learning (VFL) specifically addresses scenarios where data sources share the same samples but have different features. To ensure privacy, VFL often employs homomorphic encryption (HE), which allows computations on encrypted data. However, HE introduces substantial communication and computation overhead, making VFL slow and impractical for real-world applications. This paper aims to identify and alleviate these bottlenecks, making VFL more efficient and robust.
Methods
The authors propose a two-pronged approach to accelerate VFL under HE:
- Straggler-Resilient Communication (Backup Worker): To combat network heterogeneity and potential "stragglers" (slow participants), they adapt the Stale Synchronous Parallel (SSP) concept. Instead of dropping data from slow workers, they use "backup workers" to provide older, stale versions of intermediate results. This ensures that the Guest (the party with labels) can continue computation even if some Hosts are slow, preventing complete idle time and improving communication efficiency.
- Computation Optimization (PCA): Homomorphic encryption significantly increases computation costs, especially for multiplications. To address this, they employ Principal Component Analysis (PCA) for dynamic feature selection. Before each training iteration, PCA is used to compress the input features locally. This reduces the number of encrypted multiplications required, thereby decreasing the computational overhead. The PCA matrix is stored locally, allowing for decompression of the decrypted gradients.
Datasets
The paper evaluates their proposed system on three real-world datasets:
- MIMIC-III: A critical care medical database.
- Epsilon: A dataset commonly used in machine learning.
- NUS-WIDE: A dataset containing image features and associated tags.
These datasets are dispatched to multiple cooperators (Guest and Hosts) to simulate a VFL environment.
Key Insights and Ideas
- HE is a double-edged sword: While crucial for privacy in VFL, HE is the primary culprit behind performance degradation, impacting both computation and communication.
- Network heterogeneity is a major VFL bottleneck: Unlike traditional FL, VFL's reliance on intermediate encrypted results makes it particularly sensitive to slow participants (stragglers).
- Stale data can be useful: The "backup worker" strategy demonstrates that using older, stale data can effectively mitigate the impact of stragglers without significantly harming accuracy.
- PCA can be dynamically applied: Integrating PCA for feature compression within each VFL iteration, rather than as a one-time preprocessing step, offers a practical way to reduce HE's computational burden.
- Dataset affinity matters for PCA: The effectiveness of PCA-based compression can vary across datasets, suggesting that the compression degree needs careful consideration.
Key Results
The proposed system achieves significant improvements:
- Communication Overhead Reduction: In heterogeneous scenarios, the backup worker strategy reduces communication overhead by up to 65.26%.
- Computation Overhead Reduction: PCA-based feature compression reduces the computation overhead caused by HE by up to 40.66%.
- Overall Efficiency: The combined system (backup worker + PCA) significantly accelerates VFL training, reducing idle time caused by communication and computation overhead by 55.6%.
- Accuracy Preservation: The proposed methods generally maintain comparable accuracy to vanilla VFL, with some minor trade-offs observed in specific cases with aggressive PCA compression.
Limitations and Future Work
- Accuracy-Compression Tradeoff: While PCA significantly speeds up computation, aggressive compression can lead to a slight loss in accuracy, as observed with the Epsilon dataset. The authors suggest that the compression degree needs to be carefully chosen based on the dataset's intrinsic correlations.
- AUTO-ML for Hyperparameter Tuning: The authors note that finding optimal hyperparameters for VFL can be challenging, and suggest Auto-ML as a future direction to maximize VFL's potential.
- Further Encryption Optimization: They aim to explore more multiplication-friendly encryption strategies to eliminate computation overhead without losing security.
- Standardized Datasets and Metrics: The lack of standardized datasets and metrics for VFL hinders research and comparison. The authors advocate for the creation of professional, practical VFL datasets.
- Incentive Mechanisms: Attracting enterprises to participate in VFL requires robust incentive mechanisms, which is identified as a promising area for future research.
Summary updated