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.
Algorithmic stability of stochastic training — Examples
1 · Prerequisites
- Absolute and Conditional Convergence; Rearrangement; Products
- Algorithmic stability of stochastic training
- Binary Operations, Monoids, Groups and Subgroups
- Compactness in Metric Spaces
- Completeness, Completion, and Uniform Continuity
- Conditional Distributions and Regular Conditional Probability
- Construction of the Natural Numbers
- Construction of the Real Numbers via Cauchy Sequences
- Construction of the Real Numbers via Dedekind Cuts
- Continuity, IVT, EVT, and Uniform Continuity
- Convex and Semicontinuous Functions on Rⁿ
- Cosets, Index and Lagrange's Theorem
- Countability and Uncountability
- Divisibility, Euclidean Domains, Principal Ideal Domains and Unique Factorisation
- Estimators and Randomized Procedures
- Federated averaging, local SGD, and SCAFFOLD
- Filters and Ultrafilters
- Finite Counting, Factorials and Binomial Coefficients
- Finite Probability and the Probabilistic Method
- Foundations of the Real Numbers for Analysis
- Ideals, Quotient Rings and the Isomorphism Theorems for Rings
- Independence Borel Cantelli and Zero One Laws
- Limits of Real Functions
- limsup, liminf, and Subsequential Limits
- Linear Independence, Bases and Dimension
- Linear Transformations, Rank-Nullity and Quotient Spaces
- Loss, Risk and Decision Theory
- Measurable Functions and Simple Approximation
- Measures and Their Basic Properties
- Metric Spaces
- Monotone Functions, Discontinuities, and Continuity Sets
- Monotone Sequences, Bolzano-Weierstrass, and Cauchy Completeness
- Normal Subgroups and Quotient Groups
- Order, Zorn's Lemma, and the Axiom of Choice
- Polynomial Rings, the Division Algorithm and Roots
- Power Series and Real-Analytic Functions
- Prediction problems, risks, and empirical minimization
- Probability Spaces Random Variables and Expectation
- Product Measures and the Fubini Tonelli Theorems
- Properties of the Integral and the Working FTC
- Proximal gradient and accelerated composite optimization
- Relations, Functions, and Quotients
- Rings, Subrings, Integral Domains and Fields
- Rⁿ as a Normed Space; Vector-Valued Functions
- Roots, Rational Powers, and Classical Inequalities
- Sequences and Limits
- Sequences and Series of Functions; Uniform Convergence
- Series: Convergence and the Nonnegative Tests
- Sigma Algebras and Borel Sets
- Simple Field Extensions and the Construction of the Complex Numbers
- Statistical Experiments, Models and Identifiability
- Suprema and Infima
- The Derivative and the Mean Value Theorems
- The Exponential Function
- The Lebesgue Integral and the Convergence Theorems
- The Logarithm and General Powers
- The Riemann Integral: Definition and Integrability
- The Total Derivative in ℝᵐ → ℝⁿ
- The ZFC Axioms and the Basic Set Constructions
- Topological Spaces and Continuity
- Topology of ℝ
- Vector Spaces, Linear Subspaces, Span and Direct Sums
- Weak Laws and Series of Independent Random Variables
2 · Logical flowchart
3 · Definitions, theorems and proofs
None yet.
4 · Examples, counterexamples and false statements
The convex constant-step stability bound is linear in the step count
Example
Let , , and let , , and be measurable spaces. Let be a probability measure on , let be measurable, and let be measurable for every . For put and assume and are jointly measurable. For every , assume is totally differentiable and convex, its gradient is -Lipschitz, and its values satisfy . Let be IID with law , and define and . Let be independent of with for each ; dependence across times is allowed. From fixed , run and assume the resulting loss and risk maps are measurable and integrable. For the constant schedule , the stability and absolute expected-generalization upper bound is , which is linear in as a bound. This is an upper-bound calculation, not a lower bound on the actual stability or generalization gap.
Example references
Expected generalization of convex stochastic gradient training supplies the convex SGD stability and expected-gap bound.
Hardt, Recht, and Singer, arXiv-version Theorem 3.8 (conference Theorem 3.7): full arXiv paper.
Facts & Assumptions
Given: , , the convex theorem hypotheses, and the constant schedule .
Expected generalization of convex stochastic gradient training: for admissible deterministic steps, stability and the absolute expected-generalization gap are at most .
Verification
Since , every step meets the convex theorem's step-size condition. The sum of the equal steps is .
Substituting this sum into [F1] gives .
For fixed positive , the displayed right-hand side is a constant multiple of . It bounds the stability and expected gap from above and yields no corresponding lower bound.
Constant and inverse-time schedules give different stability bounds
Example
For each , let , , and be measurable spaces, let be a probability measure on , let be measurable, and let be measurable for , where . Put and assume and are jointly measurable. Let , , let be IID with law , and define and . For each regime, let be independent of with for every ; dependence between times is allowed. Start from fixed and use . In regime , assume each is totally differentiable and convex, has -Lipschitz gradient, and is -Lipschitz in values; use . In regime , assume each is totally differentiable, takes values in , has -Lipschitz gradient and is -Lipschitz in values, with no convexity assumption; use . Assume the displayed output risk variables are measurable and integrable. The convex theorem's stability and absolute expected-generalization upper bound is . The nonconvex theorem's upper bound is . This comparison concerns only these theorem certificates under their distinct loss hypotheses, not the actual stability or generalization gaps of arbitrary training problems.
Example references
Expected generalization of convex stochastic gradient training supplies the convex bound.
Expected generalization of nonconvex stochastic gradient training supplies the nonconvex bound.
Hardt, Recht, and Singer, arXiv-version Theorems 3.8 and 3.12 (conference Theorems 3.7 and 3.8): full arXiv paper.
Facts & Assumptions
Given: , , , constant convex-regime steps , and nonconvex-regime steps with .
Expected generalization of convex stochastic gradient training: for admissible convex-regime steps, the bound is .
Expected generalization of nonconvex stochastic gradient training: for and nonincreasing , the bound is .
Verification
For the convex schedule, and . Substitution in [F1] gives .
The nonconvex schedule is nonincreasing, satisfies , and . Substitution in [F2] gives .
Both denominators are positive. The comparison is equivalent to ; squaring these positive quantities reduces it to . This compares only the stated upper bounds.
A smooth quadratic loss without global Lipschitzness has unbounded stability
Example
Let the instance space be with its full sigma-algebra, let the label and action spaces be with their Borel sigma-algebras, take to be the point mass at , use predictors , and use loss . For , write . For sample size , start at , use and , and set . For every , compare the neighboring samples and at test observation . Their output losses differ by . Since is arbitrary, this procedure has no finite uniform replacement stability coefficient. The loss is convex and its gradient is -Lipschitz but its values are not globally Lipschitz in , so this example lies outside the convex SGD theorem's hypotheses and is not a counterexample to that theorem.
Example references
Uniform stability for randomized learning rules defines the finite replacement-stability requirement.
Expected generalization of convex stochastic gradient training requires global Lipschitzness of the per-example loss.
Hardt, Recht, and Singer, arXiv-version Theorem 3.8 (conference Theorem 3.7): full arXiv paper.
Facts & Assumptions
Given: The singleton instance space, quadratic loss, one-step update, neighboring samples, and test observation in the Example.
Uniform stability for randomized learning rules: a finite stability coefficient must bound the expected test-loss difference for every pair of samples differing in at most one coordinate and every test observation.
Expected generalization of convex stochastic gradient training: the convex SGD guarantee requires a finite global value-Lipschitz constant for every per-example loss.
Verification
For any and increment , , so the difference quotient tends to and . Thus for the first update is , while for it is .
At test observation , and . As the absolute difference is unbounded, contradicting any finite uniform coefficient by [F1].
By step 1.1, , so its gradient is -Lipschitz. For , direct expansion gives , so it is convex. But for , for , which is unbounded. Thus no finite global Lipschitz constant exists, and [F2] does not apply.
Sources
- Moritz Hardt, Benjamin Recht, and Yoram Singer, Train faster, generalize better: Stability of stochastic gradient descent, arXiv-version Theorem 3.8 (conference Theorem 3.7)
- Moritz Hardt, Benjamin Recht, and Yoram Singer, Train faster, generalize better: Stability of stochastic gradient descent, arXiv-version Theorems 3.8 and 3.12 (conference Theorems 3.7 and 3.8)
- Nikolai Matni, ESE680 Lecture 16: Algorithmic Stability and Stochastic Gradient Descent, Theorem 3