An Improvement Paillier Algorithm Applied to Federated Learning

Chao Xu,Yun Wang,Jing Wang
DOI: https://doi.org/10.1109/icpads60453.2023.00205
2023-01-01
Abstract:The classic Paillier algorithm satisfies the security and additive homomorphism, allowing addition operations to be performed on the ciphertext. Paillier is widely used in various scenarios, especially in Federated Learning (FL), ensuring that the customer identity information is not exposed. However, its huge computational overhead reduces the training efficiency of FL. Hence, this paper proposes an improved Paillier algorithm that applies to FL. Specifically, the encryption generates noise based on the private key, and the ciphertexts are directly calculated based on pre-computation noise pools. During decryption, noise is eliminated through modular operations rather than modular exponentiation for faster decryption. Experimental results show that the encryption and decryption speeds are increased by 859x and 417x, respectively, when the key size is 2048. Then, we combined the improved Paillier algorithm with the BatchCrypt scheme, demonstrating that our algorithm accelerates BatchCrypt by approximately 10-14x.
What problem does this paper attempt to address?