Subspace Differential Privacy

Jie Gao, Ruobin Gong, Fang-Yi Yu

Abstract

Standard Differential Privacy (DP) often conflicts with "invariants"—hard constraints like "the total population of a state must be exact"—required by law or utility. This paper introduces Subspace Differential Privacy, a framework that builds these constraints directly into the privacy mechanism, ensuring the output is perfectly accurate on mandated totals while remaining provably private and, crucially, statistically unbiased.

Introduction

When organizations like the U.S. Census Bureau release data, they use Differential Privacy to protect individual identities. However, they are often legally mandated to keep certain totals (invariants) exactly correct. The current industry standard is to add privacy noise first and then "fix" the results using post-processing (optimization) to meet the constraints. This paper identifies a critical flaw in this approach: the introduction of systematic bias.

The Problem of Systematic Bias in Post-Processing

The authors highlight that post-processing optimization acts as a "black box" that lacks a transparent probabilistic description. In the 2020 Census demonstration data, the "TopDown" algorithm exhibited a clear trend: it tended to associate larger counts with positive errors and smaller counts with negative errors. This makes it difficult for social scientists and policy-makers to trust the statistical integrity of the resulting data, as the noise is no longer zero-mean or independent of the underlying values.

Analysis of systematic bias in the 2020 Census Disclosure Avoidance System (DAS). Left: Negative slopes indicate bias across states. Right: County-level errors in Illinois show a clear trend correlated with population size.

As shown in the figure above, the official DAS had statistically significant negative bias in 37 out of 48 regressions. This systematic error is a direct consequence of forcing noisy data to fit hard constraints after the noise has already been added.

Subspace Differential Privacy Framework

The authors propose moving the constraints from the post-processing stage to the mechanism design stage. They define Subspace Differential Privacy, where privacy is guaranteed for all queries except those that are linearly dependent on the invariants (which are treated as public knowledge).

They introduce two primary design frameworks:

  1. The Projection Framework: This takes an existing DP mechanism (like Gaussian or Laplace) and projects the noise onto the "null space" of the invariant constraints. This effectively "cancels out" the noise in the directions of the invariants.
  2. The Extension Framework: This allows curators to design a private mechanism for a smaller, unconstrained query and then "extend" it back to the full data space in a way that respects the invariants.

Unlike standard post-processing, these mechanisms are additive, meaning the noise is simply added to the true value. This makes the output "statistically intelligible"—researchers know exactly what the noise distribution looks like, which is vital for valid downstream analysis.

Key Insights and Theoretical Contributions

  • Invariants as Public Information: The core philosophy is that if an invariant is mandated to be exact, it is effectively public information. Subspace DP honestly acknowledges this by being "silent" on the privacy of those specific components while protecting everything else.
  • Unbiasedness by Design: Because the projection mechanisms are additive and the noise is centered at zero, the resulting private data is provably unbiased. This solves the "small population undercounting" issue seen in previous Census algorithms.
  • Conditioning vs. Projection: A key theoretical finding (Theorem 4.2) proves that for spherical Gaussian noise, projecting the noise is mathematically equivalent to conditioning the distribution on the invariants being true. This provides a rigorous bridge to Bayesian inference.

Experimental Evaluation

The paper evaluates the proposed mechanisms using two primary datasets: the 2020 Census Disclosure Avoidance System (DAS) Demonstration Data and a Spatio-temporal Mobility Dataset from Tsinghua University.

Bias Elimination

In the Census data analysis, while the official DAS showed significant bias, the authors' Projected Laplace Mechanism remained perfectly unbiased across all population sizes. This demonstrates that it is possible to satisfy legal invariants without compromising statistical validity.

Scalability and Optimality

On the high-dimensional mobility dataset (6,720-dimensional query with 740 linear constraints), the mechanism handled hundreds of constraints simultaneously with only a slight loss in the scale of the noise. Furthermore, the authors developed a correlated Gaussian mechanism for linear queries that achieves "near-optimal" accuracy (minimizing Mean Squared Error) while respecting the subspace constraints.

Conclusion and Future Work

Subspace Differential Privacy provides a robust solution for data release scenarios where hard constraints are non-negotiable. By integrating constraints into the mechanism itself, it eliminates the systematic bias introduced by traditional post-processing.

Future work remains in handling inequality constraints, such as non-negativity (e.g., "Population cannot be less than zero"). Enforcing non-negativity is a major source of bias in current systems, and addressing this within the Subspace DP framework without re-introducing bias is a significant open challenge. Additionally, extending these concepts to discrete or categorical data is a promising avenue for research.

Summary updated

BibTeX
@inproceedings{gao2022subspace,
  author = {Jie Gao and Ruobin Gong and Fang-Yi Yu},
  title = {{Subspace Differential Privacy}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2022},
  doi = {10.1609/aaai.v36i4.20315},
}
Figure