[Paper Review] Secure and Privacy-Preserving Average Consensus
This paper proposes a decentralized, homomorphic cryptography-based protocol for secure and privacy-preserving average consensus that guarantees convergence to the exact average value without relying on trusted third parties. By using the Paillier cryptosystem to encrypt state values during communication, the method ensures both data confidentiality and deterministic convergence, even under time-varying topologies, with experimental validation on Raspberry Pi platforms showing accurate consensus within 13 steps.
Average consensus is fundamental for distributed systems since it underpins key functionalities of such systems ranging from distributed information fusion, decision-making, to decentralized control. In order to reach an agreement, existing average consensus algorithms require each agent to exchange explicit state information with its neighbors. This leads to the disclosure of private state information, which is undesirable in cases where privacy is of concern. In this paper, we propose a novel approach that enables secure and privacy-preserving average consensus in a decentralized architecture in the absence of any trusted third-parties. By leveraging homomorphic cryptography, our approach can guarantee consensus to the exact value in a deterministic manner. The proposed approach is light-weight in computation and communication, and applicable to time-varying interaction topology cases. A hardware implementation is presented to demonstrate the capability of our approach.
Motivation & Objective
- To address the privacy leakage inherent in traditional average consensus protocols that exchange plaintext state values.
- To enable exact average consensus in decentralized systems without trusted third parties or reliance on noise-based obfuscation.
- To ensure security against eavesdropping and node compromise through cryptographic encryption of state information.
- To maintain low computational and communication overhead for deployment in resource-constrained cyber-physical systems.
- To support time-varying interaction topologies common in real-world wireless and mobile networks.
Proposed method
- The protocol uses the Paillier cryptosystem, an additive homomorphic encryption scheme, to allow secure computation of sums over encrypted values.
- Each node encrypts its state value using a public key and exchanges these encrypted values with neighbors over the network.
- Neighbors perform homomorphic addition on encrypted values to compute the sum of states without decryption, preserving privacy.
- The protocol incorporates a quantization step using scaling and rounding to map real-valued states to integers for encryption, with inverse scaling applied after decryption.
- A counter-based synchronization mechanism ensures nodes remain synchronized across asynchronous startup conditions in multi-node networks.
- The implementation uses pthreads for parallel handling of multiple communication requests and responses, enabling real-time operation on embedded platforms.
Experimental results
Research questions
- RQ1Can a decentralized average consensus protocol achieve exact convergence to the true average while preserving node privacy?
- RQ2How can homomorphic encryption be applied to distributed consensus without requiring a trusted third party?
- RQ3What is the impact of encryption and decryption on computational and communication overhead in resource-constrained systems?
- RQ4Can the protocol maintain correctness and convergence under time-varying network topologies?
- RQ5How can secure and efficient synchronization be achieved in a fully decentralized environment?
Key findings
- The proposed protocol achieves deterministic convergence to the exact average value, unlike noise-based methods that converge only in expectation or with bounded error.
- Experimental results on six Raspberry Pi boards show convergence to the true average of 489.33 within 13 steps from initial states of 290, 746, 541, 383, 301, and 675.
- The average processing latency per interaction was measured at 7.8 ms, demonstrating feasibility for real-time cyber-physical systems.
- The system supports time-varying interaction topologies, making it suitable for mobile or dynamic networks.
- The use of fixed-length integer representation and two’s complement for negative values enables efficient and secure computation on embedded hardware.
- The implementation using libpaillier and pthreads confirms that the computational overhead is manageable on low-resource devices.
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.