NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Understanding Information Disclosure from Secure Computation Output: A Study of Average Salary Computation

Alessandro Baccarini, Marina Blanton, Shaofeng Zou · DOI

Abstract

Secure multi-party computation has seen substantial performance improvements in recent years and is being increasingly used in commercial products. While a significant amount of work was dedicated to improving its efficiency under standard security models, the threat models do not account for information leakage from the output of secure function evaluation. Quantifying information disclosure about private inputs from observing the function outcome is the subject of this work. Motivated by the City of Boston gender pay gap studies, in this work we focus on the computation of the average of salaries and quantify information disclosure about private inputs of one or more participants (the target) to an adversary via information-theoretic techniques. We study a number of distributions including log-normal, which is typically used for modeling salaries. We consequently evaluate information disclosure after repeated evaluation of the average function on overlapping inputs, as was done in the Boston gender pay study that ran multiple times, and provide recommendations for using the sum and average functions in secure computation applications. Our goal is to develop mechanisms that lower information disclosure about participants' inputs to a desired level and provide guidelines for setting up real-world secure evaluation of this function.

Introduction

In the field of privacy-preserving computation, it is often assumed that if the computation process is cryptographically secure—using techniques like Secure Multi-Party Computation (MPC) or Homomorphic Encryption—the privacy mission is complete. However, the final output of a function, even a simple average, inherently contains information about the individual inputs. For example, in a two-party salary average, knowing the result and one's own salary reveals the other party's salary exactly.

This work addresses the formal quantification of "output leakage," specifically motivated by real-world scenarios like the Boston gender pay gap studies. In such cases, organizations aim to compute aggregate statistics without exposing individual payroll data. We quantify how much an adversary learns about a target's input from the function outcome and provide concrete guidelines for maintaining privacy.

Methodology

To measure information disclosure, we employ several information-theoretic metrics:

  • Shannon Entropy and Min-Entropy: Used to quantify the uncertainty an attacker has regarding a target's input before and after observing the output.
  • Attacker’s Weighted Average Entropy (awae): A metric measuring the average information gain by an adversary, assuming they can choose their own input to maximize knowledge.
  • Probabilistic Modeling: We analyze distributions common in financial data, including Uniform, Poisson, and Normal distributions. We place particular emphasis on the Log-normal distribution, which is the standard for modeling salary data.
  • Analytical Derivations: For normal distributions, we derive exact mathematical expressions for entropy loss. For log-normal variables, we utilize the Fenton-Wilkinson approximation to model their sum.

Instead of traditional training datasets, we utilize simulated distributions with parameters derived from economic research (e.g., $\mu = 1.6702$ and $\sigma^2 = 0.145542$). The Boston Gender Pay Gap Study serves as a qualitative benchmark for our threat models, particularly regarding repeated studies with overlapping participants.

Key Insights and Results

Adversarial Input Independence

A significant finding is the formal proof that the information an attacker learns about a target is independent of the attacker's own input value. In a sum-based function, an attacker can simply subtract their own contribution, meaning they gain no additional leverage by misreporting their own data.

Figure 1: Entropy metrics demonstrating that information disclosure (awae) is independent of the attacker's input value.

As shown in Figure 1, the Attacker’s Weighted Average Entropy ($awae$) remains constant (horizontal dashed lines) regardless of the attacker's input $x_A$. This confirms that the attacker's choice of input does not affect the average amount of information leaked about the target.

The "Spectator" Rule and Privacy Thresholds

Privacy in MPC is largely a function of the number of participants. We define "spectators" as neutral, non-adversarial participants who are not the target. Our results show:

  • 5% Leakage Threshold: To limit information disclosure to less than 5% of the original entropy, at least 5-6 spectators are required.
  • 1% Leakage Threshold: To reach a stricter 1% threshold, at least 24-25 spectators are needed.
  • Distribution Consistency: Entropy loss curves are remarkably similar across Uniform, Poisson, Normal, and Log-normal distributions, suggesting these guidelines are robust for various data types.

Multi-Execution Risks

Running a study multiple times (e.g., annually) introduces additional risks. We found that a 50% overlap in participants between two executions minimizes the worst-case information disclosure. However, repeated execution still increases risk; to maintain a 5% leakage target in a two-year study with 50% overlap, the required spectator count rises from 5 to 8.

Discussion and Limitations

While this study provides a rigorous framework for quantifying output leakage, several areas remain for future work. Our analysis primarily assumes that inputs are Independent and Identically Distributed (IID) and that participant values remain static between repeated studies. If salaries change significantly between executions, the leakage patterns may shift. Furthermore, while Shannon entropy is a standard metric, it may not capture all nuances of "value" (e.g., the sensitivity of the most significant bit versus the least significant). Future research could explore "gain functions" to better understand the practical utility of leaked information to an adversary.

Summary updated

BibTeX
@misc{baccarini2022understanding,
  author = {Alessandro Baccarini and Marina Blanton and Shaofeng Zou},
  title = {{Understanding Information Disclosure from Secure Computation Output: A Study of Average Salary Computation}},
  year = {2022},
  eprint = {2209.10457},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2209.10457},
}
Figure