Privacy of Agents' Costs in Peer-to-Peer Distributed Optimization

Nirupam Gupta, Nikhil ChopraarXiv 2019

Abstract

This paper addresses the challenge of preserving data privacy in peer-to-peer distributed optimization. We propose a two-phase "masking" protocol that protects the private cost functions of honest agents from passive adversaries. By introducing correlated random noise that cancels out globally, the protocol ensures exact convergence to the global minimum while maintaining statistical privacy, provided the network topology prevents the isolation of honest agents by corrupted ones.

Introduction

In distributed optimization, a network of $N$ agents seeks to solve the problem of minimizing the sum of local cost functions: $\min \sum_{i=1}^N f_i(x)$. Each agent $i$ possesses a private cost function $f_i$, which may contain sensitive information such as proprietary economic data or private user behavior. Standard consensus-based algorithms require agents to exchange information with neighbors, which can inadvertently leak these functions to "honest-but-curious" (passive) participants.

Existing privacy-preserving methods often face significant trade-offs. Differential Privacy introduces noise that degrades the accuracy of the final solution. Homomorphic Encryption is computationally intensive and relies on bounded adversarial computing power. Secure Multi-Party Computation (SMC) typically requires high connectivity, often necessitating a complete graph. This work introduces a lightweight masking protocol that achieves perfect accuracy and statistical privacy even in sparse networks.

The Masking Protocol

The proposed solution is a two-phase "wrapper" protocol that can be integrated with almost any existing distributed optimization algorithm.

Phase 1: The Masking Phase

Before the optimization process begins, agents generate and exchange random vectors with their immediate neighbors. For every directed edge $(i, j)$ in the communication graph, agent $i$ sends a random vector $r_{ij}$ to agent $j$. Each agent $i$ then computes a local "mask" $a_i$ based on the difference between the values sent and received:

$$a_i = \sum_{j \in \mathcal{N}_i} (r_{ij} - r_{ji})$$

where $\mathcal{N}_i$ denotes the set of neighbors for agent $i$. A critical property of this construction is that because each $r_{ij}$ is added by agent $j$ and subtracted by agent $i$, the sum of all masks across the entire network is exactly zero: $\sum_{i=1}^N a_i = 0$.

Figure 1: A 3-agent network illustrating the exchange of random vectors $r_{ij}$ during the initial masking phase.

Phase 2: The Optimization Phase

In the second phase, agents modify their original cost functions by adding the computed mask: $\tilde{f}_i(x) = f_i(x) + a_i^T x$. They then execute a standard distributed optimization algorithm using these "effective costs." Since the masks sum to zero, the global objective function remains unchanged: $\sum \tilde{f}_i(x) = \sum f_i(x)$. This ensures that the optimization algorithm converges to the true global minimum without any accuracy loss.

Privacy and Network Topology

The core theoretical contribution of this work is the formal link between network topology and privacy guarantees. The authors define $(C, \epsilon)$-affine privacy, which uses Information Theory (specifically KL-divergence) to quantify the information leakage regarding the linear coefficients of the cost functions.

The Vertex Cut Condition

The paper proves that privacy is maintained as long as the corrupted agents do not form a vertex cut in the communication graph. A vertex cut is a set of nodes whose removal disconnects the graph. If the honest agents remain connected to one another, a passive adversary cannot distinguish between different possible private costs that could have produced the observed messages. Specifically, if a network is $(t+1)$-connected, it is guaranteed to be private against an adversary that corrupts up to $t$ agents.

Numerical Illustration

The authors demonstrate the protocol's efficacy using a 3-agent network. In a scenario where one agent is corrupted, the remaining two honest agents maintain privacy because they are still connected. The analysis shows that the leakage $\epsilon$ is inversely proportional to the vertex expansion of the honest subgraph. In practical terms, a more "well-connected" group of honest agents results in stronger privacy protections.

Conclusion

The masking protocol offers a robust and computationally efficient method for private distributed optimization. By decoupling the privacy mechanism from the optimization algorithm, it provides a flexible framework for various applications. While the current work focuses on passive adversaries and affine components of cost functions, it establishes a foundation for future research into active adversaries and broader classes of private data.

Summary updated

BibTeX
@misc{gupta2019privacy,
  author = {Nirupam Gupta and Nikhil Chopra},
  title = {{Privacy of Agents' Costs in Peer-to-Peer Distributed Optimization}},
  year = {2019},
  eprint = {1905.00733},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1905.00733},
}
Figure