Optimality of Matrix Mechanism on ℓpp-metric

Jingcheng Liu, Jalaj Upadhyay, Zongrui Zou · DOI

Abstract

Differential privacy (DP) provides a robust framework for analyzing sensitive datasets while protecting individual privacy. A fundamental challenge in DP is the efficient answering of linear queries—computing $Ax$ for a dataset $x$ and query matrix $A$—while minimizing additive noise. Historically, error analysis has focused on specific metrics like Mean Squared Error ($L_2$) or Absolute Error ($L_\infty$). This paper establishes the near-optimality of the Matrix Mechanism across the entire spectrum of $\ell_p^p$-metrics for $p \ge 2$. By characterizing the fundamental hardness of these queries through generalized factorization norms and geometric sensitivity polytopes, the authors provide unified, tight error bounds for benchmark workloads such as prefix sums and parity queries.

Introduction

When releasing statistics from sensitive data, such as medical records or census information, practitioners must balance utility with privacy. Differential privacy has emerged as the gold standard for this task. One of the most common operations is answering a set of linear queries, represented as a matrix $A$. To satisfy $(\epsilon, \delta)$-differential privacy, noise must be injected into the query results. The central optimization problem is determining the minimum amount of noise required to achieve a target privacy level.

While significant progress has been made for specific error metrics, a unified theory covering the range of $\ell_p$ norms has been lacking. This paper addresses this gap by proving that the Matrix Mechanism—a well-established algorithmic framework—is essentially the best possible approach for any $\ell_p^p$-metric where $p \ge 2$.

The Matrix Mechanism and the $\ell_p^p$-Metric

The Matrix Mechanism, also known as the factorization mechanism, does not add noise directly to the final answer $Ax$. Instead, it factorizes the query matrix $A$ into two matrices, $L$ and $R$, such that $A = LR$. The mechanism computes $Rx$, adds noise to this intermediate result, and then applies $L$ to reconstruct the final answer. The efficiency of this approach depends on finding a factorization that minimizes the total noise propagated to the output.

This paper introduces the $\ell_p^p$-error metric as a natural bridge between existing standards. This metric captures the $p$-th moment of the error vector, seamlessly interpolating between squared error ($p=2$) and absolute error ($p \to \infty$). To analyze this, the authors utilize a generalized factorization norm, $\gamma_{(p)}(A)$, based on the "$p$-trace" of a matrix, which characterizes the minimum possible error achievable by the Matrix Mechanism.

Theoretical Contributions and Lower Bounds

A major hurdle in proving the optimality of any DP mechanism is establishing lower bounds that apply to all possible algorithms, including those that might be biased. Many prior results assumed "unbiased" mechanisms (where noise averages to zero), which simplifies the math but limits real-world applicability.

By employing sophisticated geometric and statistical tools—including sensitivity polytopes, $\chi^2$-divergence analysis, and the Hammersley-Chapman-Robins bound—the authors prove that no $(\epsilon, \delta)$-DP algorithm can significantly outperform the Matrix Mechanism for $p \ge 2$. They demonstrate that the difficulty of a query set is fundamentally linked to the "width" of its sensitivity polytope, a geometric representation of how much query answers change when a single individual's data is modified.

Key Results on Benchmark Workloads

The paper evaluates its theoretical framework on two essential query workloads:

  1. Prefix Sums: These queries ask for the running total of a sequence, which is critical for the continual release of statistics over time. The authors establish a tight error bound of $\tilde{\Theta}(n^{1/p} \log n)$. For the common case of $p=2$ (MSE), this recovers the known $O(\sqrt{n} \log n)$ bound, while providing new, tight generalizations for all $p \ge 2$.
  2. Parity Queries: Often used to prove theoretical hardness in computer science, parity queries involve determining the parity of various data subsets. The authors provide a lower bound of $\Omega(m^{1/2 + 1/p})$ for the worst-case error on these queries.

Furthermore, the authors show that for the $\ell_\infty$ metric, their approach provides a $\sqrt{\log m}$ tighter lower bound than previous methods based on discrepancy theory, effectively closing a long-standing gap in the literature.

Conclusion

The findings represent a significant unification of differential privacy theory. The "aha moment" of the research is the discovery that a single algorithmic framework—the Matrix Mechanism—is near-optimal across a vast range of error metrics and query types. Practitioners do not need to invent new "tricks" for different values of $p$; the Matrix Mechanism provides a universal solution.

While the paper focuses on worst-case error bounds, future work may explore instance-optimal bounds—those tailored to specific datasets—though such bounds are notoriously difficult to achieve in general DP settings. For now, this work provides the most comprehensive characterization to date of the fundamental limits of linear queries in differential privacy.

Summary updated

BibTeX
@inproceedings{liu2025optimality,
  author = {Jingcheng Liu and Jalaj Upadhyay and Zongrui Zou},
  title = {{Optimality of Matrix Mechanism on ℓpp-metric}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
}
Figure