Introduction
Differentially private (DP) continual counting is a fundamental task in privacy-preserving data analysis, enabling the tracking of running totals (prefix sums) for sensitive data streams. Applications range from monitoring website traffic to aggregating gradients in federated learning. The Matrix Factorization Mechanism (MFM) is the state-of-the-art approach for this problem, decomposing the prefix sum operation into two matrices, $L$ and $R$. While recent "Group Algebra" factorizations have achieved record-low theoretical error, their practical deployment has been hindered by high computational and memory costs, which typically scale linearly with the stream length $n$.
Methodology
This work introduces a memory-efficient variant of Group Algebra factorization by integrating it with a novel binning technique. The approach rests on several key technical contributions:
Structural Analysis of Group Algebra Factors
The authors demonstrate that the factors in Group Algebra factorization, which traditionally involve complex roots of unity, are actually real-valued. Furthermore, they prove that these factors exhibit monotonicity—values within the matrices increase or decrease predictably across rows. This structural insight is crucial for the subsequent efficiency optimizations.
Binning and Sparsification
Leveraging the discovered monotonicity, the authors apply a "binning" strategy. Instead of maintaining every unique value in the matrix $L$, adjacent values with similar magnitudes are grouped into bins and represented by a single value. This approximation is shown to be an $(\eta, \mu)$-perturbation of the original matrix. By using prefix sums of the noise vector, the final result can be computed in time proportional to the number of bins rather than the total stream length.
Stability and Spectral Norms
To ensure the mechanism remains accurate after binning, the authors provide a rigorous proof that the submatrices of this factorization have bounded inverse spectral norms (specifically $\leq 250$). This bound guarantees that the approximation does not introduce instability or excessive error into the DP mechanism.
Key Results
The proposed binned factorization significantly improves the efficiency of DP prefix sums without sacrificing accuracy:
- Computational Efficiency: The memory and time complexity per row is reduced to $O_\zeta(\sqrt{n}(\log n)^{3/2})$, a substantial improvement over the previous $O(n)$ requirement.
- Accuracy Preservation: The approximation error (MSE and MaxSE) increases by only a marginal factor of $(1 + \zeta)$, where $\zeta$ is a user-tunable parameter.
- Scalability: The binned factorization can be initialized in $O(n)$ time, making it practical for very long data streams.
Discussion and Limitations
While this method achieves state-of-the-art performance for prefix sums, its application to other workload matrices—such as sliding windows or momentum-based counts—remains an open research question. Additionally, while the error is minimized, it is still unknown if Group Algebra factorization can reach the strictly logarithmic error bounds achieved by certain (less efficient) square root factorizations. Future work may also focus on tightening the theoretical constants, such as the spectral norm bound, to further enhance practical performance.
Summary updated