Distributed Differentially Private Averaging with Improved Utility and Robustness to Malicious Parties

César Sabater, Aurélien Bellet, Jan Ramon

Abstract

Learning from data owned by several parties, as in federated learning, raises challenges regarding the privacy guarantees provided to participants and the correctness of the computation in the presence of malicious parties. We tackle these challenges in the context of distributed averaging, an essential building block of federated learning algorithms. Our first contribution is a scalable protocol in which participants exchange correlated Gaussian noise along the edges of a network graph, complemented by independent noise added by each party. We analyze the differential privacy guarantees of our protocol and the impact of the graph topology under colluding malicious parties, showing that we can nearly match the utility of the trusted curator model even when each honest party communicates with only a logarithmic number of other parties chosen at random. This is in contrast with protocols in the local model of privacy (with lower utility) or based on secure aggregation (where all pairs of users need to exchange messages). Our second contribution enables users to prove the correctness of their computations without compromising the efficiency and privacy guarantees of the protocol. Our verification protocol relies on standard cryptographic primitives like commitment schemes and zero knowledge proofs.

Introduction

In Federated Learning (FL), a central server aggregates model updates from many users. However, these updates can leak sensitive information. Existing solutions often face a "utility-privacy-efficiency" trilemma. Local Differential Privacy (LDP) offers high privacy but poor accuracy (utility). Central Differential Privacy (CDP) offers high accuracy but requires a "trusted curator." Secure Aggregation protocols can be computationally expensive ($O(n^2)$ communication) and often assume users are "honest-but-curious."

This paper introduces GOPA (GOssip noise for Private Averaging), a decentralized protocol for differentially private averaging. GOPA achieves the high accuracy of the trusted curator model with only logarithmic communication costs, while remaining robust against malicious actors.

Methodology

The GOPA protocol utilizes a two-layered noise approach to balance privacy and utility:

  1. Pairwise-Correlated Noise: Users exchange Gaussian noise terms along the edges of a communication graph. By adding a value $\Delta$ at one end and subtracting it at the other, the noise cancels out perfectly in the global sum, masking individual data without affecting the average.
  2. Independent Noise: Each user adds a small amount of standard Gaussian noise to satisfy formal Differential Privacy (DP) requirements.
  3. Sparse Graph Topology: Instead of a complete graph, GOPA uses "random k-out" graphs where each user communicates with only $O(\log n)$ neighbors, ensuring scalability.
  4. Verifiability via Zero-Knowledge Proofs (ZKPs): To defend against malicious poisoning, GOPA employs Pedersen commitments and ZKPs. Users can prove their noise was sampled correctly and their data falls within valid ranges without revealing the raw values.

Results and Comparison

The authors evaluated GOPA using the UCI Housing dataset for logistic regression via FedSGD and synthetic simulations to verify theoretical trade-offs.

Comparison of GOPA with existing privacy-preserving averaging approaches.

As shown in the comparison table, GOPA matches the $O(1/n^2)$ Mean Squared Error (MSE) of the trusted curator model while maintaining $O(\log n)$ communication per party. Unlike other high-utility methods like Secure Aggregation or Shuffling, GOPA provides verifiability and does not rely on a trusted shuffler or curator. In experimental settings, GOPA's accuracy was nearly indistinguishable from the "Gold Standard" CDP model, whereas LDP failed to produce a useful model.

Key Insights

  • Connectivity and Privacy: The protocol's effectiveness relies on the connectivity of honest users. Communicating with a logarithmic number of random peers is sufficient to effectively "spread" the secret.
  • Robustness to Dropouts: GOPA's use of Gaussian noise allows the system to remain unbiased even if some users drop out; it simply results in a slightly higher, yet manageable, variance.
  • Verifiable Randomness: The paper provides a method to prove that a value was sampled from a Gaussian distribution using ZKPs, addressing a significant cryptographic challenge in verifiable DP.

Conclusion

GOPA successfully addresses the trade-offs between utility, privacy, and efficiency in distributed averaging. While generating ZKPs adds some computational overhead, the protocol's $O(\log n)$ communication complexity makes it highly scalable. Future work may extend this framework to more complex robust aggregation methods and dynamic graph settings.

Summary updated

Abstract

Learning from data owned by several parties, as in federated learning, raises challenges regarding the privacy guarantees provided to participants and the correctness of the computation in the presence of malicious parties. We tackle these challenges in the context of distributed averaging, an essential building block of federated learning algorithms. Our first contribution is a scalable protocol in which participants exchange correlated Gaussian noise along the edges of a network graph, complemented by independent noise added by each party. We analyze the differential privacy guarantees of our protocol and the impact of the graph topology under colluding malicious parties, showing that we can nearly match the utility of the trusted curator model even when each honest party communicates with only a logarithmic number of other parties chosen at random. This is in contrast with protocols in the local model of privacy (with lower utility) or based on secure aggregation (where all pairs of users need to exchange messages). Our second contribution enables users to prove the correctness of their computations without compromising the efficiency and privacy guarantees of the protocol. Our verification protocol relies on standard cryptographic primitives like commitment schemes and zero knowledge proofs.
BibTeX
@article{sabater2022distributed,
  author = {César Sabater and Aurélien Bellet and Jan Ramon},
  title = {{Distributed Differentially Private Averaging with Improved Utility and Robustness to Malicious Parties}},
  journal = {Machine Learning},
  year = {2022},
  doi = {10.1007/s10994-022-06267-9},
}
Figure