The paper proposes PackVFL, an efficient vertical federated learning (VFL) framework based on packed homomorphic encryption (PackedHE), to accelerate existing homomorphic encryption (HE)-based VFL algorithms. The key focus is on designing a high-performant matrix multiplication (MatMult) method, as it dominates the ciphertext computation time in HE-based VFL.
The authors first provide a systematic exploration of the design space for PackedHE MatMult methods, dividing them into slot packing and coefficient packing approaches. They then summarize three key characteristics of VFL's MatMult operation and design a hybrid MatMult method accordingly:
Geo-Distributed Operand: The two operands are owned by geo-distributed parties in VFL. The authors choose the diagonal method as the basic component to reduce communication complexity.
Wide-Range Operand Size: VFL often has varying batch sizes or feature dimensions, leading to varying operand sizes of MatMult. The authors design input packing and partitioning techniques to handle small and large operands efficiently.
Passive Decryption: The resulting ciphertexts of MatMult are transmitted to the party owning the secret key for pure decryption without extra operations. The authors design a lazy rotate-and-sum mechanism to eliminate the remaining time-consuming ciphertext operations.
Furthermore, the authors adaptively apply the proposed MatMult method to three representative HE-based VFL algorithms (VFL-LinR, CAESAR, VFL-NN) by leveraging their distinctive algorithmic properties to further improve efficiency. This includes mechanisms like multiplication level reduction, cleartext inverse rotate-and-sum, and transposed matrices' diagonal conversion.
Empirically, PackVFL achieves up to a 51.52x end-to-end speedup over existing HE-based VFL algorithms, representing a substantial 34.51x greater speedup compared to the direct application of state-of-the-art MatMult methods.
לשפה אחרת
מתוכן המקור
arxiv.org
תובנות מפתח מזוקקות מ:
by Liu Yang,Shu... ב- arxiv.org 05-02-2024
https://arxiv.org/pdf/2405.00482.pdfשאלות מעמיקות