[Paper Review] Preserving Privacy and Security in Federated Learning
This paper proposes a unified framework for federated learning that simultaneously ensures user model update privacy via homomorphic encryption-based secure aggregation and enables detection of backdoor poisoning attacks through zero-knowledge proofs (ZKPs). By shifting attack detection to users who prove correct execution of defense mechanisms without revealing model details, the server can verify integrity without compromising privacy, achieving both security and privacy under a unified threat model.
Federated learning is known to be vulnerable to both security and privacy issues. Existing research has focused either on preventing poisoning attacks from users or on concealing the local model updates from the server, but not both. However, integrating these two lines of research remains a crucial challenge since they often conflict with one another with respect to the threat model. In this work, we develop a principle framework that offers both privacy guarantees for users and detection against poisoning attacks from them. With a new threat model that includes both an honest-but-curious server and malicious users, we first propose a secure aggregation protocol using homomorphic encryption for the server to combine local model updates in a private manner. Then, a zero-knowledge proof protocol is leveraged to shift the task of detecting attacks in the local models from the server to the users. The key observation here is that the server no longer needs access to the local models for attack detection. Therefore, our framework enables the central server to identify poisoned model updates without violating the privacy guarantees of secure aggregation.
Motivation & Objective
- To address the critical gap in federated learning where privacy-preserving secure aggregation and poisoning attack detection are mutually exclusive.
- To design a threat model that includes both an honest-but-curious server and malicious users, reflecting real-world adversarial conditions.
- To enable the server to detect poisoned model updates without accessing individual model parameters, preserving privacy guarantees.
- To develop a ZKP-based protocol allowing users to cryptographically attest that their local defense mechanisms were correctly executed.
- To integrate secure aggregation and ZKP protocols into a single, practical framework that maintains model performance and liveness.
Proposed method
- Proposes a secure aggregation protocol using homomorphic encryption to compute the sum of local model updates without revealing individual contributions.
- Introduces a zero-knowledge proof (ZKP) protocol that allows users to prove the correct execution of a local defense mechanism on their model update.
- Designs the ZKP to be sound (hard to forge without correct execution) and zero-knowledge (reveals no information about the model).
- Uses repetition in the ZKP construction to reduce soundness error to (2/3)^λ, ensuring high confidence in verification.
- Employs a defense mechanism based on pruning redundant neurons (Liu et al. [25]) as a concrete use case for the ZKP protocol.
- Combines the secure aggregation and ZKP protocols so the server can detect backdoored updates without learning individual model data.
Experimental results
Research questions
- RQ1Can secure aggregation and poisoning attack detection be jointly achieved in federated learning without compromising privacy?
- RQ2How can the server detect malicious model updates without accessing the raw model parameters?
- RQ3Can users cryptographically prove that they ran a defense mechanism correctly without leaking information about their local models?
- RQ4What is the impact of the proposed protocols on communication and computational overhead in a realistic federated learning setting?
- RQ5How can the framework maintain liveness and privacy even when some users act maliciously?
Key findings
- The proposed framework successfully integrates secure aggregation and ZKP-based attack detection, enabling the server to identify poisoned model updates without learning individual model parameters.
- The ZKP protocol ensures that only users who correctly execute the defense mechanism can generate valid proofs, preventing impersonation or forgery.
- The framework maintains strong privacy guarantees, as the server cannot infer any information about individual model updates, even when using ZKPs.
- The secure aggregation protocol is robust against malicious users, preserving both privacy and liveness in the presence of non-responsive or adversarial participants.
- Performance evaluation shows the framework is practical, with measurable communication and computation costs, making it viable for real-world deployment.
- The integration of homomorphic encryption and ZKP enables a unified threat model that supports both privacy and security in federated learning.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.