arXiv:2610.12712cs.CROct 2026

Manuscript Offprint

arXiv:2610.12712

Better Batches, Better Privacy: Random Allocation for DP-BandMF

Ryan McKenna, Arun Ganesh

Abstract

The current state of the art for batch selection and noise addition in differentially private training is a combination of DP-BandMF (informally, DP-SGD where the noise added in two different steps can be correlated if the steps are within b of each other) and privacy amplification by sampling via Monte Carlo accounting. First, whereas prior batch selection strategies for DP-BandMF were inspired by Poisson sampling, random allocation is known to outperform Poisson sampling for DP-SGD. We therefore propose and analyze new batch selection strategies for DP-BandMF inspired by random allocation, improving RMSE by up to 1.85×1.85\times over previous work. Second, Monte Carlo accounting typically requires drawing Ω(1/δ)\Omega(1/\delta) samples from a privacy loss distribution, making accounting costly. We increase sampling and scoring throughput by two orders of magnitude through a carefully optimized GPU implementation. Finally, previous work chose the DP-BandMF strategy matrix and the batch selection strategy independently. We give a simple framework for choosing these parameters jointly, reducing RMSE by up to 13.4% over fixed strategy matrices.

1 Introduction

Differential privacy (DP) [Dwork et al., 2006] guarantees that an algorithm’s output on two datasets DD, D′D' differing in one example satisfy some indistinguishability guarantee. The de facto DP ML algorithm is differentially private stochastic gradient descent (DP-SGD) [Abadi et al., 2016], which clips each per-example gradient to a maximum norm, and adds Gaussian noise to their sum.

A key technique for DP–SGD’s success is privacy amplification by sampling [Kasiviswanathan et al., 2008]. Privacy amplification by sampling is the observation that by randomizing batches in DP–SGD, the problem of guessing whether D or D′D' was used becomes strictly harder, allowing us to reduce the noise while retaining the same privacy guarantee. For most of the time since the popularization of DP–SGD by the seminal work of [Abadi et al., 2016], the default method for randomizing batches (which we refer to as a batch selection strategy) has been Poisson sampling: each example in the dataset is included in each batch independently with probability p.

Recent implementations of data processing pipelines [Chua et al., 2024a, Ritter et al., 2023] allow for random access to data elements and arbitrary batch sizes, making almost any batch selection strategy readily implementable. In turn, choosing batch selection strategies which admit lower noise multipliers is a low-barrier, high-yield path to improving practical DP training. In light of this, several recent works have proposed alternatives to Poisson sampling, improving on it in two directions:

• Controlling participation variance [Shenfeld and Feldman, 2026, Dong et al., 2025, Dong and Özgür, 2026]: A downside of Poisson sampling is that an example can participate many times, meaning in some extreme settings Poisson sampling is actually worse than deterministic batching for privacy [Chua et al., 2024b]. A natural correction is random allocation 1^{1}: fix the number of participations, and only randomize their position.

• Matrix factorization [Choquette-Choo et al., 2025, Dong and Ganesh, 2026]: DP-SGD adds independent noise in each step. DP-MF is a generalization that allows one to add noise that is correlated in different steps.

1^{1}As named by Shenfeld and Feldman [2026]; it is also called balanced iteration subsampling by the concurrent work of Dong et al. [2025].

DP-MF breaks a standard assumption in privacy analysis that each step's randomness is independent. Choquette-Choo et al. [2025] bypassed this assumption by analyzing privacy amplification by sampling for DP-MF via Monte Carlo accounting, where a sufficient primitive is to compute the likelihood ratio for an output of the algorithm on adjacent datasets. For Poisson sampling this primitive is inefficient, but several works have proposed alternative batch selection strategies for which this primitive is efficient.

While for DP-SGD Dong and Özgür [2026] provides evidence that random allocation is near-optimal for DP-SGD, for DP-MF there is still a rich yet largely unexplored space of batch selection strategies. As DP-MF can substantially improve utility in practice compared to DP-SGD [Xu et al., 2023], identifying the best combination of privacy amplification and DP-MF is an important practical question. In this paper we attempt to enumerate and compare some of these strategies.

Contributions We connect several ideas presented in recent prior work: (1) random allocation for DP-SGD [Shenfeld and Feldman, 2026, Dong et al., 2025], (2) Monte Carlo accounting for DP-MF [Choquette-Choo et al., 2023, Dong and Ganesh, 2026], and (3) parametric DP-MF optimization under Monte Carlo accounting [Kalinin et al., 2026, McKenna, 2025].

• Random Allocation for DP-BandMF: We first attempt to identify the best batch selection strategy for DP-BandMF, a subclass of DP-MF that is particularly amenable to privacy amplification. We introduce three new randomized batch selection strategies for DP-BandMF that guarantee exact per-example participation counts while enforcing a useful “b-separation” property in Section 3.2. We derive exact recurrence relations for their likelihood ratios to enable Monte Carlo accounting in Section 3.3. Across all evaluated settings our proposed strategies consistently improve utility, achieving a median 1.54×1.54 \times (up to 1.85×1.85 \times) improvement in RMSE (the standard utility metric for DP-MF) over the baseline, and a median 1.31×1.31 \times (up to 1.36×1.36 \times) improvement over the prior state of the art.

• Efficient Monte Carlo Accounting: We next aim to make Monte Carlo accounting more efficient. We show that the structure of our batch selection strategies and Toeplitz matrices make Monte Carlo accounting particularly well-suited to GPU acceleration in Section 3.4. Through a carefully-optimized JAX implementation, we demonstrate throughput exceeding 10610^6 privacy loss samples per second on an H100 GPU in Fig. 2b, representing a 50×50\times to 100×100\times speedup over existing CPU baselines and making the technique more practical and accessible.

• Strategy Optimization under Monte Carlo Accounting: The above contributions assume the DP-BandMF strategy matrix is fixed in advance. We propose a simple and efficient method to optimize over a single-parameter class of strategy matrices under Monte Carlo accounting, and demonstrate that this can reduce RMSE over fixed strategies by up to 13.4%.

References (62)