Statistical Privacy in Distributed Average Consensus on Bounded Real Inputs

Nirupam Gupta, Jonathan Katz, Nikhil Chopra

Abstract

Distributed Average Consensus (DAC) is a critical mechanism for decentralized systems, yet it often exposes sensitive local data during the iterative communication process. This paper presents a robust two-phase protocol that enables a network of agents to compute the exact average of private, real-valued inputs while maintaining "perfect" statistical privacy. By utilizing zero-sum correlated noise, the method bridges the gap between high-accuracy consensus and rigorous data protection, ensuring that prying agents learn nothing about honest participants' data beyond their collective average.

Introduction

In decentralized architectures such as smart grids, sensor networks, and peer-to-peer voting systems, agents frequently need to calculate the average of local data points (e.g., power consumption or temperature) without a central authority. While standard DAC algorithms achieve this through repeated state-sharing, they inherently leak private information. Traditional solutions like Differential Privacy (DP) mitigate this leak by adding noise, which unfortunately compromises the accuracy of the final result. This research proposes a way to provide privacy for real-valued inputs with known bounds without sacrificing the precision of the consensus.

The Two-Phase Protocol

The core of the proposed solution is a two-phase approach that separates the privacy-preserving masking from the actual consensus computation.

  1. The Privacy Phase (Masking): Instead of sharing their raw private input ($s_i$), each agent generates a local "mask." This is achieved by exchanging random numbers ($r_{ij}$) with immediate neighbors. For every value an agent sends, a corresponding value is received. Each agent then sums these differences to create a mask. Because every random value added by one agent is subtracted by another, the sum of all masks across the network is mathematically zero.
  2. The Consensus Phase: Agents add their zero-sum mask to their private input to create an "effective input." They then execute a standard, non-private consensus algorithm on these masked values. Since the masks sum to zero, the final converged value is the exact average of the original private inputs.
Figure 1: Illustration of the two-phase protocol in a 3-node network. The first phase involves exchanging random masks ($r_{ij}$), while the second phase executes the consensus process on masked values.

Key Innovations and Privacy Analysis

Scaling for Real-Valued Inputs

While previous iterations of this logic focused on integers, this paper extends the framework to real-valued inputs. By scaling inputs into a specific range $[0, 1/n)$ and utilizing fractional-part operators and modulo arithmetic, the authors maintain privacy rigor for continuous data. Furthermore, the protocol is designed to be asynchronous, allowing agents to proceed without strict synchronization, which is vital for real-world network deployments.

The Vertex Cut Condition and Perfect C-Privacy

The paper introduces the concept of "Perfect C-Privacy." It proves that the "view" of a set of colluding (adversarial) agents is statistically identical regardless of the honest agents' actual inputs, provided the sum of those inputs remains constant. The primary constraint is topological: privacy is guaranteed as long as the colluding agents do not form a "vertex cut." If the honest agents remain connected through at least one path that does not pass through an adversary, their individual data remains hidden.

Results and Implications

  • Perfect Accuracy: Unlike DP-based methods, this protocol converges to the 100% accurate average of the original inputs.
  • Connectivity-Based Security: The research establishes a direct link between network topology and privacy, showing that a $(t+1)$-connected network is secure against any $t$ colluding agents.
  • Functional Generalization: The method is not limited to averages; it can be adapted to privately compute any function that can be decomposed into a sum of individual functions.

Limitations and Future Work

The current protocol assumes "passive" (semi-honest) adversaries who follow the protocol but attempt to glean information. It does not yet account for "active" adversaries who might inject false data to manipulate the final average. Additionally, the system requires prior knowledge of the total number of agents ($n$) and input bounds for correct scaling. Future research may focus on strengthening privacy in sparse graphs where vertex cuts are more easily formed by small groups of adversaries.

Summary updated

BibTeX
@inproceedings{gupta2019statistical,
  author = {Nirupam Gupta and Jonathan Katz and Nikhil Chopra},
  title = {{Statistical Privacy in Distributed Average Consensus on Bounded Real Inputs}},
  booktitle = {ACC},
  year = {2019},
  doi = {10.23919/acc.2019.8814608},
}
Figure