Optimality of Matrix Mechanism on $\ell_p^p$-metric

Jingcheng Liu, Jalaj Upadhyay, Zongrui Zou

TL;DR

This paper extends the theoretical guarantees of the matrix mechanism in differential privacy (DP) to the natural $\ell_p^p$-error metric for $p \geq 2$. The authors demonstrate that the matrix mechanism is optimal up to logarithmic factors among all $(\epsilon, \delta)$-differentially private mechanisms, successfully bypassing the restrictive assumption of unbiased estimators required by previous state-of-the-art proofs.

What Problem Does This Paper Address?

When analyzing sensitive datasets, data curators often need to answer a large suite of linear queries (such as counting or summation queries) while preserving privacy. Under the framework of Differential Privacy (DP), noise must be added to the query answers to mask individual contributions.

A central challenge in DP is minimizing the error introduced by this noise. Traditionally, performance is measured using mean squared error ($\ell_2^2$) or absolute error ($\ell_\infty$). However, to fully understand the probability distribution and higher moments of the error, researchers need to analyze the more general $\ell_p^p$-error metric, which seamlessly interpolates between squared and absolute errors.

Prior to this work, tight characterizations of query hardness were limited: they either only applied to the $\ell_2^2$ metric or were restricted to unbiased mechanisms under a less natural $\ell_p^2$ metric. Because practical DP mechanisms can be intentionally biased to reduce overall variance, a unified framework that establishes the limits of general, potentially biased mechanisms under the $\ell_p^p$ metric was missing.

Methods

The authors analyze the matrix mechanism (also known as the factorization mechanism), which answers a workload matrix of queries $A$ by factoring it into two matrices ($A = LR$), adding noise to the intermediate representation $Rx$, and then projecting it back using $L$.

To establish lower bounds for any general $(\epsilon, \delta)$-DP mechanism, the authors employ several sophisticated mathematical techniques:

  • Generalized Factorization Norms ($\gamma_{(p)}(A)$): They define a norm based on the "$p$-trace" of matrices to characterize the fundamental hardness of a query matrix $A$.
  • Sensitivity Polytope Geometry: They utilize the width ($\kappa(A)$) of the sensitivity polytope—the geometric space containing all possible differences between neighboring datasets—to bound the required noise scale.
  • Information-Theoretic Reductions: To handle approximate DP ($\delta > 0$), they map the privacy constraints to $\chi^2$-divergence bounds between output distributions on neighboring datasets. They then apply the classical Hammersley-Chapman-Robins (HCR) bound to lower-bound the variance.
  • Bias Case Analysis: Unlike prior work that assumed a bias of zero, the authors split their analysis: if a mechanism introduces large bias, its $\ell_p^p$ error is trivially large; if the bias is small, the geometric and variance bounds force the error to be large.

Datasets

This is a purely theoretical paper focused on proving fundamental mathematical bounds. Consequently, no empirical datasets or benchmarks were used for training or evaluation.

Key Insights and Ideas

  • The Natural Metric Advantage: The authors argue that the $\ell_p^p$ metric (estimating $\mathbb{E}[|v_1|^p + \dots + |v_m|^p]$) is far more natural for data analysis than the previously studied $\ell_p^2$ metric, as it directly captures the $p$-th moment of the error vector.
  • Conquering Bias: The major "aha moment" is showing that unbiasedness is not a mathematical bottleneck for proving instance optimality. By bounding the impact of a mechanism's bias geometrically, they prove that even clever, highly biased non-oblivious mechanisms cannot beat the matrix mechanism by more than logarithmic factors.
  • Unifying Classic Problems: The generalized framework provides an elegant way to derive tight bounds for classic DP problems, such as prefix sums (continual data release) and parity queries, under a single umbrella.

Key Results

  • Instance Optimality: The authors prove that for any query matrix $A$ in a high-privacy regime ($\epsilon < 1/2$), the matrix mechanism achieves an $\ell_p^p$ error that matches the lower bound of any $(\epsilon, \delta)$-DP mechanism up to an $O(\log(1/\delta) \cdot \min\{p, \log(2m)\})$ factor.
  • Prefix Sum Queries: They show that the optimal $\ell_p^p$-error for prefix sums is $\Theta_{\epsilon, \delta}(n^{1/p} \log n)$ for all constant $p$, generalizing previous bounds that only held for $p=2$.
  • Parity Queries: They establish a tight lower bound of $\Omega_{\epsilon, \delta}(m^{1/2 + 1/p})$ for parity queries, proving that the standard Gaussian mechanism is optimal whenever $\min\{p, \log m\} = O(1)$.

Limitations and Future Work

The primary limitation acknowledged by the authors is that their lower bound is a worst-case lower bound over all inputs $x \in \mathbb{R}^n$. They demonstrate that a strict per-instance optimal lower bound (for a specific input $x_0$) is impossible for general mechanisms due to trivial, data-dependent mechanisms that cheat by always outputting the exact answer for $x_0$.

However, the authors leave open an intriguing direction: Does an asymmetric instance-optimal lower bound exist for general linear queries over all general mechanisms? (i.e., proving that if a mechanism performs exceptionally well on $x_0$, it must perform poorly on a neighboring $x'$).

Summary updated

BibTeX
@inproceedings{liu2025optimality,
  author = {Jingcheng Liu and Jalaj Upadhyay and Zongrui Zou},
  title = {{Optimality of Matrix Mechanism on $\textbackslash\{\}ell\_p^p$-metric}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=fbqOEOqurU},
}
Figure