How statement and proof provenance work
The first chip identifies the source of the statement or construction; the second identifies the source of its local proof or verification.
- Literature-sourced: the exact statement appears in a cited source; only wording and notation differ.
- AI-adapted: a semantically identical restatement of literature-sourced material, modulo indexing, notation, and boundary cases adopted by the library.
- AI-generated: a genuinely novel statement formulated by AI, with no source for the claim itself.
These labels describe origin, not correctness: citations and verification chips remain separate evidence.
Expected generalization of nonconvex stochastic gradient training
Statement
Let , , and let and . Let , , and be measurable spaces, let be a probability measure on , let be a measurable loss, and let be a measurable predictor for every . For set . Assume and are jointly measurable. For every , assume is totally differentiable, takes values in , is -Lipschitz in values, and has a -Lipschitz Euclidean gradient; these mean, respectively,
for all . No convexity is assumed. Let be IID with law , and abbreviate and . Let be random indices in , independent of and satisfying for every and ; dependence between indices at different times is allowed. From a fixed , define
where and . Assume the resulting random variables and are measurable; they are integrable because . Then the randomized procedure has uniform replacement stability and absolute expected population-minus-empirical risk gap at most
If , the right side is interpreted as . The conclusion concerns only this expected gap for the stated random sample-selection procedure; it does not assert generalization for every stochastic-gradient oracle.
Statement references
Hardt, Recht, and Singer, arXiv-version Theorem 3.12 and complete proof (conference Theorem 3.8): full arXiv paper.
Matni, Lecture 16, §4: full lecture notes.
Facts & Assumptions
Given: The supervised IID sample, independent uniform-marginal indices, fixed initialization, loss range/Lipschitz/smoothness assumptions, nonincreasing steps, and integrable risk maps in the Statement.
The total (Fréchet) derivative as the linear first-order approximation with remainder and The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case: total differentiability means a linear first-order approximation with normwise remainder, and the scalar gradient is the vector of its partial derivatives.
The Euclidean inner product on : is the Euclidean inner product and .
For a differentiable scalar field, and the unit direction of steepest ascent is the normalized gradient: for a totally differentiable scalar field, .
Cauchy-Schwarz with its equality case, the triangle inequality for , the parallelogram law and polarisation: the Euclidean norm satisfies the triangle inequality and every normalized nonzero vector has norm .
Uniform stability for randomized learning rules: uniform replacement stability bounds the absolute difference of expected test losses for every fixed adjacent sample pair and test observation.
Uniform stability implies expected generalization: such a stability bound implies the same absolute expected population-minus-empirical risk gap under its IID, measurability, and integrability conditions.
for every real , hence , The exponential function is strictly increasing, and The exponential addition formula : , the exponential is increasing, and exponentials multiply by addition of exponents.
The second fundamental theorem: if is differentiable on with and is integrable, then : for , if is differentiable on and is integrable there, then .
For : is integrable on if and only if it is integrable on and on , and then ; with the oriented form for arbitrary and If on and both are integrable then ; and : finite adjacent interval integrals add, and pointwise ordered integrands have ordered integrals.
Identical distribution and IID families: the observations are mutually independent and have the common law .
Supervised prediction problems and Population and empirical risk: the loss, population risk, and empirical risk use the stated measurable observation law and loss.
A continuous function on is Riemann integrable, by Heine-Cantor and Riemann's criterion: every continuous real function on a compact interval with is Riemann integrable there.
The joint loss and gradient maps and the displayed population-risk and empirical-risk random variables are measurable. The loss range makes all these risks integrable.
Each sample index is uniform and the whole index vector is independent of the sample; no cross-time independence is assumed.
Proof
For any with , take , which is a unit vector by [F2] and [F4]. The directional derivative of at zero is by [F1] and [F3], while the value-Lipschitz condition bounds the absolute difference quotient by . Thus ; the zero-gradient case is immediate.
Put . By [F7], , and finite multiplication, If , the product is empty and equals . If , then for each and , , so [F11] gives . Additivity over these nondegenerate intervals and [F8] yield . Therefore the product is at most by [F8] and [F9].
Fix neighboring samples that differ at coordinate and couple their runs using the same index vector. Let , with . If , the same example is used in both updates, so gradient smoothness gives . If , add and subtract ; smoothness for the common example, the triangle inequality from [F4], and step 1.1 give . Thus, for every update,
Iterating the finite recurrence in step 2.1 from yields The loss difference at any fixed test point is at most by the range hypothesis and at most by value-Lipschitzness. For nonnegative , : if any the right side is at least , and otherwise it equals . Applying this to the displayed kicks and using gives
If , step 1.1 gives zero gradients, so the output is independent of the sample and stability is zero; set . Suppose and put By step 1.2 and , the th summand in step 3.1 is at most , where for . This function is continuous by [F9]. If , it equals up to and then decreases; if , it decreases throughout, since has negative derivative. Thus it is nonincreasing. If , the sum is . If , [F14] makes integrable on ; for each integer , [F11] gives . Additivity over these adjacent intervals then yields .
If , step 4.1 gives stability zero. Suppose . When and , ; when and , . Now let . The displayed integrands are continuous on their compact intervals and hence integrable by [F14]. If , then . For , on and . For , on , so [F9] and [F10] give . For , split at using [F11] and integrate on and on to get . In each case . If , then and [F9]–[F10] give , so . In every case, step 4.1 now bounds the sum in step 3.1 by . Therefore the right side of step 3.1 is at most .
Steps 3.1, 4.1, and 5.1 show that every neighboring sample pair and test point has expected absolute loss change at most . This implies uniform replacement stability at that level by [F5]. Since , . The sample is IID by [F12], the risk conventions are [F13], and the measurable, integrable risks meet [A1]. Apply [F6] and substitute and the value of to obtain the stated expected-gap bound.
Depends on
- Uniform stability for randomized learning rules
- Uniform stability implies expected generalization
- The total (Fréchet) derivative $Df(a)$ as the linear first-order approximation with $o(\|h\|_2)$ remainder
- The Jacobian matrix of partial derivatives and the gradient in the scalar-valued case
- The Euclidean inner product $\langle x,y\rangle = \sum_{k<n} x_k y_k$ on $\mathbb{R}^n$
- For a differentiable scalar field, $D_vf(a)=\langle\nabla f(a),v\rangle$ and the unit direction of steepest ascent is the normalized gradient
- Cauchy-Schwarz $\lvert\langle x,y\rangle\rvert \le \lVert x\rVert_2\lVert y\rVert_2$ with its equality case, the triangle inequality for $\lVert\cdot\rVert_2$, the parallelogram law and polarisation
- Supervised prediction problems
- Population and empirical risk
- Identical distribution and IID families
- $1+x\le\exp(x)$ for every real $x$, hence $(1-p)^m\le\exp(-mp)$
- The exponential function is strictly increasing
- The exponential addition formula $\exp(x+y)=\exp(x)\exp(y)$
- The real exponential function and the number $e$ by a power series
- The natural logarithm as the inverse of the exponential function
- Order, continuity, range, and the product, quotient, and reciprocal laws for the natural logarithm
- The natural logarithm has derivative 1/x and equals the integral from 1 to x of 1/t
- Real powers for positive bases, with the zero-base positive-exponent convention
- Continuity and derivatives of positive-base real powers
- The second fundamental theorem: if $G$ is differentiable on $[a,b]$ with $G' = f$ and $f$ is integrable, then $\int_a^b f = G(b)-G(a)$
- A continuous function on $[a,b]$ is Riemann integrable, by Heine-Cantor and Riemann's criterion
- For $a<c<b$: $f$ is integrable on $[a,b]$ if and only if it is integrable on $[a,c]$ and on $[c,b]$, and then $\int_a^b f = \int_a^c f + \int_c^b f$; with the oriented form for arbitrary $a,b,c$
- If $f \le g$ on $[a,b]$ and both are integrable then $\int_a^b f \le \int_a^b g$; and $m(b-a) \le \int_a^b f \le M(b-a)$
Used by
Dependency tree · two levels
111 results within two dependency steps of this one, each drawn at its shortest distance from it. An arrow runs from a result to what uses it, so the chart reads left to right and ends at this result, which carries a heavier outline. Every node is a link to that result. Click elsewhere on the chart to enlarge it.
Sources
- Moritz Hardt, Benjamin Recht, and Yoram Singer, Train faster, generalize better: Stability of stochastic gradient descent, arXiv-version Theorem 3.12 and complete proof (conference Theorem 3.8) (standard reference, not scraped)
- Nikolai Matni, ESE680 Lecture 16: Algorithmic Stability and Stochastic Gradient Descent, §4 (standard reference, not scraped)