Abstract
Distributed optimization allows a network of agents to collaboratively minimize a global objective function composed of local, private cost functions. However, sharing information during optimization often risks leaking sensitive data. This paper analyzes the Function Sharing (FS) protocol, which provides statistical (information-theoretic) privacy while maintaining 100% accuracy. By utilizing a "zero-sum" masking technique, the protocol ensures that individual cost functions are obfuscated while the global minimum remains unchanged. We provide a formal privacy analysis based on $(C, \epsilon)$-affine privacy and demonstrate that privacy is preserved as long as the network maintains specific connectivity requirements.
Introduction
In many modern applications, such as power grid management and decentralized machine learning, agents must solve optimization problems of the form $\min_x \sum f_i(x)$. While standard algorithms like Distributed Gradient Descent (DGD) are effective, they require agents to exchange information that can expose the private parameters of $f_i$ to curious neighbors (passive adversaries).
Existing privacy-preserving techniques often face a trade-off: Differential Privacy (DP) protects data at the cost of accuracy, while Homomorphic Encryption (HE) offers security but incurs significant computational overhead. The Function Sharing (FS) protocol addresses these limitations by offering a middle ground: statistical privacy with perfect accuracy, provided the network topology is sufficiently robust.
Methods
The FS protocol operates in two distinct phases:
- Phase 1: Masking (The "Zero-Sum" Trick): Before optimization, agents obfuscate their cost functions. Each agent $i$ generates random noise vectors and exchanges them with neighbors. They compute a local mask $u_i$ such that $\sum u_i = 0$. The agent's "effective" cost function becomes $\tilde{f}_i(x) = f_i(x) + \langle u_i, x \rangle$.
- Phase 2: Optimization: Agents run a standard optimization algorithm (e.g., DGD) using these masked functions $\tilde{f}_i$.
Because the masks sum to zero, the global objective $\sum \tilde{f}_i(x) = \sum f_i(x)$ remains invariant, ensuring the global minimum is preserved. The authors quantify privacy using $(C, \epsilon)$-affine privacy, a metric based on Kullback-Leibler (KL) divergence that measures the statistical indistinguishability of private costs from the perspective of an adversary.
Results and Analysis
The protocol was validated through numerical simulations involving a 3-agent complete graph with quadratic cost functions ($x^2 + ax$).
As shown in Figure 1, the local errors for the FS protocol converge at the same rate as the non-private DGD, confirming that the masking process does not degrade accuracy.
Privacy is demonstrated in Figure 2, which shows the probability density of effective coefficients for two different private values (A and B). The overlapping distributions indicate that an adversary cannot easily distinguish between different private inputs based on observed data, satisfying the statistical privacy requirements.
Key Insights
- Privacy through Topology: A critical finding is that privacy depends on network structure. The protocol is resilient against $t$ colluding agents if the network is $(t+1)$-vertex connected. If corrupted agents form a vertex cut, privacy guarantees are lost.
- Statistical vs. Computational: Unlike encryption, FS privacy is information-theoretic. It does not rely on the adversary's limited computing power but on the inherent lack of information in the masked signals.
Conclusion and Future Work
The FS protocol provides a robust framework for private distributed optimization. While highly effective against passive adversaries, it remains vulnerable to active (malicious) agents who might lie about their values. Future research could extend these results to non-convex optimization and explore more complex, non-linear masking techniques to protect higher-order function coefficients.
Summary updated