arXiv:2610.17159stat.MLOct 2026

Manuscript Offprint

arXiv:2610.17159

A Generalized McDiarmid Inequality: Sample Reuse and Non-Uniform Unbounded Differences

Jeremiah Birrell

Abstract

We develop a novel generalization of McDiarmid's concentration inequality and use it to obtain a uniform law of large numbers result and error bounds on stochastic optimization problems which simultaneously incorporate two key features: 1) They capture the benefit of training sample reuse in algorithms that also employ easily-sampled auxiliary random variables. 2) They allow for one-component mean-difference bounding functions which are both unbounded in the component of interest and have non-uniform dependence on another component. We demonstrate the utility of our method by deriving concentration inequalities for score-based generative modeling. This application naturally leverages both key features of our new tools: 1) It utilizes auxiliary Gaussian random variables in conjunction with the training samples; accounting for training sample reuse results in tighter error bounds by effectively integrating out the dependence on the auxiliary random variables. 2) The ability to handle non-uniform mean-difference bounding functions allows us to treat unbounded score models and data distributions with unbounded support.

Keywords concentration inequalities · uniform law of large numbers · stochastic optimization · denoising score matching

1 Introduction

In this work we derive a novel generalization of McDiarmid's bounded differences concentration inequality [13] which allows for a non-uniform one-component difference bounds and use this to derive statistical error bounds on uniform law of large numbers (ULLN) and stochastic optimization problems. Our focus is specifically on problems which inherently utilize two types of random variables: samples from the population of interest, X, and easily sampled auxiliary random variables, Y. Such situations occur in the training of score-based generative models via denoising score matching (DSM) [22, 19], which utilizes auxiliary Gaussian random variables.

The ability to generate Y samples at will motivates us to consider the statistical error of objectives which use m-times more Y-samples than X-samples, as in the following:

ULLN:

sup⁡θ∈Θ{1nm∑i=1n∑j=1mgθ(Xi,Yi,j)−EPX×PY[gθ]},(1)\sup_{\theta\in\Theta}\left\{\frac{1}{nm}\sum_{i=1}^{n}\sum_{j=1}^{m}g_{\theta}(X_{i},Y_{i,j})-E_{P_{X}\times P_{Y}}[g_{\theta}]\right\}, \tag{1}

Stochastic Optimization:

EPX×PY[gθn,m∗]−inf⁡θ∈ΘEPX×PY[gθ],θn,m∗∈arg⁡min⁡θ1nm∑i=1n∑j=1mgθ(Xi,Yi,j).\begin{align*}E_{P_{X}\times P_{Y}}[g_{\theta_{n,m}^{*}}]-\inf_{\theta\in\Theta}E_{P_{X}\times P_{Y}}[g_{\theta}],\\\theta_{n,m}^{*}\in\arg\min_{\theta}\frac{1}{nm}\sum_{i=1}^{n}\sum_{j=1}^{m}g_{\theta}(X_{i},Y_{i,j}).\end{align*}

(2)

The principle novelty of our methods lies in their ability to simultaneously exhibit the following properties:

  1. Our results capture the benefit of using many Y-samples per X sample; specifically, for large m our bounds reduce to those obtained on the corresponding problem with the Y-dependence integrated out, i.e., bounds on
sup⁡θ∈Θ{1n∑i=1nEPY[gθ(Xi,⋅)]−EPX×PY[gθ]}(3)\sup_{\theta\in\Theta}\left\{\frac{1}{n}\sum_{i=1}^{n}E_{P_{Y}}\left[g_{\theta}(X_{i},\cdot)\right]-E_{P_{X}\times P_{Y}}\left[g_{\theta}\right]\right\} \tag{3}

and

EPX×PY[gθn,m∗]−inf⁡θ∈ΘEPX×PY[gθ],(4)E_{P_{X}\times P_{Y}}[g_{\theta_{n,m}^{*}}]-\inf_{\theta\in\Theta}E_{P_{X}\times P_{Y}}[g_{\theta}], \tag{4} θn,m∗∈arg⁡min⁡θ1n∑i=1nEPY[gθ(Xi,⋅)]\theta_{n,m}^{*}\in\arg\min_{\theta}\frac{1}{n}\sum_{i=1}^{n}E_{P_{Y}}[g_{\theta}(X_{i},\cdot)]

respectively.

  1. Our methods are capable of handling unbounded objective functions and distributions with unbounded support. Specifically, the ability to handle X-distributions with unbounded support distinguishes the present work from that of [2], which also studied the problems (1)-(2) but with more restrictive tools which did not allow for applications to, e.g., DSM with unbounded X-distribution, which we cover here.

The main difficulty in achieving these goals lies in the interaction between a single XiX_i sample and multiple distinct Yi,jY_{i,j} samples in (1) and (2). The new variant of McDiarmid's inequality that we develop is specifically adapted to this setting. It produces concentration inequalities which depend on moment generating function (MGF) bounds in Y which are non-uniform in X. To facilitate explicit computations, we also develop a new technique for computing such MGF bounds via Orlicz norms.