Abstract
Differential Privacy (DP) mechanisms for count data are typically optimized to minimize specific error metrics. However, unconstrained optimization often leads to "pathological" mechanisms that exhibit undesirable behaviors, such as reporting gaps or over-favoring extreme values. This paper introduces Constrained Differential Privacy, a framework that imposes structural requirements—including fairness, honesty, and monotonicity—onto the mechanism design. We show that these constraints eliminate pathologies with negligible impact on utility. We further provide an Explicit Fair Mechanism (EM), a closed-form solution that satisfies these properties and outperforms standard mechanisms in real-world scenarios.
Introduction
Releasing aggregate statistics, such as the count of individuals with a specific medical condition, requires noise addition to preserve privacy. While Linear Programming (LP) can identify "optimal" noise distributions for specific loss functions, these solutions are frequently impractical. For instance, a mechanism might consistently report a single value regardless of the input, or leave "gaps" in the output range. Such behaviors undermine user trust and complicate downstream data analysis.
The Pathologies of Unconstrained Optimization
The core issue identified is that "optimal" solutions are often tuned too tightly to specific priors or loss functions, resulting in non-intuitive behavior. A mechanism optimized for squared error might decide that reporting the boundaries (0 or $n$) is the best strategy to minimize average error, even if it ignores the true data. These "spikes" and "gaps" make the data appear untrustworthy to end-users and can lead to significant errors when the underlying data distribution deviates from the assumed prior.
Constrained Mechanism Design
To address these flaws, we propose a constrained approach. Mechanisms are required to satisfy a set of "natural" structural properties:
- Honesty: The mechanism should be more likely to report the true value than any specific incorrect value.
- Monotonicity: Probability should decrease as the distance from the truth increases.
- Fairness: The probability of a correct report should be independent of the true value.
- Symmetry: The mechanism should treat both ends of the count range equally.
By incorporating these as linear constraints in the optimization process, we ensure "well-behaved" outputs. We also derive the Explicit Fair Mechanism (EM), which provides these benefits in a closed-form expression, removing the need for per-query optimization.
Key Insights and Results
Our evaluation using the UCI Adult dataset and synthetic binomial data reveals several critical insights:
- Negligible Utility Cost: The "cost of sanity" — the increase in error due to these constraints — is minimal, approximately a factor of $1 + 1/n$. For most practical purposes, this utility cost is negligible.
- Robustness to Distribution: While the standard Truncated Geometric Mechanism (GM) is often considered a default, it fails basic fairness tests when $n$ is small or privacy requirements are strict. In contrast, our Fair Mechanism (EM) is more robust to varying data distributions.
- Simplified Selection: Despite many possible property combinations, the design space effectively collapses into four optimal behaviors, simplifying the choice for practitioners.
Conclusion
Constrained Differential Privacy provides a path toward mechanisms that are both mathematically sound and practically reliable. By prioritizing structural properties like honesty and fairness, we can eliminate the pathologies of unconstrained optimization without sacrificing significant utility. The Explicit Fair Mechanism offers a ready-to-use solution for practitioners seeking robust privacy for count data.
Summary updated