[Paper Review] Multi-Epoch Matrix Factorization Mechanisms for Private Machine Learning
This paper introduces multi-epoch matrix factorization mechanisms for differentially private (DP) machine learning, extending online matrix factorization to support multiple passes over data. It proposes a closed-form dual formulation for optimal matrix computation under multi-participation sensitivity constraints and an efficient FFT-based mechanism, achieving state-of-the-art privacy-utility tradeoffs—outperforming DP-SGD even at low privacy budgets (ε ≈ 2) without privacy amplification.
We introduce new differentially private (DP) mechanisms for gradient-based machine learning (ML) with multiple passes (epochs) over a dataset, substantially improving the achievable privacy-utility-computation tradeoffs. We formalize the problem of DP mechanisms for adaptive streams with multiple participations and introduce a non-trivial extension of online matrix factorization DP mechanisms to our setting. This includes establishing the necessary theory for sensitivity calculations and efficient computation of optimal matrices. For some applications like $>\!\! 10,000$ SGD steps, applying these optimal techniques becomes computationally expensive. We thus design an efficient Fourier-transform-based mechanism with only a minor utility loss. Extensive empirical evaluation on both example-level DP for image classification and user-level DP for language modeling demonstrate substantial improvements over all previous methods, including the widely-used DP-SGD . Though our primary application is to ML, our main DP results are applicable to arbitrary linear queries and hence may have much broader applicability.
Motivation & Objective
- To address the limitation of existing DP mechanisms that are restricted to single-epoch training, which is unnatural in modern ML pipelines.
- To formalize sensitivity calculations for matrix mechanisms under general participation schemas with vector contributions, enabling application to high-dimensional ML models.
- To develop a computationally efficient method for optimal matrix factorization under multi-participation constraints, especially for large-scale SGD training.
- To design a near-optimal, FFT-based mechanism that reduces computational cost while preserving utility, particularly for long training runs.
- To empirically validate the proposed mechanisms on example-level and user-level DP settings, demonstrating superior privacy-utility tradeoffs.
Proposed method
- Proposes a framework for computing sensitivity of matrix mechanisms under general participation schemas, with theoretical conditions ensuring tractability and vector-to-scalar reduction (Cor. 2.1, Thm. H.1).
- Derives a closed-form dual function for the loss-minimization problem of optimal matrix factorization under multi-participation sensitivity constraints (Eq. 6), generalizing prior work.
- Introduces an FFT-based mechanism that enables efficient computation of matrix-vector products in O(n log n) time, leveraging circulant and Toeplitz matrix structures.
- Uses a modified online Honaker-based decoder for streaming prefix sums, with improvements to tree-completion for better accuracy in DP-FTRL-style pipelines.
- Employs stamping and sensitivity analysis (Thm. 2.1) to optimize matrix design for multi-epoch settings, enabling near-optimal performance.
- Applies the matrix mechanism to linear queries in DP-ML, with theoretical guarantees applicable beyond ML to online PCA, marginal estimation, and top-k selection.
Experimental results
Research questions
- RQ1Can matrix factorization mechanisms be extended to support multiple passes (epochs) over a dataset while maintaining differential privacy?
- RQ2What are the theoretical conditions under which sensitivity computation and optimal matrix factorization remain tractable under multi-participation and vector contributions?
- RQ3How can the computational cost of optimal matrix factorization be reduced for large-scale training (e.g., >10,000 SGD steps)?
- RQ4Can an FFT-based mechanism achieve near-optimal utility with significantly reduced computation, even under multi-epoch settings?
- RQ5How do the proposed mechanisms compare empirically to DP-SGD and prior matrix mechanisms in terms of privacy-utility tradeoffs across example-level and user-level DP settings?
Key findings
- The proposed optimal multi-epoch matrix mechanism outperforms DP-SGD with privacy amplification at privacy budgets as low as ε ≈ 2, achieving state-of-the-art accuracy in image classification on CIFAR-10.
- The FFT-based mechanism achieves near-optimal performance with only a minor utility loss, enabling efficient computation even for large-scale training.
- The method reduces computational cost by 340× compared to full-batch differentially private gradient descent, while approaching the folklore upper bound of optimal DP learning.
- Theoretical analysis confirms that sensitivity computation under multi-participation can be NP-hard, but tractable under specific conditions (Cor. 2.1, Thm. H.1), enabling practical optimization.
- Empirical results show consistent improvements across 12 repeated runs with 95% bootstrapped confidence intervals, validating robustness and generalization.
- The framework is broadly applicable beyond ML, extending to arbitrary linear queries such as online PCA, marginal estimation, and top-k selection.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.