Normalized Square Root: Sharper Matrix Factorization Bounds for Differentially Private Continual Counting

Monika Henzinger, Nikita P. Kalinin, Jalaj UpadhyayarXiv 2025 · DOI

Introduction

In the field of differentially private (DP) machine learning, the matrix mechanism is a fundamental tool for releasing linear queries while maintaining data privacy. A primary application is "continual counting," where a sequence of prefix sums (e.g., cumulative gradient updates) must be released. This process is represented by the lower-triangular all-ones workload matrix, $M_{count}$. To implement this privately, the matrix is factorized into $A = LR$, where the resulting error—measured as Mean Squared Error (MeanSE) or Maximum Squared Error (MaxSE)—is determined by specific norms of these factors.

The Challenge: Bridging the Theoretical Gap

For decades, a significant gap has existed between the theoretical lower bounds (the minimum possible error) and the upper bounds achieved by practical algorithms. Existing explicit factorizations often excelled in one metric while failing in another. For instance, the Square Root factorization provides low average error (MeanSE) but performs poorly in the worst case (MaxSE). Conversely, the Group Algebra approach prioritizes worst-case performance at the expense of average accuracy. This paper seeks a "best of both worlds" explicit factorization that minimizes both error metrics.

Comparison of MaxSE and MeanSE constant terms for various factorization methods across matrix sizes.

The Normalized Square Root (NSR) Factorization

The authors propose the Normalized Square Root (NSR) factorization, an explicit method that achieves near-optimal performance for both MeanSE and MaxSE. The construction follows a clever three-step process:

  1. Square Root Initialization: Start with the standard square root of the counting matrix ($C^2 = M_{count}$).
  2. Column Normalization: Calculate the $\ell_2$-norms of the columns of $C$ to create a diagonal normalization matrix $D$.
  3. Re-factorization: Define new factors $\tilde{C} = CD^{-1}$ and $\tilde{B} = M_{count}\tilde{C}^{-1}$.

While column normalization has been used as a heuristic in practical systems (such as those at Google), this work provides the first rigorous theoretical justification for its efficacy.

Theoretical Insights: Landau Constants

The core of the analysis lies in a surprising connection to classical functional analysis. The authors discovered that the sum of the squares of the coefficients in the square root factorization corresponds exactly to Landau constants, mathematical values studied since the early 20th century. By leveraging results like Wallis' inequality, the authors imported deep results from classical analysis to solve this modern privacy problem, allowing them to derive significantly tighter asymptotic bounds.

Comparison of lower and upper bounds for the counting matrix factorization across different research works.

Key Results

The NSR factorization provides the sharpest explicit bounds to date for the counting matrix:

  • MaxSE ($\gamma_2$ norm): The gap between the lower and upper bound is reduced to just $0.14 + o(1)$. Specifically, the norm is bounded between $\approx 0.701 + \log(n)/\pi$ and $\approx 0.846 + \log(n)/\pi$.
  • MeanSE ($\gamma_F$ norm): The gap is even tighter, reaching $0.047 + o(1)$.
  • Practical Superiority: Numerical simulations show that NSR consistently outperforms the previous best-known explicit factorization (Group Algebra) by at least $0.14$ in the constant term for MaxSE, and it scales far better than computationally expensive Semidefinite Programming (SDP) solvers.

Conclusion

The Normalized Square Root factorization represents a major step forward in closing the gap between theory and practice in DP continual counting. By providing an explicit, scalable formula that achieves near-optimal error across both average and worst-case metrics, this work simplifies the deployment of high-performance private gradient updates in large-scale deep learning.

Summary updated

BibTeX
@misc{henzinger2025normalized,
  author = {Monika Henzinger and Nikita P. Kalinin and Jalaj Upadhyay},
  title = {{Normalized Square Root: Sharper Matrix Factorization Bounds for Differentially Private Continual Counting}},
  year = {2025},
  eprint = {2509.14334},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2509.14334},
}
Figure